Browse Source

added autoupdate timeline after post and more...

added autoupdate timeline after post. Fixed action menu bug on
followings page. Fixed Russian localization. Added icon to options page.
master
Hedgehog 11 years ago
parent
commit
0c36f579ce
  1. 8
      css/style.css
  2. 1
      following.html
  3. BIN
      img/switch.png
  4. 2
      js/calm.js
  5. 3
      js/interface_common.js
  6. 8
      js/interface_localization.js
  7. 3
      options.html
  8. 2
      profile-edit.html

8
css/style.css

@ -231,16 +231,16 @@ button.disabled:hover @@ -231,16 +231,16 @@ button.disabled:hover
}
.userMenu li.userMenu-options > a
{
background: url(../img/following.png) no-repeat 5px center;
background: url(../img/switch.png) no-repeat 5px center;
padding-left: 50px;
}
.userMenu li.userMenu-options:hover > a
{
background: url(../img/following.png) no-repeat 5px center rgba( 0, 0, 0 , .4 );
background: url(../img/switch.png) no-repeat 5px center rgba( 0, 0, 0 , .4 );
}
.userMenu li.userMenu-options.current > a
{
background: url(../img/following.png) no-repeat 5px center #768fce;
background: url(../img/switch.png) no-repeat 5px center #768fce;
}
.userMenu li.userMenu-messages > a
{
@ -610,7 +610,7 @@ input.userMenu-search-field:focus::-ms-input-placeholder { @@ -610,7 +610,7 @@ input.userMenu-search-field:focus::-ms-input-placeholder {
}
.mini-profile-actions:hover ul
{
height: 118px;
height: 90px;
box-shadow: 0 2px 5px #65686f;
}
.mini-profile-actions ul li

1
following.html

@ -89,7 +89,6 @@ @@ -89,7 +89,6 @@
<li class="mentions-from-user">Display mentions to @
<b class="following-screen-name"></b>
</li>
<li>Display retransmissions</li>
</ul>
</div>
<button class="unfollow">Unfollow</button>

BIN
img/switch.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 B

2
js/calm.js

@ -176,7 +176,7 @@ function replaceEmoji() { @@ -176,7 +176,7 @@ function replaceEmoji() {
$(this).html(string.replace(exp, function(match){
var clearMatch = match.replace(/:/gi,'');
if(emojies.indexOf(clearMatch) < 0) return match;
return '<img src="../img/emoji/'+clearMatch+'.png"></img>'
return '<img src="../img/emoji/'+clearMatch+'.png">'
}));
})
}

3
js/interface_common.js

@ -394,6 +394,7 @@ function replyTextKeypress(e) { @@ -394,6 +394,7 @@ function replyTextKeypress(e) {
if($this.parent().parent().parent().is('.post-area,.post-reply-content')){
$this.parent().parent().removeClass('open');
$this.blur();
setTimeout('requestTimelineUpdate("latest",postsPerRefresh,followingUsers,promotedPostsOnly)', 1000);
}
}
}
@ -406,10 +407,12 @@ function replyTextKeypress(e) { @@ -406,10 +407,12 @@ function replyTextKeypress(e) {
if($this.parent().parent().parent().is('.post-area,.post-reply-content')){
$this.parent().parent().removeClass('open');
$this.blur();
setTimeout('requestTimelineUpdate("latest",postsPerRefresh,followingUsers,promotedPostsOnly)', 1000);
}
}
}
}
}
}

8
js/interface_localization.js

