Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web UI: Free up header space #534

Merged
merged 1 commit into from
Feb 13, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified locust/static/img/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions locust/static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -278,3 +278,15 @@ ul.tabs li a.current {
padding: 30px;
padding-top: 0px;
}

.footer {
position: absolute;
bottom: 0;
padding: 8px 0;
border-top: 1px solid #292f2f;
width: 100%;
text-align: right;
}

.footer a { margin-right: 10px; }
.footer a:last-child { margin-right: 18px; }
6 changes: 5 additions & 1 deletion locust/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<body class="{{state}}">
<div class="top">
<div class="top_content">
<img src="/static/img/logo.png" class="logo" onclick="$('.about').fadeIn();" />
<a href="/"><img src="/static/img/logo.png" class="logo" /></a>
<div class="boxes">
<div class="top_box box_status">
<div class="label">STATUS</div>
Expand Down Expand Up @@ -175,6 +175,10 @@ <h1>Version</h1>
</div>
</div>
</div>
<nav class="footer">
<a href="#" onclick="$('.about').fadeIn();">About</a>
</nav>


<script type="text/javascript" src="/static/jquery-1.4.min.js"></script>
<script type="text/javascript" src="/static/jquery.jqote2.min.js"></script>
Expand Down