From 1d13b211116a154c41047b10df085ea2f5eb46b6 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sat, 17 May 2014 13:06:15 +0200 Subject: API password user-interface Removed `noscript` because no JavaScript is needed for the API password. Added toggle-password --- app/views/configure/users.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views') diff --git a/app/views/configure/users.phtml b/app/views/configure/users.phtml index fdc94cd18..a018ce6b2 100644 --- a/app/views/configure/users.phtml +++ b/app/views/configure/users.phtml @@ -31,7 +31,7 @@
/> - +
-- cgit v1.2.3 From 192c0a001d5c9f57955402e4298da80dff68c6bd Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Thu, 5 Jun 2014 20:39:17 +0200 Subject: Add some stick buttons --- app/views/configure/categorize.phtml | 10 ++++++---- app/views/configure/feed.phtml | 15 ++++++++++----- app/views/configure/users.phtml | 12 ++++++++---- 3 files changed, 24 insertions(+), 13 deletions(-) (limited to 'app/views') diff --git a/app/views/configure/categorize.phtml b/app/views/configure/categorize.phtml index c0171d2dc..9bae99b39 100644 --- a/app/views/configure/categorize.phtml +++ b/app/views/configure/categorize.phtml @@ -14,11 +14,13 @@
- +
+ - nbFeed () > 0) { ?> - - + nbFeed () > 0) { ?> + + +
(nbFeed ()); ?>) id () === $this->defaultCategory->id ()) { ?> diff --git a/app/views/configure/feed.phtml b/app/views/configure/feed.phtml index 2da04ac2d..27b0990ff 100644 --- a/app/views/configure/feed.phtml +++ b/app/views/configure/feed.phtml @@ -32,16 +32,21 @@
- - +
+ + +
- - -   +
+ + +
+ +
diff --git a/app/views/configure/users.phtml b/app/views/configure/users.phtml index a018ce6b2..c199ad53d 100644 --- a/app/views/configure/users.phtml +++ b/app/views/configure/users.phtml @@ -20,8 +20,10 @@
- /> - +
+ /> + +
@@ -178,8 +180,10 @@
- - +
+ + +
-- cgit v1.2.3 From e47f91592061b1d5d9795c38e1f04ebdac6cdc4d Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Thu, 5 Jun 2014 21:48:03 +0200 Subject: Improve page of sharing configuration - Use sticks - Change order of buttons --- app/views/configure/sharing.phtml | 30 +++++++++++++++++++----------- p/scripts/main.js | 5 +++-- 2 files changed, 22 insertions(+), 13 deletions(-) (limited to 'app/views') diff --git a/app/views/configure/sharing.phtml b/app/views/configure/sharing.phtml index ddb404ef5..39951a209 100644 --- a/app/views/configure/sharing.phtml +++ b/app/views/configure/sharing.phtml @@ -4,13 +4,16 @@
+ data-simple='
' - data-advanced='
+ data-advanced='
+
-
'> +
+ +
'> conf->sharing as $key => $sharing): ?> conf->shares[$sharing['type']]; ?> @@ -19,25 +22,30 @@
- ' /> - - - - - + +
+ + + +
+ + + + +
-
+
- +
diff --git a/p/scripts/main.js b/p/scripts/main.js index aeb044e88..d91166e09 100644 --- a/p/scripts/main.js +++ b/p/scripts/main.js @@ -980,15 +980,16 @@ function init_share_observers() { }); $('.share.add').on('click', function(e) { - e.preventDefault(); var opt = $(this).siblings('select').find(':selected'); var row = $(this).parents('form').data(opt.data('form')); row = row.replace('##label##', opt.html(), 'g'); row = row.replace('##type##', opt.val(), 'g'); row = row.replace('##help##', opt.data('help'), 'g'); row = row.replace('##key##', shares, 'g'); - $(this).parents('.form-actions').before(row); + $(this).parents('.form-group').before(row); shares++; + + return false; }); } -- cgit v1.2.3 From 9d4269ddcbac7b2c4efed6e8a572cfb1c0ba8f65 Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Thu, 5 Jun 2014 21:50:47 +0200 Subject: Add titles for help buttons (sharing configuration) --- app/views/configure/sharing.phtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/views') diff --git a/app/views/configure/sharing.phtml b/app/views/configure/sharing.phtml index 39951a209..a952bc3b4 100644 --- a/app/views/configure/sharing.phtml +++ b/app/views/configure/sharing.phtml @@ -12,7 +12,7 @@
- +
'> conf->sharing as $key => $sharing): ?> @@ -30,7 +30,7 @@ - + -- cgit v1.2.3