From d6587155be7f3664f16078ce90b349ddb76a7c1a Mon Sep 17 00:00:00 2001 From: John Cleaver Date: Thu, 17 Mar 2016 09:38:29 -0400 Subject: [PATCH 1/9] OnClick assignment now gets executed. --- main.js | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/main.js b/main.js index 9012a46..53287e1 100644 --- a/main.js +++ b/main.js @@ -7,6 +7,11 @@ var v = new Vue({ }, ready: function(){ this.fetchData(); + $('.list-group-item').on('click', function() { + $('.glyphicon', this) + .toggleClass('glyphicon-chevron-right') + .toggleClass('glyphicon-chevron-down'); + }); }, methods: { fetchData: function(){ @@ -18,13 +23,3 @@ var v = new Vue({ } } }); - -$(function() { - - $('.list-group-item').on('click', function() { - $('.glyphicon', this) - .toggleClass('glyphicon-chevron-right') - .toggleClass('glyphicon-chevron-down'); - }); - -}); From bb29a3234c9086c71fcddcd61e0b371152a97dd1 Mon Sep 17 00:00:00 2001 From: John Cleaver Date: Fri, 18 Mar 2016 17:43:50 -0400 Subject: [PATCH 2/9] Added Seasons and skills tabs. --- index.html | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/index.html b/index.html index 8105a31..11d180e 100644 --- a/index.html +++ b/index.html @@ -14,6 +14,8 @@
  • Alphabetical List
  • +
  • By Season
  • +
  • By Skill
  • About
  • @@ -64,8 +66,57 @@
    +
    +
    + + + +
    +
    + +
    +
    + + +
    From 7fc920647e0c1bd7f06f52980a1bb7e6eb6cf043 Mon Sep 17 00:00:00 2001 From: John Cleaver Date: Fri, 18 Mar 2016 18:04:22 -0400 Subject: [PATCH 3/9] Fixed HTML formatting. --- index.html | 45 ++++++++++++++++++++++++++++----------------- 1 file changed, 28 insertions(+), 17 deletions(-) diff --git a/index.html b/index.html index 11d180e..5a08a7f 100644 --- a/index.html +++ b/index.html @@ -10,14 +10,11 @@

    Stardew Valley Community Center Checklist

    @@ -34,19 +31,25 @@ @@ -63,17 +92,46 @@
    -
    - +
    @@ -88,16 +146,47 @@
    - +
    +
    + +
    +
    @@ -115,16 +204,47 @@
    - +
    +
    + +
    +
    diff --git a/main.css b/main.css index 00850cb..b40e8c2 100644 --- a/main.css +++ b/main.css @@ -31,3 +31,67 @@ .list-group-item .glyphicon { margin-right: 5px; } + +.row-eq-height, .row-eq-height > div[class*='col-']{ + display: -webkit-box; + display: -moz-box; + display: -ms-flexbox; + display: -webkit-flex; + display: flex; + flex: 1 0 auto; + flex-wrap: wrap; +} + +.panel { + display: flex; + flex-direction:column; + align-content:stretch; + flex-grow: 1; +} + +.panel-body{ + display: flex; + flex-direction: column; + flex-grow: 1; +} + +.panel-body > p{ + flex-grow: 1; +} + +.panel-body > .button-area{ + display: flex; + flex-direction: row; + flex-wrap: wrap; +} + +.button-area > .btn{ + flex: 1 0 auto; + margin-top: 1rem; +} + +.panel-footer{ + display: flex; + flex-direction: column; + flex-wrap: wrap; +} + +.panel-footer-area{ + display: flex; + flex-direction: row; + flex: 1 0 auto; + justify-content: space-around; +} + +.footer-text-area{ + margin-left: 1rem; + flex: 1 0 auto; + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: space-around; +} + +.footer-text{ + flex-grow: 1; +} From 51b33b0ed31e4ee9ef21f2d81eda53f1bedc053c Mon Sep 17 00:00:00 2001 From: John Cleaver Date: Sun, 20 Mar 2016 22:26:08 -0400 Subject: [PATCH 6/9] Removed bundle name hardcode. --- index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index ff83689..9cbe7a9 100644 --- a/index.html +++ b/index.html @@ -51,7 +51,7 @@

    {{ item.source }}

    - +