From 5e926f3e75471842093979d6d10fd1cb2b0b5632 Mon Sep 17 00:00:00 2001 From: ostertun Date: Mon, 5 Oct 2020 13:09:24 +0200 Subject: [PATCH] Add share button on own planning --- server/content/planning_view.php | 3 ++- server/page/menus.php | 10 +++++----- server/scripts/planning.js | 2 ++ server/scripts/planning_view.js | 9 +++++++++ 4 files changed, 18 insertions(+), 6 deletions(-) diff --git a/server/content/planning_view.php b/server/content/planning_view.php index cf37f0c..ba8b855 100644 --- a/server/content/planning_view.php +++ b/server/content/planning_view.php @@ -6,7 +6,8 @@ // Title $content = '

Saison-Planung

'; - $content .= '

'; + $content .= '

'; + $content .= $tpl->load('button', [' Teilen', '#', 'html-id' => 'button-share']); $content .= $tpl->load('select', ['html-id' => 'select-year', 'placeholder' => 'Jahr', 'css-class' => 'mt-3 mb-0']); $sp['output'] .= $tpl->load('card', [$content]); diff --git a/server/page/menus.php b/server/page/menus.php index ff88dde..7ef3608 100644 --- a/server/page/menus.php +++ b/server/page/menus.php @@ -3,27 +3,27 @@