From bdd1715b249561ed919e4f03a06aec1f4c327335 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Fri, 6 Mar 2015 21:29:56 +0100 Subject: Use awesomplete as autocomplete lib and remove jQuery - shaarli/Shaarli#148 * Add awesomplete dependancy (source + min + CSS) * Remove jQuery and jQuery-UI dependancy * Few CSS ajustements * Use tags complete list as RainTPL var (and display it as HTML) * Remove "disable jQuery" feature * Remove tag list web service --- tpl/changetag.html | 35 +++++++++++++++++++++-------------- tpl/configure.html | 3 --- tpl/editlink.html | 30 ++++++++++++++++++++---------- 3 files changed, 41 insertions(+), 27 deletions(-) (limited to 'tpl') diff --git a/tpl/changetag.html b/tpl/changetag.html index fdfb0b37..13cc5cf1 100644 --- a/tpl/changetag.html +++ b/tpl/changetag.html @@ -1,27 +1,34 @@ {include="includes"} -{if="empty($GLOBALS['disablejquery'])"}{/if} + + {include="page.footer"} -{if="($GLOBALS['config']['OPEN_SHAARLI'] || isLoggedIn()) && empty($GLOBALS['disablejquery'])"} - -{/if} diff --git a/tpl/configure.html b/tpl/configure.html index 887be327..373d0690 100644 --- a/tpl/configure.html +++ b/tpl/configure.html @@ -18,9 +18,6 @@ Security: - Features: - - New link: diff --git a/tpl/editlink.html b/tpl/editlink.html index ecab443d..b737b990 100644 --- a/tpl/editlink.html +++ b/tpl/editlink.html @@ -1,7 +1,8 @@ {include="includes"} -{if="empty($GLOBALS['disablejquery'])"}{/if} + +
- URL

- Title

- Description

- Tags

+

+

+

+
+
{if="($link_is_new && $GLOBALS['privateLinkByDefault']==true) || $link.private == true"}  
@@ -32,12 +35,19 @@ {include="page.footer"} -{if="($GLOBALS['config']['OPEN_SHAARLI'] || isLoggedIn()) && empty($GLOBALS['disablejquery'])"} +{if="($GLOBALS['config']['OPEN_SHAARLI'] || isLoggedIn())"} {/if} -- cgit v1.2.3