Scarab commit: svn commit: r10832 - trunk/src/webapp: WEB-INF/templates/viewIssue scripts skins skins/images

Hussayn Dabbous <[email protected]>
Newsgroups gmane.comp.java.scarab.cvs
Message-ID <[email protected]>
Author: dabbous
Date: 2009-07-24 01:13:18-0700
New Revision: 10832

Added:
   trunk/src/webapp/skins/images/button_passive_begin.gif   (contents, props changed)
   trunk/src/webapp/skins/images/button_passive_end.gif   (contents, props changed)
Modified:
   trunk/src/webapp/WEB-INF/templates/viewIssue/ViewIssueBody.vm
   trunk/src/webapp/scripts/tooltips.js
   trunk/src/webapp/skins/classic.css
   trunk/src/webapp/skins/custom.css
   trunk/src/webapp/skins/images/popup_open.gif

Log:
cosmethic: 

Many little modifications to clean up the GUI and make it more compatible
and avoid javascript warnings to make javascript debugging easier 
especially on IE6. (I don't know why still some customers insist on using that ;-( )


Modified: trunk/src/webapp/WEB-INF/templates/viewIssue/ViewIssueBody.vm
Url: http://scarab.tigris.org/source/browse/scarab/trunk/src/webapp/WEB-INF/templates/viewIssue/ViewIssueBody.vm?view=diff&pathrev=10832&r1=10831&r2=10832
==============================================================================
--- trunk/src/webapp/WEB-INF/templates/viewIssue/ViewIssueBody.vm	(original)
+++ trunk/src/webapp/WEB-INF/templates/viewIssue/ViewIssueBody.vm	2009-07-24 01:13:18-0700
@@ -149,7 +149,7 @@
             <input type="hidden" name="$optionName" value="$attributeId"/>
           #end
     #end
-    
+    <span>
     <select name="add_watcher" style="position:relative; top:-1px;">
       ##if ( $myselfInList == true )
        <option value="" #selected(true) >$l10n.Assign ...</option>
@@ -172,7 +172,10 @@
         #end
       #end
     </select>
-    <input type="submit" name="eventSubmit_doAddwatchers" title="Hier k&ouml;nnen Sie andere Mitarbeiter als $watchedRMA.DisplayValue hinzuf&uuml;gen " value="als $watchedRMA.DisplayValue" class="button" />
+    </span>
+    <span>
+      <input type="submit" name="eventSubmit_doAddwatchers" title="Hier k&ouml;nnen Sie andere Mitarbeiter als $watchedRMA.DisplayValue hinzuf&uuml;gen " value="als $watchedRMA.DisplayValue" class="button" />
+    </span>
 #end
 
 
@@ -269,10 +272,9 @@
   ## Issue remove
   ## ==========================================================================
   <div class="functnbar2" style="white-space:nowrap;min-height:28px;height:28px; overflow:visible;">
-    <span style="float:left; margin:1px;padding:0px;overflow:visible;display:inline;">
-      
+
+    <span style="float:left;margin-top:4px;">  
         #if ($canEdit)
-          <span style="white-space:nowrap;margin-right:0px;margin-left:5px;">    
             #if ($myself == $assignedUserId)
               <input type="button" name="dummy" title ="Sie sind der aktive $myRMA.DisplayValue " value="" class="watch_on" />
             #else
@@ -324,15 +326,16 @@
                 #end
               #end
             #end
-          </span>
-          <span style="margin:0px; margin-right:10px;padding-left:0px;margin-left:0px;">
-            #watchingUsers($myselfInList $assignedUserId $watchedRMA $watchedAttrib)
-          </span>
-        #end
+         #end
      </span>
      
+     <span style="float:left;margin-left:28px;margin-top:5px;">  
+       #if ($canEdit)
+         #watchingUsers($myselfInList $assignedUserId $watchedRMA $watchedAttrib)
+       #end
+     </span>
      
-     <span style="float:right; margin:1px;padding:0px;">   
+     <span style="float:right;margin-top:5px;">   
         ## ------------------------------------------
         ## Issue move 
         ## Issue copy

Modified: trunk/src/webapp/scripts/tooltips.js
Url: http://scarab.tigris.org/source/browse/scarab/trunk/src/webapp/scripts/tooltips.js?view=diff&pathrev=10832&r1=10831&r2=10832
==============================================================================
--- trunk/src/webapp/scripts/tooltips.js	(original)
+++ trunk/src/webapp/scripts/tooltips.js	2009-07-24 01:13:18-0700
@@ -2,8 +2,8 @@
 //   Tooltip support  
 // =================================
 
-  currentTooltip=null;
-  currentTimer = null;
+  var currentTooltip=null;
+  var currentTimer = null;
   //document.onmousemove = updateTooltipPosition;
 
   // =============================================================

Modified: trunk/src/webapp/skins/classic.css
Url: http://scarab.tigris.org/source/browse/scarab/trunk/src/webapp/skins/classic.css?view=diff&pathrev=10832&r1=10831&r2=10832
==============================================================================
--- trunk/src/webapp/skins/classic.css	(original)
+++ trunk/src/webapp/skins/classic.css	2009-07-24 01:13:18-0700
@@ -139,6 +139,7 @@
     visibility:hidden;
     background-color:white;
     layer-background-color:white;
+    z-index:1;
 }
 
 /* ======================================================= */ 
