diff options
author | Carlo Landmeter <clandmeter@alpinelinux.org> | 2017-12-03 12:35:10 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@alpinelinux.org> | 2017-12-03 12:35:10 +0000 |
commit | d08df21ec13a372ce8fbb04423d6e3a62b897303 (patch) | |
tree | 3b64b3f3f88c54dc5486424b26f32669f489e635 /index.tpl | |
parent | 871a74bc862f8144ef736f0fed4c65b38c6a93ab (diff) | |
download | alpine-mirror-status-d08df21ec13a372ce8fbb04423d6e3a62b897303.tar.bz2 alpine-mirror-status-d08df21ec13a372ce8fbb04423d6e3a62b897303.tar.xz |
add mirrors information
Diffstat (limited to 'index.tpl')
-rw-r--r-- | index.tpl | 42 |
1 files changed, 39 insertions, 3 deletions
@@ -35,6 +35,7 @@ padding: 0em 1em 2em 1em; max-width: 1080px; padding-bottom: 1em; + padding-top: 2em; } footer { background: #111; @@ -71,6 +72,9 @@ color: #8B0000; font-weight: bold; } + .mirrors table { + width: 100%; + } </style> </head> @@ -85,7 +89,39 @@ </header> <div id="content"> <div class="pure-g"> - {{#mirrors}} + <div class="pure-u-1"> + <table class="pure-table pure-table-striped"> + <thead> + <tr> + <th>Mirror name</th> + <th>Service urls</th> + <th>Location</th> + <th>Bandwidth</th> + </tr> + </thead> + <tbody> + {{#mirrors}} + <tr> + <td>{{name}}</td> + <td> + {{#urls}} + <a href="{{url}}">{{scheme}}</a> + {{/urls}} + </td> + <td> + <span>{{location}}</span> + </td> + <td> + <span>{{bandwidth}}</span> + </td> + </tr> + {{/mirrors}} + </tbody> + </table> + </div> + </div> + <div class="pure-g mirrors"> + {{#status}} <div class="pure-u-1"> <h3>{{url}}</h3> <div class="mirror-meta"> @@ -113,9 +149,9 @@ </tbody> </table> </div> - {{/mirrors}} + {{/status}} </div> - <div class="last-updated">Last updated: <span>{{lupdate}}</span> UTC</div> + <div class="last-updated">Last updated: <span>{{last_update}}</span> UTC</div> </div> <footer>© Copyright 2017 Alpine Linux Development Team all rights reserved</footer> </div> |