Added home icon to album public pages

Updated dashboard.js: Uppercase ZIP in
Statistics > Albums > Zip Generated.

Bumped v1 version string and rebuilt client assets.
This commit is contained in:
Bobby Wibowo 2020-05-17 04:54:06 +07:00
parent 5e91554a52
commit e495d3efd3
No known key found for this signature in database
GPG Key ID: 51C3A1E1E22D26CF
5 changed files with 12 additions and 5 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -2567,7 +2567,7 @@ page.getStatistics = (params = {}) => {
const string = valKeys[j]
.replace(/([A-Z])/g, ' $1')
.replace(/(^|\s)(cpu|db)/gi, (match, p1, p2) => p1 + p2.toUpperCase())
.replace(/(^|\s)(cpu|db|zip)/gi, s => s.toUpperCase())
rows += `
<tr>
<th class="capitalize">${string}</th>

View File

@ -1,5 +1,5 @@
{
"1": "1589661242",
"1": "1589665998",
"2": "1589010026",
"3": "1581416390",
"4": "1581416390",

View File

@ -15,6 +15,7 @@
{% block stylesheets %}
<!-- Stylesheets -->
<link rel="stylesheet" href="../libs/bulma/bulma.min.css{{ versions[3] }}">
<link rel="stylesheet" href="../libs/fontello/fontello.css{{ versions[1] }}">
<link rel="stylesheet" href="../css/style.css{{ versions[1] }}">
<link rel="stylesheet" href="../css/thumbs.css{{ versions[1] }}">
<link rel="stylesheet" href="../css/album.css{{ versions[1] }}">
@ -41,7 +42,7 @@
{% block content %}
{{ super() }}
<section class="section">
<section class="section has-extra-bottom-padding">
<div class="container">
<nav class="level">
<div class="level-left">
@ -124,6 +125,12 @@
</div>
</section>
<a class="floating-home-button" title="Back to Safe" href="..">
<span class="icon is-medium">
<i class="icon-home icon-2x"></i>
</span>
</a>
{% if not nojs -%}
<noscript>
<section id="noscript" class="hero is-fullheight">