mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
add link to alternative page
This commit is contained in:
parent
2e3288c958
commit
a425ea7238
|
|
@ -0,0 +1,18 @@
|
|||
{% raw %}
|
||||
<div v-if="false" id="upgrade-mask" style="position: fixed; background: white; width: 100%; height: 100%; z-index: 200; padding-top: 40px; overflow: scroll;" class="container">
|
||||
<div class="well">
|
||||
<p>尊敬的访问者,</p>
|
||||
<p>Dear visitor, </p>
|
||||
<p>Chère cliente, </p>
|
||||
<p>訪問者へ 、</p>
|
||||
<p> </p>
|
||||
<p>您好!</p>
|
||||
<p>Hello! </p>
|
||||
<p>Bonjour! </p>
|
||||
<p>こんにちは !</p>
|
||||
<p> </p>
|
||||
<p>我们检测到您当前的浏览器不能正常显示我们的主页,请更新您的浏览器,并启用 Javascript,或者访问我们的<a href="javascript: void(0);">代用页面</a></p>
|
||||
<p>Your browser is not compatible with our website. Please upgrade and enable Javascript, or visit our <a href="javascript: void(0);">alternate page</a></p>
|
||||
</div>
|
||||
</div>
|
||||
{% endraw %}
|
||||
|
|
@ -5,8 +5,8 @@ permalink: /
|
|||
<html>
|
||||
{% include head.html %}
|
||||
<body>
|
||||
{% include legacy_notes.html %}
|
||||
{% include nav.html %}
|
||||
|
||||
<div id="mirrors">
|
||||
<div class="spacing hidden-xs"></div>
|
||||
|
||||
|
|
|
|||
|
|
@ -72,6 +72,10 @@ var mir_tmpl = $("#template").text(),
|
|||
{% for mir in site.data.mirror_desc %} '{{mir.name}}': '{{mir.desc}}' {% if forloop.index < forloop.length %},{% endif %}{% endfor %}
|
||||
}
|
||||
|
||||
new Vue({
|
||||
el: "#upgrade-mask",
|
||||
});
|
||||
|
||||
var vmMirList = new Vue({
|
||||
el: "#mirror-list",
|
||||
data: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue