changes to the front-end interface - seedlinux - Torrent indexing tool opensource torrents with share ratio's etc.
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
 (DIR) commit 3aa2ca743c0ad5126e1843d4daf7db68b71d4f32
 (DIR) parent f73dc567ae060837bac469b896d532ce38ea3eec
 (HTM) Author: Jay Scott <jay@jayscott.co.uk>
       Date:   Wed, 28 Jun 2017 17:22:37 +0100
       
       changes to the front-end interface
       
       Diffstat:
         M package.json                        |       1 -
         D public/javascripts/script.js        |       4 ----
         M public/stylesheets/style.css        |      37 ++++++++++++++++++++-----------
         M views/index.pug                     |      12 ++++++++----
         M views/layout.pug                    |      15 +++++++++++++++
       
       5 files changed, 47 insertions(+), 22 deletions(-)
       ---
 (DIR) diff --git a/package.json b/package.json
       @@ -12,7 +12,6 @@
            "cookie-parser": "~1.4.3",
            "debug": "~2.6.3",
            "express": "~4.15.2",
       -    "lint": "^1.1.2",
            "mongodb": "^2.2.29",
            "monk": "^6.0.1",
            "morgan": "~1.8.1",
 (DIR) diff --git a/public/javascripts/script.js b/public/javascripts/script.js
       @@ -1,3 +0,0 @@
       -$('.special.cards .image').dimmer({
       -  on: 'hover'
       -});
       -\ No newline at end of file
 (DIR) diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css
       @@ -1,12 +1,23 @@
       - body {
       -    padding: 1em;
       -  }
       -  .ui.menu {
       -    margin: 3em 0em;
       -  }
       -  .ui.menu:last-child {
       -    margin-bottom: 110px;
       -  }
       -  img.ui.centered.medium.image {
       -          padding-bottom: 2em;
       -  }
       -\ No newline at end of file
       +body {
       +  padding: 1em;
       +}
       +
       +.ui.menu {
       +  margin: 3em 0em;
       +}
       +
       +.ui.menu:last-child {
       +  margin-bottom: 110px;
       +}
       +
       +img.ui.centered.medium.image {
       +        padding-bottom: 2em;
       +}
       +
       +.ui.card>.content>.header:not(.ui), .ui.cards>.card>.content>.header:not(.ui) {
       +  font-size: 1.1em;
       +}
       +
       +.ui.divider {
       +  padding-bottom: 2em;
       +}
       +\ No newline at end of file
 (DIR) diff --git a/views/index.pug b/views/index.pug
       @@ -1,12 +1,13 @@
        extends layout 
        
        block content
       -  .ui.four.cards
       +  .ui.special.four.cards
            each i in torrentlist
       -      .ui.card
       +      .card
                .content
       -          .header= i.name
       -          .meta= i.created
       +          .header= i.name.replace(/\.[^/.]+$/, "")
       +          .meta
       +            span.category= "2 days ago"
                  .description= i.comment
                .extra.content
                  span.left.floated
       @@ -21,3 +22,6 @@ block content
                    else
                      i.floated.download.green.icon
                    = i.leechers
       +        .ui.bottom.attached.button
       +          i.add.icon
       +          a(href="/torrent/details/" + i.hash) Details
 (DIR) diff --git a/views/layout.pug b/views/layout.pug
       @@ -20,5 +20,20 @@ html
                    | Add Torrent
            img.ui.centered.medium.image(src='/images/logo.png')
        
       +    .ui.hidden.divider
       +    .ui.container
       +      .ui.small.three.statistics
       +        .olive.statistic
       +          .value= "143"
       +          .label= "Total Torrents"
       +        .red.statistic
       +          .value= "23"
       +          .label= "Seeders"
       +        .violet.statistic
       +          .value= "231"
       +          .label= "Leechers"
       +
       +    .ui.divider
            .ui.container
              block content
       +