pari: trunk r460 - in /trunk/config: ./ stylesheets/
asterisk-gui-commits at lists.digium.com
asterisk-gui-commits at lists.digium.com
Wed Mar 21 09:38:05 MST 2007
Author: pari
Date: Wed Mar 21 11:38:05 2007
New Revision: 460
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=460
Log:
CSS fixes for Logout and 'Activate Changes'
Modified:
trunk/config/cfgadvanced.html
trunk/config/cfgbasic.html
trunk/config/home.html
trunk/config/stylesheets/schwing.css
Modified: trunk/config/cfgadvanced.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/cfgadvanced.html?view=diff&rev=460&r1=459&r2=460
==============================================================================
--- trunk/config/cfgadvanced.html (original)
+++ trunk/config/cfgadvanced.html Wed Mar 21 11:38:05 2007
@@ -232,11 +232,11 @@
<tr height=47>
<td valign="bottom" align='right' bgcolor='white' height=47><img align='left' src="images/digiumlogo.gif" align="left"></td>
<td valign='bottom' align='right' bgcolor='white' colspan=2>
- <!-- <a href="#" onclick=" system_link()">System Configuration</a> | -->
- <a target='_extern' href="http://www.digium.com/en/company/profile/">About Digium</a> |
- <a target='_extern' href="http://www.asterisknow.org/bugs">Report a Bug</a> |
- <a target='_extern' href="http://www.asterisknow.org/help">Help</a>
- <input type="hidden" id="login_name">
+ <!-- <a href="#" onclick=" system_link()">System Configuration</a> | -->
+ <a target='_extern' href="http://www.digium.com/en/company/profile/">About Digium</a> |
+ <a target='_extern' href="http://www.asterisknow.org/bugs">Report a Bug</a> |
+ <a target='_extern' href="http://www.asterisknow.org/help">Help</a>
+ <input type="hidden" id="login_name">
</td>
</tr>
<tr><td height="505">
@@ -263,8 +263,8 @@
<iframe width="540" height="505" frameborder="0" border="0" marginheight="0" marginwidth="0" src="home.html" id="mainscreen" style="position:absolute;top:48px;" SCROLLING=no></iframe>
</td>
<td valign=top width=250 height="505">
- <div class="mainscreenTooltipBar" align=right style="font-weight:bold;cursor: pointer; cursor: hand;">
- <span id="reloadconfig"></span> <span id="logoutlink"></span>
+ <div class="mainscreenTooltipBar" align=right>
+ <span id="reloadconfig" style="display:none"></span> <span id="logoutlink" style="display:none"></span>
</div>
<div id="tooltip_round" class="tooltip_round">
<div id='tooltip' style="margin-left:4px; font-family : Trebuchet MS, Arial, Helvetica, sans-serif;font-size: 11px; "><script>document.write(tooltip_default);</script></div>
Modified: trunk/config/cfgbasic.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/cfgbasic.html?view=diff&rev=460&r1=459&r2=460
==============================================================================
--- trunk/config/cfgbasic.html (original)
+++ trunk/config/cfgbasic.html Wed Mar 21 11:38:05 2007
@@ -232,11 +232,11 @@
<tr height=47>
<td valign="bottom" align='right' bgcolor='white' height=47><img align='left' src="images/digiumlogo.gif" align="left"></td>
<td valign='bottom' align='right' bgcolor='white' colspan=2>
- <!-- <a href="#" onclick=" system_link()">System Configuration</a> | -->
- <a target='_extern' href="http://www.digium.com/en/company/profile/">About Digium</a> |
- <a target='_extern' href="http://www.asterisknow.org/bugs">Report a Bug</a> |
- <a target='_extern' href="http://www.asterisknow.org/help">Help</a>
- <input type="hidden" id="login_name">
+ <!-- <a href="#" onclick=" system_link()">System Configuration</a> | -->
+ <a target='_extern' href="http://www.digium.com/en/company/profile/">About Digium</a> |
+ <a target='_extern' href="http://www.asterisknow.org/bugs">Report a Bug</a> |
+ <a target='_extern' href="http://www.asterisknow.org/help">Help</a>
+ <input type="hidden" id="login_name">
</td>
</tr>
<tr><td height="505">
@@ -263,8 +263,8 @@
<iframe width="540" height="505" frameborder="0" border="0" marginheight="0" marginwidth="0" src="home.html" id="mainscreen" style="position:absolute;top:48px;" SCROLLING=no></iframe>
</td>
<td valign=top width=250 height="505">
- <div class="mainscreenTooltipBar" align=right style="font-weight:bold;cursor: pointer; cursor: hand;">
- <span id="reloadconfig"></span> <span id="logoutlink"></span>
+ <div class="mainscreenTooltipBar" align=right>
+ <span id="reloadconfig" style="display:none"></span> <span id="logoutlink" style="display:none"></span>
</div>
<div id="tooltip_round" class="tooltip_round">
<div id='tooltip' style="margin-left:4px; font-family : Trebuchet MS, Arial, Helvetica, sans-serif;font-size: 11px; "><script>document.write(tooltip_default);</script></div>
Modified: trunk/config/home.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/home.html?view=diff&rev=460&r1=459&r2=460
==============================================================================
--- trunk/config/home.html (original)
+++ trunk/config/home.html Wed Mar 21 11:38:05 2007
@@ -41,8 +41,10 @@
if(_$('secret').value=="password"){
parent.loggedon = 1;
localloggedon = 1;
- parent.document.getElementById('logoutlink').innerHTML = "Logout";
- parent.document.getElementById('logoutlink').onclick = parent.Logoff ;
+ var _ll = parent._$('logoutlink');
+ _ll.innerHTML = "Logout";
+ _ll.onclick = parent.Logoff ;
+ _ll.style.display = "" ;
parent.gui_alert("You are using the default password provided by AsteriskNOW !! \n\n It is strongly recommended that you change your default password ");
window.location.href="options.html";
return;
@@ -63,10 +65,14 @@
_$('secret').className = "input9_disabled";
updateButtons();
_$('statusbar').innerHTML = "<img src='images/tick.gif'><i>Connected!</i>";
- parent.document.getElementById('reloadconfig').innerHTML = "ApplySettings";
- parent.document.getElementById('reloadconfig').onclick = parent.reloadConfig ;
- parent.document.getElementById('logoutlink').innerHTML = "Logout";
- parent.document.getElementById('logoutlink').onclick = parent.Logoff ;
+ var _rc = parent._$('reloadconfig');
+ _rc.innerHTML = "Activate Changes";
+ _rc.onclick = parent.reloadConfig ;
+ _rc.style.display = "" ;
+ var _ll = parent._$('logoutlink');
+ _ll.innerHTML = "Logout";
+ _ll.onclick = parent.Logoff ;
+ _ll.style.display = "" ;
}
Modified: trunk/config/stylesheets/schwing.css
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/stylesheets/schwing.css?view=diff&rev=460&r1=459&r2=460
==============================================================================
--- trunk/config/stylesheets/schwing.css (original)
+++ trunk/config/stylesheets/schwing.css Wed Mar 21 11:38:05 2007
@@ -1,57 +1,57 @@
.mainscreenTitleBar {
- font-size : 12px;
- padding : 4px 6px 4px 6px;
- border-style : solid none solid none;
- border-top-color : #BDC7E7;
- border-bottom-color : #182052;
- border-width : 1px 0px 1px 0px;
- background-color : #ef8700;
- color : #ffffff;
- width: 550px;
+ font-size : 12px;
+ padding : 4px 6px 4px 6px;
+ border-style : solid none solid none;
+ border-top-color : #BDC7E7;
+ border-bottom-color : #182052;
+ border-width : 1px 0px 1px 0px;
+ background-color : #ef8700;
+ color : #ffffff;
+ width: 550px;
}
.mainscreenTooltipBar {
- font-size : 12px;
- padding : 4px 6px 4px 6px;
- border-style : solid none solid none;
- border-top-color : #BDC7E7;
- border-bottom-color : #182052;
- border-width : 1px 0px 1px 0px;
- background-color : #ef8700;
- color : #ffffff;
- width: 250px;
+ font-size : 12px;
+ padding : 4px 6px 4px 6px;
+ border-style : solid none solid none;
+ border-top-color : #BDC7E7;
+ border-bottom-color : #182052;
+ border-width : 1px 0px 1px 0px;
+ background-color : #ef8700;
+ color : #ffffff;
+ width: 250px;
}
.mainscreenTitleBarHover {
- font-size : 11px;
+ font-size : 11px;
background-color : #1f669b;
color : #000000;
}
.mainscreenContentBox {
- font-size : 11px;
- border : 0px;
- padding : 0px 8px 0px 2px;
+ font-size : 11px;
+ border : 0px;
+ padding : 0px 8px 0px 2px;
}
.mainscreenBorderBox {
- font-size : 11px;
- border : 1px solid #1f669b;
- border-top-width : 0px;
- border-left-width : 0px;
- border-bottom-width: 0px;
- padding : 0px 8px 0px 8px;
+ font-size : 11px;
+ border : 1px solid #1f669b;
+ border-top-width : 0px;
+ border-left-width : 0px;
+ border-bottom-width: 0px;
+ padding : 0px 8px 0px 8px;
}
.mainSettings {
- font-size : 8px;
+ font-size : 8px;
}
.mainscreenTable {
- border : 0;
+ border : 0;
/*height : 426px;*/
- width : 536px;
- font-size: 11px;
+ width : 536px;
+ font-size: 11px;
}
.statusbar {
@@ -230,17 +230,17 @@
/* for DHTML tabs */
a.tab {
- border-bottom: 0px solid #778;
- font: bold 11px arial,Verdana, sans-serif;
- margin: 0;
- display: inline;
- padding: 2px 0.5em;
- margin-left: 3px;
- border: 0px solid #778;
- background: #DDE;
- text-decoration: none;
- color: #448;
- height: 11px;
+ border-bottom: 0px solid #778;
+ font: bold 11px arial,Verdana, sans-serif;
+ margin: 0;
+ display: inline;
+ padding: 2px 0.5em;
+ margin-left: 3px;
+ border: 0px solid #778;
+ background: #DDE;
+ text-decoration: none;
+ color: #448;
+ height: 11px;
}
a.tab:visited {
@@ -248,26 +248,26 @@
}
a.tab:hover {
- color: #000;
- background: #AAE;
- border-color: #227;
- text-decoration: none;
+ color: #000;
+ background: #AAE;
+ border-color: #227;
+ text-decoration: none;
}
a.tabselected {
- border-bottom: 4px solid #000000;
- font: bold 13px arial,Verdana, sans-serif;
- margin:0pt 0pt 0pt 3px;
- padding:2px 0.5em;
- display: inline;
- border: 0px solid #778;
- background: #FFF;
- text-decoration: none;
- color: #448;
- height: 11px;
- border-bottom-color:#000000;
- border-bottom-style:solid;
- border-bottom-width:4px;
+ border-bottom: 4px solid #000000;
+ font: bold 13px arial,Verdana, sans-serif;
+ margin:0pt 0pt 0pt 3px;
+ padding:2px 0.5em;
+ display: inline;
+ border: 0px solid #778;
+ background: #FFF;
+ text-decoration: none;
+ color: #448;
+ height: 11px;
+ border-bottom-color:#000000;
+ border-bottom-style:solid;
+ border-bottom-width:4px;
}
div.tooltip_round {
@@ -301,3 +301,19 @@
}
/* End of right click menus */
+
+.mainscreenTooltipBar span{
+ font-size:11px;
+ font-weight : bold;
+ border:1px solid #FFFFFF;
+ color:#FFFFFF;
+ padding:1px 5px 1px 5px;
+ text-decoration:none;
+ cursor: pointer;
+ cursor: hand;
+}
+
+.mainscreenTooltipBar span:hover {
+ border-color: #000;
+ color:#000000;
+}
More information about the asterisk-gui-commits
mailing list