mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
parent
b770abbb2e
commit
fd7c701b95
|
|
@ -203,14 +203,16 @@ body {
|
|||
.text-right-md {
|
||||
text-align: right;
|
||||
}
|
||||
.no-float-md {
|
||||
float: none;
|
||||
}
|
||||
.no-before-md:before {
|
||||
content: none;
|
||||
}
|
||||
.no-after-md:after {
|
||||
content: none;
|
||||
.table.flat-md {
|
||||
td,tr,th {
|
||||
float: none;
|
||||
}
|
||||
td:before, th:before, td:after, th:after, tr:before, tr:after {
|
||||
content: none;
|
||||
}
|
||||
td:nth-child(odd) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -224,7 +226,7 @@ body {
|
|||
@media (max-width: 992px) {
|
||||
.table.flat-md {
|
||||
display: block;
|
||||
* {
|
||||
td,th,tr,tbody,thead {
|
||||
display: block;
|
||||
}
|
||||
td,th {
|
||||
|
|
@ -240,5 +242,9 @@ body {
|
|||
float: left;
|
||||
position: relative;
|
||||
}
|
||||
td:nth-child(odd) {
|
||||
text-align: right;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
12
status.html
12
status.html
|
|
@ -76,16 +76,16 @@ permalink: /status/
|
|||
{% raw %}
|
||||
<script id="template" type="x-tmpl-markup">
|
||||
{{mirrors}}
|
||||
<tr class="status-{{status}} row no-before-md no-after-md">
|
||||
<td class="col-xs-4 text-right hidden-md hidden-lg"><strong>Name</strong></td>
|
||||
<tr class="status-{{status}} row">
|
||||
<td class="col-xs-4">Name</td>
|
||||
<td class="col-md-2 col-xs-8">{{name}}{{if is_master|falsy}}[slave]{{/if}}</td>
|
||||
<td class="col-xs-4 text-right hidden-md hidden-lg"><strong>Last Update</strong></td>
|
||||
<td class="col-xs-4">Last Update</td>
|
||||
<td class="col-md-2 col-xs-8">{{last_update}}</td>
|
||||
<td class="col-xs-4 text-right hidden-md hidden-lg"><strong>Upstream</strong></td>
|
||||
<td class="col-xs-4">Upstream</td>
|
||||
<td class="col-md-5 col-xs-8">{{upstream}}</td>
|
||||
<td class="col-xs-4 text-right hidden-md hidden-lg"><strong>Status</strong></td>
|
||||
<td class="col-xs-4">Status</td>
|
||||
<td class="col-md-1 col-xs-8">{{status}}</td>
|
||||
<td class="col-xs-4 text-right hidden-md hidden-lg"><strong>Size</strong></td>
|
||||
<td class="col-xs-4">Size</td>
|
||||
<td class="col-md-2 col-xs-8">{{size}}</td>
|
||||
</tr>
|
||||
{{/mirrors}}
|
||||
|
|
|
|||
Loading…
Reference in New Issue