* fixed style of contact menu in form.

This commit is contained in:
Catouse
2014-05-02 17:30:25 +08:00
parent 0f0c0cec80
commit f48cf3ba98
5 changed files with 15 additions and 6 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ js::set('refresh', $lang->refresh);
echo html::select('mailto[]', $users, str_replace(' ', '', $mailto), "class='form-control chosen' multiple");
?>
</td>
<td>
<td class='text-top'>
<?php
if($contactLists) echo html::select('', $contactLists, '', "class='form-control' onchange=\"setMailto('mailto', this.value)\"");
?>
+8 -3
View File
@@ -85,17 +85,22 @@
</tr>
<tr>
<th><?php echo $lang->task->mailto;?></th>
<td colspan='3'>
<td colspan='2'>
<?php
echo html::select('mailto[]', $users, str_replace(' ', '', $task->mailto), "multiple class='form-control'");
if($contactLists) echo html::select('', $contactLists, '', "class='form-control' onchange=\"setMailto('mailto', this.value)\"");
?>
</td>
<td class='text-top'>
<?php
if($contactLists) echo html::select('', $contactLists, '', "class='form-control' onchange=\"setMailto('mailto', this.value)\"");
?>
</td>
</tr>
<tr>
<th><?php echo $lang->files;?></th>
<td colspan='3'><?php echo $this->fetch('file', 'buildform');?></td>
</tr>
<td colspan='2'><?php echo $this->fetch('file', 'buildform');?></td>
</tr>
<tr>
<th><?php echo $lang->task->afterSubmit;?></th>
<td colspan='3'><?php echo html::radio('after', $lang->task->afterChoices, 'continueAdding');?></td>
+4
View File
@@ -1 +1,5 @@
.group-item {display:block; width:100px; float:left}
.panel.with-list {border: none}
.panel.with-list .panel-heading {border: 1px solid #ddd; border-bottom: none}
.panel.with-list .list-group {margin: 0}
.list-group-item.active {color: #1A4F85}
+1 -1
View File
@@ -22,7 +22,7 @@
</div>
<div class='row'>
<div class='col-md-3 col-lg-2'>
<div class='panel panel-sm'>
<div class='panel panel-sm with-list'>
<div class='panel-heading'>
<i class='icon-list-ul'></i> <strong><?php echo $lang->user->contacts->contactsList;?></strong>
</div>
+1 -1
View File
@@ -40,7 +40,7 @@
tr.text-center > td, tr.text-center > th {text-align: center;}
tr.text-center > td.text-left, tr.text-center > th.text-left {text-align: left;}
tr.text-center > td.text-right, tr.text-center > th.text-right {text-align: right;}
tr.text-top td, tr.text-top th {vertical-align: top!important;}
.text-top, tr.text-top td, tr.text-top th {vertical-align: top!important;}
/* columns */
.row-table {display: table; width: 100%}