Skip to content

Commit

Permalink
Rearrage My ADS-B Stats page button
Browse files Browse the repository at this point in the history
  • Loading branch information
eric1tran committed Feb 8, 2021
1 parent 0aedcff commit c2e1c1f
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 5 deletions.
8 changes: 5 additions & 3 deletions public_html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -197,13 +197,16 @@
<table style="width: 100%">
<tr class="infoblock_heading">
<td>
<div class="button buttonTable" id="show_map_button"><span class="buttonText">Show Map</span></div>
<button id="stats_page_button" class="stats_button">Go to My ADS-B Statistics Page</button>
</td>

This comment has been minimized.

Copy link
@e2jk

e2jk Mar 14, 2021

This <td> should not have been added, as the td is already closed in the next line.

</td>
<td style="text-align: right">
<a href="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/flightaware/dump1090" id="skyaware_version" target="_blank"></a>
</td>
</tr>

<tr>
<div class="button buttonTable" id="show_map_button"><span class="buttonText">Show Map</span></div>
</tr>
<tr class="infoblock_body">
<td><span class="infoBlockTitleText">Total Aircraft:</span> <span id="dump1090_total_ac">n/a</span></td>
<td><span class="infoBlockTitleText">Messages:</span> <span id="dump1090_message_rate">n/a</span>/sec</td>
Expand All @@ -219,7 +222,6 @@
<div class="config_button_row">
<button id="filter_button" class="config_button">Filters</button>
<button id="column_select_button" class="config_button">Select Columns</button>
<button id="stats_page_button" class="config_button">Go to My ADS-B Statistics Page</button>
</div>

<div id="filter_panel" class="panel">
Expand Down
20 changes: 18 additions & 2 deletions public_html/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -858,15 +858,31 @@ select.error, textarea.error, input.error {
-moz-border-radius: 4px;
}

.stats_button {
position: relative;
background-color: rgba(0, 160, 226, 1);
color: #FFFFFF;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: bold;
font-size: 12px;
cursor: pointer;
width: auto;
border-radius: 4px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
margin-top: 5px;
padding: 5px 8px 5px 8px;

}

.config_button:hover, .config_button_active {
background-color: #abcad8;
}

.config_button_row {
position: relative;
margin-top: 5px;
margin-top: 10px;
padding: 3px 0 3px 0;

}

.panel {
Expand Down

0 comments on commit c2e1c1f

Please sign in to comment.