From: Ben Klang Date: Sun, 28 Feb 2010 17:01:22 +0000 (-0500) Subject: Shout: Begin new dialplan edit UI X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=0651e95847d51fc62c5ea75d1db649b89ef0cb8f;p=horde.git Shout: Begin new dialplan edit UI --- diff --git a/shout/dialplan.php b/shout/dialplan.php new file mode 100644 index 000000000..a801ed221 --- /dev/null +++ b/shout/dialplan.php @@ -0,0 +1,30 @@ + + */ + +require_once dirname(__FILE__) . '/lib/Application.php'; +$shout = Horde_Registry::appInit('shout'); + +require_once SHOUT_BASE . '/lib/Forms/ExtensionForm.php'; + +//$action = Horde_Util::getFormData('action'); +$action = 'show'; +$context = $_SESSION['shout']['context']; + +Horde::addScriptFile('prototype.js', 'horde'); + +require SHOUT_TEMPLATES . '/common-header.inc'; +require SHOUT_TEMPLATES . '/menu.inc'; + +$notification->notify(); + +require SHOUT_TEMPLATES . '/dialplan/' . $action . '.inc'; + +require $registry->get('templates', 'horde') . '/common-footer.inc'; diff --git a/shout/templates/dialplan/show.inc b/shout/templates/dialplan/show.inc new file mode 100644 index 000000000..9123402ce --- /dev/null +++ b/shout/templates/dialplan/show.inc @@ -0,0 +1,40 @@ + + +
+
+
SAVE
+
+
1
+
2
+
3
+
+
4
+
5
+
6
+
+
7
+
8
+
9
+
+
*
+
0
+
#
+
+ + \ No newline at end of file diff --git a/shout/themes/graphics/digit-bg.png b/shout/themes/graphics/digit-bg.png new file mode 100644 index 000000000..bb819d8ec Binary files /dev/null and b/shout/themes/graphics/digit-bg.png differ diff --git a/shout/themes/screen.css b/shout/themes/screen.css index c93634893..ed9f31aa7 100644 --- a/shout/themes/screen.css +++ b/shout/themes/screen.css @@ -68,4 +68,42 @@ ul { font-style: italic; } +#digitpad { + width: 300px; + height: 400px; + margin-left: auto; + margin-right: auto; + position: relative; +} + +.digit { + width: 84px; + height: 84px; + float: left; + border-top: 4px solid #aaa; + border-left: 4px solid #aaa; + border-right: 4px solid #444; + border-bottom: 4px solid #444; + padding: 3px; + margin: 1px; + background-image: url('graphics/digit-bg.png'); +} +.digitLabel { + font-style: italic; + font-family: Sans-serif; + font-weight: bold; + font-size: 1.5em; + color: #666; +} + +#digitAction { + width: 290px; + height: 390px; + margin: 5px; + position: absolute; + top: 0px; + left: 0px; + background: #0f0; + /*display: none;*/ +} \ No newline at end of file