Author:   Lars Michelsen <[email protected]>
Date:     Fri Oct 28 12:42:14 2011 +0200
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Fri Oct 28 12:42:14 2011 +0200

Bugfix: Fixed add/modify dialog styling in IE/Chrome

---

 ChangeLog                                         |    1 +
 share/server/core/classes/WuiViewMapAddModify.php |    2 +-
 share/userfiles/templates/default.css             |    7 +++++--
 3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index f51c88e..c38c782 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,7 @@ Core
 Frontend
   * Bugfix: Fixed object link follow after moving object in edit mode when 
using IE<8
   * Bugfix: Fixed javascript several onload javascript errors when using IE<8
+  * Bugfix: Fixed add/modify dialog styling in IE/Chrome
 
 Automap
   * Improved coord parsing code to make it graphviz-2.6-22.2 compatible
diff --git a/share/server/core/classes/WuiViewMapAddModify.php 
b/share/server/core/classes/WuiViewMapAddModify.php
index ffb2efd..e96a5ba 100644
--- a/share/server/core/classes/WuiViewMapAddModify.php
+++ b/share/server/core/classes/WuiViewMapAddModify.php
@@ -169,7 +169,7 @@ class WuiViewMapAddModify {
             if($prop['must'])
                 array_push($rowClasses, 'must');
 
-            $ret .= '<tr class="'.implode(' ', $rowClasses).'"'.$rowHide.'><td 
class=tdlabel>'.$propname.'</td><td class=tdfield width=22>';
+            $ret .= '<tr class="'.implode(' ', $rowClasses).'"'.$rowHide.'><td 
class=tdlabel>'.$propname.'</td><td class=tdbox>';
 
             $onChange = '';
             // Submit the form when an attribute which has dependant 
attributes is changed
diff --git a/share/userfiles/templates/default.css 
b/share/userfiles/templates/default.css
index 31637a6..be3d550 100644
--- a/share/userfiles/templates/default.css
+++ b/share/userfiles/templates/default.css
@@ -487,9 +487,12 @@ td#popupWindowContent table.mytable td {color: #2B5377;}
 td#popupWindowContent table.mytable tr.child-row td.tdlabel {padding-left: 
20px;}
 
 /* td labels */
-td#popupWindowContent table.mytable td.tdlabel {padding-left: 10px;width: 50%;}
+td#popupWindowContent table.mytable td.tdlabel {padding-left: 10px;width: 
140px;}
+td#popupWindowContent table.mytable td.tdbox {width: 30px;}
+td#popupWindowContent table.mytable td.tdfield {width: 170px;}
+td#popupWindowContent table.mytable tr td.tdfield input, td#popupWindowContent 
table.mytable tr td.tdfield select {font-size: 10px;background-color: 
#E4EEF6;border: 1px solid #284279;width:170px;}
+td#popupWindowContent table.mytable tr td.tdfield span {word-wrap: break-word;}
 
-td#popupWindowContent table.mytable tr td.tdfield input, td#popupWindowContent 
table.mytable tr td.tdfield select {font-size: 10px;background-color: 
#E4EEF6;border: 1px solid #284279;width: 100%;}
 
 td#popupWindowContent .submit {
   font-weight: bold;


------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to