Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Moecube Store
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Moecube Store
Commits
a281ffe4
Commit
a281ffe4
authored
Apr 05, 2013
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
platforn
parent
9a3d076a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
2 deletions
+14
-2
assets/javascripts/mycard.coffee
assets/javascripts/mycard.coffee
+1
-1
assets/javascripts/mycard.js
assets/javascripts/mycard.js
+1
-1
assets/stylesheets/mycard.css
assets/stylesheets/mycard.css
+10
-0
index.html
index.html
+2
-0
No files found.
assets/javascripts/mycard.coffee
View file @
a281ffe4
...
...
@@ -9,7 +9,7 @@ $(document).ready ->
#version
$
.
get
'/mycard/download.url'
,
(
data
)
->
if
matched
=
data
.
match
(
/mycard-(.*)-(.*)\.7z/
)
$
(
'#download_version'
).
html
"
#{
matched
[
1
]
}
#{
matched
[
2
]
}
"
$
(
'#download_version'
).
html
matched
[
1
]
else
$
(
'#download_version'
).
html
'读取失败'
...
...
assets/javascripts/mycard.js
View file @
a281ffe4
...
...
@@ -10,7 +10,7 @@
$
.
get
(
'
/mycard/download.url
'
,
function
(
data
)
{
var
matched
;
if
(
matched
=
data
.
match
(
/mycard-
(
.*
)
-
(
.*
)\.
7z/
))
{
return
$
(
'
#download_version
'
).
html
(
""
+
matched
[
1
]
+
"
"
+
matched
[
2
]);
return
$
(
'
#download_version
'
).
html
(
matched
[
1
]);
}
else
{
return
$
(
'
#download_version
'
).
html
(
'
读取失败
'
);
}
...
...
assets/stylesheets/mycard.css
View file @
a281ffe4
...
...
@@ -305,3 +305,13 @@ footer h2 {
#links
a
{
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
index.html
View file @
a281ffe4
...
...
@@ -98,6 +98,7 @@
<div
id=
"download"
>
<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>
<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
id=
"download_sublist"
>
<a
href=
"http://my-card.in/mycard/updates"
>
更新补丁
</a></br>
...
...
@@ -105,6 +106,7 @@
<a
href=
"https://plus.google.com/communities/112748610591305626436/stream/e0224372-0474-4624-be73-56f76bad7a8e"
>
更新记录
</a>
</div>
</div>
</div>
</div>
<div
id=
"slider"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment