diff --git a/module/bug/control.php b/module/bug/control.php index 02a196bbc9..b25f1db0d5 100644 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -1007,7 +1007,7 @@ class bug extends control $projectMembers = $this->loadModel('project')->getTeamMemberPairs($projectID); $assignedToList = array_merge($projectMembers, $allUsers); - die(html::select('assignedTo', $assignedToList, $selectedUser, 'class="select-3"')); + die(html::select('assignedTo', $assignedToList, $selectedUser, 'class="form-control"')); } /** diff --git a/module/bug/js/common.js b/module/bug/js/common.js index 7f475d3108..c0a7577752 100644 --- a/module/bug/js/common.js +++ b/module/bug/js/common.js @@ -218,7 +218,7 @@ function setStories(moduleID, productID) link = createLink('story', 'ajaxGetProductStories', 'productID=' + productID + '&moduleID=' + moduleID); $.get(link, function(stories) { - if(!stories) stories = ''; + if(!stories) stories = ''; $('#story').replaceWith(stories); $('#story_chzn').remove(); $("#story").chosen({no_results_text: ''}); diff --git a/module/bug/view/assignto.html.php b/module/bug/view/assignto.html.php index 56758bfe8c..c887450e1d 100644 --- a/module/bug/view/assignto.html.php +++ b/module/bug/view/assignto.html.php @@ -17,25 +17,34 @@ include '../../common/view/chosen.html.php'; js::set('holders', $lang->bug->placeholder); js::set('page', 'assignedto'); ?> +
+
+ icons['bug']) . ' #' . $bug->id;;?> + createLink('bug', 'view', 'bug=' . $bug->id), $bug->title, '_blank');?> + bug->assignedTo;?> icons['assignTo']);?> +
+
+
- - - + + - + + - + + - +
title;?>
bug->assignedTo;?>assignedTo, "class='form-control chosen'");?>bug->assignedTo;?>assignedTo, "class='form-control chosen'");?>
bug->mailto;?> - mailto), 'class="w-p98" multiple');?>bug->mailto;?>mailto), 'class="form-control chosen" multiple');?>
comment;?> - comment;?>
goback, $this->server->http_referer);?>goback, $this->server->http_referer);?>
-
+
+ +
diff --git a/module/build/css/common.css b/module/build/css/common.css index 02e13fa590..d79a092dee 100644 --- a/module/build/css/common.css +++ b/module/build/css/common.css @@ -1,4 +1,2 @@ -.mainTable { width:100%;} -.headTable { width:100%; height:30px; margin:0px; border:0px} -.contentDiv { height:195px; overflow-y:auto} -.mainTable select{padding:0px;margin:0px;height:20px;} +.contentDiv { height:190px; overflow-y:auto; margin-bottom: 10px!important} +.contentDiv .panel-heading {line-height: 14px;} diff --git a/module/build/view/create.html.php b/module/build/view/create.html.php index 6329a34b62..5a569df3c4 100644 --- a/module/build/view/create.html.php +++ b/module/build/view/create.html.php @@ -13,109 +13,115 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
build->create;?>
build->product;?>
build->name;?> - - (' . $lang->build->last . ': ' . $lastBuild->name . ')';?> -
build->builder;?>user->account, 'class="select-3"');?>
build->date;?>
build->scmPath;?>
build->packageType;?>build->packageTypeList, 'path');?>
build->filePath;?>
build->files;?>fetch('file', 'buildForm', array('fileCount' => 1));?>
build->linkStoriesAndBugs;?> - - - - - - - -
- - - - - -
build->linkStories;?>
-
- - $story):?> - createLink('story', 'view', "storyID=$story->id", '', true); ?> - - - - - - - -
- stage == 'developed' or $story->status == 'closed') echo 'checked';?>> id);?> - title, '', "class='preview'");?>story->statusList[$story->status];?>story->stageList[$story->stage];?>
-
-
-
- - - - - -
build->linkBugs;?>
-
- - - createLink('bug', 'view', "bugID=$bug->id", '', true);?> - - - - - - - -
- status == 'resolved' or $bug->status == 'closed') echo "checked";?>> id);?> - title, '', "class='preview'");?>bug->statusList[$bug->status];?>status == 'resolved' ? substr($users[$bug->resolvedBy], 2) : html::select('resolvedBy[]', $users, $this->app->user->account, "class='w-70px'");?>
-
-
-
- -
build->desc;?>
-
+
+
+
+ icons['build']);?> + icons['create']);?> build->create;?> +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
build->product;?>
build->name;?> + + + +
  build->last . ': ' . $lastBuild->name . '';?>
+ +
build->builder;?>user->account, 'class="form-control"');?>
build->date;?>
build->scmPath;?>
build->packageType;?>build->packageTypeList, 'path');?>
build->filePath;?>
build->files;?>fetch('file', 'buildForm', array('fileCount' => 1));?>
build->linkStoriesAndBugs;?> +
+
+
+
icons['story']) . ' ' . $lang->build->linkStories;?>
+ + + + + + + + + + $story):?> + createLink('story', 'view', "storyID=$story->id", '', true);?> + + + + + + + +
idAB;?>story->title;?>statusAB;?>story->stageAB;?>
stage == 'developed' or $story->status == 'closed') echo 'checked';?>> id);?>title, '', "class='preview iframe'");?>story->statusList[$story->status];?>story->stageList[$story->stage];?>
+
+
+
+
+
icons['bug']) . ' ' . $lang->build->linkBugs;?>
+ + + + + + + + + + + createLink('bug', 'view', "bugID=$bug->id", '', true);?> + + + + + + + +
idAB;?>bug->title;?>bug->status;?>bug->resolvedBy;?>
status == 'resolved' or $bug->status == 'closed') echo "checked";?>> id);?>title, '', "class='preview iframe'");?>bug->statusList[$bug->status];?>status == 'resolved' or $bug->status == 'closed') ? substr($users[$bug->resolvedBy], 2) : html::select('resolvedBy[]', $users, $this->app->user->account, "class='w-70px'");?>
+
+
+
+
build->desc;?>
+
+
diff --git a/module/build/view/edit.html.php b/module/build/view/edit.html.php index 4c61fafc9e..e83968a5fc 100644 --- a/module/build/view/edit.html.php +++ b/module/build/view/edit.html.php @@ -13,125 +13,109 @@ -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
build->edit;?>
build->product;?>product, "class='form-control'");?>
build->name;?>name, "class='form-control'");?>
build->builder;?>builder, 'class="select-3"');?>
build->date;?>date, "class='form-control form-date'");?>
build->scmPath;?>scmPath, "class='form-control'");?>
build->packageType;?>build->packageTypeList, $build->packageType);?>
build->filePath;?>filePath, "class='form-control'");?>
build->files;?>fetch('file', 'buildForm', array('fileCount' => 1));?>
build->linkStoriesAndBugs;?> - - - - - - - -
- - - - - - - -
- - - - - - - - -
build->linkStories;?>
idAB;?>story->title;?>statusAB;?>story->stageAB;?>
-
-
- - $story):?> - createLink('story', 'view', "storyID=$story->id", '', true);?> - - - - - - - -
stories . ',', ',' . $story->id . ',') !== false) echo 'checked';?>> id);?>title, '', "class='preview'");?>story->statusList[$story->status];?>story->stageList[$story->stage];?>
-
-
-
- - - - - - - -
- - - - - - - -
build->linkBugs;?>
idAB;?>bug->title;?>bug->status;?>
-
-
- - - createLink('bug', 'view', "bugID=$bug->id", '', true);?> - - - - - - - -
bugs . ',', ',' . $bug->id . ',') !== false) echo 'checked';?>> id);?>title, '', "class='preview'");?>bug->statusList[$bug->status];?>status == 'resolved' or $bug->status == 'closed') ? substr($users[$bug->resolvedBy], 2) : html::select('resolvedBy[]', $users, $this->app->user->account, "class='w-70px'");?>
-
-
-
- -
build->desc;?>desc, "rows='10' class='form-control'");?>
project);?>
-
+
+
+
+ icons['build']) . ' #' . $build->id;?> + createLink('build', 'view', 'build=' . $build->id), $build->name, '_blank');?> + build->edit;?> icons['edit']);?> +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
build->product;?>product, "class='form-control'");?>
build->name;?>name, "class='form-control'");?>
build->builder;?>builder, 'class="form-control"');?>
build->date;?>date, "class='form-control form-date'");?>
build->scmPath;?>scmPath, "class='form-control'");?>
build->packageType;?>build->packageTypeList, $build->packageType);?>
build->filePath;?>filePath, "class='form-control'");?>
build->files;?>fetch('file', 'buildForm', array('fileCount' => 1));?>
build->linkStoriesAndBugs;?> +
+
+
+
icons['story']) . ' ' . $lang->build->linkStories;?>
+ + + + + + + + + + $story):?> + createLink('story', 'view', "storyID=$story->id", '', true);?> + + + + + + + +
idAB;?>story->title;?>statusAB;?>story->stageAB;?>
stories . ',', ',' . $story->id . ',') !== false) echo 'checked';?>> id);?>title, '', "class='preview iframe'");?>story->statusList[$story->status];?>story->stageList[$story->stage];?>
+
+
+
+
+
icons['bug']) . ' ' . $lang->build->linkBugs;?>
+ + + + + + + + + + + createLink('bug', 'view', "bugID=$bug->id", '', true);?> + + + + + + + +
idAB;?>bug->title;?>bug->status;?>bug->resolvedBy;?>
bugs . ',', ',' . $bug->id . ',') !== false) echo 'checked';?>> id);?>title, '', "class='preview iframe'");?>bug->statusList[$bug->status];?>status == 'resolved' or $bug->status == 'closed') ? substr($users[$bug->resolvedBy], 2) : html::select('resolvedBy[]', $users, $this->app->user->account, "class='w-70px'");?>
+
+
+
+
build->desc;?>desc, "rows='10' class='form-control'");?>
project);?>
+
+
diff --git a/module/file/view/buildform.html.php b/module/file/view/buildform.html.php index c1a34491c2..7d1bae4dc4 100644 --- a/module/file/view/buildform.html.php +++ b/module/file/view/buildform.html.php @@ -19,7 +19,7 @@ EOT; -
lang->file->errorUnwritable;?>
+
lang->file->errorUnwritable;?>
diff --git a/module/project/control.php b/module/project/control.php index e9e2309f23..f8b946a8af 100644 --- a/module/project/control.php +++ b/module/project/control.php @@ -1570,7 +1570,7 @@ class project extends control public function ajaxGetProducts($projectID) { $products = $this->project->getProducts($projectID); - die(html::select('product', $products, '', 'class="select-3"')); + die(html::select('product', $products, '', 'class="form-control"')); } /** diff --git a/module/story/view/activate.html.php b/module/story/view/activate.html.php index 84ff38b8b5..6a79fa3268 100644 --- a/module/story/view/activate.html.php +++ b/module/story/view/activate.html.php @@ -16,7 +16,7 @@ story->activate;?> story->assignedTo;?> - closedBy, 'class="select-3"');?> + closedBy, 'class="form-control"');?> story->comment;?> diff --git a/module/task/css/recordestimate.css b/module/task/css/recordestimate.css new file mode 100644 index 0000000000..a08b1b272f --- /dev/null +++ b/module/task/css/recordestimate.css @@ -0,0 +1 @@ +body {padding-bottom: 200px !important;} diff --git a/module/task/js/recordestimate.js b/module/task/js/recordestimate.js index ce1fcc0970..29b1dae49d 100644 --- a/module/task/js/recordestimate.js +++ b/module/task/js/recordestimate.js @@ -1,10 +1,10 @@ $(function(){ - startDate = new Date(1970, 1, 1); - $(".date").datePicker({ - createButton: true, - startDate: startDate, - endDate: new Date() - }).dpSetPosition($.dpConst.POS_TOP, $.dpConst.POS_LEFT); + // startDate = new Date(1970, 1, 1); + // $(".date").datePicker({ + // createButton: true, + // startDate: startDate, + // endDate: new Date() + // }).dpSetPosition($.dpConst.POS_TOP, $.dpConst.POS_LEFT); }) $("#recordForm").submit(function() diff --git a/module/task/view/activate.html.php b/module/task/view/activate.html.php index ddc47a3d63..b76752bd11 100644 --- a/module/task/view/activate.html.php +++ b/module/task/view/activate.html.php @@ -12,23 +12,35 @@ ?> +
+
+ icons['task']) . ' #' . $task->id;;?> + createLink('task', 'view', 'task=' . $task->id), $task->name, '_blank');?> + task->activate;?> icons['activate']);?> +
+
+
- - - + + - + - - + + -
name;?>
task->assignedTo;?>finishedBy, "class='form-control'");?>task->assignedTo;?>finishedBy, "class='form-control'");?>
task->left;?>task->hour;?> +
+ + task->hour;?> +
+
comment;?>comment;?>
+ goback, $this->session->taskList); @@ -36,6 +48,8 @@
-
+
+ +
diff --git a/module/task/view/editestimate.html.php b/module/task/view/editestimate.html.php index 3b266c18af..391e7dad37 100644 --- a/module/task/view/editestimate.html.php +++ b/module/task/view/editestimate.html.php @@ -22,11 +22,11 @@ task->record;?> - consumed, 'class="select-3"');?> + consumed, 'class="form-control"');?> task->left;?> - left, 'class="select-3"');?> + left, 'class="form-control"');?> comment;?> diff --git a/www/js/my.full.js b/www/js/my.full.js index 9103db88ee..4e59643776 100644 --- a/www/js/my.full.js +++ b/www/js/my.full.js @@ -854,7 +854,7 @@ function setModal() setTimeout(function() { - modal.find('.modal-body').animate({height: $frame.find('body').addClass('body-modal').height()}, 100); + modal.find('.modal-body').animate({height: $frame.find('body').addClass('body-modal').outerHeight()}, 100); }, 100); } catch(e){} diff --git a/www/theme/default/style.css b/www/theme/default/style.css index 1ba2effc3f..34f2ee67bf 100644 --- a/www/theme/default/style.css +++ b/www/theme/default/style.css @@ -22,6 +22,7 @@ /* paddings */ .pd-0 {padding: 0 !important} +.mg-0 {margin: 0 !important} /* Style of text */ .text-latin {font-family: Arial;} @@ -237,6 +238,7 @@ i[class^="icon-"].disabled,i[class*=" icon-"].disabled,i[class^="icon-"].disable .form-condensed .table-fixed select.form-control {padding: 5px} .form-condensed .chosen-container {font-size: 12px} .form-condensed .chosen-container-single .chosen-single {padding: 5px 10px} +.form-condensed .chosen-container-single .chosen-single abbr {top: 5px; right: 18px} /* help in form */ .help-block {margin-bottom: 5px;}