helper wanted

This commit is contained in:
WEBXOSS 2016-11-05 18:30:09 +08:00
parent 65663ac380
commit caa4bdca00
7 changed files with 71 additions and 25 deletions

View file

@ -214,10 +214,10 @@ var map_zh_CN = {
},
DOM: {
'index': {
'link-support-webxoss': {
textContent: 'WEBXOSS需要您的帮助!',
href: 'about.html#support'
},
// 'link-support-webxoss': {
// textContent: 'WEBXOSS需要您的帮助!',
// href: 'about.html#support'
// },
'link-version': '<枯树生华>',
'label-nickname': '您的昵称:',
'input-nickame': {
@ -572,10 +572,10 @@ var map_en = {
},
DOM: {
'index': {
'link-support-webxoss': {
textContent: 'WEBXOSS NEEDS YOUR HELP!',
href: 'about_en.html#support'
},
// 'link-support-webxoss': {
// textContent: 'WEBXOSS NEEDS YOUR HELP!',
// href: 'about_en.html#support'
// },
'link-version': '<Withered Tree, Living Flower>',
'label-nickname': 'Nickname:',
'input-nickame': {
@ -945,10 +945,10 @@ var map_jp = {
},
DOM: {
'index': {
'link-support-webxoss': {
textContent: 'WEBXOSS NEEDS YOUR HELP!',
href: 'about_en.html#support'
},
// 'link-support-webxoss': {
// textContent: 'WEBXOSS NEEDS YOUR HELP!',
// href: 'about_en.html#support'
// },
'link-version': '<枯樹生華>',
// 'label-nickname': 'あなたのニックネーム:',
'label-nickname': 'ニックネーム:',
@ -1311,10 +1311,10 @@ var map_ru = {
},
DOM: {
'index': {
'link-support-webxoss': {
textContent: 'WEBXOSS НУЖДАЕТСЯ В ПОМОЩИ!',
href: 'supporters_en.html'
},
// 'link-support-webxoss': {
// textContent: 'WEBXOSS НУЖДАЕТСЯ В ПОМОЩИ!',
// href: 'supporters_en.html'
// },
'link-version': '<Withered Tree, Living Flower>',
'label-nickname': 'Никнейм:',
'input-nickame': {
@ -1669,10 +1669,10 @@ var map_it = {
},
DOM: {
'index': {
'link-support-webxoss': {
textContent: 'WEBXOSS HA BISOGNO DEL TUO AIUTO!',
href: 'about_en.html#support'
},
// 'link-support-webxoss': {
// textContent: 'WEBXOSS HA BISOGNO DEL TUO AIUTO!',
// href: 'about_en.html#support'
// },
'link-version': '<Withered Tree, Living Flower>',
'label-nickname': 'Nickname:',
'input-nickame': {

4
Localize.min.js vendored

File diff suppressed because one or more lines are too long

View file

@ -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')) {
// hide($('link-notice'));

13
css.css
View file

@ -34,6 +34,18 @@ ol,ul,li {
font-size: small;
/*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 {
display: none;
}
@ -129,6 +141,7 @@ ol,ul,li {
#msgbox-window {
position: relative;
min-width: 200px;
max-width: 800px;
display: inline-block;
top: 10%;
left: 0;

View file

@ -17,7 +17,7 @@
<body>
<div id="Hall">
<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">&lt;枯树生华&gt;</a></div>
<div id="subtitle"><a id="link-helper-wanted" href="javascript:;">WEBXOSS需要你的帮助</a><a id="link-version" href="versions.txt" target="_blank">&lt;枯树生华&gt;</a></div>
<div id="div-notice">
<span id="span-notice"></span>
</div>
@ -206,6 +206,26 @@
<span>
</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 id="msgbox-body">
<div><span id="msgbox-msg"></span></div>

View file

@ -44,4 +44,4 @@ background/loading.gif
NETWORK:
*
# 2016/10/31 23:34:14
# 2016/11/05 18:26

File diff suppressed because one or more lines are too long