|
-
+
id);?>
diff --git a/module/company/css/dynamic.css b/module/company/css/dynamic.css
index c11b53e924..eeb6571277 100644
--- a/module/company/css/dynamic.css
+++ b/module/company/css/dynamic.css
@@ -17,3 +17,6 @@
.dynamic.collapsed .timeline {max-height: 58px;}
.dynamic.collapsed .timeline > li + li {display: none;}
.dynamic.collapsed .dynamic-btn > .icon:before {content: '\f0d8';}
+
+.c-user, .c-project, .c-product, .c-execution {width: 150px !important;}
+.c-date {width: 200px;}
diff --git a/module/company/view/dynamic.html.php b/module/company/view/dynamic.html.php
index 591a73a589..721d080d51 100644
--- a/module/company/view/dynamic.html.php
+++ b/module/company/view/dynamic.html.php
@@ -25,12 +25,12 @@
echo html::a(inlink('dynamic', "browseType=$period"), $label, '', "class='btn btn-link $active' id='{$period}'")
?>
- id : '', 'onchange=changeUser(this.value) class="form-control chosen"');?>
-
+ id : '', 'onchange=changeUser(this.value) class="form-control chosen"');?>
+
systemMode == 'new'):?>
-
+
-
+
action->dynamic->search;?>
@@ -42,7 +42,7 @@
$actions):?>
-
+
action->dynamic->today;?>
diff --git a/module/compile/css/browse.css b/module/compile/css/browse.css
new file mode 100644
index 0000000000..8e03463502
--- /dev/null
+++ b/module/compile/css/browse.css
@@ -0,0 +1,3 @@
+.c-id {width: 60px;}
+.c-repo, .c-build-type {width: 150px;}
+.c-date, .c-actions {width: 130px !important;}
diff --git a/module/compile/view/browse.html.php b/module/compile/view/browse.html.php
index 91588ca7c3..5dd9c2a77d 100644
--- a/module/compile/view/browse.html.php
+++ b/module/compile/view/browse.html.php
@@ -30,14 +30,14 @@
recTotal}&recPerPage={$pager->recPerPage}&pageID={$pager->pageID}";?>
- | compile->id);?> |
+ compile->id);?> |
compile->name);?> |
- compile->buildType;?> |
- job->repo;?> |
+ compile->buildType;?> |
+ job->repo;?> |
job->triggerType;?> |
- compile->status);?> |
- compile->time);?> |
- actions;?> |
+ compile->status);?> |
+ compile->time);?> |
+ actions;?> |
diff --git a/module/cron/css/index.css b/module/cron/css/index.css
new file mode 100644
index 0000000000..6a6a07af08
--- /dev/null
+++ b/module/cron/css/index.css
@@ -0,0 +1,5 @@
+.c-minute {width: 60px;}
+.c-hour, .c-dom {width: 50px;}
+.c-mon, .c-dow, .c-status {width: 60px;}
+.c-remark {width: 200px;}
+.c-actions {width: 100px;}
diff --git a/module/cron/view/index.html.php b/module/cron/view/index.html.php
index aa9993434d..bedf432683 100644
--- a/module/cron/view/index.html.php
+++ b/module/cron/view/index.html.php
@@ -27,16 +27,16 @@
- | cron->m?> |
- cron->h?> |
- cron->dom?> |
- cron->mon?> |
- cron->dow?> |
+ cron->m?> |
+ cron->h?> |
+ cron->dom?> |
+ cron->mon?> |
+ cron->dow?> |
cron->command?> |
- cron->remark?> |
- cron->lastTime?> |
- cron->status?> |
- actions;?> |
+
+ cron->lastTime?> |
+ cron->status?> |
+ actions;?> |
diff --git a/module/repo/control.php b/module/repo/control.php
index 7e906e4191..0ee1c91b31 100644
--- a/module/repo/control.php
+++ b/module/repo/control.php
@@ -205,13 +205,12 @@ class repo extends control
{
if($confirm == 'no') die(js::confirm($this->lang->repo->notice->delete, $this->repo->createLink('delete', "repoID=$repoID&objectID=$objectID&confirm=yes")));
- $error = '';
$relationID = $this->dao->select('id')->from(TABLE_RELATION)
->where('extra')->eq($repoID)
->andWhere('AType')->eq('design')
->fetch();
- if($relationID) $error .= $this->lang->repo->error->deleted;
+ $error = $relationID ? $this->lang->repo->error->deleted : '';
$jobs = $this->dao->select('*')->from(TABLE_JOB)->where('repo')->eq($repoID)->andWhere('deleted')->eq('0')->fetchAll();
if($jobs) $error .= ($error ? '\n' : '') . $this->lang->repo->error->linkedJob;
diff --git a/module/repo/model.php b/module/repo/model.php
index 2913042990..bb1dbaf823 100644
--- a/module/repo/model.php
+++ b/module/repo/model.php
@@ -225,7 +225,7 @@ class repoModel extends model
if($data->encrypt == 'base64') $data->password = base64_encode($data->password);
$this->dao->insert(TABLE_REPO)->data($data, $skip = 'gitlabHost,gitlabToken,gitlabProject')
->batchCheck($this->config->repo->create->requiredFields, 'notempty')
- ->checkIF($data->SCM == 'GitLab', 'gitlabProject', 'notempty')
+ ->checkIF($data->SCM == 'Gitlab', 'gitlabProject', 'notempty')
->checkIF($data->SCM == 'Subversion', $this->config->repo->svn->requiredFields, 'notempty')
->autoCheck()
->exec();
@@ -283,7 +283,7 @@ class repoModel extends model
$this->dao->update(TABLE_REPO)->data($data, $skip = 'gitlabHost,gitlabToken,gitlabProject')
->batchCheck($this->config->repo->edit->requiredFields, 'notempty')
->checkIF($data->SCM == 'Subversion', $this->config->repo->svn->requiredFields, 'notempty')
- ->checkIF($data->SCM == 'GitLab', 'extra', 'notempty')
+ ->checkIF($data->SCM == 'Gitlab', 'extra', 'notempty')
->autoCheck()
->where('id')->eq($id)->exec();
diff --git a/module/task/js/editestimate.js b/module/task/js/editestimate.js
index 530f59bc9e..291f3072a6 100644
--- a/module/task/js/editestimate.js
+++ b/module/task/js/editestimate.js
@@ -2,3 +2,7 @@ function confirmLeft()
{
if($('#left').val() === '0') return confirm(confirmRecord);
}
+$(function()
+{
+ $('.form-date').datetimepicker('setEndDate', today);
+})
diff --git a/module/task/view/editestimate.html.php b/module/task/view/editestimate.html.php
index 360b0fc95b..d1e04c210a 100644
--- a/module/task/view/editestimate.html.php
+++ b/module/task/view/editestimate.html.php
@@ -13,6 +13,7 @@
task->confirmRecord);?>
+
|