From 638209719e7ad74fef90fbff8767d03e8528c065 Mon Sep 17 00:00:00 2001 From: Thaum Date: Thu, 16 Apr 2015 09:00:48 +0000 Subject: [PATCH] Changed item detail to a detail view with the option to edit --- rpg-docs/client/views/GeneralCSS/general.css | 14 ++ .../attacksViewList/attacksViewList.html | 3 + .../effects/effectView/effectView.html | 2 +- .../effects/effectView/effectView.js | 12 +- .../effectsViewList/effectsViewList.html | 2 +- .../effectsViewList/effectsViewList.js | 2 +- .../inventory/itemDialog/itemDialog.html | 147 +++++++++++------- .../inventory/itemDialog/itemDialog.js | 45 +++++- .../paperTemplates/baseDialog/baseDialog.html | 46 ++++-- 9 files changed, 194 insertions(+), 79 deletions(-) create mode 100644 rpg-docs/client/views/character/attacks/attacksViewList/attacksViewList.html diff --git a/rpg-docs/client/views/GeneralCSS/general.css b/rpg-docs/client/views/GeneralCSS/general.css index 08e4c1e5..c3a3efd2 100644 --- a/rpg-docs/client/views/GeneralCSS/general.css +++ b/rpg-docs/client/views/GeneralCSS/general.css @@ -209,6 +209,16 @@ paper-slider { padding-bottom: 16px; } +.sideMargin { + margin-left: 16px; + margin-right: 16px; +} + +.vertMargin { + margin-top: 16px; + margin-bottom: 16px; +} + .s { padding: 0 0 16px 0; } @@ -220,3 +230,7 @@ paper-slider { .preline { white-space: pre-line; } + +.prewrap{ + white-space: pre-wrap; +} diff --git a/rpg-docs/client/views/character/attacks/attacksViewList/attacksViewList.html b/rpg-docs/client/views/character/attacks/attacksViewList/attacksViewList.html new file mode 100644 index 00000000..55dd022a --- /dev/null +++ b/rpg-docs/client/views/character/attacks/attacksViewList/attacksViewList.html @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/rpg-docs/client/views/character/effects/effectView/effectView.html b/rpg-docs/client/views/character/effects/effectView/effectView.html index abf095c7..f58cfdf8 100644 --- a/rpg-docs/client/views/character/effects/effectView/effectView.html +++ b/rpg-docs/client/views/character/effects/effectView/effectView.html @@ -1,7 +1,7 @@