Browse Source

Some CSS and cosmetic changes

pull/72/head
squeaky otter 2 years ago
parent
commit
b30177d41c
Signed by: dashie GPG Key ID: C2D57B325840B755
  1. 2
      backend/lib/pyairwaves_web/templates/archive/adsb_quick.html.eex
  2. 2
      backend/lib/pyairwaves_web/templates/archive/ais_quick.html.eex
  3. 7
      backend/lib/pyairwaves_web/templates/layout/app.html.eex
  4. 2
      backend/priv/static/css/main.css

2
backend/lib/pyairwaves_web/templates/archive/adsb_quick.html.eex

@ -3,7 +3,7 @@
<h3>Stats</h3>
<ul>
<li>Sources: <%= @count_sources %></li>
<li>Known aircrafts: <%= @count_aircrafts %></li>
<li>Seen aircrafts: <%= @count_aircrafts %></li>
<li>Archived ADSB Messages: <%= @count_messages %></li>
</ul>
</div>

2
backend/lib/pyairwaves_web/templates/archive/ais_quick.html.eex

@ -3,7 +3,7 @@
<h3>Stats</h3>
<ul>
<li>Sources: <%= @count_sources %></li>
<li>Known ships: <%= @count_ships %></li>
<li>Seen ships: <%= @count_ships %></li>
<li>Archived AIS Messages: <%= @count_messages %></li>
</ul>
</div>

7
backend/lib/pyairwaves_web/templates/layout/app.html.eex

@ -43,6 +43,11 @@ This file is part of the airSuck project (https://github.com/rhaamo/pyAirwaves).
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="archivesDd" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Archives</a>
<div class="dropdown-menu" aria-labelledby="archivesDd">
<h6 class="dropdown-header">ADSB</h6>
<a class="dropdown-item" href="/archives/adsb/quick">Quick stats</a>
<h6 class="dropdown-header">AIS</h6>
<a class="dropdown-item" href="/archives/ais/quick">Quick stats</a>
<h6 class="dropdown-header">Global</h6>
<a class="dropdown-item" href="/archives/sources/coverage">Receivers coverage</a>
</div>
</li>
@ -51,7 +56,7 @@ This file is part of the airSuck project (https://github.com/rhaamo/pyAirwaves).
</div>
</nav>
<div class="<%= if @page == "map" do %>content<%= else %>container page_content<% end %>">
<div class="<%= if @page == "map" do %>content<%= else %>container-fluid page_content<% end %>">
<%= render @view_module, @view_template, assigns %>
</div>

2
backend/priv/static/css/main.css

@ -32,7 +32,7 @@ div.content {
height: 100%;
}
div.container.page_content {
div.container.page_content, div.container-fluid.page_content {
padding-top: 4rem;
}

Loading…
Cancel
Save