* Adjust position for productModal, projectModal.
* Adjust position for required note.
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
.todoType {margin-top: 6px;}
|
||||
.dateSwitcher {margin-top: 6px;}
|
||||
.form-horizontal .required::after{right: -10px;}
|
||||
|
||||
@@ -91,7 +91,7 @@
|
||||
<div class="row form-group">
|
||||
<label class="col-sm-1"><?php echo $lang->todo->name;?></label>
|
||||
<div class="col-sm-10">
|
||||
<div id='nameBox'>
|
||||
<div id='nameBox' class='required'>
|
||||
<?php
|
||||
$readType = ($todo->type == 'bug' or $todo->type == 'task') ? 'readonly' : '';
|
||||
echo html::input('name', $todo->name, "$readType class='form-control' autocomplete='off'");
|
||||
|
||||
@@ -161,9 +161,9 @@
|
||||
unset($_GET['onlybody']);
|
||||
echo "<button type='button' class='btn btn-success dropdown-toggle' data-toggle='dropdown'><span class='caret'></span></button>";
|
||||
echo "<ul class='dropdown-menu pull-right' role='menu'>";
|
||||
if($createStoryPriv) echo '<li>' . html::a('###', $lang->todo->reasonList['story'], '', "data-toggle='modal' data-target='#productModal' data-moveable='true' data-position='193px' id='toStoryLink'") . '</li>';
|
||||
if($createTaskPriv) echo '<li>' . html::a('###', $lang->todo->reasonList['task'], '', "data-toggle='modal' data-target='#projectModal' data-moveable='true' data-position='193px' id='toTaskLink'") . '</li>';
|
||||
if($createBugPriv) echo '<li>' . html::a('###', $lang->todo->reasonList['bug'], '', "data-toggle='modal' data-target='#productModal' data-moveable='true' data-position='193px' id='toBugLink'") . '</li>';
|
||||
if($createStoryPriv) echo '<li>' . html::a('###', $lang->todo->reasonList['story'], '', "data-toggle='modal' data-target='#productModal' data-moveable='true' data-position='center' id='toStoryLink'") . '</li>';
|
||||
if($createTaskPriv) echo '<li>' . html::a('###', $lang->todo->reasonList['task'], '', "data-toggle='modal' data-target='#projectModal' data-moveable='true' data-position='center' id='toTaskLink'") . '</li>';
|
||||
if($createBugPriv) echo '<li>' . html::a('###', $lang->todo->reasonList['bug'], '', "data-toggle='modal' data-target='#productModal' data-moveable='true' data-position='center' id='toBugLink'") . '</li>';
|
||||
echo "</ul>";
|
||||
if($isonlybody) $_GET['onlybody'] = 'yes';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user