mirror of
https://github.com/webxoss/webxoss-client.git
synced 2025-01-31 07:29:08 +01:00
helper wanted
This commit is contained in:
parent
65663ac380
commit
caa4bdca00
7 changed files with 71 additions and 25 deletions
40
Localize.js
40
Localize.js
|
@ -214,10 +214,10 @@ var map_zh_CN = {
|
||||||
},
|
},
|
||||||
DOM: {
|
DOM: {
|
||||||
'index': {
|
'index': {
|
||||||
'link-support-webxoss': {
|
// 'link-support-webxoss': {
|
||||||
textContent: 'WEBXOSS需要您的帮助!',
|
// textContent: 'WEBXOSS需要您的帮助!',
|
||||||
href: 'about.html#support'
|
// href: 'about.html#support'
|
||||||
},
|
// },
|
||||||
'link-version': '<枯树生华>',
|
'link-version': '<枯树生华>',
|
||||||
'label-nickname': '您的昵称:',
|
'label-nickname': '您的昵称:',
|
||||||
'input-nickame': {
|
'input-nickame': {
|
||||||
|
@ -572,10 +572,10 @@ var map_en = {
|
||||||
},
|
},
|
||||||
DOM: {
|
DOM: {
|
||||||
'index': {
|
'index': {
|
||||||
'link-support-webxoss': {
|
// 'link-support-webxoss': {
|
||||||
textContent: 'WEBXOSS NEEDS YOUR HELP!',
|
// textContent: 'WEBXOSS NEEDS YOUR HELP!',
|
||||||
href: 'about_en.html#support'
|
// href: 'about_en.html#support'
|
||||||
},
|
// },
|
||||||
'link-version': '<Withered Tree, Living Flower>',
|
'link-version': '<Withered Tree, Living Flower>',
|
||||||
'label-nickname': 'Nickname:',
|
'label-nickname': 'Nickname:',
|
||||||
'input-nickame': {
|
'input-nickame': {
|
||||||
|
@ -945,10 +945,10 @@ var map_jp = {
|
||||||
},
|
},
|
||||||
DOM: {
|
DOM: {
|
||||||
'index': {
|
'index': {
|
||||||
'link-support-webxoss': {
|
// 'link-support-webxoss': {
|
||||||
textContent: 'WEBXOSS NEEDS YOUR HELP!',
|
// textContent: 'WEBXOSS NEEDS YOUR HELP!',
|
||||||
href: 'about_en.html#support'
|
// href: 'about_en.html#support'
|
||||||
},
|
// },
|
||||||
'link-version': '<枯樹生華>',
|
'link-version': '<枯樹生華>',
|
||||||
// 'label-nickname': 'あなたのニックネーム:',
|
// 'label-nickname': 'あなたのニックネーム:',
|
||||||
'label-nickname': 'ニックネーム:',
|
'label-nickname': 'ニックネーム:',
|
||||||
|
@ -1311,10 +1311,10 @@ var map_ru = {
|
||||||
},
|
},
|
||||||
DOM: {
|
DOM: {
|
||||||
'index': {
|
'index': {
|
||||||
'link-support-webxoss': {
|
// 'link-support-webxoss': {
|
||||||
textContent: 'WEBXOSS НУЖДАЕТСЯ В ПОМОЩИ!',
|
// textContent: 'WEBXOSS НУЖДАЕТСЯ В ПОМОЩИ!',
|
||||||
href: 'supporters_en.html'
|
// href: 'supporters_en.html'
|
||||||
},
|
// },
|
||||||
'link-version': '<Withered Tree, Living Flower>',
|
'link-version': '<Withered Tree, Living Flower>',
|
||||||
'label-nickname': 'Никнейм:',
|
'label-nickname': 'Никнейм:',
|
||||||
'input-nickame': {
|
'input-nickame': {
|
||||||
|
@ -1669,10 +1669,10 @@ var map_it = {
|
||||||
},
|
},
|
||||||
DOM: {
|
DOM: {
|
||||||
'index': {
|
'index': {
|
||||||
'link-support-webxoss': {
|
// 'link-support-webxoss': {
|
||||||
textContent: 'WEBXOSS HA BISOGNO DEL TUO AIUTO!',
|
// textContent: 'WEBXOSS HA BISOGNO DEL TUO AIUTO!',
|
||||||
href: 'about_en.html#support'
|
// href: 'about_en.html#support'
|
||||||
},
|
// },
|
||||||
'link-version': '<Withered Tree, Living Flower>',
|
'link-version': '<Withered Tree, Living Flower>',
|
||||||
'label-nickname': 'Nickname:',
|
'label-nickname': 'Nickname:',
|
||||||
'input-nickame': {
|
'input-nickame': {
|
||||||
|
|
4
Localize.min.js
vendored
4
Localize.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -1067,6 +1067,18 @@ checkDomain();
|
||||||
// };
|
// };
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
if (localStorage.getItem('notice') !== 'helper-wanted') {
|
||||||
|
if (Localize.getLanguage() === 'zh_CN') {
|
||||||
|
$('subtitle').className = 'helper-wanted';
|
||||||
|
$('link-helper-wanted').onclick = function () {
|
||||||
|
$('subtitle').className = '';
|
||||||
|
localStorage.setItem('notice','helper-wanted');
|
||||||
|
msgBox.preset('helper-wanted');
|
||||||
|
$('helper-wanted-button-ok').onclick = msgBox.close.bind(msgBox);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// 通知
|
// 通知
|
||||||
// if (localStorage.getItem('notice')) {
|
// if (localStorage.getItem('notice')) {
|
||||||
// hide($('link-notice'));
|
// hide($('link-notice'));
|
||||||
|
|
13
css.css
13
css.css
|
@ -34,6 +34,18 @@ ol,ul,li {
|
||||||
font-size: small;
|
font-size: small;
|
||||||
/*cursor: pointer;*/
|
/*cursor: pointer;*/
|
||||||
}
|
}
|
||||||
|
#link-helper-wanted {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
#subtitle.helper-wanted #link-helper-wanted {
|
||||||
|
display: block;
|
||||||
|
font-weight: bold;
|
||||||
|
color: blue !important;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
#subtitle.helper-wanted #link-version {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
/*#notice-match {
|
/*#notice-match {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
@ -129,6 +141,7 @@ ol,ul,li {
|
||||||
#msgbox-window {
|
#msgbox-window {
|
||||||
position: relative;
|
position: relative;
|
||||||
min-width: 200px;
|
min-width: 200px;
|
||||||
|
max-width: 800px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
top: 10%;
|
top: 10%;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
|
22
index.html
22
index.html
|
@ -17,7 +17,7 @@
|
||||||
<body>
|
<body>
|
||||||
<div id="Hall">
|
<div id="Hall">
|
||||||
<div id="Logo">WEBXOSS</div>
|
<div id="Logo">WEBXOSS</div>
|
||||||
<div id="subtitle"><a id="link-support-webxoss" href="about.html#support" target="_blank"></a><a id="link-version" href="versions.txt" target="_blank"><枯树生华></a></div>
|
<div id="subtitle"><a id="link-helper-wanted" href="javascript:;">WEBXOSS需要你的帮助</a><a id="link-version" href="versions.txt" target="_blank"><枯树生华></a></div>
|
||||||
<div id="div-notice">
|
<div id="div-notice">
|
||||||
<span id="span-notice"></span>
|
<span id="span-notice"></span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -206,6 +206,26 @@
|
||||||
<span>
|
<span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div id="preset-helper-wanted">
|
||||||
|
<p>大家好w</p>
|
||||||
|
<p>我是WEBXOSS的产品+项目+开发+测试+运维——团子。<br>嗯,WEBXOSS的一切工作都几乎由团子一人承担呢...</p>
|
||||||
|
<p>团子一个人太累了,需要你帮帮忙哦。</p>
|
||||||
|
<p>如果你是程序员,你可以帮团子写新卡,优化糟糕透顶的代码,开发点新功能。</p>
|
||||||
|
<p>不是程序员也没关系,你可以:
|
||||||
|
<ul>
|
||||||
|
<li>帮团子测试新的卡片效果,</li>
|
||||||
|
<li>帮团子验证报告的BUG,</li>
|
||||||
|
<li>帮团子给新效果的实现提供点子,</li>
|
||||||
|
<li>帮团子整理规则资料,</li>
|
||||||
|
<li>帮团子暖一下床。</li>
|
||||||
|
</ul>
|
||||||
|
</p>
|
||||||
|
<p>如果你乐意帮助分身乏术的团子,请联系 <a href="mailto:webxoss@gmail.com">webxoss@gmail.com</a> 吧,<br>团子会感激你的。</p>
|
||||||
|
<p>谢谢ww</p>
|
||||||
|
<p style="text-align: right;">团子</p>
|
||||||
|
<p style="text-align: right;">2016-11-05</p>
|
||||||
|
<div style="text-align: right;"><button id="helper-wanted-button-ok">确定</button></div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="msgbox-body">
|
<div id="msgbox-body">
|
||||||
<div><span id="msgbox-msg"></span></div>
|
<div><span id="msgbox-msg"></span></div>
|
||||||
|
|
|
@ -44,4 +44,4 @@ background/loading.gif
|
||||||
NETWORK:
|
NETWORK:
|
||||||
*
|
*
|
||||||
|
|
||||||
# 2016/10/31 23:34:14
|
# 2016/11/05 18:26
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue