minor gui fixes

This commit is contained in:
SJ 2013-08-15 14:34:25 +02:00
parent 281d0f7ec8
commit e8e88bcf7a
6 changed files with 16 additions and 28 deletions

View File

@ -718,23 +718,6 @@ var Piler =
},
/*
* toggle the class of the main search field
*/
toggle_search_class:function()
{
Piler.log("[toggle_search_class]");
if(Piler.expsrc == 0) {
$('#_search').val('');
$('#_search').css('color', 'black');
Piler.expsrc++;
}
},
/*
* assemble a space separated list of the selected email addresses of the given message
*/
@ -806,6 +789,8 @@ var Piler =
document.body.appendChild(form);
form.submit();
document.body.removeChild(form);
}
},

View File

@ -16,7 +16,7 @@
#piler1 { width: 100%; height: 100%; background: #ffffff; border: 0px solid black; position: absolute; margin-left: auto; margin-right: auto; padding-top: 0px; }
#messagebox1 { position: absolute; top: 0px; left: 50%; border: 3px solid red; display: none; background: orange; color: #000000; font-weight: bold; padding: 15px; z-index: 1; }
#messagebox1 { position: absolute; top: 200px; left: 30%; right: 30%; text-align: center; border: 0px solid red; display: none; background: #82caff; color: #ffffff; font-weight: bold; padding: 15px; z-index: 1; }
#searchpopup1 { position: absolute; top: 30px; left: 0px; border: 1px solid #999999; display: none; background: #f8f8f8; color: #000000; font-weight: bold; padding: 15px; z-index: 1; }
#popupx { position: absolute; right: 10px; top: 5px; margin: 10px; }
@ -66,20 +66,20 @@
#auditresultscontainer { float: left; width: 1180px; padding: 0; margin: 0; border-top: 0px solid black; border-bottom: 0px solid black; height: 580px; overflow: auto; }
#auditresultscontainer.empty { border-bottom: 0px solid black; height: 580px; }
#download_icon { margin: 0px 0 -2px 0; border: 0px solid black; }
.download_icon { margin: 0px 0 -15px 0; border: 0px solid black; }
#sspinner { position: relative; width: 60%; border: 0px solid #999999; color: #000000; font-weight: bold; vertical-align: middle; text-align: left; padding: 15px; z-index: 1; display: none; margin: auto; margin-top: 150px; }
.row { display: table-row; }
.row.savedsearch { display: table-row; text-align: right; }
.resultrow { display: table-row; height: 18px; font-style: italic; }
.resultrow { display: table-row; height: 18px; font-style: italic; font-size:12px; }
.resultrow a { color: #3d3d3d; }
.resultrow.odd { background: #f5f5f5; }
.resultrow.new { font-style: normal; }
.resultrow.new a { color: #0072e6; }
.resultrow.center a { color: #0072e6; }
.resultrow.new a.spam { color: #aaa; }
.resultrow.selected { border: 2px solid black; }
.resultrow.selected { border: 2px solid black; background-color:#ffffdd; }
.resultrow.spam { color: #aaa; }
.resultrow.sent { background: lightblue; }
@ -118,7 +118,7 @@
#pagingcenter { display: table-cell; float: left; text-align: center; width: 145px; border: 0px solid red; }
#pagingright { display: table-cell; float: left; text-align: right; width: 60px; border: 0px solid red; }
.messagelink { border-bottom: 1px solid gray; color: #0072e6; }
.messagelink { border-bottom: 1px solid gray; color: #0072e6; font-size:12px; }
.messagelink.spam { border-bottom: 1px solid gray; color: #aaa; }
#results a:hover { color: black; }
@ -127,6 +127,7 @@
input[type=checkbox].restorebox { margin: 0; vertical-align: middle; }
input[type=checkbox].popup { margin: 0; vertical-align: middle; }
input[type=text] { font-size:12px; font-style: normal; }
#messagepopup { margin: 10px 20px 10px 20px; padding: 0; background-color: white; text-align: left; }
#restorebox { position: absolute; top: 20px; left: 15%; border: 3px solid red; display: none; background: orange; color: #000000; font-weight: bold; padding: 15px; z-index: 1; }
@ -143,6 +144,7 @@
.bold { font-weight: bold; }
.left { text-align: left; }
.messagecontents {background-color:#fff; padding:8px; font-size:12px; }
/* rc splitter stuff */

View File

@ -47,7 +47,7 @@
<input type="hidden" name="sort" id="sort" value="date" />
<input type="hidden" name="order" id="order" value="0" />
<input type="text" id="_search" name="_search" class="input-medium span6" value="" placeholder="<?php print $text_enter_search_terms; ?>" onclick="Piler.toggle_search_class();" />
<input type="text" id="_search" name="_search" class="input-medium span6" value="" placeholder="<?php print $text_enter_search_terms; ?>" />
<button id="button_search" class="btn btn-danger" onclick="Piler.auditexpert(this); return false;"><?php print $text_search; ?></button>
<input type="button" class="btn" onclick="Piler.cancel();" value="<?php print $text_cancel; ?>" />

View File

@ -48,7 +48,7 @@
<input type="hidden" name="ref" id="ref" value="" />
<input type="hidden" name="prefix" id="prefix" value="" />
<input type="text" id="_search" name="_search" class="input-medium span6" value="" placeholder="<?php print $text_enter_search_terms; ?>" onclick="Piler.toggle_search_class();" />
<input type="text" id="_search" name="_search" class="input-medium span6" value="" placeholder="<?php print $text_enter_search_terms; ?>" />
<a id="advsearch_caret" href="#" onclick="$('#searchpopup1').show();"><b class="caret"></b></a>

View File

@ -41,4 +41,4 @@
<?php } ?>
<hr />
<?php print $message['message']; ?><br />
<div class="messagecontents"><?php print $message['message']; ?></div>

View File

@ -4,15 +4,16 @@
<div id="results">
<?php if($n > 0) { ?>
<table class="table table-condensed" style="border: 0px solid blue; width: 98%;">
<table class="table table-condensed" style="width: 98%;">
<thead>
<tr>
<td><input type="checkbox" id="bulkcheck" name="bulkcheck" value="1" <?php if(SEARCH_RESULT_CHECKBOX_CHECKED == 1) { ?>checked="checked"<?php } ?> onclick="Piler.toggle_bulk_check('');" /></td>
<td>
<?php if(Registry::get('auditor_user') == 1 || BULK_DOWNLOAD_FOR_USERS == 1) { ?>
<a href="#"><img class="download_icon" src="<?php print ICON_DOWNLOAD; ?>" width="18" height="18" alt="aaa" border="0" onclick="Piler.download_messages();" /></a></td>
<?php } ?>
<a href="#" onclick="Piler.download_messages(); return false;" title="Download"><i class="icon-download-alt download_icon"></i></a>
<?php } else { ?>&nbsp;<?php } ?>
</td>
<td>
<strong><?php print $text_date; ?></strong>
<a xid="date" xorder="1" onclick="Piler.changeOrder(this);"><i class="icon-chevron-up"></i></a>