Commit a281ffe4 authored by 神楽坂玲奈's avatar 神楽坂玲奈

platforn

parent 9a3d076a
...@@ -9,7 +9,7 @@ $(document).ready -> ...@@ -9,7 +9,7 @@ $(document).ready ->
#version #version
$.get '/mycard/download.url', (data)-> $.get '/mycard/download.url', (data)->
if matched = data.match(/mycard-(.*)-(.*)\.7z/) if matched = data.match(/mycard-(.*)-(.*)\.7z/)
$('#download_version').html "#{matched[1]} #{matched[2]}" $('#download_version').html matched[1]
else else
$('#download_version').html '读取失败' $('#download_version').html '读取失败'
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
$.get('/mycard/download.url', function(data) { $.get('/mycard/download.url', function(data) {
var matched; var matched;
if (matched = data.match(/mycard-(.*)-(.*)\.7z/)) { if (matched = data.match(/mycard-(.*)-(.*)\.7z/)) {
return $('#download_version').html("" + matched[1] + " " + matched[2]); return $('#download_version').html(matched[1]);
} else { } else {
return $('#download_version').html('读取失败'); return $('#download_version').html('读取失败');
} }
......
...@@ -305,3 +305,13 @@ footer h2 { ...@@ -305,3 +305,13 @@ footer h2 {
#links a { #links a {
margin: 5px 3px 3px 5px; margin: 5px 3px 3px 5px;
} }
.platform {
font-size: 12px;
color: #2a2a2a;
text-shadow: 1px 1px 1px #dedede;
text-align: center;
}
.platform a{
text-shadow: 1px 1px 1px #dedede;
}
\ No newline at end of file
...@@ -98,6 +98,7 @@ ...@@ -98,6 +98,7 @@
<div id="download"> <div id="download">
<a id="download_url" href="http://my-card.in/mycard/download" class="download_active">立即下载</a> <a id="download_url" href="http://my-card.in/mycard/download" class="download_active">立即下载</a>
<a class="download_information">最新版本: <span id="download_version">Loading...</span></a> <a class="download_information">最新版本: <span id="download_version">Loading...</span></a>
<p class="platform">支持的平台: <a href="http://my-card.in/mycard/download?platform=win32">Windows</a>, <a href="https://github.com/zh99998/mycard/wiki/linux">Linux</p>
</div> </div>
<div id="download_sublist"> <div id="download_sublist">
<a href="http://my-card.in/mycard/updates">更新补丁</a></br> <a href="http://my-card.in/mycard/updates">更新补丁</a></br>
...@@ -105,6 +106,7 @@ ...@@ -105,6 +106,7 @@
<a href="https://plus.google.com/communities/112748610591305626436/stream/e0224372-0474-4624-be73-56f76bad7a8e">更新记录</a> <a href="https://plus.google.com/communities/112748610591305626436/stream/e0224372-0474-4624-be73-56f76bad7a8e">更新记录</a>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<div id="slider"> <div id="slider">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment