From f48cf3ba981ff4925be964be5d1870e6f1d9f9ea Mon Sep 17 00:00:00 2001 From: Catouse Date: Fri, 2 May 2014 17:30:25 +0800 Subject: [PATCH] * fixed style of contact menu in form. --- module/bug/view/create.html.php | 2 +- module/task/view/create.html.php | 11 ++++++++--- module/user/css/managecontacts.css | 4 ++++ module/user/view/managecontacts.html.php | 2 +- www/theme/default/style.css | 2 +- 5 files changed, 15 insertions(+), 6 deletions(-) diff --git a/module/bug/view/create.html.php b/module/bug/view/create.html.php index 7d0799d86e..d1615d9662 100644 --- a/module/bug/view/create.html.php +++ b/module/bug/view/create.html.php @@ -114,7 +114,7 @@ js::set('refresh', $lang->refresh); echo html::select('mailto[]', $users, str_replace(' ', '', $mailto), "class='form-control chosen' multiple"); ?> - + diff --git a/module/task/view/create.html.php b/module/task/view/create.html.php index fa8b4950b7..8fb7ef3d2d 100644 --- a/module/task/view/create.html.php +++ b/module/task/view/create.html.php @@ -85,17 +85,22 @@ task->mailto;?> - + mailto), "multiple class='form-control'"); if($contactLists) echo html::select('', $contactLists, '', "class='form-control' onchange=\"setMailto('mailto', this.value)\""); ?> + + + files;?> - fetch('file', 'buildform');?> - + fetch('file', 'buildform');?> + task->afterSubmit;?> task->afterChoices, 'continueAdding');?> diff --git a/module/user/css/managecontacts.css b/module/user/css/managecontacts.css index 2acd641883..e284c097bd 100644 --- a/module/user/css/managecontacts.css +++ b/module/user/css/managecontacts.css @@ -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} diff --git a/module/user/view/managecontacts.html.php b/module/user/view/managecontacts.html.php index 0ba1775ab6..936490ba51 100644 --- a/module/user/view/managecontacts.html.php +++ b/module/user/view/managecontacts.html.php @@ -22,7 +22,7 @@
-
+
user->contacts->contactsList;?>
diff --git a/www/theme/default/style.css b/www/theme/default/style.css index 050744aea4..4445eb977d 100644 --- a/www/theme/default/style.css +++ b/www/theme/default/style.css @@ -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%}