Commit 864e705a authored by 神楽坂玲奈's avatar 神楽坂玲奈

demo

parent 4159aeae
This diff is collapsed.
...@@ -9,7 +9,7 @@ $(document).ready -> ...@@ -9,7 +9,7 @@ $(document).ready ->
$(this).attr 'data-attribute', value $(this).attr 'data-attribute', value
, { , {
placeholder: "" placeholder: ""
data: JSON.stringify {'water': '水', 'fire': '炎'} data: JSON.stringify {'dark': '暗', 'divine': '神', 'earth': '地', 'fire': '炎', 'light': '光', 'water': '水', 'wind': '风'}
type: 'select' type: 'select'
submit: 'OK' submit: 'OK'
} }
...@@ -26,7 +26,7 @@ $(document).ready -> ...@@ -26,7 +26,7 @@ $(document).ready ->
, { , {
type: 'textarea', type: 'textarea',
submit: 'OK' submit: 'OK'
} }
$('.name').editable (value, settings) -> $('.name').editable (value, settings) ->
value value
$('.gamecode').editable (value, settings) -> $('.gamecode').editable (value, settings) ->
......
...@@ -13,8 +13,13 @@ ...@@ -13,8 +13,13 @@
}, { }, {
placeholder: "", placeholder: "",
data: JSON.stringify({ data: JSON.stringify({
'dark': '',
'divine': '',
'earth': '',
'fire': '',
'light': '',
'water': '', 'water': '',
'fire': '' 'wind': ''
}), }),
type: 'select', type: 'select',
submit: 'OK' submit: 'OK'
......
...@@ -58,6 +58,11 @@ ...@@ -58,6 +58,11 @@
} }
.attribute[data-attribute="water"]{background-image: url(mse/data/yugioh-caicai-levels.mse-symbol-font/水.png)} .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)} .attribute[data-attribute="fire"]{background-image: url(mse/data/yugioh-caicai-levels.mse-symbol-font/炎.png)}
.attribute[data-attribute="dark"]{background-image: url(mse/data/yugioh-caicai-levels.mse-symbol-font/暗.png)}
.attribute[data-attribute="light"]{background-image: url(mse/data/yugioh-caicai-levels.mse-symbol-font/光.png)}
.attribute[data-attribute="earth"]{background-image: url(mse/data/yugioh-caicai-levels.mse-symbol-font/地.png)}
.attribute[data-attribute="wind"]{background-image: url(mse/data/yugioh-caicai-levels.mse-symbol-font/风.png)}
.attribute[data-attribute="divine"]{background-image: url(mse/data/yugioh-caicai-levels.mse-symbol-font/神.png)}
.level { .level {
position: absolute; position: absolute;
......
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