mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-31 19:52:48 +00:00
remove redundant code
This commit is contained in:
parent
35fe891173
commit
362b0e36c3
|
|
@ -17,16 +17,7 @@
|
|||
<form class="form-inline">
|
||||
<div class="form-group">
|
||||
<label>选择帮助条目: </label>
|
||||
<select class="form-control" id="help-select">
|
||||
<option data-release="debian-wheezy">Debian Wheezy</option>
|
||||
<option data-release="debian-jessie" selected>Debian Jessie</option>
|
||||
<option data-release="debian-stretch">Debian Strech</option>
|
||||
<option data-release="ubuntu-precise">Ubuntu 12.04 LTS</option>
|
||||
<option data-release="ubuntu-trusty">Ubuntu 14.04 LTS</option>
|
||||
<option data-release="ubuntu-utopic">Ubuntu 14.10</option>
|
||||
<option data-release="ubuntu-vivid">Ubuntu 15.04</option>
|
||||
<option data-release="ubuntu-wily">Ubuntu 15.10</option>
|
||||
</select>
|
||||
<select class="form-control" id="help-select"></select>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,43 +1,42 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
@@include('./include/_head.html')
|
||||
<body>
|
||||
@@include('./include/_nav.html')
|
||||
<body>
|
||||
@@include('./include/_nav.html')
|
||||
|
||||
<div id="mirrors">
|
||||
<div class="spacing hidden-xs"></div>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="space"></div>
|
||||
<div class="col-md-12">
|
||||
<div id="thu-alert" class="alert alert-danger hidden">
|
||||
<i class="glyphicon glyphicon-exclamation-sign"></i>
|
||||
<strong>清华用户您好,我们发现您正在通过校外线路访问 mirrors(可能是因为您设置了校外的DNS服务器),
|
||||
为避免产生不必要的校外流量,
|
||||
建议您通过 <a href="http://mirrors.i.tuna.tsinghua.edu.cn/">http://mirrors.i.tuna.tsinghua.edu.cn/</a>
|
||||
访问和使用 TUNA mirrors 资源。
|
||||
</strong>
|
||||
<div id="mirrors">
|
||||
<div class="spacing hidden-xs"></div>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="space"></div>
|
||||
<div class="col-md-12">
|
||||
<div id="thu-alert" class="alert alert-danger hidden">
|
||||
<i class="glyphicon glyphicon-exclamation-sign"></i>
|
||||
<strong>清华用户您好,我们发现您正在通过校外线路访问 mirrors(可能是因为您设置了校外的DNS服务器),
|
||||
为避免产生不必要的校外流量,
|
||||
建议您通过 <a href="http://mirrors.i.tuna.tsinghua.edu.cn/">http://mirrors.i.tuna.tsinghua.edu.cn/</a>
|
||||
访问和使用 TUNA mirrors 资源。
|
||||
</strong>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-8 table-responsive">
|
||||
<h3><span class="fa fa-cube"></span> 镜像列表 </h3>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr class="row">
|
||||
<th class="col-sm-8">Name</th>
|
||||
<th class="col-sm-4">Last Update</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="mirror-list">
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="spacing hidden-xs"></div>
|
||||
<div class="row">
|
||||
<div class="col-md-12" id="news">
|
||||
<div class="row">
|
||||
<div class="col-md-8 table-responsive">
|
||||
<h3><span class="fa fa-cube"></span> 镜像列表 </h3>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr class="row">
|
||||
<th class="col-sm-8">Name</th>
|
||||
<th class="col-sm-4">Last Update</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="mirror-list">
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="spacing hidden-xs"></div>
|
||||
<div id="news">
|
||||
<h4><span class="fa fa-bullhorn"></span> 新闻公告 </h4>
|
||||
<ul>
|
||||
<li><a href="/news/#docker-update"><strong>2015-10-10</strong> 更新 docker 镜像 </a></li>
|
||||
|
|
@ -45,7 +44,7 @@
|
|||
</ul>
|
||||
<span class="pull-right"><a href="/news/"> more <span class="fa fa-angle-double-right"></span> </a></span>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div>
|
||||
<h4> <span class="fa fa-link"></span> 域名选择 </h4>
|
||||
<ul>
|
||||
<li><a href="http://mirrors.tuna.tsinghua.edu.cn/">http://mirrors.tuna.tsinghua.edu.cn/</a> 自动选择 </li>
|
||||
|
|
@ -54,7 +53,7 @@
|
|||
<li><a href="http://mirrors.i.tuna.tsinghua.edu.cn/">http://mirrors.i.tuna.tsinghua.edu.cn/</a> 只解析清华 IP</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div>
|
||||
<h4> <span class="fa fa-envelope-o"></span> 联系我们 </h4>
|
||||
<ul>
|
||||
<li><strong>订阅邮件列表</strong> <br /> thu-opensource-mirror-admin@googlegroups.com <br /> 第一时间获得镜像站动态</li>
|
||||
|
|
@ -62,7 +61,7 @@
|
|||
<li><strong>IRC 频道</strong> <br /> <a href="http://tuna.moe/irc/"> #tuna at freenode </a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div>
|
||||
<h4> <span class="fa fa-external-link"></span> 相关链接 </h4>
|
||||
<ul>
|
||||
<li><a href="/help/#AOSP">使用帮助</a></li>
|
||||
|
|
@ -71,14 +70,13 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!--/container -->
|
||||
</div><!--/mirrors -->
|
||||
</div><!--/container -->
|
||||
</div><!--/mirrors -->
|
||||
|
||||
@@include('./include/_footer.html')
|
||||
</body>
|
||||
@@include('./include/_footer.html')
|
||||
</body>
|
||||
|
||||
<script id="template" type="x-tmpl-markup">
|
||||
<script id="template" type="x-tmpl-markup">
|
||||
{{mirrors}}
|
||||
<tr class="status-{{status}} row">
|
||||
<td class="col-md-8">
|
||||
|
|
@ -91,9 +89,9 @@
|
|||
</td>
|
||||
</tr>
|
||||
{{/mirrors}}
|
||||
</script>
|
||||
<script src="/static/js/index.js"></script>
|
||||
</script>
|
||||
<script src="/static/js/index.js"></script>
|
||||
</html>
|
||||
<!--
|
||||
vim: ts=2 sts=2 sw=2 noexpandtab
|
||||
vim: ts=2 sts=2 sw=2 noexpandtab
|
||||
-->
|
||||
|
|
|
|||
Loading…
Reference in New Issue