Skip to content

Commit

Permalink
Update UI
Browse files Browse the repository at this point in the history
  • Loading branch information
schollz committed Mar 17, 2018
1 parent 994d2ab commit db7b4a9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
12 changes: 5 additions & 7 deletions server/main/templates/dashboard.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
<div class="card-body">
<div class="row">
<div class="col-sm-8">
<h4 class="card-title mb-0">Devices</h4>
<h4 class="card-title mb-0">Tracked devices</h4>
<div class="small text-muted">Click on a device to track it in realtime.</div>
</div>
</div>
Expand Down Expand Up @@ -228,7 +228,7 @@
<div class="col-lg-12">
<div class="card">
<div class="card-header">
<strong>Passive scanning</strong>
<strong>Passive scanning</strong><br>
<small>See
<a href="https://www.internalpositioning.com/doc/passive_tracking.md">the Passive tracking</a> document for information.</a>
</small>
Expand Down Expand Up @@ -276,13 +276,11 @@
</div>
</div>
<section class="card">
<ul class="list-group list-group-flush">
<select multiple class="form-control" id="exampleFormControlSelect2">
{{ range .Scanners }}
<li class="list-group-item">
{{.}}
</li>
<option>{{.}}</option>
{{ end }}
</ul>
</select>
</section>
<hr>
{{ end }}
Expand Down
8 changes: 6 additions & 2 deletions server/main/templates/header.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@
aria-label="Toggle navigation">
<i class="fa fa-bars"></i>
</button>
<a class="navbar-brand pt-2 pb-2" href="/">
<a class="navbar-brand pt-2 pb-2" href="/view/dashboard/{{.Family}}">
<img src="/static/img/find3-promo-bg.png" alt="Logo">
</a>
<a class="navbar-brand hidden" href="/">
<a class="navbar-brand hidden" href="/view/dashboard/{{.Family}}">
<img src="/static/img/find3-promo-black.png" alt="Logo">
</a>
</div>
Expand Down Expand Up @@ -130,6 +130,10 @@
<a href="https://github.com/schollz/find3/issues" target="_blank">
<i class="menu-icon fas fa-bug fa-lg"></i>Report a bug </a>
</li>
<li>
<a href="/">
<i class="menu-icon fas fa-sign-out-alt fa-lg"></i>Sign out </a>
</li>
</ul>
</div>
<!-- /.navbar-collapse -->
Expand Down

0 comments on commit db7b4a9

Please sign in to comment.