Use cloud symbols for the publish button.
This commit is contained in:
parent
2a2d35dfde
commit
8b0cc42075
2 changed files with 5 additions and 5 deletions
|
@ -87,7 +87,7 @@
|
|||
<section id="full">
|
||||
<header class="bar">
|
||||
<a class="button icon list" href="#list"></a>
|
||||
<a id="setpublished" class="button icon" href="#published">P</a>
|
||||
<a id="setpublished" class="button icon" href="#published">☁</a>
|
||||
<a id="setstarred" class="button icon" href="#starred">☆</a>
|
||||
<a id="setunread" class="button icon" href="#unread">✓</a>
|
||||
<canvas width="40" height="40"></canvas>
|
||||
|
|
|
@ -350,9 +350,9 @@ App.prototype.showFull = function(article, slide_back) {
|
|||
}
|
||||
|
||||
if(article.published) {
|
||||
$("#setpublished").innerHTML = "U";
|
||||
$("#setpublished").innerHTML = "";
|
||||
} else {
|
||||
$("#setpublished").innerHTML = "P";
|
||||
$("#setpublished").innerHTML = "☁";
|
||||
}
|
||||
|
||||
};
|
||||
|
@ -471,12 +471,12 @@ App.prototype.togglePublished = function() {
|
|||
if(!article.published) {
|
||||
article.published = true;
|
||||
this.backend.setArticlePublished(article);
|
||||
$("#setpublished").innerHTML = "U";
|
||||
$("#setpublished").innerHTML = "";
|
||||
}
|
||||
else {
|
||||
article.published = false;
|
||||
this.backend.setArticleUnpublished(article);
|
||||
$("#setpublished").innerHTML = "P";
|
||||
$("#setpublished").innerHTML = "☁";
|
||||
}
|
||||
|
||||
};
|
||||
|
|
Reference in a new issue