rbrindley: branch rbrindley/features_revamp r4503 - /team/rbrindley/features_...
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Thu Feb 5 08:32:38 CST 2009
Author: rbrindley
Date: Thu Feb 5 08:32:38 2009
New Revision: 4503
URL: http://svn.digium.com/svn-view/asterisk-gui?view=rev&rev=4503
Log:
- added CSS for feature map section
- added HTML for feature map section
- added JS click handler for toggled features CSS
Modified:
team/rbrindley/features_revamp/config/features2.html
Modified: team/rbrindley/features_revamp/config/features2.html
URL: http://svn.digium.com/svn-view/asterisk-gui/team/rbrindley/features_revamp/config/features2.html?view=diff&rev=4503&r1=4502&r2=4503
==============================================================================
--- team/rbrindley/features_revamp/config/features2.html (original)
+++ team/rbrindley/features_revamp/config/features2.html Thu Feb 5 08:32:38 2009
@@ -31,6 +31,24 @@
text-align: center;
}
+ #feature_map .feature {
+ clear: both;
+ }
+
+ #feature_map .checkbox {
+ float: left;
+ padding: 0px;
+ margin: 4px;
+ }
+
+ #feature_map .enabled {
+ color: #000000;
+ }
+
+ #feature_map .disabled {
+ color: #777777;
+ }
+
.ui-tabs-panel {
text-align: left;
}
@@ -49,7 +67,24 @@
<li><a href="#dial_options"><span>Dial Options</span></a></li>
<li><a href="#feature_options"><span>Feature Options</span></a></li>
</ul>
- <div id="feature_map" class="ui-tabs-panel ui-tabs-hide"> 1</div>
+ <div id="feature_map" class="ui-tabs-panel ui-tabs-hide">
+ <div class="feature disabled">
+ <div class="checkbox"><input type="checkbox" id="fmap_blindxfer" /></div>
+ Blind Transfer: <input size="2" id="fmap_blindxfer_val" /> (default is #)
+ </div>
+ <div class="feature disabled">
+ <div class="checkbox"><input type="checkbox" id="fmap_disconnect" /></div>
+ Disconnect: <input size="2" id="fmap_disconnect_val" /> (default is *)
+ </div>
+ <div class="feature disabled">
+ <div class="checkbox"><input type="checkbox" id="fmap_atxfer" /></div>
+ Attended Transfer: <input size="2" id="fmap_blindxfer_val" />
+ </div>
+ <div class="feature disabled">
+ <div class="checkbox"><input type="checkbox" id="fmap_parkcall" /></div>
+ Call Parking: <input size="2" id="fmap_blindxfer_val" />
+ </div>
+ </div>
<div id="call_parking" class="ui-tabs-panel ui-tabs-hide"> 2</div>
<div id="application_map" class="ui-tabs-panel ui-tabs-hide"> 3</div>
<div id="dial_options" class="ui-tabs-panel ui-tabs-hide"> 4</div>
@@ -70,6 +105,9 @@
$('.refresh_icon').click( function() {
window.location.reload();
});
+ $('.feature .checkbox :checkbox').click( function() {
+ $(this).parents(".feature").toggleClass('disabled');
+ });
});
</script>
</html>
More information about the asterisk-gui-commits
mailing list