Code

Udpated msg dialog.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 4 Dec 2007 14:04:39 +0000 (14:04 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 4 Dec 2007 14:04:39 +0000 (14:04 +0000)
- We have to drag the dialogs by clicking the title now. This makes it easier to copy&paste text from the dialogs

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8001 594d385d-05f5-0310-b6e9-bd551577e9d8

html/include/focus.js
ihtml/themes/default/msg_dialog.tpl

index 83d8ac49d42b648ed9144fc0730e38d3ee053e20..129e6162571f0e8d2f6d505599dd48f3cbabfd85 100644 (file)
@@ -491,11 +491,12 @@ function next_msg_dialog()
                                                tmp = tmp.replace(/,$/g,"");
                                                if(i_id != ""){
                                                                ele = document.getElementById('e_layer' + i_id);
+                                                               ele3 = document.getElementById('e_layerTitle' + i_id);
                                                                ele.style.display= 'block'      ;
                                                                document.getElementById('pending_msg_dialogs').value= tmp;
                                                                document.getElementById('current_msg_dialogs').value= i_id;
                                                                ele2 = document.getElementById('e_layer2') ;
-                                                               ele.onmousedown = start_move_div_by_cursor;
+                                                               ele3.onmousedown = start_move_div_by_cursor;
                                                                ele2.onmouseup  = stop_move_div_by_cursor;
                                                                ele2.onmousemove = move_div_by_cursor;
                                                }else{
index 9d7fb391bdb9484853086fa412667ae2f8eccccc..fafbed4bb2d5572a79e7756ce100a9fae6615417 100644 (file)
                                        left:200px;
                                        top:200px;
                                        background-color:white;
-                                       padding:5px;
                                        border:5px solid red;
                                        z-index:150;
                                        position:absolute;'>
+                       <div id="e_layerTitle{$i_ID}" style="vertical-align: middle;
+                                                                                                width:100%; 
+                                                                                                font-size: 1.2em;
+                                                                                                padding-top:3px;
+                                                                                                padding-bottom:2px;
+                                                                                                font-weight:bold;
+                                                                                                background-color: #999999; 
+                                                                                                ">
+                               &nbsp;&nbsp;{$s_Title}
+                       </div>
+                       <div style="height:2px; width:100% ; background-color: #BBBBBB;"></div>
                        <table style='width:100%' summary='' border=0>
                                <tr>
                                        <td style='vertical-align:top;padding:10px'>
@@ -70,7 +80,6 @@
        {/if}
                                        </td>
                                        <td style='width:100%'>
-                                               <h1>{$s_Title}</h1>
                                                <b>{$s_Message}</b>
                                                <br>
                                                <br>
                                        left:200px;
                                        top:200px;
                                        background-color:white;
-                                       padding:5px;
                                        border:5px solid red;
                                        z-index:150;
                                        display:none;
                                        position:absolute;'>
+
+               <div id="e_layerTitle{$i_ID}" style="vertical-align: middle;
+                                                                                        width:100%; 
+                                                                                        font-size: 1.2em;
+                                                                                        padding-top:3px;
+                                                                                        padding-bottom:2px;
+                                                                                        font-weight:bold;
+                                                                                    background-color: #999999; 
+                                                                    ">
+                       &nbsp;&nbsp;{$s_Title}
+               </div>
+               <div style="height:2px; width:100% ; background-color: #BBBBBB;"></div>
+
                        <table style='width:100%' summary='' border=0>
                                <tr>
                                        <td style='vertical-align:top;padding:10px'>
        {/if}
                                        </td>
                                        <td style='width:100%'>
-                                               <h1>{$s_Title}</h1>
                                                <b>{$s_Message}</b>
                                                <br>
                                                <br>