From a7e833280954a537e12d5a3f4fa12a5b9e8412da Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Sat, 14 Jun 2014 08:58:33 +0200 Subject: Improve system of queries MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Coding style - More checks server side - Default query name is "Query n°X" - List of queries is moved into nav_menu, in a dropdown - Better system to remove fields in JS (to a.remove elements, give an attibute data-remove="id_to_remove") - Fix a bug in lib/Mine/Request.php (htmlspecialchars_utf8 can be applied on arrays now) - Few theme improvements - Add an element .no-mobile to apply to elements which should not appear on mobiles See https://github.com/marienfressinaud/FreshRSS/pull/498 --- app/views/configure/queries.phtml | 105 +++++++++++++++++++++++++++----------- app/views/configure/sharing.phtml | 14 ++--- 2 files changed, 82 insertions(+), 37 deletions(-) (limited to 'app/views') diff --git a/app/views/configure/queries.phtml b/app/views/configure/queries.phtml index f0c551742..d0aec687b 100644 --- a/app/views/configure/queries.phtml +++ b/app/views/configure/queries.phtml @@ -1,45 +1,90 @@ -partial ('aside_configure'); ?> +partial('aside_configure'); ?>
- - -
- - - conf->queries as $key => $query):?> -
- -
- "/> - "/> - "/> - "/> - "/> - + + + + + + conf->queries as $key => $query) { ?> +
+ + +
+ "/> + "/> + "/> + "/> + +
+ + + + + + + + + +
+ + + + +
+
+
+ +
+
+
    - -
  • - - -
  • - - -
  • - - -
  • query_get[$key]['type'], $this->query_get[$key]['name']); ?>
  • - + +
  • + + + +
  • + + + +
  • + + + +
  • query_get[$key]['type'], $this->query_get[$key]['name']); ?>
  • +
+
- - +
+ + + conf->queries) > 0) { ?>
+ +

+
\ No newline at end of file diff --git a/app/views/configure/sharing.phtml b/app/views/configure/sharing.phtml index a952bc3b4..02ce331da 100644 --- a/app/views/configure/sharing.phtml +++ b/app/views/configure/sharing.phtml @@ -4,35 +4,35 @@
+ data-simple='
' - data-advanced='
+ data-advanced='
-
+
'> conf->sharing as $key => $sharing): ?> conf->shares[$sharing['type']]; ?> -
+
' /> - +
- +
- +
-- cgit v1.2.3