@ -80,6 +80,7 @@ if(preferredLanguage == "en"){ @@ -80,6 +80,7 @@ if(preferredLanguage == "en"){
"Home": "Home", // homepage
"hours": "%{smart_count} hour |||| %{smart_count} hours",
"Internal error: lastPostId unknown (following yourself may fix!)": "Internal error: lastPostId unknown (following yourself may fix!)",
"Keys":"Keys",
"Known peers:": "Known peers: ",
"Last block is ahead of your computer time, check your clock.": "Last block is ahead of your computer time, check your clock.",
"Mentions": "Mentions",
@ -118,11 +119,13 @@ if(preferredLanguage == "en"){ @@ -118,11 +119,13 @@ if(preferredLanguage == "en"){
"search": "search",
"seconds": "%{smart_count} second |||| %{smart_count} seconds",
"send": "send",
"Send key":"Send key",
"Send post with username": "Send post with username ",
"Sent Direct Message": "Sent Direct Message",
"Sent Post to @": "Sent Post to @",
"Setup account": "Setup account",
"Sound notifications": "Sound notifications",
"Show QR code":"Show QR code",
"switch_to_network": "Local daemon is not connected to the network or\n" +
"block chain is outdated. If you stay in this page\n" +
"your actions may not work.\n" +
@ -134,6 +137,7 @@ if(preferredLanguage == "en"){ @@ -134,6 +137,7 @@ if(preferredLanguage == "en"){
"Unfollow": "Unfollow",
"Update": "Update",
"Updating status...": "Updating status...", // status of block chain
"Use language": "Use language",
"user_not_yet_accepted": "Other peers have not yet accepted this new user.\n" +
"Unfortunately it is not possible to save profile\n" +
"or send any posts in this state.\n\n" +
@ -800,6 +804,7 @@ if(preferredLanguage == "ru"){ @@ -800,6 +804,7 @@ if(preferredLanguage == "ru"){
"Home": "Главная", // homepage
"hours": "%{smart_count} час |||| %{smart_count} часов",
"Internal error: lastPostId unknown (following yourself may fix!)": "Внутренняя ошибка: lastPostId неизвестен (Попробуйте подписаться сами на себя, это должно помочь!)",
"Keys":"Клавиши",
"Known peers:": "Известные пиры: ",
"Last block is ahead of your computer time, check your clock.": "Последний полученный блок опережает время вашего компьютера, проверьте правильно ли работают часы.",
"Mentions": "Упоминания",
@ -839,11 +844,13 @@ if(preferredLanguage == "ru"){ @@ -839,11 +844,13 @@ if(preferredLanguage == "ru"){
"search": "поиск",
"seconds": "%{smart_count} секунда |||| %{smart_count} секунд",
"send": "отправить",
"Send key":"Клавиша отправки",
"Send post with username": "Отправить сообщение от имени",
"Sent Direct Message": "Отправить личное сообщение",
"Sent Post to @": "Отправить сообщение для @",
"Setup account": "Настроить аккаунт",
"Sound notifications": "Звуковые уведомления",
"Show QR code":"Показать QR код",
"switch_to_network": "Локальный демон не подключен к сети или\n" +
"цепочка блоков устарела. Если вы останитесь на этой странице\n" +
"ваши действия могут быть не выполнены.\n" +
@ -856,6 +863,7 @@ if(preferredLanguage == "ru"){ @@ -856,6 +863,7 @@ if(preferredLanguage == "ru"){
"Unfollow": "Отписаться",
"Update": "Обновить",
"Updating status...": "Обновление информации...", // status of block chain
"Use language": "Использовать язык",
"user_not_yet_accepted": "Другие участники сети еще не получили информацию о новом пользователе.\n" +
"К сожалению, сейчас вы не можете редактировать ваш профиль\n" +
"или отправлять сообщение.\n\n" +

3
options.html

@ -51,10 +51,9 @@ @@ -51,10 +51,9 @@
<div class="language">
<div class="module">
<p> Language </p>
<p> Use language </p>
<div>
<form action="" id="choseLanguage">
<p>Use language</p>
<select name="" id="language">
<option value="auto">Auto</option>
<option value="en">English</option>

2
profile-edit.html

@ -69,7 +69,7 @@ @@ -69,7 +69,7 @@
<input type="text" class="input-website" placeholder="website"/>
</div>
<div class="profile-edition-buttons">
<button class="toggle-priv-key" style="float: left" href="#">Secret Key</button>
<button class="toggle-priv-key" style="float: left" href="#">Secret key</button>
<button class="cancel-changes" href="#">Cancel</button>
<button class="submit-changes" href="#">Save Changes</button>
</div>

Loading…
Cancel
Save