From d710379b4644ee1f6c21c16748ad40e4963dcae8 Mon Sep 17 00:00:00 2001 From: Benoit Alessandroni Date: Thu, 27 Aug 2020 17:32:35 +0200 Subject: [PATCH 1/2] Adding id prefix to events --- src/page-events.pug | 1 + src/views/circle/page-circle-events.pug | 1 + 2 files changed, 2 insertions(+) diff --git a/src/page-events.pug b/src/page-events.pug index faaed63..22f2b8a 100644 --- a/src/page-events.pug +++ b/src/page-events.pug @@ -3,4 +3,5 @@ range-event-type=`${endpoints.typeevents || (endpoints.get && endpoints.get.typeevents)}` range-event-circle=`${endpoints.circles || (endpoints.get && endpoints.get.circles)}` upload-dir=`${endpoints.uploads || (endpoints.get && endpoints.get.uploads)}` + id-prefix='default' ) \ No newline at end of file diff --git a/src/views/circle/page-circle-events.pug b/src/views/circle/page-circle-events.pug index ca8b0a7..5ecad21 100644 --- a/src/views/circle/page-circle-events.pug +++ b/src/views/circle/page-circle-events.pug @@ -6,4 +6,5 @@ range-event-type=`${endpoints.typeevents || (endpoints.get && endpoints.get.typeevents)}` range-event-circle=`${endpoints.circles || (endpoints.get && endpoints.get.circles)}` upload-dir=`${endpoints.uploads || (endpoints.get && endpoints.get.uploads)}` + id-prefix='circles' ) \ No newline at end of file From 55623c2dd189b10a4d20a569956d8c9165d6ceba Mon Sep 17 00:00:00 2001 From: Benoit Alessandroni Date: Thu, 27 Aug 2020 18:13:50 +0200 Subject: [PATCH 2/2] feature: adding proper dynamic prefix on resources and events module --- src/page-resources.pug | 1 + src/styles/layout/events/events.scss | 6 +++--- src/styles/layout/resources/resources.scss | 6 +++--- src/views/circle/page-circle-resources.pug | 1 + 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/page-resources.pug b/src/page-resources.pug index ad1a80b..235c99e 100644 --- a/src/page-resources.pug +++ b/src/page-resources.pug @@ -4,4 +4,5 @@ range-resource-keyword=`${endpoints.resourceskeywords || (endpoints.get && endpoints.get.resourceskeywords)}` range-resource-circle=`${endpoints.circles || (endpoints.get && endpoints.get.circles)}` upload-dir=`${endpoints.uploads || (endpoints.get && endpoints.get.uploads)}` + id-prefix='default' ) \ No newline at end of file diff --git a/src/styles/layout/events/events.scss b/src/styles/layout/events/events.scss index f3e3681..bb5d7f7 100644 --- a/src/styles/layout/events/events.scss +++ b/src/styles/layout/events/events.scss @@ -90,7 +90,7 @@ padding: 5px; } } - #eventdetail { + .eventdetail { .mdi::before { margin: 0 5px 0 20px; } @@ -120,8 +120,8 @@ font-size: 1.6rem; } } - #newevent input[type="submit"], - #newtype input[type="submit"], + .newevent input[type="submit"], + .newtype input[type="submit"], button { width: max-content; padding: 5px 20px; diff --git a/src/styles/layout/resources/resources.scss b/src/styles/layout/resources/resources.scss index 0b876c1..f98edf3 100644 --- a/src/styles/layout/resources/resources.scss +++ b/src/styles/layout/resources/resources.scss @@ -32,7 +32,7 @@ z-index: 1; position: relative; } - #listresources .lnk-newkeyword { + .listresources .lnk-newkeyword { top: 133px; left: 220px; .button.thin-button.mdi { @@ -55,7 +55,7 @@ } } } - #listresources { + .listresources { .lnk-newkeyword .button { font-size: 1.2rem; width: max-content; @@ -78,7 +78,7 @@ } } } - #resourcedetail { + .resourcedetail { [name="name"] { font-family: "RefrigeratorDelxW01Bold"; font-size: 3.2rem; diff --git a/src/views/circle/page-circle-resources.pug b/src/views/circle/page-circle-resources.pug index 79a9dc6..cfb9159 100644 --- a/src/views/circle/page-circle-resources.pug +++ b/src/views/circle/page-circle-resources.pug @@ -7,4 +7,5 @@ range-resource-keyword=`${endpoints.resourceskeywords || (endpoints.get && endpoints.get.resourceskeywords)}` range-resource-circle=`${endpoints.circles || (endpoints.get && endpoints.get.circles)}` upload-dir=`${endpoints.uploads || (endpoints.get && endpoints.get.uploads)}` + id-prefix='circles' ) \ No newline at end of file