Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Commit

Permalink
Merge pull request #69 from NanoTools/develop
Browse files Browse the repository at this point in the history
Bugfix release 1.4.5
  • Loading branch information
dbachm123 authored May 4, 2018
2 parents b4b5b4b + 5c31170 commit d0efdf2
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 14 deletions.
2 changes: 1 addition & 1 deletion modules/constants.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

// the project version
define('PROJECT_VERSION', '1.4.4');
define('PROJECT_VERSION', '1.4.5');

// project URL
define('PROJECT_URL', 'https://github.com/NanoTools/nanoNodeMonitor');
Expand Down
2 changes: 1 addition & 1 deletion modules/defaults.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// ----------- General Variables -----------

// Theme of your Node Monitor (dark or light)
$themeChoice = 'dark';
$themeChoice = 'light';

// autorefresh interval for the status webpage in seconds
$autoRefreshInSeconds = 5;
Expand Down
32 changes: 22 additions & 10 deletions modules/footer.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,25 @@
<footer id="footer">
<p><?php echo getVersionInformation(); ?><br>
GitHub: <a href="<?php echo PROJECT_URL; ?>" target="_blank">Source</a> | <a href="<?php echo PROJECT_URL . '/wiki'; ?>" target="_blank">Wiki</a> | <a href="<?php echo PROJECT_URL . '/wiki/API-Description'; ?>" target="_blank">API</a></p>
<br>
<p class=small>Made by <a href="https://github.com/NanoTools" target="_blank">Nano Tools</a>.
<br>
Representative: <a href="<?php echo getAccountUrl(NODEMON_REP_ACCOUNT, 'ninja'); ?>" target="_blank"><?php echo NODEMON_REP_ACCOUNT; ?></a>
<button id="copyAccount" class="btn btn-sm btn-link btn-clipboard-light" data-clipboard-text="<?php echo NODEMON_REP_ACCOUNT; ?>" title="Copy"><i class="fas fa-clipboard fa-lg"></i></button>

<p>
<?php echo getVersionInformation(); ?>
<br>
Made by <a href="https://github.com/NanoTools" target="_blank">Nano Tools</a>.
<br>
GitHub: <a href="<?php echo PROJECT_URL; ?>" target="_blank">Source</a> | <a href="<?php echo PROJECT_URL . '/wiki'; ?>" target="_blank">Wiki</a> | <a href="<?php echo PROJECT_URL . '/wiki/API-Description'; ?>" target="_blank">API</a>
</p>
<p class=small>
Donations to Nano Node Monitor: <a href="<?php echo getAccountUrl(NODEMON_DON_ACCOUNT, $blockExplorer); ?>" target="_blank"><?php echo NODEMON_DON_ACCOUNT; ?></a>
<button id="copyAccount" class="btn btn-sm btn-link btn-clipboard-light" data-clipboard-text="<?php echo NODEMON_DON_ACCOUNT; ?>" title="Copy"><i class="fas fa-clipboard fa-lg"></i></button>


<p class=truncate>
<small>
<br>
Representative: <a href="<?php echo getAccountUrl(NODEMON_REP_ACCOUNT, 'ninja'); ?>" target="_blank"><?php echo NODEMON_REP_ACCOUNT; ?></a>
</small>
<button id="copyAccount" class="btn btn-sm btn-link btn-clipboard-light" data-clipboard-text="<?php echo NODEMON_REP_ACCOUNT; ?>" title="Copy"><i class="fas fa-clipboard fa-lg"></i></button>
<br>
<small>
Donations to Nano Node Monitor: <a href="<?php echo getAccountUrl(NODEMON_DON_ACCOUNT, $blockExplorer); ?>" target="_blank"><?php echo NODEMON_DON_ACCOUNT; ?></a>
</small>
<button id="copyAccount" class="btn btn-sm btn-link btn-clipboard-light" data-clipboard-text="<?php echo NODEMON_DON_ACCOUNT; ?>" title="Copy"><i class="fas fa-clipboard fa-lg"></i></button>
</p>
</footer>

Expand All @@ -21,5 +31,7 @@
<script src="static/js/handlebars-v4.0.11.js?v=<?php echo PROJECT_VERSION; ?>"></script>
<script src="static/js/main.js?v=<?php echo PROJECT_VERSION; ?>"></script>



</body>
</html>
4 changes: 2 additions & 2 deletions static/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ function updateStats(){
.done(function (apidata) {
$('#content').html(template(apidata));
new ClipboardJS('#copyAccount');
//setTimeout(updateStats, GLOBAL_REFRESH * 1000);
setTimeout(updateStats, GLOBAL_REFRESH * 1000);
})
.fail(function (apidata) {
$('#content').html(apidata.responseText);
console.log('FAIL', apidata.responseText);
setTimeout(updateStats, GLOBAL_REFRESH * 1000);
});
}
}
5 changes: 5 additions & 0 deletions static/themes/dark/css/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ body {
border-bottom: 1px solid #242a38;
}

.navbar-toggler-icon {
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(243,136,46, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}



.n-logo-theme {
color: #ffffff;
Expand Down
7 changes: 7 additions & 0 deletions static/themes/light/css/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ body {
padding: 1.5% 4%;
}


.navbar-toggler-icon {
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(74,144,226, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}


.n-logo-theme {
color: #0f1121;
padding-left: 12px;
Expand All @@ -43,6 +49,7 @@ body {
color: #0f1121;
}


.nav-link:hover {
color: #ffffff;
width: 100%;
Expand Down

0 comments on commit d0efdf2

Please sign in to comment.