mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-09 20:31:38 +01:00
Added a 'Make a query' button to server, network and players pages
This commit is contained in:
parent
54a698136e
commit
1e897a09bf
@ -53,6 +53,11 @@ public class WebServerSystem implements SubSystem {
|
||||
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");
|
||||
}
|
||||
if (webServer.isEnabled()) {
|
||||
ResourceService.getInstance().addStylesToResource("Plan", "server.html", ResourceService.Position.PRE_CONTENT, "../css/querybutton.css");
|
||||
ResourceService.getInstance().addStylesToResource("Plan", "players.html", ResourceService.Position.PRE_CONTENT, "./css/querybutton.css");
|
||||
ResourceService.getInstance().addStylesToResource("Plan", "network.html", ResourceService.Position.PRE_CONTENT, "./css/querybutton.css");
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -0,0 +1,3 @@
|
||||
.query-buttons {
|
||||
display: inline-block !important;
|
||||
}
|
@ -1241,6 +1241,10 @@ body.sidebar-hidden .navbar-nav {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.query-buttons {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.contributors li {
|
||||
padding: 0;
|
||||
}
|
@ -114,6 +114,19 @@
|
||||
<!-- Divider -->
|
||||
<hr class="sidebar-divider">
|
||||
|
||||
<div class="query-buttons">
|
||||
<div class="sidebar-heading">
|
||||
Links
|
||||
</div>
|
||||
<li class="nav-item nav-button">
|
||||
<a class="nav-link" href="./query">
|
||||
<i class="fas fa-fw fa-search"></i>
|
||||
<span>Make a query</span></a>
|
||||
</li>
|
||||
|
||||
<hr class="sidebar-divider">
|
||||
</div>
|
||||
|
||||
<div class="ml-3 align-items-center justify-content-between">
|
||||
<button class="btn bg-plan" data-target="#colorChooserModal" data-toggle="modal" type="button">
|
||||
<i class="fa fa-palette"></i>
|
||||
|
@ -48,6 +48,19 @@
|
||||
<!-- Divider -->
|
||||
<hr class="sidebar-divider">
|
||||
|
||||
<div class="query-buttons">
|
||||
<div class="sidebar-heading">
|
||||
Links
|
||||
</div>
|
||||
<li class="nav-item nav-button">
|
||||
<a class="nav-link" href="./query">
|
||||
<i class="fas fa-fw fa-search"></i>
|
||||
<span>Make a query</span></a>
|
||||
</li>
|
||||
|
||||
<hr class="sidebar-divider">
|
||||
</div>
|
||||
|
||||
<div class="ml-3 align-items-center justify-content-between">
|
||||
<button class="btn bg-plan" data-target="#colorChooserModal" data-toggle="modal" type="button">
|
||||
<i class="fa fa-palette"></i>
|
||||
|
@ -120,6 +120,19 @@
|
||||
<!-- Divider -->
|
||||
<hr class="sidebar-divider">
|
||||
|
||||
<div class="query-buttons">
|
||||
<div class="sidebar-heading">
|
||||
Links
|
||||
</div>
|
||||
<li class="nav-item nav-button">
|
||||
<a class="nav-link" href="/query">
|
||||
<i class="fas fa-fw fa-search"></i>
|
||||
<span>Make a query</span></a>
|
||||
</li>
|
||||
|
||||
<hr class="sidebar-divider">
|
||||
</div>
|
||||
|
||||
<div class="ml-3 align-items-center justify-content-between">
|
||||
<button class="btn bg-plan" data-target="#colorChooserModal" data-toggle="modal" type="button">
|
||||
<i class="fa fa-palette"></i>
|
||||
|
Loading…
Reference in New Issue
Block a user