@@ -171,7 +172,7 @@
 /* Button section ...                                       */
 /* ====================================================== */
 
-input.button, input.button3, input.buttonActive, input.buttonPassive, input.buttonNotify, .watch_on, .watch_off {
+a.button, input.button, input.button3, input.buttonActive, input.buttonPassive, input.buttonNotify, .watch_on, .watch_off {
     width:auto;
     padding-right: 5px;
     padding-left :10px;
@@ -179,18 +180,28 @@
     overflow:visible;
     border: 0;
     color: #333;
-    height: 22px;
+    height: 18px;
     /* used to catch the buttonEnding */
     position: relative;
     cursor: pointer;
 }
 
+a.button, a.button:active, a.button:visited  {
+    display:inline-block;
+    font-size:0.8em;
+    height:18px;
+    padding-top:5px;
+    vertical-align:middle;
+    text-decoration:none;
+    color:black;
+}
+
 .buttonEnding, .button3Ending, .buttonActiveEnding, .buttonPassiveEnding, .buttonNotifyEnding  {
     position: absolute;
     display: inline;
     margin-left: -12px;
-    width: 22px;
-    height: 22px;
+    width: 10px;
+    height: 18px;
     margin-right:10px;
 }
 
@@ -206,8 +217,8 @@
     height: 22px;
 }
 
-input.button {
-    background: url(images/button_passive_begin.jpg) no-repeat;
+input.button, a.button {
+    background: url(images/button_passive_begin.gif) no-repeat;
 }
 
 input.button3 {
@@ -219,17 +230,17 @@
 }
 
 input.buttonPassive {
-    background: url(images/button_passive_begin.jpg) no-repeat;
+    background: url(images/button_passive_begin.gif) no-repeat;
 }
 
 input.buttonNotify {
-    background: url(images/button_passive_begin.jpg) no-repeat;
+    background: url(images/button_passive_begin.gif) no-repeat;
 }
 
 .buttonEnding {
     margin-left: -10px;
     width: 10px;
-	background: url(images/button_passive_end.jpg) no-repeat;
+	background: url(images/button_passive_end.gif) no-repeat;
 }
 
 .button3Ending {

Modified: trunk/src/webapp/skins/custom.css
Url: http://scarab.tigris.org/source/browse/scarab/trunk/src/webapp/skins/custom.css?view=diff&pathrev=10832&r1=10831&r2=10832
==============================================================================
--- trunk/src/webapp/skins/custom.css	(original)
+++ trunk/src/webapp/skins/custom.css	2009-07-24 01:13:18-0700
@@ -144,4 +144,21 @@
 	color:red;
 }
 
-
+a.link_button, a.link_button:visited, a.link_button:active {
+	background-color:#e9f1f9;
+    border-left: 1px solid #abc4db;
+    border-top: 1px solid #abc4db;
+    border-right: 1px solid #000000;
+    border-bottom: 1px solid #000000;
+    border-style: outset; 
+    border-width:2px;
+    text-decoration: none;
+    padding-left:5px;
+    padding-right:5px;
+    padding-top:1px;
+    padding-bottom:1px;
+    color:black;
+    font-weight:bold;
+    font-size:0.8em;
+    
+}
\ No newline at end of file

Added: trunk/src/webapp/skins/images/button_passive_begin.gif
Url: http://scarab.tigris.org/source/browse/scarab/trunk/src/webapp/skins/images/button_passive_begin.gif?view=markup&pathrev=10832
==============================================================================
Binary file. No diff available.

Added: trunk/src/webapp/skins/images/button_passive_end.gif
Url: http://scarab.tigris.org/source/browse/scarab/trunk/src/webapp/skins/images/button_passive_end.gif?view=markup&pathrev=10832
==============================================================================
Binary file. No diff available.

Modified: trunk/src/webapp/skins/images/popup_open.gif
Url: http://scarab.tigris.org/source/browse/scarab/trunk/src/webapp/skins/images/popup_open.gif?view=diff&pathrev=10832&r1=10831&r2=10832
==============================================================================
Binary files. No diff available.

------------------------------------------------------
http://scarab.tigris.org/ds/viewMessage.do?dsForumId=3577&dsMessageId=2375115
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.