Super secret view counting
This commit is contained in:
@@ -67,6 +67,6 @@ var Toolbar = {
|
||||
}, 10000);
|
||||
},
|
||||
setViews: function(amount){
|
||||
$("#views").html(amount);
|
||||
$("#views").html("Views: "+amount);
|
||||
}
|
||||
};
|
||||
|
@@ -46,7 +46,7 @@
|
||||
<div>
|
||||
<button class="toolbar_button button_full_width" onClick="Toolbar.toggle();">Hide Toolbar</button>
|
||||
|
||||
<!--Views: <span id="views" th:text="${data.views}">0</span>--><br/>
|
||||
<div id="views" style="text-align: center;">Views: No</div>
|
||||
|
||||
<a href="/" id="btnHome" class="button toolbar_button button_full_width">
|
||||
<img src="/res/img/pixeldrain_small.png" alt="Back to the Home page"/>
|
||||
|
@@ -16,7 +16,6 @@
|
||||
<pre>
|
||||
{
|
||||
"title": "My beautiful photos",
|
||||
"description": "An album of photos from my vacation in Austria",
|
||||
"files": [ // Ordered array of files to add to the list
|
||||
{
|
||||
"id": "abc123",
|
||||
@@ -71,7 +70,7 @@
|
||||
{
|
||||
"success": false,
|
||||
"value": "description_too_long",
|
||||
"message": "The description of this list or one of the files in the list is too long, max 3000 characters allowed."
|
||||
"message": "The description of one of the files in the list is too long, max 3000 characters allowed."
|
||||
}
|
||||
</pre>
|
||||
<pre>HTTP 422: Unprocessable Entity
|
||||
|
Reference in New Issue
Block a user