Commit 09462cd6 authored by 神楽坂玲奈's avatar 神楽坂玲奈

data

parent 0c284ff8
......@@ -4,42 +4,52 @@
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Mycard - 卡图制作</title>
<meta name="description" content="a image maker for yu-gi-oh and other card games, aims to provide high-quality card images.">
<meta name="description"
content="a image maker for yu-gi-oh and other card games, aims to provide high-quality card images.">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="style.css"/>
<script id="card_template" type="text/x-jquery-tmpl">
<div class="card ${category} ${card_type}">
<span class="name">${name}</span>
<span class="attribute" data-attribute="${attribute}"></span>
</head>
<body>
<div class="card">
<span class="name">上海人形</span>
<span class="attribute" data-attribute="light"></span>
<div class="level" data-level="4"></div>
<div class="level" data-level="${level}"></div>
<img class="image"
src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAARCACbAJsDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBh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GwaHxVqqvpW5VTR9NQx2pYkbQQPmmcnH3uPQday7wfa9QMUrM8QYfIWOPyrKsgP+EyjnKq8lla3Nxbl1DBJFQBWweCRk4z0zX2OOpUcNTliuROS2ObLqMsZXhRbsmzYtvFNroXgC60TUbr+ztTimdJLdUH+jlpMiPBOTwc+mfpWH8PtW0mK702w126lR7bdDFaTRlfmBON5Y4KkZxjGe/SsDxjI0l54SDkyefNul3/MXJxknPXrXofj7RLH7RAn2ddraaHIyfvBxg/qa/PqlK8VN7zu395+xUKk3OVOKVqNoq/VW6nS+ONTNzcW8ER3WyRiVdvfIwPyx+FfRv7PkSeIpvhxCil7XRPCUd1KJFwwnllbGQfcE/wDARXzH+zHYweMvit4V0jWo/wC0NOknBeCQkB8McAkYJHseK+v/ANn+JIvGfiVUUKqaVpyKB2XzLrj9B+VcXIlOmu1/yPE4ixftlytbK/3n1tGvypnOOnPXGKxdI1dnupbWZ85c+W39K2h9zPfb/SvONRuZLWC5mjbbIkcjqxAOGHIPPvXpttWsfnpzv7UP7R1j8AfBYe2WHUfF+pKY9K012BXPG6eUZyI04J/vHAB5JHz/APsJ/tNzxeI7/wAAeMb5ru51y9l1HTNYuXAMtzJ80tvIegLfeQe5TstfIureLNY+I/ifUde8S6jPq+r3E8qSXU7c7EJCIAMBVHZQAPam63bR6fo9tcW26G4F1ABKjkOv70cg5yD7jmvsKGXU3hm38TV7nFKo7n7boc5NPqlppJs4SSSdo6n/AGau184dB//Z"/>
<span class="monster_type">【魔法师族·效果</span>
src="${image_url}"/>
<span class="monster_type">${$.i18n.prop('type.'+type)}·${$.i18n.prop('card_type.'+card_type)}</span>
<span class="number">TH07-ZH998</span>
<span class="edition">DUEL TERMINAL</span>
<div class="rule_text">这张卡被战斗破坏时,场上一只怪物的攻击力下降500。这张卡从场上送去墓地后,再我方场上表侧守备表示特殊召唤1只「人偶衍生物」(机械族 暗 1星 攻/守200 不能作为上级召唤的解放对象)。</div>
<hr class="hr" />
<span class="gamecode">99999998</span>
<div class="rule_text">${description}</div>
<hr class="hr"/>
<span class="gamecode">${id}</span>
<div class="rarity2"></div>
<span class="copyright">©1996 KAZUKI TAKAHASHI</span>
<span class="atk_title">ATK / </span>
<span class="def_title">DEF / </span>
<span class="atk">1750</span>
<span class="def">1000</span>
</div>
<form id="card_form" action="http://phoenix.my-card.in/test.php" method="post">
<span class="atk_title">ATK/ </span>
<span class="def_title">DEF/ </span>
<span class="atk">${atk}</span>
<span class="def">${def}</span>
</div>
</script>
</head>
<body>
<div id="card"></div>
<form id="card_form" action="http://mycard-images.my-card.in/test.php" method="post">
<input name="style" type="text" value="style">
<input name="document" type="hidden">
<input type="submit"/>
</form>
<button id="all_button">批量功能测试</button>
<textarea id="all_script"></textarea>
<script src="js/vendor/jquery-1.9.1.min.js"></script>
<script src="js/vendor/jquery.jeditable.mini.js"></script>
<script src="js/vendor/jquery.i18n.properties-min-1.0.9.js"></script>
<script src="js/vendor/jquery.tmpl.min.js"></script>
<script src="js/vendor/mycard.js"></script>
<script src="js/main.js"></script>
</body>
</html>
$(document).ready ->
$.i18n.properties
name: 'card'
path: 'locales/'
mode: 'both'
callback: ->
#example data
$('#card').html $('#card_template').tmpl
name: '上海人形'
attribute: 'light'
level: 4
card_type: 'normal'
category: 'monster'
type: 'spellcaster'
image_url: 'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAARCACbAJsDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2Jygg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tCc+xH8S/Db/ABU+Mvgf4eI8q6Vp8K3+qyQ8YiiTaq5xxudsfhXjv7Ynie08QfG+XStPCLY+GNPi0tY0HyCQ/vHHvgMi/ga+qvgd/pHxO+K95J891HcWtukp6rGFlYKPbPNfnS17PqV7qV5dStPdXWpXcs0rnLSMZWyTX6/wthoxjGS6K58bmlV83J0Vv0Nz4b/GPxx8Cbi6k8IXiS2F4cz6deAPbA/3yrMCp5PzA/UHArA+Lnx98XfFGwaHxVqqvpW5VTR9NQx2pYkbQQPmmcnH3uPQday7wfa9QMUrM8QYfIWOPyrKsgP+EyjnKq8lla3Nxbl1DBJFQBWweCRk4z0zX2OOpUcNTliuROS2ObLqMsZXhRbsmzYtvFNroXgC60TUbr+ztTimdJLdUH+jlpMiPBOTwc+mfpWH8PtW0mK702w126lR7bdDFaTRlfmBON5Y4KkZxjGe/SsDxjI0l54SDkyefNul3/MXJxknPXrXofj7RLH7RAn2ddraaHIyfvBxg/qa/PqlK8VN7zu395+xUKk3OVOKVqNoq/VW6nS+ONTNzcW8ER3WyRiVdvfIwPyx+FfRv7PkSeIpvhxCil7XRPCUd1KJFwwnllbGQfcE/wDARXzH+zHYweMvit4V0jWo/wC0NOknBeCQkB8McAkYJHseK+v/ANn+JIvGfiVUUKqaVpyKB2XzLrj9B+VcXIlOmu1/yPE4ixftlytbK/3n1tGvypnOOnPXGKxdI1dnupbWZ85c+W39K2h9zPfb/SvONRuZLWC5mjbbIkcjqxAOGHIPPvXpttWsfnpzv7UP7R1j8AfBYe2WHUfF+pKY9K012BXPG6eUZyI04J/vHAB5JHz/APsJ/tNzxeI7/wAAeMb5ru51y9l1HTNYuXAMtzJ80tvIegLfeQe5TstfIureLNY+I/ifUde8S6jPq+r3E8qSXU7c7EJCIAMBVHZQAPam63bR6fo9tcW26G4F1ABKjkOv70cg5yD7jmvsKGXU3hm38TV7nFKo7n7boc5NPqlppJs4SSSdo6n/AGau184dB//Z'
description: '这张卡被战斗破坏时,场上一只怪物的攻击力下降500。这张卡从场上送去墓地后,再我方场上表侧守备表示特殊召唤1只「人偶衍生物」(机械族 暗 1星 攻/守200 不能作为上级召唤的解放对象)。'
id: 99999998
atk: 1750
def: 1000
#submit
$('#card_form').submit ->
@document.value = $('.card')[0].outerHTML
#editable
$('.name').editable (value, settings) ->
value
......@@ -35,3 +57,31 @@ $(document).ready ->
value
$('.def').editable (value, settings) ->
value
#batch
$('#all_button').click ->
mycard.fetch_cards (cards) ->
#windows
#result = "@echo off\n"
#escape_batch_characters =
# '%': '%%'
# '^': '^^'
# '&': '^&'
# '<': '\^<'
# '>': '^>'
# '|': '^|'
#
#for card in cards
# result += "echo #{$('#card_template').tmpl(card)[0].outerHTML.replace(/[^\x00-\x7F]|[\%\^\&\<\>\|]/g, (key)->(escape_batch_characters[key] or"^&##{key.charCodeAt(0)};"))} > temp.html\n"
result = "mkdir result\n"
i = 1
for card in cards
result += "echo '(#{i}/#{cards.length}: #{card.name}[#{card.id}])'\n"
result += "cat <<-END_CARD > temp.html\n#{$('#card_template').tmpl(card)[0].outerHTML}\nEND_CARD\n"
result += "wkhtmltoimage --encoding 'UTF-8' --width '421' --height '614' --user-style-sheet 'mycard-images/style.css' 'temp.html' 'result/#{card.id}.png' 2>/dev/null\n"
i++
$('#all_script').val result
// Generated by CoffeeScript 1.6.1
// Generated by CoffeeScript 1.6.2
(function() {
$(document).ready(function() {
return $.i18n.properties({
name: 'card',
path: 'locales/',
mode: 'both',
callback: function() {
$('#card').html($('#card_template').tmpl({
name: '上海人形',
attribute: 'light',
level: 4,
card_type: 'normal',
category: 'monster',
type: 'spellcaster',
image_url: 'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQ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eQe5TstfIureLNY+I/ifUde8S6jPq+r3E8qSXU7c7EJCIAMBVHZQAPam63bR6fo9tcW26G4F1ABKjkOv70cg5yD7jmvsKGXU3hm38TV7nFKo7n7boc5NPqlppJs4SSSdo6n/AGau184dB//Z',
description: '这张卡被战斗破坏时,场上一只怪物的攻击力下降500。这张卡从场上送去墓地后,再我方场上表侧守备表示特殊召唤1只「人偶衍生物」(机械族 暗 1星 攻/守200 不能作为上级召唤的解放对象)。',
id: 99999998,
atk: 1750,
def: 1000
}));
$('#card_form').submit(function() {
return this.document.value = $('.card')[0].outerHTML;
});
......@@ -48,9 +65,27 @@
$('.atk').editable(function(value, settings) {
return value;
});
return $('.def').editable(function(value, settings) {
$('.def').editable(function(value, settings) {
return value;
});
return $('#all_button').click(function() {
return mycard.fetch_cards(function(cards) {
var card, i, result, _i, _len;
result = "mkdir result\n";
i = 1;
for (_i = 0, _len = cards.length; _i < _len; _i++) {
card = cards[_i];
result += "echo '(" + i + "/" + cards.length + ": " + card.name + "[" + card.id + "])'\n";
result += "cat <<-END_CARD > temp.html\n" + ($('#card_template').tmpl(card)[0].outerHTML) + "\nEND_CARD\n";
result += "wkhtmltoimage --encoding 'UTF-8' --width '421' --height '614' --user-style-sheet 'mycard-images/style.css' 'temp.html' 'result/" + card.id + ".png' 2>/dev/null\n";
i++;
}
return $('#all_script').val(result);
});
});
}
});
});
}).call(this);
(function(k){function n(c,a){k.ajax({url:c,async:!1,cache:a.cache,contentType:"text/plain;charset="+a.encoding,dataType:"text",success:function(b){r(b,a.mode)}})}function r(c,a){for(var b="",e=c.split(/\n/),d=/(\{\d+\})/g,q=/\{(\d+)\}/g,m=/(\\u.{4})/ig,f=0;f<e.length;f++)if(e[f]=e[f].replace(/^\s\s*/,"").replace(/\s\s*$/,""),e[f].length>0&&e[f].match("^#")!="#"){var g=e[f].split("=");if(g.length>0){for(var o=unescape(g[0]).replace(/^\s\s*/,"").replace(/\s\s*$/,""),h=g.length==1?"":g[1];h.match(/\\$/)==
"\\";)h=h.substring(0,h.length-1),h+=e[++f].replace(/\s\s*$/,"");for(var l=2;l<g.length;l++)h+="="+g[l];h=h.replace(/^\s\s*/,"").replace(/\s\s*$/,"");if(a=="map"||a=="both"){if(g=h.match(m))for(l=0;l<g.length;l++)h=h.replace(g[l],s(g[l]));k.i18n.map[o]=h}if(a=="vars"||a=="both")if(h=h.replace(/"/g,'\\"'),t(o),d.test(h)){for(var g=h.split(d),l=!0,j="",n=[],p=0;p<g.length;p++)if(d.test(g[p])&&(n.length==0||n.indexOf(g[p])==-1))l||(j+=","),j+=g[p].replace(q,"v$1"),n.push(g[p]),l=!1;b+=o+"=function("+
j+"){";o='"'+h.replace(q,'"+v$1+"')+'"';b+="return "+o+";};"}else b+=o+'="'+h+'";'}}eval(b)}function t(c){if(/\./.test(c))for(var a="",c=c.split(/\./),b=0;b<c.length;b++)b>0&&(a+="."),a+=c[b],eval("typeof "+a+' == "undefined"')&&eval(a+"={};")}function s(c){var a=[],c=parseInt(c.substr(2),16);c>=0&&c<Math.pow(2,16)&&a.push(c);for(var c="",b=0;b<a.length;++b)c+=String.fromCharCode(a[b]);return c}k.i18n={};k.i18n.map={};k.i18n.properties=function(c){c=k.extend({name:"Messages",language:"",path:"",mode:"vars",
cache:!1,encoding:"UTF-8",callback:null},c);if(c.language===null||c.language=="")c.language=k.i18n.browserLang();if(c.language===null)c.language="";var a=c.name&&c.name.constructor==Array?c.name:[c.name];for(i=0;i<a.length;i++)n(c.path+a[i]+".properties",c),c.language.length>=2&&n(c.path+a[i]+"_"+c.language.substring(0,2)+".properties",c),c.language.length>=5&&n(c.path+a[i]+"_"+c.language.substring(0,5)+".properties",c);c.callback&&c.callback()};k.i18n.prop=function(c){var a=k.i18n.map[c];if(a==null)return"["+
c+"]";var b;if(typeof a=="string"){for(b=0;(b=a.indexOf("\\",b))!=-1;)a=a[b+1]=="t"?a.substring(0,b)+"\t"+a.substring(b++ +2):a[b+1]=="r"?a.substring(0,b)+"\r"+a.substring(b++ +2):a[b+1]=="n"?a.substring(0,b)+"\n"+a.substring(b++ +2):a[b+1]=="f"?a.substring(0,b)+"\u000c"+a.substring(b++ +2):a[b+1]=="\\"?a.substring(0,b)+"\\"+a.substring(b++ +2):a.substring(0,b)+a.substring(b+1);var e=[],d,j;for(b=0;b<a.length;)if(a[b]=="'")if(b==a.length-1)a=a.substring(0,b);else if(a[b+1]=="'")a=a.substring(0,b)+
a.substring(++b);else{for(d=b+2;(d=a.indexOf("'",d))!=-1;)if(d==a.length-1||a[d+1]!="'"){a=a.substring(0,b)+a.substring(b+1,d)+a.substring(d+1);b=d-1;break}else a=a.substring(0,d)+a.substring(++d);d==-1&&(a=a.substring(0,b)+a.substring(b+1))}else if(a[b]=="{")if(d=a.indexOf("}",b+1),d==-1)b++;else if(j=parseInt(a.substring(b+1,d)),!isNaN(j)&&j>=0){var m=a.substring(0,b);m!=""&&e.push(m);e.push(j);b=0;a=a.substring(d+1)}else b=d+1;else b++;a!=""&&e.push(a);a=e;k.i18n.map[c]=e}if(a.length==0)return"";
if(a.lengh==1&&typeof a[0]=="string")return a[0];m="";for(b=0;b<a.length;b++)m+=typeof a[b]=="string"?a[b]:a[b]+1<arguments.length?arguments[a[b]+1]:"{"+a[b]+"}";return m};k.i18n.browserLang=function(){var c=navigator.language||navigator.userLanguage,c=c.toLowerCase();c.length>3&&(c=c.substring(0,3)+c.substring(3).toUpperCase());return c};var j;if(!j)j=function(c,a,b){if(Object.prototype.toString.call(a)!=="[object RegExp]")return typeof j._nativeSplit=="undefined"?c.split(a,b):j._nativeSplit.call(c,
a,b);var e=[],d=0,k=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.sticky?"y":""),a=RegExp(a.source,k+"g"),m,f,g;c+="";j._compliantExecNpcg||(m=RegExp("^"+a.source+"$(?!\\s)",k));if(b===void 0||+b<0)b=Infinity;else if(b=Math.floor(+b),!b)return[];for(;f=a.exec(c);){k=f.index+f[0].length;if(k>d&&(e.push(c.slice(d,f.index)),!j._compliantExecNpcg&&f.length>1&&f[0].replace(m,function(){for(var a=1;a<arguments.length-2;a++)arguments[a]===void 0&&(f[a]=void 0)}),f.length>1&&f.index<c.length&&Array.prototype.push.apply(e,
f.slice(1)),g=f[0].length,d=k,e.length>=b))break;a.lastIndex===f.index&&a.lastIndex++}d===c.length?(g||!a.test(""))&&e.push(""):e.push(c.slice(d));return e.length>b?e.slice(0,b):e},j._compliantExecNpcg=/()??/.exec("")[1]===void 0,j._nativeSplit=String.prototype.split;String.prototype.split=function(c,a){return j(this,c,a)}})(jQuery);
\ No newline at end of file
/*
* jQuery Templates Plugin 1.0.0pre
* http://github.com/jquery/jquery-tmpl
* Requires jQuery 1.4.2
*
* Copyright 2011, Software Freedom Conservancy, Inc.
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*/
(function(a){var r=a.fn.domManip,d="_tmplitem",q=/^[^<]*(<[\w\W]+>)[^>]*$|\{\{\! /,b={},f={},e,p={key:0,data:{}},i=0,c=0,l=[];function g(g,d,h,e){var c={data:e||(e===0||e===false)?e:d?d.data:{},_wrap:d?d._wrap:null,tmpl:null,parent:d||null,nodes:[],calls:u,nest:w,wrap:x,html:v,update:t};g&&a.extend(c,g,{nodes:[],parent:d});if(h){c.tmpl=h;c._ctnt=c._ctnt||c.tmpl(a,c);c.key=++i;(l.length?f:b)[i]=c}return c}a.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(f,d){a.fn[f]=function(n){var g=[],i=a(n),k,h,m,l,j=this.length===1&&this[0].parentNode;e=b||{};if(j&&j.nodeType===11&&j.childNodes.length===1&&i.length===1){i[d](this[0]);g=this}else{for(h=0,m=i.length;h<m;h++){c=h;k=(h>0?this.clone(true):this).get();a(i[h])[d](k);g=g.concat(k)}c=0;g=this.pushStack(g,f,i.selector)}l=e;e=null;a.tmpl.complete(l);return g}});a.fn.extend({tmpl:function(d,c,b){return a.tmpl(this[0],d,c,b)},tmplItem:function(){return a.tmplItem(this[0])},template:function(b){return a.template(b,this[0])},domManip:function(d,m,k){if(d[0]&&a.isArray(d[0])){var g=a.makeArray(arguments),h=d[0],j=h.length,i=0,f;while(i<j&&!(f=a.data(h[i++],"tmplItem")));if(f&&c)g[2]=function(b){a.tmpl.afterManip(this,b,k)};r.apply(this,g)}else r.apply(this,arguments);c=0;!e&&a.tmpl.complete(b);return this}});a.extend({tmpl:function(d,h,e,c){var i,k=!c;if(k){c=p;d=a.template[d]||a.template(null,d);f={}}else if(!d){d=c.tmpl;b[c.key]=c;c.nodes=[];c.wrapped&&n(c,c.wrapped);return a(j(c,null,c.tmpl(a,c)))}if(!d)return[];if(typeof h==="function")h=h.call(c||{});e&&e.wrapped&&n(e,e.wrapped);i=a.isArray(h)?a.map(h,function(a){return a?g(e,c,d,a):null}):[g(e,c,d,h)];return k?a(j(c,null,i)):i},tmplItem:function(b){var c;if(b instanceof a)b=b[0];while(b&&b.nodeType===1&&!(c=a.data(b,"tmplItem"))&&(b=b.parentNode));return c||p},template:function(c,b){if(b){if(typeof b==="string")b=o(b);else if(b instanceof a)b=b[0]||{};if(b.nodeType)b=a.data(b,"tmpl")||a.data(b,"tmpl",o(b.innerHTML));return typeof c==="string"?(a.template[c]=b):b}return c?typeof c!=="string"?a.template(null,c):a.template[c]||a.template(null,q.test(c)?c:a(c)):null},encode:function(a){return(""+a).split("<").join("&lt;").split(">").join("&gt;").split('"').join("&#34;").split("'").join("&#39;")}});a.extend(a.tmpl,{tag:{tmpl:{_default:{$2:"null"},open:"if($notnull_1){__=__.concat($item.nest($1,$2));}"},wrap:{_default:{$2:"null"},open:"$item.calls(__,$1,$2);__=[];",close:"call=$item.calls();__=call._.concat($item.wrap(call,__));"},each:{_default:{$2:"$index, $value"},open:"if($notnull_1){$.each($1a,function($2){with(this){",close:"}});}"},"if":{open:"if(($notnull_1) && $1a){",close:"}"},"else":{_default:{$1:"true"},open:"}else if(($notnull_1) && $1a){"},html:{open:"if($notnull_1){__.push($1a);}"},"=":{_default:{$1:"$data"},open:"if($notnull_1){__.push($.encode($1a));}"},"!":{open:""}},complete:function(){b={}},afterManip:function(f,b,d){var e=b.nodeType===11?a.makeArray(b.childNodes):b.nodeType===1?[b]:[];d.call(f,b);m(e);c++}});function j(e,g,f){var b,c=f?a.map(f,function(a){return typeof a==="string"?e.key?a.replace(/(<\w+)(?=[\s>])(?![^>]*_tmplitem)([^>]*)/g,"$1 "+d+'="'+e.key+'" $2'):a:j(a,e,a._ctnt)}):e;if(g)return c;c=c.join("");c.replace(/^\s*([^<\s][^<]*)?(<[\w\W]+>)([^>]*[^>\s])?\s*$/,function(f,c,e,d){b=a(e).get();m(b);if(c)b=k(c).concat(b);if(d)b=b.concat(k(d))});return b?b:k(c)}function k(c){var b=document.createElement("div");b.innerHTML=c;return a.makeArray(b.childNodes)}function o(b){return new Function("jQuery","$item","var $=jQuery,call,__=[],$data=$item.data;with($data){__.push('"+a.trim(b).replace(/([\\'])/g,"\\$1").replace(/[\r\t\n]/g," ").replace(/\$\{([^\}]*)\}/g,"{{= $1}}").replace(/\{\{(\/?)(\w+|.)(?:\(((?:[^\}]|\}(?!\}))*?)?\))?(?:\s+(.*?)?)?(\(((?:[^\}]|\}(?!\}))*?)\))?\s*\}\}/g,function(m,l,k,g,b,c,d){var j=a.tmpl.tag[k],i,e,f;if(!j)throw"Unknown template tag: "+k;i=j._default||[];if(c&&!/\w$/.test(b)){b+=c;c=""}if(b){b=h(b);d=d?","+h(d)+")":c?")":"";e=c?b.indexOf(".")>-1?b+h(c):"("+b+").call($item"+d:b;f=c?e:"(typeof("+b+")==='function'?("+b+").call($item):("+b+"))"}else f=e=i.$1||"null";g=h(g);return"');"+j[l?"close":"open"].split("$notnull_1").join(b?"typeof("+b+")!=='undefined' && ("+b+")!=null":"true").split("$1a").join(f).split("$1").join(e).split("$2").join(g||i.$2||"")+"__.push('"})+"');}return __;")}function n(c,b){c._wrap=j(c,true,a.isArray(b)?b:[q.test(b)?b:a(b).html()]).join("")}function h(a){return a?a.replace(/\\'/g,"'").replace(/\\\\/g,"\\"):null}function s(b){var a=document.createElement("div");a.appendChild(b.cloneNode(true));return a.innerHTML}function m(o){var n="_"+c,k,j,l={},e,p,h;for(e=0,p=o.length;e<p;e++){if((k=o[e]).nodeType!==1)continue;j=k.getElementsByTagName("*");for(h=j.length-1;h>=0;h--)m(j[h]);m(k)}function m(j){var p,h=j,k,e,m;if(m=j.getAttribute(d)){while(h.parentNode&&(h=h.parentNode).nodeType===1&&!(p=h.getAttribute(d)));if(p!==m){h=h.parentNode?h.nodeType===11?0:h.getAttribute(d)||0:0;if(!(e=b[m])){e=f[m];e=g(e,b[h]||f[h]);e.key=++i;b[i]=e}c&&o(m)}j.removeAttribute(d)}else if(c&&(e=a.data(j,"tmplItem"))){o(e.key);b[e.key]=e;h=a.data(j.parentNode,"tmplItem");h=h?h.key:0}if(e){k=e;while(k&&k.key!=h){k.nodes.push(j);k=k.parent}delete e._ctnt;delete e._wrap;a.data(j,"tmplItem",e)}function o(a){a=a+n;e=l[a]=l[a]||g(e,b[e.parent.key+n]||e.parent)}}}function u(a,d,c,b){if(!a)return l.pop();l.push({_:a,tmpl:d,item:this,data:c,options:b})}function w(d,c,b){return a.tmpl(a.template(d),c,b,this)}function x(b,d){var c=b.options||{};c.wrapped=d;return a.tmpl(a.template(b.tmpl),b.data,c,b.item)}function v(d,c){var b=this._wrap;return a.map(a(a.isArray(b)?b.join(""):b).filter(d||"*"),function(a){return c?a.innerText||a.textContent:a.outerHTML||s(a)})}function t(){var b=this.nodes;a.tmpl(null,null,null,this).insertBefore(b[0]);a(b).remove()}})(jQuery);
\ No newline at end of file
class @mycard
@locale = 'zh'
@types = ['warrior', 'spellcaster', 'fairy', 'fiend', 'zombie', 'machine', 'aqua', 'pyro', 'rock', 'winged_beast', 'plant', 'insect', 'thunder', 'dragon', 'beast', 'beast_warrior', 'dinosaur', 'fish' , 'sea_serpent', 'reptile', 'psychic', 'divine_beast', 'creator_god']
@_attributes = ['earth', 'water', 'fire', 'wind', 'light', 'dark', 'divine']
@categories = ['monster', 'spell', 'trap']
@card_types = [null, null, null, null, 'normal', 'effect', 'fusion', 'ritual', null, 'spirit', 'union', 'gemini','tuner', 'synchro', null, null, 'quick_play', 'continuous', 'equip', 'field', 'counter', 'flip', 'toon', 'xyz']
@card_types_extra = ['fusion', 'synchro', 'xyz']
@cards_url: "http://my-card.in/cards?l=100"
@cards_locale_url: "http://my-card.in/cards_#{@locale}?l=100"
@fetch_cards = (callback)->
$.when($.getJSON(@cards_url), $.getJSON(@cards_locale_url)).done (cards, langs)=>
callback @load_cards(cards[0], langs[0])
@load_cards = (cards, langs)->
result = []
for lang in langs
for card in cards
if card._id == lang._id
result.push @load_card(card, lang)
break
result
@load_card = (card, lang)->
i=0
while card.type
if card.type & 1
card_type = @card_types[i] if @card_types[i]
category = @categories[i] if @categories[i]
card.type >>= 1
i++
id: card._id
alias: card.alias
name: lang.name
category: category
card_type: card_type
type: (i = 0; (i++ until card.race >> i & 1); @types[i]) if card.race
attribute: (i = 0; (i++ until card.attribute >> i & 1); @_attributes[i]) if card.attribute
level: card.level if card.attribute
atk: card.atk if card.attribute
def: card.def if card.attribute
description: lang.desc
// Generated by CoffeeScript 1.6.2
(function() {
this.mycard = (function() {
function mycard() {}
mycard.locale = 'zh';
mycard.types = ['warrior', 'spellcaster', 'fairy', 'fiend', 'zombie', 'machine', 'aqua', 'pyro', 'rock', 'winged_beast', 'plant', 'insect', 'thunder', 'dragon', 'beast', 'beast_warrior', 'dinosaur', 'fish', 'sea_serpent', 'reptile', 'psychic', 'divine_beast', 'creator_god'];
mycard._attributes = ['earth', 'water', 'fire', 'wind', 'light', 'dark', 'divine'];
mycard.categories = ['monster', 'spell', 'trap'];
mycard.card_types = [null, null, null, null, 'normal', 'effect', 'fusion', 'ritual', null, 'spirit', 'union', 'gemini', 'tuner', 'synchro', null, null, 'quick_play', 'continuous', 'equip', 'field', 'counter', 'flip', 'toon', 'xyz'];
mycard.card_types_extra = ['fusion', 'synchro', 'xyz'];
mycard.cards_url = "http://my-card.in/cards?l=100";
mycard.cards_locale_url = "http://my-card.in/cards_" + mycard.locale + "?l=100";
mycard.fetch_cards = function(callback) {
var _this = this;
return $.when($.getJSON(this.cards_url), $.getJSON(this.cards_locale_url)).done(function(cards, langs) {
return callback(_this.load_cards(cards[0], langs[0]));
});
};
mycard.load_cards = function(cards, langs) {
var card, lang, result, _i, _j, _len, _len1;
result = [];
for (_i = 0, _len = langs.length; _i < _len; _i++) {
lang = langs[_i];
for (_j = 0, _len1 = cards.length; _j < _len1; _j++) {
card = cards[_j];
if (card._id === lang._id) {
result.push(this.load_card(card, lang));
break;
}
}
}
return result;
};
mycard.load_card = function(card, lang) {
var card_type, category, i;
i = 0;
while (card.type) {
if (card.type & 1) {
if (this.card_types[i]) {
card_type = this.card_types[i];
}
if (this.categories[i]) {
category = this.categories[i];
}
}
card.type >>= 1;
i++;
}
return {
id: card._id,
alias: card.alias,
name: lang.name,
category: category,
card_type: card_type,
type: card.race ? (i = 0, (function() {
var _results;
_results = [];
while (!(card.race >> i & 1)) {
_results.push(i++);
}
return _results;
})(), this.types[i]) : void 0,
attribute: card.attribute ? (i = 0, (function() {
var _results;
_results = [];
while (!(card.attribute >> i & 1)) {
_results.push(i++);
}
return _results;
})(), this._attributes[i]) : void 0,
level: card.attribute ? card.level : void 0,
atk: card.attribute ? card.atk : void 0,
def: card.attribute ? card.def : void 0,
description: lang.desc
};
};
return mycard;
})();
}).call(this);
card_type = 卡类
type = 种族
attribute = 属性
atk = 攻击
def = 守备
level = 星阶
type.aqua = 水族
type.beast = 兽族
type.beast_warrior = 兽战士族
type.creator_god = 创造神族
type.dinosaur = 恐龙族
type.divine_beast = 幻神兽族
type.dragon = 龙族
type.fairy = 天使族
type.fiend = 恶魔族
type.fish = 鱼族
type.insect = 昆虫族
type.machine = 机械族
type.plant = 植物族
type.psychic = 念动力族
type.pyro = 炎族
type.reptile = 爬虫族
type.rock = 岩石族
type.sea_serpent = 海龙族
type.spellcaster = 魔法使族
type.thunder = 雷族
type.warrior = 战士族
type.winged_beast = 鸟兽族
type.zombie = 不死族
attribute.dark =
attribute.divine =
attribute.earth =
attribute.fire =
attribute.light =
attribute.water =
attribute.wind =
card_type.normal = 通常
card_type.effect = 效果
card_type.fusion = 融合
card_type.ritual = 仪式
card_type.spirit = 灵魂
card_type.union = 同盟
card_type.gemini = 二重
card_type.tuner = 调整
card_type.synchro = 同调
card_type.quick_play = 速攻
card_type.continuous = 永续
card_type.equip = 装备
card_type.field = 场地
card_type.counter = 反击
card_type.flip = 反转
card_type.toon = 卡通
card_type.xyz = 超量
\ No newline at end of file
......@@ -33,9 +33,14 @@
position: relative;
width: 421px;
height: 614px;
background: url(mse/data/yugioh-standard.mse-style/card-slifer.png);
background-size: 421px 614px;
}
.card.monster.normal{background-image: url(mse/data/yugioh-standard.mse-style/card-normal.png)}
.card.monster.effect{background-image: url(mse/data/yugioh-standard.mse-style/card-effect.png)}
.card.monster.fusion{background-image: url(mse/data/yugioh-standard.mse-style/card-fusion.png)}
.card.monster.ritual{background-image: url(mse/data/yugioh-standard.mse-style/card-ritual.png)}
.card.monster.synchro{background-image: url(mse/data/yugioh-standard.mse-style/card-synchro.png)}
.card.monster.xyz{background-image: url(mse/data/yugioh-standard.mse-style/card-xyz.png)}
.name {
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