From e12a652ae7d9cbf6cfdf577a3ee240ffb52f76ed Mon Sep 17 00:00:00 2001 From: Sebastien Clement Date: Sun, 16 Feb 2020 19:22:27 +0100 Subject: [PATCH] :hammer: Make the app responsive --- .../rootfs/opt/nextcloud_backup/views/backupSnaps.ejs | 2 +- .../rootfs/opt/nextcloud_backup/views/index.ejs | 8 +++++--- .../rootfs/opt/nextcloud_backup/views/localSnaps.ejs | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/nextcloud_backup/rootfs/opt/nextcloud_backup/views/backupSnaps.ejs b/nextcloud_backup/rootfs/opt/nextcloud_backup/views/backupSnaps.ejs index 05aacf4..f689897 100644 --- a/nextcloud_backup/rootfs/opt/nextcloud_backup/views/backupSnaps.ejs +++ b/nextcloud_backup/rootfs/opt/nextcloud_backup/views/backupSnaps.ejs @@ -3,7 +3,7 @@ <% for(const index in backups) { %> -
<%= backups[index].basename%>
+
<%= backups[index].basename%>
<%= moment(backups[index].lastmod).format('MMM D, YYYY HH:mm') %>
diff --git a/nextcloud_backup/rootfs/opt/nextcloud_backup/views/index.ejs b/nextcloud_backup/rootfs/opt/nextcloud_backup/views/index.ejs index 89aaa84..827aec2 100644 --- a/nextcloud_backup/rootfs/opt/nextcloud_backup/views/index.ejs +++ b/nextcloud_backup/rootfs/opt/nextcloud_backup/views/index.ejs @@ -30,8 +30,10 @@ margin-bottom: 0; } - .header-box { - height: 150px; + @media (min-width: 601px) { + .header-box { + height: 150px; + } } .header-box .col { @@ -84,7 +86,7 @@
  • settings
  • -
    +

    Nextcloud Backup

    diff --git a/nextcloud_backup/rootfs/opt/nextcloud_backup/views/localSnaps.ejs b/nextcloud_backup/rootfs/opt/nextcloud_backup/views/localSnaps.ejs index a04d88a..dd8cc93 100644 --- a/nextcloud_backup/rootfs/opt/nextcloud_backup/views/localSnaps.ejs +++ b/nextcloud_backup/rootfs/opt/nextcloud_backup/views/localSnaps.ejs @@ -3,7 +3,7 @@ <% for(const index in snaps) { %> -
    <%= snaps[index].name ? snaps[index].name : snaps[index].slug %>