From 60f713b8ec2908982be852c5b1dcb7322a2b0f8d Mon Sep 17 00:00:00 2001 From: Ben Klang Date: Wed, 24 Mar 2010 18:22:28 -0400 Subject: [PATCH] Shout: Make buttons more visually obvious --- shout/lib/Shout.php | 4 ++-- shout/templates/accounts/list.inc | 20 ++++++++++---------- shout/templates/devices/list.inc | 20 ++++++++++---------- shout/templates/dialplan/edit.inc | 2 +- shout/templates/dialplan/list.inc | 30 ++++++++++++++++-------------- shout/templates/extensions/list.inc | 20 ++++++++++---------- shout/themes/screen.css | 4 ++++ 7 files changed, 53 insertions(+), 47 deletions(-) diff --git a/shout/lib/Shout.php b/shout/lib/Shout.php index 176d5bf36..fef60c66c 100644 --- a/shout/lib/Shout.php +++ b/shout/lib/Shout.php @@ -145,7 +145,7 @@ class Shout return array( 'jump' => array( - 'description' => _("Jump to menu."), + 'description' => _("Jump to menu"), 'args' => array ( 'menuName' => array( 'name' => _("Menu"), @@ -169,7 +169,7 @@ class Shout 'leave_message' => array( 'description' => _("Go to voicemail"), 'args' => array( - 'mailbox' => array( + 'exten' => array( 'name' => _("Mailbox"), 'type' => 'enum', 'required' => true, diff --git a/shout/templates/accounts/list.inc b/shout/templates/accounts/list.inc index 2278c70b6..f768bab80 100644 --- a/shout/templates/accounts/list.inc +++ b/shout/templates/accounts/list.inc @@ -1,14 +1,4 @@
- Account:
@@ -43,3 +33,13 @@ ?> + \ No newline at end of file diff --git a/shout/templates/devices/list.inc b/shout/templates/devices/list.inc index 3a8cf8411..d500f13ff 100644 --- a/shout/templates/devices/list.inc +++ b/shout/templates/devices/list.inc @@ -1,14 +1,4 @@
- Account:
@@ -48,3 +38,13 @@ ?> + diff --git a/shout/templates/dialplan/edit.inc b/shout/templates/dialplan/edit.inc index 54c6fecec..fb491fdc7 100644 --- a/shout/templates/dialplan/edit.inc +++ b/shout/templates/dialplan/edit.inc @@ -275,7 +275,7 @@ function refreshMenu() switch(action) { case 'jump': var menu = pair.value.args['menuName']; - text = document.createTextNode(destinations.get(exten).name); + text = document.createTextNode(menu); break; case 'ringexten': case 'leave_message': diff --git a/shout/templates/dialplan/list.inc b/shout/templates/dialplan/list.inc index 431215ab1..9ebb3c756 100644 --- a/shout/templates/dialplan/list.inc +++ b/shout/templates/dialplan/list.inc @@ -1,19 +1,10 @@
- Account:
- +
@@ -29,4 +20,15 @@
-
\ No newline at end of file + + \ No newline at end of file diff --git a/shout/templates/extensions/list.inc b/shout/templates/extensions/list.inc index 7fbcf471b..f3d63d071 100644 --- a/shout/templates/extensions/list.inc +++ b/shout/templates/extensions/list.inc @@ -1,14 +1,4 @@
- Account:
@@ -48,6 +38,16 @@ ?> +