From d2ce6f975ede92fff941dfb968be7dfb3992b391 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Jaussoin?= Date: Wed, 19 Jun 2019 12:54:44 +0200 Subject: [PATCH] Add Snap widget to take quick photos Link it ti PublishBrief (Chat soon) --- app/views/news.tpl | 1 + .../_publishbrief_embed_default.tpl | 7 + app/widgets/PublishBrief/locales.ini | 1 + app/widgets/Snap/Snap.php | 12 ++ app/widgets/Snap/snap.css | 78 +++++++++++ app/widgets/Snap/snap.js | 129 ++++++++++++++++++ app/widgets/Snap/snap.tpl | 24 ++++ app/widgets/Upload/upload.js | 12 +- 8 files changed, 260 insertions(+), 4 deletions(-) create mode 100644 app/widgets/Snap/Snap.php create mode 100644 app/widgets/Snap/snap.css create mode 100644 app/widgets/Snap/snap.js create mode 100644 app/widgets/Snap/snap.tpl diff --git a/app/views/news.tpl b/app/views/news.tpl index a60b586be..050de6652 100644 --- a/app/views/news.tpl +++ b/app/views/news.tpl @@ -8,6 +8,7 @@ widget('SendTo');?> widget('PostActions');?> +widget('Snap');?>