no need for js to reload the page

This commit is contained in:
glaszig
2019-08-19 02:10:11 +01:00
parent c775744db5
commit 611d953141
3 changed files with 4 additions and 4 deletions

View File

@@ -69,7 +69,7 @@ if ($cpuload > 90) {
<?php echo CSRFTokenFieldTag() ?>
<input type="submit" class="btn btn-warning" name="system_reboot" value="<?php echo _("Reboot"); ?>" />
<input type="submit" class="btn btn-warning" name="system_shutdown" value="<?php echo _("Shutdown"); ?>" />
<input type="button" class="btn btn-outline btn-primary" value="<?php echo _("Refresh"); ?>" onclick="document.location.reload(true)" />
<a href="?page=<?php echo $_GET['page'] ?>" class="btn btn-outline btn-primary"><?php echo _("Refresh") ?></a>
</form>
</div>
</div>
@@ -84,7 +84,7 @@ if ($cpuload > 90) {
</div>
</div>
<input type="submit" class="btn btn-outline btn-primary" name="SaveLanguage" value="<?php echo _("Save settings"); ?>" />
<input type="button" class="btn btn-outline btn-primary" value="<?php echo _("Refresh"); ?>" onclick="document.location.reload(true)" />
<a href="?page=<?php echo $_GET['page'] ?>" class="btn btn-outline btn-primary"><?php echo _("Refresh") ?></a>
</div>
<div role="tabpanel" class="tab-pane" id="console">