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">
|
<section id="full">
|
||||||
<header class="bar">
|
<header class="bar">
|
||||||
<a class="button icon list" href="#list"></a>
|
<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="setstarred" class="button icon" href="#starred">☆</a>
|
||||||
<a id="setunread" class="button icon" href="#unread">✓</a>
|
<a id="setunread" class="button icon" href="#unread">✓</a>
|
||||||
<canvas width="40" height="40"></canvas>
|
<canvas width="40" height="40"></canvas>
|
||||||
|
|
|
@ -350,9 +350,9 @@ App.prototype.showFull = function(article, slide_back) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if(article.published) {
|
if(article.published) {
|
||||||
$("#setpublished").innerHTML = "U";
|
$("#setpublished").innerHTML = "";
|
||||||
} else {
|
} else {
|
||||||
$("#setpublished").innerHTML = "P";
|
$("#setpublished").innerHTML = "☁";
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -471,12 +471,12 @@ App.prototype.togglePublished = function() {
|
||||||
if(!article.published) {
|
if(!article.published) {
|
||||||
article.published = true;
|
article.published = true;
|
||||||
this.backend.setArticlePublished(article);
|
this.backend.setArticlePublished(article);
|
||||||
$("#setpublished").innerHTML = "U";
|
$("#setpublished").innerHTML = "";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
article.published = false;
|
article.published = false;
|
||||||
this.backend.setArticleUnpublished(article);
|
this.backend.setArticleUnpublished(article);
|
||||||
$("#setpublished").innerHTML = "P";
|
$("#setpublished").innerHTML = "☁";
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Reference in a new issue