From 3d30fee63ada2028600433308a44d6b11fbc743f Mon Sep 17 00:00:00 2001 From: Benoit Alessandroni <benoit@happy-dev.fr> Date: Sun, 7 Jul 2019 16:37:34 +0200 Subject: [PATCH] Rollback to core@0.7 and few deletion --- src/includes/head.pug | 2 +- src/includes/menu.pug | 4 +--- src/includes/resource/list.pug | 6 ------ 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/src/includes/head.pug b/src/includes/head.pug index da051d11..1c19e5ae 100644 --- a/src/includes/head.pug +++ b/src/includes/head.pug @@ -2,7 +2,7 @@ head title CoopStarter meta(charset="utf-8") script(src="https://unpkg.com/@webcomponents/webcomponentsjs@1.2.7/webcomponents-loader.js") - script(type="module" src="https://unpkg.com/@startinblox/core@beta") + script(type="module" src="https://unpkg.com/@startinblox/core@0.7") script(type="module" src="https://unpkg.com/@startinblox/router@0.7") script(type="module" src="https://unpkg.com/@startinblox/oidc@0.6") script(src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous") diff --git a/src/includes/menu.pug b/src/includes/menu.pug index ed70d201..3966e4f4 100644 --- a/src/includes/menu.pug +++ b/src/includes/menu.pug @@ -9,6 +9,4 @@ sib-router(default-route="list", use-hash) div.menu-icon.icon-people div.divider sib-ac-checker(permission="acl:Write" bind-resources) - sib-route(id-prefix=`${endpoints.resources}`, name='edit', use-id) - div.menu-label Edit a resource - div.menu-icon.icon-people \ No newline at end of file + sib-route(id-prefix=`${endpoints.resources}`, name='edit', use-id) \ No newline at end of file diff --git a/src/includes/resource/list.pug b/src/includes/resource/list.pug index 2f6771fb..486c080a 100644 --- a/src/includes/resource/list.pug +++ b/src/includes/resource/list.pug @@ -29,10 +29,4 @@ div.resources__newresource ) -//- #resources-edit(hidden) -//- sib-form( -//- data-fields="title, description, format, author" -//- next='resources-list' -//- bind-resources -//- ) //- group-by='step' \ No newline at end of file -- GitLab