pari: branch appliance r233 - /branches/appliance/config/

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Wed Jan 10 17:23:31 MST 2007


Author: pari
Date: Wed Jan 10 18:23:30 2007
New Revision: 233

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=233
Log:
fix: panel labels are some times appearing in two lines

Modified:
    branches/appliance/config/cfgadvanced.html
    branches/appliance/config/cfgappliance.html
    branches/appliance/config/cfgbasic.html

Modified: branches/appliance/config/cfgadvanced.html
URL: http://svn.digium.com/view/asterisk-gui/branches/appliance/config/cfgadvanced.html?view=diff&rev=233&r1=232&r2=233
==============================================================================
--- branches/appliance/config/cfgadvanced.html (original)
+++ branches/appliance/config/cfgadvanced.html Wed Jan 10 18:23:30 2007
@@ -221,8 +221,8 @@
 												for (var i = 0; i < panels.length; i++) {
 													document.write("<div onmouseover='show_Acctooltip(\""+ panels[i].name +"\", \""+ panels[i].content +"\")'  onmouseout='show_Acctooltip(\""+ panels[i].name +"\", \"" + tooltip_default +"\")'>");
 													document.write("	<div id='" + panels[i].name + "' class='accordionTabTitleBar'>");
-													document.write("		<img style='vertical-align:middle' src='images/" + panels[i].icon + "'>");
-													document.write("		<span style='margin-left: 4px;font-weight:bold'>" + panels[i].label + "</span>");
+													document.write("		<nobr><img style='vertical-align:middle' src='images/" + panels[i].icon + "'>");
+													document.write("		<span style='margin-left: 0px;font-weight:bold'>" + panels[i].label + "</span></nobr>");
 													document.write("    </div>");
 													document.write("	<div class='accordionTabContentBox' style='background-image:url(images/panel.png)'>");
 													document.write(panels[i].content);

Modified: branches/appliance/config/cfgappliance.html
URL: http://svn.digium.com/view/asterisk-gui/branches/appliance/config/cfgappliance.html?view=diff&rev=233&r1=232&r2=233
==============================================================================
--- branches/appliance/config/cfgappliance.html (original)
+++ branches/appliance/config/cfgappliance.html Wed Jan 10 18:23:30 2007
@@ -206,8 +206,8 @@
 												for (var i = 0; i < panels.length; i++) {
 													document.write("<div onmouseover='show_Acctooltip(\""+ panels[i].name +"\", \""+ panels[i].content +"\")'  onmouseout='show_Acctooltip(\""+ panels[i].name +"\", \"" + tooltip_default +"\")'>");
 													document.write("	<div id='" + panels[i].name + "' class='accordionTabTitleBar'>");
-													document.write("		<img style='vertical-align:middle' src='images/" + panels[i].icon + "'>");
-													document.write("		<span style='margin-left: 4px;font-weight:bold'>" + panels[i].label + "</span>");
+													document.write("		<nobr><img style='vertical-align:middle' src='images/" + panels[i].icon + "'>");
+													document.write("		<span style='margin-left: 0px;font-weight:bold'>" + panels[i].label + "</span></nobr>");
 													document.write("    </div>");
 													document.write("	<div class='accordionTabContentBox' style='background-image:url(images/panel.png)'>");
 													document.write(panels[i].content);

Modified: branches/appliance/config/cfgbasic.html
URL: http://svn.digium.com/view/asterisk-gui/branches/appliance/config/cfgbasic.html?view=diff&rev=233&r1=232&r2=233
==============================================================================
--- branches/appliance/config/cfgbasic.html (original)
+++ branches/appliance/config/cfgbasic.html Wed Jan 10 18:23:30 2007
@@ -219,8 +219,8 @@
 												for (var i = 0; i < panels.length; i++) {
 													document.write("<div onmouseover='show_Acctooltip(\""+ panels[i].name +"\", \""+ panels[i].content +"\")'  onmouseout='show_Acctooltip(\""+ panels[i].name +"\", \"" + tooltip_default +"\")'>");
 													document.write("	<div id='" + panels[i].name + "' class='accordionTabTitleBar'>");
-													document.write("		<img style='vertical-align:middle' src='images/" + panels[i].icon + "'>");
-													document.write("		<span style='margin-left: 4px;font-weight:bold'>" + panels[i].label + "</span>");
+													document.write("		<nobr><img style='vertical-align:middle' src='images/" + panels[i].icon + "'>");
+													document.write("		<span style='margin-left: 0px;font-weight:bold'>" + panels[i].label + "</span></nobr>");
 													document.write("    </div>");
 													document.write("	<div class='accordionTabContentBox' style='background-image:url(images/panel.png)'>");
 													document.write(panels[i].content);



More information about the asterisk-gui-commits mailing list