Skip to content

Commit

Permalink
Merge pull request #534 from locustio/ui-more-header-space
Browse files Browse the repository at this point in the history
Web UI: Free up header space
  • Loading branch information
justiniso authored Feb 13, 2017
2 parents 4c765b6 + 09ed67f commit 17932bb
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
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

0 comments on commit 17932bb

Please sign in to comment.