mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
minior updates
This commit is contained in:
parent
c5e9759420
commit
342ab8645f
|
|
@ -72,6 +72,6 @@ gulp.task('scss-build', function(){
|
|||
gulp.task('copy', ['copy-html', 'copy-lib', 'copy-img'])
|
||||
|
||||
gulp.task('build', ['copy', 'js-build', 'scss-build']);
|
||||
gulp.task('default', ['copy', 'watch']);
|
||||
gulp.task('default', ['copy', 'js-build', 'scss-build', 'watch']);
|
||||
|
||||
// vim: ts=2 sts=2 sw=2 expandtab
|
||||
|
|
|
|||
16
package.json
16
package.json
|
|
@ -3,13 +3,6 @@
|
|||
"version": "1.0.0",
|
||||
"description": "TUNA mirror site",
|
||||
"main": "index.html",
|
||||
"devDependencies": {
|
||||
"gulp": "^3.9.0",
|
||||
"gulp-babel": "^5.2.1",
|
||||
"gulp-file-include": "^0.13.7",
|
||||
"gulp-rename": "^1.2.2",
|
||||
"gulp-sass": "^2.0.4"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
|
|
@ -23,5 +16,12 @@
|
|||
"url": "https://github.com/tuna/mirror-web/issues"
|
||||
},
|
||||
"homepage": "https://github.com/tuna/mirror-web#readme",
|
||||
"dependencies": {}
|
||||
"dependencies": {
|
||||
"gulp": "^3.9.0",
|
||||
"gulp-babel": "^5.2.1",
|
||||
"gulp-file-include": "^0.13.7",
|
||||
"gulp-rename": "^1.2.2",
|
||||
"node-sass": "^3.3.2",
|
||||
"gulp-sass": "^2.0.4"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,17 +30,14 @@ deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ trusty-updates main multiver
|
|||
|
||||
| 版本号 | 代号 | 完整代号 |
|
||||
| ------ | ---- | -------- |
|
||||
| 8.04 LTS | hardy | Hardy Heron |
|
||||
| 10.04 LTS | lucid | Lucid Lynx |
|
||||
| 10.10 | maverick | Maverick Meerkat |
|
||||
| 11.04 | natty | Natty Narwhal |
|
||||
| 11.10 | oneiric | Oneiric Ocelot |
|
||||
| 12.04 LTS | precise | Precise Pangolin |
|
||||
| 12.10 | quantal | Quantal Quetzal |
|
||||
| 13.04 | raring | Raring Ringtail |
|
||||
| 13.10 | saucy | Saucy Salamander |
|
||||
| 14.04 LTS | trusty | Trusty Tahr |
|
||||
| 14.10 | utopic | Utopic Unicorn |
|
||||
| 15.04 | vivid | Vivid Vervet |
|
||||
|
||||
### 参考
|
||||
|
||||
|
|
|
|||
|
|
@ -9,9 +9,7 @@
|
|||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div>
|
||||
<p>欢迎来到清华大学开源镜像网站,它由清华大学开源镜像站管理团队维护管理。</p>
|
||||
<p>本站可以在校内外通过 IPv4/IPv6 使用。 <br />
|
||||
本站域名有:</p>
|
||||
<p>欢迎来到清华大学开源镜像网站,它由清华大学开源镜像站管理团队维护管理。你可以通过不同域名选定网络线路。</p>
|
||||
<ul>
|
||||
<li><a href="http://mirrors.tuna.tsinghua.edu.cn/">http://mirrors.tuna.tsinghua.edu.cn/</a> 支持 IPv4/IPv6</li>
|
||||
<li><a href="http://mirrors.6.tuna.tsinghua.edu.cn/">http://mirrors.6.tuna.tsinghua.edu.cn/</a> 只解析 IPv6</li>
|
||||
|
|
|
|||
|
|
@ -8,7 +8,10 @@ $(document).ready(() => {
|
|||
if (url.match(/\.md$/)) {
|
||||
rendered = marked(data);
|
||||
}
|
||||
$("#help-content").html(rendered);
|
||||
$("#help-content")
|
||||
.html(rendered)
|
||||
.find('table')
|
||||
.addClass("table table-bordered table-striped");
|
||||
$('#spinner').addClass('hidden');
|
||||
});
|
||||
};
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ var mir_tmpl = $("#template").text(),
|
|||
new_mirrors = {
|
||||
'OpenBSD': true,
|
||||
'hackage': true,
|
||||
'kodi': true,
|
||||
'qt': true,
|
||||
'npm': true
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue