Seems our i18n initiative does not work so well...

This reverts commit 5cdf885f53.
This commit is contained in:
Harry Chen 2019-04-02 00:07:17 +08:00
parent 5cdf885f53
commit 194b17e7e3
4 changed files with 59 additions and 59 deletions

View File

@ -3,27 +3,27 @@
<div class="container">
<div class="row">
<div class="col-lg-4 col-md-4">
<p>🌐清华大学信息化技术中心🙋👏👏,👷👷清华大学 TUNA 协会👷👷</p>
<p>🐟🐟 清华大学 TUNA 协会 🐟🐟,🔖 "清华大学学生网络与开源软件协会",👨‍💻🍊👨‍💻👩‍💻👩‍💻🕸️👷</p>
<p>💻: <a href="https://github.com/tuna/tunasync">👷</a> + <a href="https://github.com/tuna/mirror-web"><em>🌐</em></a></p>
<p>⚖: 🇪🇺⛔</p>
<p>本站由清华大学信息化技术中心支持创办,由清华大学 TUNA 协会运行维护。</p>
<p>清华大学 TUNA 协会,全名清华大学学生网络与开源软件协会,是由清华大学热爱网络技术和开源软件的极客组成的学生技术社团。</p>
<p>本站相关源码可在 <a href="https://github.com/tuna/tunasync"><em>这里(镜像管理器)</em></a> <a href="https://github.com/tuna/mirror-web"><em>这里(镜像站网页)</em></a> 获取。</p>
<p>根据相关法律法规,本站不对欧盟用户提供服务。</p>
</div>
<div class="col-lg-4 col-md-4">
<h4>☎️💁</h4>
<h4>Contact Us</h4>
<div>
<ul class="social">
<li>
<a href="https://groups.google.com/forum/#!forum/tuna-general"><i class="fa fa-envelope"></i> 📥</a>
<a href="https://groups.google.com/forum/#!forum/tuna-general"><i class="fa fa-envelope"></i> Mailing List</a>
</li>
<li>
💬: <a href="https://webchat.freenode.net/?channels=%23tuna">#tuna @ freenode</a>
IRC: <a href="https://webchat.freenode.net/?channels=%23tuna">#tuna at freenode</a>
</li>
<li>
<a href="https://github.com/tuna/"><i class="fa fa-github"></i> 🐙🐱 </a>
<a href="https://github.com/tuna/"><i class="fa fa-github"></i> GitHub </a>
</li>
<li>
<a href="http://weibo.com/u/5402274706"><i class="fa fa-weibo"></i> 👁️</a>
<a href="http://weibo.com/u/5402274706"><i class="fa fa-weibo"></i> 新浪微博</a>
</li>
</ul>
</div>

View File

@ -7,16 +7,16 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/"><img src="/static/img/logo-small.png" srcset="/static/img/logo-small.png 1x, /static/img/logo-small@2x.png 2x, /static/img/logo-small@3x.png 3x, /static/img/logo-small@4x.png 4x" alt=""/> 清华大学🗽📚💿</a>
<a class="navbar-brand" href="/"><img src="/static/img/logo-small.png" srcset="/static/img/logo-small.png 1x, /static/img/logo-small@2x.png 2x, /static/img/logo-small@3x.png 3x, /static/img/logo-small@4x.png 4x" alt=""/> 清华大学开源软件镜像站</a>
</div>
<div class="navbar-collapse collapse navbar-right">
<ul class="nav navbar-nav">
<li><a href="https://tuna.moe/">🏠</a></li>
<li><a href="https://tuna.moe/events/">📺</a></li>
<li><a href="https://tuna.moe/blog/">📝</a></li>
<li><a href="https://tuna.moe/feed.xml">🍼</a></li>
<li><a href="https://podcast.tuna.moe/">📻</a></li>
<li class="active"><a href="http://mirrors.tuna.tsinghua.edu.cn/">💿</a></li>
<li><a href="https://tuna.moe/">HOME</a></li>
<li><a href="https://tuna.moe/events/">EVENTS</a></li>
<li><a href="https://tuna.moe/blog/">BLOG</a></li>
<li><a href="https://tuna.moe/feed.xml">RSS</a></li>
<li><a href="https://podcast.tuna.moe/">PODCAST</a></li>
<li class="active"><a href="http://mirrors.tuna.tsinghua.edu.cn/">MIRRORS</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>

View File

@ -15,14 +15,14 @@ permalink: /
{% raw %}
<div class="col-md-8 table-responsive" id="mirror-list">
<div class="row">
<h3 id="mirror-title"><span class="fa fa-cube"></span> 📚📚📚📚 </h3>
<input type="search" v-model="filter" id="search" placeholder="🔍" autocomplete="off">
<h3 id="mirror-title"><span class="fa fa-cube"></span> 镜像列表 </h3>
<input type="search" v-model="filter" id="search" placeholder="搜索" autocomplete="off">
</div>
<table class="table" v-if="mirrorList.length">
<thead>
<tr class="row">
<th class="col-sm-8">🔖</th>
<th class="col-sm-4">🕰️</th>
<th class="col-sm-8">Name</th>
<th class="col-sm-4">Last Update</th>
</tr>
</thead>
<tbody>
@ -32,7 +32,7 @@ permalink: /
<a class="mirror-item-label" data-toggle="popover" data-trigger="hover" data-placement="right"
:data-content="mir.description" :href="getURL(mir)">
{{mir.name}}
<span class="label label-new" v-if='mir.is_new'>🆕</span>
<span class="label label-new" v-if='mir.is_new'>new</span>
<a v-if='mir.help_url' :href="mir.help_url"><i class="fa fa-question-circle" title="Help"></i></a>
</a>
</td>
@ -57,7 +57,7 @@ permalink: /
<div id="wizard">
</div>
<div id="news">
<h4><span class="fa fa-bullhorn"></span> 🗞️📻📰 </h4>
<h4><span class="fa fa-bullhorn"></span> 新闻公告 </h4>
<ul>
{% for news in site.categories.news limit: 3%}
<li><a href="/news/#{{news.slug}}"><strong>{{news.date | date: "%Y-%m-%d"}}</strong> {{news.title}}</a></li>
@ -66,37 +66,37 @@ permalink: /
<div class="text-right"><a href="/news/"> more <span class="fa fa-angle-double-right"></span> </a></div>
</div>
<div>
<h4> <span class="fa fa-link"></span> 🌐 </h4>
<h4> <span class="fa fa-link"></span> 域名选择 </h4>
<ul>
<li><a href="https://mirrors.tuna.tsinghua.edu.cn/">https://mirrors.tuna.tsinghua.edu.cn/</a> 4 / 6 </li>
<li><a href="https://mirrors6.tuna.tsinghua.edu.cn/">https://mirrors6.tuna.tsinghua.edu.cn/</a> 6 </li>
<li><a href="https://mirrors4.tuna.tsinghua.edu.cn/">https://mirrors4.tuna.tsinghua.edu.cn/</a> 4 </li>
<li><a href="https://mirrors.tuna.tsinghua.edu.cn/">https://mirrors.tuna.tsinghua.edu.cn/</a> 自动选择 </li>
<li><a href="https://mirrors6.tuna.tsinghua.edu.cn/">https://mirrors6.tuna.tsinghua.edu.cn/</a> 只解析 IPv6</li>
<li><a href="https://mirrors4.tuna.tsinghua.edu.cn/">https://mirrors4.tuna.tsinghua.edu.cn/</a> 只解析 IPv4</li>
</ul>
</div>
<div id="download-link">
<h4><span class="fa fa-file-archive-o"></span> 💿 </h4>
<p>💿📚💾</p>
<h4><span class="fa fa-file-archive-o"></span> 下载链接 </h4>
<p>常用发行版 iso 和应用工具安装包直接下载</p>
<button type="button" class="btn btn-info" data-toggle="modal" data-target="#isoModal">
🔗
获取下载链接
</button>
</div>
<div>
<h4> <span class="fa fa-envelope-o"></span> ☎️💁 </h4>
<h4> <span class="fa fa-envelope-o"></span> 联系我们 </h4>
<ul>
<li><strong>😠💬</strong> <br /> <a href="https://github.com/tuna/issues">https://github.com/tuna/issues</a></li>
<li><strong>📧</strong> <br /> <a id="eib1gieB"></a></li>
<li><strong>👋💬</strong> <br /> <a href="https://fishroom.tuna.moe/log/tuna/today"> #tuna at freenode </a></li>
<li><strong>意见反馈</strong> <br /> <a href="https://github.com/tuna/issues">https://github.com/tuna/issues</a></li>
<li><strong>发送邮件</strong> <br /> <a id="eib1gieB"></a></li>
<li><strong>在线交流</strong> <br /> <a href="https://fishroom.tuna.moe/log/tuna/today"> #tuna at freenode </a></li>
</ul>
</div>
<div>
<h4> <span class="fa fa-external-link"></span> 🔗 </h4>
<h4> <span class="fa fa-external-link"></span> 相关链接 </h4>
<ul>
<li><a href="/help/">🆘</a></li>
<li><a href="/status/#server-status">🥔🌡️</a></li>
<li><a href="/status/#syncing-status">💾🌡️</a></li>
<li><a href="https://tuna.moe/">🐟🐟🐟</a></li>
<li><a href="https://github.com/tuna/tunasync">👨‍💻</a></li>
<li><a href="https://github.com/tuna/tunasync-scripts">📇</a></li>
<li><a href="/help/">使用帮助</a></li>
<li><a href="/status/#server-status">服务器状态</a></li>
<li><a href="/status/#syncing-status">同步状态</a></li>
<li><a href="https://tuna.moe/">清华大学 TUNA 协会</a></li>
<li><a href="https://github.com/tuna/tunasync">镜像管理器源码</a></li>
<li><a href="https://github.com/tuna/tunasync-scripts">自定义镜像脚本</a></li>
</ul>
</div>
</div>
@ -115,14 +115,14 @@ permalink: /
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
<h4 class="modal-title" id="isoModalLabel">💿+📚</h4>
<h4 class="modal-title" id="isoModalLabel">获取安装镜像</h4>
</div>
<div class="modal-body">
<div class="row">
<div class="col-md-12">
<ul class="nav nav-tabs">
<li role="presentation" :class="[curCategory === 'os' ? 'active' : '']" @click="switchCategory('os')"><a href="#">💿</a></li>
<li role="presentation" :class="[curCategory === 'app' ? 'active' : '']" @click="switchCategory('app')"><a href="#">📚</a></li>
<li role="presentation" :class="[curCategory === 'os' ? 'active' : '']" @click="switchCategory('os')"><a href="#">操作系统</a></li>
<li role="presentation" :class="[curCategory === 'app' ? 'active' : '']" @click="switchCategory('app')"><a href="#">应用软件</a></li>
</ul>
</div>
<div class="col-md-3">

