Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-images-generator
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
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
ygopro-images-generator
Commits
a6dc2027
Commit
a6dc2027
authored
Mar 08, 2013
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
editable
parent
a0901304
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
600 additions
and
7 deletions
+600
-7
index.html
index.html
+13
-6
js/main.coffee
js/main.coffee
+13
-0
js/main.js
js/main.js
+22
-0
js/vendor/jquery-1.9.1.min.js
js/vendor/jquery-1.9.1.min.js
+5
-0
js/vendor/jquery.jeditable.mini.js
js/vendor/jquery.jeditable.mini.js
+543
-0
style.css
style.css
+4
-1
No files found.
index.html
View file @
a6dc2027
<meta
charset=
"UTF-8"
>
<html>
<head>
<meta
charset=
"UTF-8"
>
<link
rel=
"stylesheet"
href=
"normalize.css"
/>
<link
rel=
"stylesheet"
href=
"style.css"
/>
</head>
<body>
<div
class=
"card"
>
<div
class=
"card"
>
<img
class=
"card_type"
src=
"mse/data/yugioh-standard.mse-style/card-slifer.png"
/>
<img
class=
"card_type"
src=
"mse/data/yugioh-standard.mse-style/card-slifer.png"
/>
<span
class=
"name"
>
喵了个咪
</span>
<span
class=
"name"
>
喵了个咪
</span>
<img
class=
"attribute"
src=
"mse/data/yugioh-caicai-levels.mse-symbol-font/水.png"
/>
<span
class=
"attribute"
data-attribute=
"water"
></span>
<div
class=
"level"
data-level=
"4"
></div>
<div
class=
"level"
data-level=
"4"
></div>
<img
class=
"image"
src=
"shanghai.jpg"
/>
<img
class=
"image"
src=
"shanghai.jpg"
/>
<span
class=
"monster_type"
>
【人偶族·卖萌】
</span>
<span
class=
"monster_type"
>
【人偶族·卖萌】
</span>
...
@@ -19,6 +24,8 @@
...
@@ -19,6 +24,8 @@
<span
class=
"atk"
>
123
</span>
<span
class=
"atk"
>
123
</span>
<span
class=
"def"
>
321
</span>
<span
class=
"def"
>
321
</span>
</div>
</div>
<script
src=
"js/vendor/jquery-1.9.1.min.js"
></script>
<link
rel=
"stylesheet"
href=
"normalize.css"
/>
<script
src=
"js/vendor/jquery.jeditable.mini.js"
></script>
<link
rel=
"stylesheet"
href=
"style.css"
/>
<script
src=
"js/main.js"
></script>
\ No newline at end of file
</body>
</html>
\ No newline at end of file
js/main.coffee
0 → 100644
View file @
a6dc2027
$
(
document
).
ready
->
$
(
'.name'
).
editable
(
value
,
settings
)
->
value
$
(
'.attribute'
).
editable
(
value
,
settings
)
->
$
(
this
).
attr
'data-attribute'
,
value
,
{
placeholder
:
""
data
:
JSON
.
stringify
{
'water'
:
'水'
,
'fire'
:
'炎'
}
type
:
'select'
submit
:
'OK'
}
js/main.js
0 → 100644
View file @
a6dc2027
// Generated by CoffeeScript 1.6.1
(
function
()
{
$
(
document
).
ready
(
function
()
{
$
(
'
.name
'
).
editable
(
function
(
value
,
settings
)
{
return
value
;
});
return
$
(
'
.attribute
'
).
editable
(
function
(
value
,
settings
)
{
$
(
this
).
attr
(
'
data-attribute
'
,
value
);
return
""
;
},
{
placeholder
:
""
,
data
:
JSON
.
stringify
({
'
water
'
:
'
水
'
,
'
fire
'
:
'
炎
'
}),
type
:
'
select
'
,
submit
:
'
OK
'
});
});
}).
call
(
this
);
js/vendor/jquery-1.9.1.min.js
0 → 100644
View file @
a6dc2027
This diff is collapsed.
Click to expand it.
js/vendor/jquery.jeditable.mini.js
0 → 100644
View file @
a6dc2027
This diff is collapsed.
Click to expand it.
style.css
View file @
a6dc2027
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
}
}
.card
{
body
{
position
:
relative
;
position
:
relative
;
width
:
421px
;
width
:
421px
;
height
:
614px
;
height
:
614px
;
...
@@ -57,7 +57,10 @@
...
@@ -57,7 +57,10 @@
top
:
37px
;
top
:
37px
;
width
:
40px
;
width
:
40px
;
height
:
40px
;
height
:
40px
;
background-size
:
40px
40px
;
}
}
.attribute
[
data-attribute
=
"water"
]
{
background-image
:
url(mse/data/yugioh-caicai-levels.mse-symbol-font/水.png)
}
.attribute
[
data-attribute
=
"fire"
]
{
background-image
:
url(mse/data/yugioh-caicai-levels.mse-symbol-font/炎.png)
}
.level
{
.level
{
position
:
absolute
;
position
:
absolute
;
...
...
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