From d2decf65fc987f3f33540127a1f1b217ceca71ac Mon Sep 17 00:00:00 2001 From: Catouse Date: Sat, 26 Apr 2014 19:41:54 +0800 Subject: [PATCH] * fixed style. --- module/bug/view/activate.html.php | 10 +++++----- module/bug/view/view.html.php | 19 +++++++------------ module/convert/css/common.css | 1 + module/convert/css/selectsource.css | 2 ++ module/convert/view/checkconfig.html.php | 3 +-- module/convert/view/selectsource.html.php | 11 +++++------ module/convert/view/setconfig.html.php | 3 +-- module/extension/view/obtain.html.php | 19 ++++++++----------- module/file/view/export.html.php | 6 +++--- module/project/view/linkstory.html.php | 2 +- module/story/view/batchcreate.html.php | 1 - module/todo/view/create.html.php | 6 +++--- module/webapp/view/obtain.html.php | 19 ++++++++----------- 13 files changed, 45 insertions(+), 57 deletions(-) create mode 100644 module/convert/css/common.css create mode 100644 module/convert/css/selectsource.css diff --git a/module/bug/view/activate.html.php b/module/bug/view/activate.html.php index 455fc1a4f0..4ca7db9e0e 100644 --- a/module/bug/view/activate.html.php +++ b/module/bug/view/activate.html.php @@ -24,8 +24,8 @@
- - + + @@ -33,14 +33,14 @@ - + - + - +
bug->assignedTo;?>resolvedBy, "class='form-control'");?>bug->assignedTo;?>resolvedBy, "class='form-control'");?>
bug->openedBuild;?>
comment;?>
bug->files;?>fetch('file', 'buildform');?>fetch('file', 'buildform');?>
goback, $this->session->bugList);?>goback, $this->session->bugList);?>
diff --git a/module/bug/view/view.html.php b/module/bug/view/view.html.php index 6f48530d24..a95d2e291c 100644 --- a/module/bug/view/view.html.php +++ b/module/bug/view/view.html.php @@ -161,6 +161,10 @@ bug->keywords;?> keywords;?> + + bug->mailto;?> + mailto)); foreach($mailto as $account) echo ' ' . $users[$account]; ?> +
@@ -194,7 +198,6 @@
@@ -247,14 +250,14 @@
-
- +
+
- + -
bug->fromCase;?> case) echo html::a($this->createLink('testcase', 'view', "caseID=$bug->case"), $bug->caseTitle);?>
bug->toCase;?>bug->toCase;?> toCases as $caseID => $case) @@ -264,14 +267,6 @@ ?>
-
-
- - - - -
bug->mailto;?>mailto)); foreach($mailto as $account) echo ' ' . $users[$account]; ?>
bug->linkBug;?> diff --git a/module/convert/css/common.css b/module/convert/css/common.css new file mode 100644 index 0000000000..6480fab61c --- /dev/null +++ b/module/convert/css/common.css @@ -0,0 +1 @@ +.outer > .container > form {padding: 20px} diff --git a/module/convert/css/selectsource.css b/module/convert/css/selectsource.css new file mode 100644 index 0000000000..e9f3048911 --- /dev/null +++ b/module/convert/css/selectsource.css @@ -0,0 +1,2 @@ +.outer > .container > form {padding: 20px} +.outer > .container > form .table-form {border: 1px solid #ddd} diff --git a/module/convert/view/checkconfig.html.php b/module/convert/view/checkconfig.html.php index 67e1865512..6313aaf1ac 100644 --- a/module/convert/view/checkconfig.html.php +++ b/module/convert/view/checkconfig.html.php @@ -14,8 +14,7 @@
- convert->common;?> - convert->checkConfig;?> + convert->checkConfig;?>
diff --git a/module/convert/view/selectsource.html.php b/module/convert/view/selectsource.html.php index 7f9bb7250b..61b0bfac49 100644 --- a/module/convert/view/selectsource.html.php +++ b/module/convert/view/selectsource.html.php @@ -14,12 +14,11 @@
- convert->common;?> - convert->selectSource . ' ' . html::icon('bullseye');?> + convert->selectSource;?>
'> - +
@@ -32,10 +31,10 @@ - - -
convert->source;?>
+
+ +
diff --git a/module/convert/view/setconfig.html.php b/module/convert/view/setconfig.html.php index 1e6e18d4a1..1ad6728808 100644 --- a/module/convert/view/setconfig.html.php +++ b/module/convert/view/setconfig.html.php @@ -14,8 +14,7 @@
- convert->common;?> - convert->setting . $lang->colon . strtoupper($source) . ' ' . html::icon('cog');?> + convert->setting;?>
'> diff --git a/module/extension/view/obtain.html.php b/module/extension/view/obtain.html.php index c7219a15c9..27162d5587 100644 --- a/module/extension/view/obtain.html.php +++ b/module/extension/view/obtain.html.php @@ -17,21 +17,18 @@
'>
- post->key, "class='form-control'");?> + post->key, "class='form-control' placeholder='{$lang->extension->bySearch}'");?> - ' . $lang->extension->bySearch, '', ''); ?> + ', '', ''); ?>
-
-
extension->obtain;?>
-
- extension->byUpdatedTime, '', "class='list-group-item' id='byupdatedtime'"); - echo html::a(inlink('obtain', 'type=byAddedTime'), $lang->extension->byAddedTime, '', "class='list-group-item' id='byaddedtime'"); - echo html::a(inlink('obtain', 'type=byDownloads'), $lang->extension->byDownloads, '', "class='list-group-item' id='bydownloads'"); - ?> -
+
+ extension->byUpdatedTime, '', "class='list-group-item' id='byupdatedtime'"); + echo html::a(inlink('obtain', 'type=byAddedTime'), $lang->extension->byAddedTime, '', "class='list-group-item' id='byaddedtime'"); + echo html::a(inlink('obtain', 'type=byDownloads'), $lang->extension->byDownloads, '', "class='list-group-item' id='bydownloads'"); + ?>
extension->byCategory;?>
diff --git a/module/file/view/export.html.php b/module/file/view/export.html.php index a82fb1a853..68c5ce9a02 100644 --- a/module/file/view/export.html.php +++ b/module/file/view/export.html.php @@ -48,7 +48,7 @@ function switchEncode(fileType) export;?>
-
+ - - - + diff --git a/module/webapp/view/obtain.html.php b/module/webapp/view/obtain.html.php index 3804eef79c..0288a67126 100644 --- a/module/webapp/view/obtain.html.php +++ b/module/webapp/view/obtain.html.php @@ -17,21 +17,18 @@
'>
- post->key, "class='form-control'");?> + post->key, "class='form-control' placeholder='{$lang->webapp->bySearch}'");?> - ' . $lang->webapp->bySearch, '', ''); ?> + ', '', ''); ?>
-
-
webapp->obtain;?>
-
- webapp->byUpdatedTime, '', "class='list-group-item' id='byupdatedtime'"); - echo html::a(inlink('obtain', 'type=byAddedTime'), $lang->webapp->byAddedTime, '', "class='list-group-item' id='byaddedtime'"); - echo html::a(inlink('obtain', 'type=byDownloads'), $lang->webapp->byDownloads, '', "class='list-group-item' id='bydownloads'"); - ?> -
+
+ webapp->byUpdatedTime, '', "class='list-group-item' id='byupdatedtime'"); + echo html::a(inlink('obtain', 'type=byAddedTime'), $lang->webapp->byAddedTime, '', "class='list-group-item' id='byaddedtime'"); + echo html::a(inlink('obtain', 'type=byDownloads'), $lang->webapp->byDownloads, '', "class='list-group-item' id='bydownloads'"); + ?>
webapp->byCategory;?>
@@ -57,10 +57,10 @@ function switchEncode(fileType) + exportFileTypeList, '', 'onchange=switchEncode(this.value) class="form-control"');?> + charsets[$this->cookie->lang], 'utf-8', key($lang->exportFileTypeList) == 'csv' ? "class='form-control'" : "class='hidden'");?> diff --git a/module/project/view/linkstory.html.php b/module/project/view/linkstory.html.php index 0ceae8a196..98eefffcdc 100644 --- a/module/project/view/linkstory.html.php +++ b/module/project/view/linkstory.html.php @@ -13,7 +13,7 @@
-
+
icons['story']);?> icons['link']);?> project->linkStory;?>
diff --git a/module/story/view/batchcreate.html.php b/module/story/view/batchcreate.html.php index 20f1323ec2..adb386ff26 100644 --- a/module/story/view/batchcreate.html.php +++ b/module/story/view/batchcreate.html.php @@ -15,7 +15,6 @@
icons['story']);?> icons['batchCreate']);?> story->batchCreate;?> - icons['product']) . ' ' . $lang->story->product . $lang->colon . ' ' . $productName;?>
diff --git a/module/todo/view/create.html.php b/module/todo/view/create.html.php index c604b53a25..13bf5a032e 100644 --- a/module/todo/view/create.html.php +++ b/module/todo/view/create.html.php @@ -13,7 +13,7 @@ -
+
icons['todo']);?> @@ -57,10 +57,10 @@
todo->beginAndEnd;?>
- +
todo->lblDisableDate;?> todo->lblDisableDate;?>
todo->private;?>