Added logout button to query page

This commit is contained in:
Risto Lahtela 2021-02-12 11:35:19 +02:00
parent 8334b7b696
commit 5110da3267
2 changed files with 4 additions and 0 deletions

View File

@ -51,6 +51,7 @@ public class WebServerSystem implements SubSystem {
ResourceService.getInstance().addStylesToResource("Plan", "player.html", ResourceService.Position.PRE_CONTENT, "../css/noauth.css"); ResourceService.getInstance().addStylesToResource("Plan", "player.html", ResourceService.Position.PRE_CONTENT, "../css/noauth.css");
ResourceService.getInstance().addStylesToResource("Plan", "players.html", ResourceService.Position.PRE_CONTENT, "./css/noauth.css"); ResourceService.getInstance().addStylesToResource("Plan", "players.html", ResourceService.Position.PRE_CONTENT, "./css/noauth.css");
ResourceService.getInstance().addStylesToResource("Plan", "network.html", ResourceService.Position.PRE_CONTENT, "./css/noauth.css"); ResourceService.getInstance().addStylesToResource("Plan", "network.html", ResourceService.Position.PRE_CONTENT, "./css/noauth.css");
ResourceService.getInstance().addStylesToResource("Plan", "query.html", ResourceService.Position.PRE_CONTENT, "./css/noauth.css");
} }
if (webServer.isEnabled()) { if (webServer.isEnabled()) {
ResourceService.getInstance().addStylesToResource("Plan", "server.html", ResourceService.Position.PRE_CONTENT, "../css/querybutton.css"); ResourceService.getInstance().addStylesToResource("Plan", "server.html", ResourceService.Position.PRE_CONTENT, "../css/querybutton.css");

View File

@ -57,6 +57,9 @@
<button class="btn bg-plan" data-target="#informationModal" data-toggle="modal" type="button"> <button class="btn bg-plan" data-target="#informationModal" data-toggle="modal" type="button">
<i class="fa fa-fw fa-question-circle"></i> <i class="fa fa-fw fa-question-circle"></i>
</button> </button>
<a class="btn bg-plan" href="auth/logout" id="logout-button">
<i class="fa fa-fw fa-door-open"></i> Logout
</a>
</div> </div>
<div class="ml-3 align-items-center justify-content-between"> <div class="ml-3 align-items-center justify-content-between">
${version} ${version}