From 6926693e9de3e3f46e97bb159ea9fefddf6512b2 Mon Sep 17 00:00:00 2001 From: Thaum Date: Tue, 21 Apr 2015 11:30:34 +0000 Subject: [PATCH] Implemented skill and attribute summary dialogs --- rpg-docs/.meteor/versions | 18 ++- rpg-docs/client/views/GeneralCSS/general.css | 14 +- .../containerDialog/containerDialog.css | 8 - .../containerDialog/containerDialog.html | 2 +- .../attributeDialog.js/attributeDialog.html | 66 ++++++++ .../attributeDialog.js/attributeDialog.js | 139 +++++++++++++++++ .../stats/skillDialog/skillDialog.html | 142 ++++++++++-------- .../stats/skillDialog/skillDialog.js | 57 ++++--- .../client/views/character/stats/stats.js | 12 +- 9 files changed, 349 insertions(+), 109 deletions(-) delete mode 100644 rpg-docs/client/views/character/inventory/containerDialog/containerDialog.css create mode 100644 rpg-docs/client/views/character/stats/attributeDialog.js/attributeDialog.html create mode 100644 rpg-docs/client/views/character/stats/attributeDialog.js/attributeDialog.js diff --git a/rpg-docs/.meteor/versions b/rpg-docs/.meteor/versions index 84f2efa4..c9290737 100644 --- a/rpg-docs/.meteor/versions +++ b/rpg-docs/.meteor/versions @@ -18,7 +18,7 @@ dburles:collection-helpers@1.0.3 dburles:mongo-collection-instances@0.3.3 ddp@1.1.0 deps@1.0.7 -differential:vulcanize@0.0.4 +differential:vulcanize@0.0.5 ejson@1.0.6 email@1.0.6 fastclick@1.0.3 @@ -46,15 +46,16 @@ logging@1.0.7 matb33:collection-hooks@0.7.11 meteor@1.1.6 meteor-platform@1.2.2 -mike:mocha@0.5.2 +mike:mocha@0.5.3 minifiers@1.1.5 minimongo@1.0.8 mobile-status-bar@1.0.3 -momentjs:moment@2.10.0 +momentjs:moment@2.10.3 mongo@1.1.0 npm-bcrypt@0.7.8_2 observe-sequence@1.0.6 ordered-dict@1.0.3 +package-version-parser@3.0.3 percolate:migrations@0.7.3 practicalmeteor:chai@1.9.2_3 practicalmeteor:loglevel@1.1.0_3 @@ -64,6 +65,9 @@ reactive-var@1.0.5 reload@1.1.3 retry@1.0.3 routepolicy@1.0.5 +sanjo:long-running-child-process@1.0.3 +sanjo:meteor-files-helpers@1.1.0_4 +sanjo:meteor-version@1.0.0 service-configuration@1.0.4 session@1.1.0 sha@1.0.3 @@ -75,11 +79,11 @@ tracker@1.0.7 ui@1.0.6 underscore@1.0.3 url@1.0.4 -velocity:core@0.4.5 -velocity:html-reporter@0.3.2 -velocity:node-soft-mirror@0.3.1 +velocity:chokidar@0.12.6_1 +velocity:core@0.6.0 +velocity:html-reporter@0.5.3 +velocity:meteor-internals@1.1.0_7 velocity:shim@0.1.0 -velocity:test-proxy@0.0.4 webapp@1.2.0 webapp-hashing@1.0.3 zimme:collection-behaviours@1.0.4 diff --git a/rpg-docs/client/views/GeneralCSS/general.css b/rpg-docs/client/views/GeneralCSS/general.css index 2e437c17..2c7356a7 100644 --- a/rpg-docs/client/views/GeneralCSS/general.css +++ b/rpg-docs/client/views/GeneralCSS/general.css @@ -33,6 +33,16 @@ table { border-spacing: 0; } +.summaryTable td{ + text-align: right; + padding: 4px; + min-width: 80px; +} + +.summaryTable td:first-child { + text-align: left; +} + hr { background-color: #444; opacity: 0.12; @@ -94,12 +104,12 @@ paper-button { color: rgba(0, 0, 0, 0.54); } -.clickable { +.clickable, .statCard { cursor: pointer; } .skillRow { - cursor: initial; + cursor: pointer; } .resourceCards { diff --git a/rpg-docs/client/views/character/inventory/containerDialog/containerDialog.css b/rpg-docs/client/views/character/inventory/containerDialog/containerDialog.css deleted file mode 100644 index 988b0159..00000000 --- a/rpg-docs/client/views/character/inventory/containerDialog/containerDialog.css +++ /dev/null @@ -1,8 +0,0 @@ -.containerSummaryTable td{ - text-align: right; - padding: 4px; -} - -.containerSummaryTable td:first-child { - text-align: left; -} diff --git a/rpg-docs/client/views/character/inventory/containerDialog/containerDialog.html b/rpg-docs/client/views/character/inventory/containerDialog/containerDialog.html index f6ddfbc8..df57a95f 100644 --- a/rpg-docs/client/views/character/inventory/containerDialog/containerDialog.html +++ b/rpg-docs/client/views/character/inventory/containerDialog/containerDialog.html @@ -33,7 +33,7 @@