View File

@ -9,8 +9,8 @@ permalink: /status/
<div id="status-page">
<div class="spacing hidden-xs"></div>
<div class="container">
<h3 id="server-status"> # 🥔🌡️ </h3>
<h4> # 🖧 </h4>
<h3 id="server-status"> # 服务器监控 </h3>
<h4> # 网络流量 </h4>
<div class="row">
<div class="col-md-6">
<div class="thumbnail">
@ -23,9 +23,9 @@ permalink: /status/
</div>
</div>
</div>
<h4># 💽 </h4>
<h4># 磁盘状态 </h4>
<div class="row">
<div class="col-md-12"><strong>🥧📈</strong>: </div>
<div class="col-md-12"><strong>磁盘占用</strong>: </div>
<div class="col-md-12">
<div class="progress">
<div id="disk-usage-bar" class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%;">
@ -43,7 +43,7 @@ permalink: /status/
</div>
</div>
</div>
<h4># 👷👷👷👷</h4>
<h4># CPU / 内存</h4>
<div class="row">
<div class="col-md-6">
<div class="thumbnail">
@ -56,15 +56,15 @@ permalink: /status/
</div>
</div>
</div>
<h3 id="syncing-status"># 💾🌡️</h3>
<h3 id="syncing-status"># 同步状态</h3>
<table class="table table-condensed flat-md">
<thead class="hidden-xs hidden-sm">
<tr>
<th class="col-xs-12 col-md-2">🔖</th>
<th class="col-xs-12 col-md-2">🕰️</th>
<th class="col-xs-12 col-md-5">🚿</th>
<th class="col-xs-12 col-md-1">📝</th>
<th class="col-xs-12 col-md-2">💾</th>
<th class="col-xs-12 col-md-2">Name</th>
<th class="col-xs-12 col-md-2">Last Update</th>
<th class="col-xs-12 col-md-5">Upstream</th>
<th class="col-xs-12 col-md-1">Status</th>
<th class="col-xs-12 col-md-2">Size</th>
</tr>
</thead>
<tbody id="mirror-list">
@ -77,15 +77,15 @@ permalink: /status/
<script id="template" type="x-tmpl-markup">
{{mirrors}}
<tr class="status-{{status}} row">
<td class="col-xs-4">🔖</td>
<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">🕰️</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">🚿</td>
<td class="col-xs-4">Upstream</td>
<td class="col-md-5 col-xs-8">{{upstream}}</td>
<td class="col-xs-4">📝</td>
<td class="col-xs-4">Status</td>
<td class="col-md-1 col-xs-8">{{status}}</td>
<td class="col-xs-4">💾</td>
<td class="col-xs-4">Size</td>
<td class="col-md-2 col-xs-8">{{size}}</td>
</tr>
{{/mirrors}}