* finish task #2202.
This commit is contained in:
@@ -13,3 +13,5 @@
|
||||
#tplBox li {position: relative;}
|
||||
#tplBox li .btn-delete {position: absolute; right: 0; top: 0; display: block; width: 40px; text-align:center;}
|
||||
#tplBox li .tpl-name {padding-right: 40px;}
|
||||
|
||||
#module_chosen.chosen-container .chosen-drop {min-width: 400px; border-top: 1px solid #ddd!important}
|
||||
|
||||
@@ -9,7 +9,7 @@ if($config->debug)
|
||||
<script>
|
||||
noResultsMatch = '<?php echo $lang->noResultsMatch;?>';
|
||||
chooseUsersToMail = '<?php echo $lang->chooseUsersToMail;?>';
|
||||
defaultChosenOptions = {no_results_text: noResultsMatch, allow_single_deselect: true, disable_search_threshold: 1, width: '100%', placeholder_text_single: ' ', placeholder_text_multiple: ' ', search_contains: true};
|
||||
defaultChosenOptions = {no_results_text: noResultsMatch, allow_single_deselect: true, disable_search_threshold: 1, placeholder_text_single: ' ', placeholder_text_multiple: ' ', search_contains: true};
|
||||
$(document).ready(function()
|
||||
{
|
||||
$("#mailto").attr('data-placeholder', chooseUsersToMail);
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
.chosen-container .chosen-drop {min-width: 400px; border-top: 1px solid #ddd!important}
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
#suhosinInfo {margin-bottom: 0;}
|
||||
.chosen-container .chosen-drop {min-width: 400px; border-top: 1px solid #ddd!important}
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
#mailto {width:90.3%}
|
||||
select {border:1px solid #ccc}
|
||||
#module_chosen.chosen-container .chosen-drop {min-width: 400px; border-top: 1px solid #ddd!important}
|
||||
|
||||
@@ -4,3 +4,6 @@
|
||||
.outer .chosen-container-single + .input-group-btn > .btn {border-left: 0}
|
||||
.outer .input-group {display: block; padding-right: 29px; max-width: 100%;}
|
||||
.outer .input-group-btn {display: block; position: absolute; right: 0; width: 29px; top: 0}
|
||||
.chosen-container[id^="story"] {width: 200px;}
|
||||
.chosen-container[id^="story"] .chosen-drop {min-width: 450px;!important}
|
||||
.chosen-container[id^="module"] .chosen-drop {min-width: 400px;!important}
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
.chosen-container[id^="module"] .chosen-drop {min-width: 400px;!important}
|
||||
|
||||
@@ -1,9 +1,3 @@
|
||||
var storyChosenOptions = $.extend({}, defaultChosenOptions, {drop_width: 400, width: '200px'});
|
||||
|
||||
$(function() {
|
||||
for(i = 0; i < batchCreateNum; i++) $("#story" + i).chosen(storyChosenOptions);
|
||||
});
|
||||
|
||||
/* Get select of stories.*/
|
||||
function setStories(moduleID, projectID, num)
|
||||
{
|
||||
@@ -15,8 +9,7 @@ function setStories(moduleID, projectID, num)
|
||||
$('#story' + num).replaceWith(stories);
|
||||
if(moduleID == 0) $('#story' + num).append("<option value='ditto'>" + ditto + "</option>")
|
||||
$('#story' + num).val(storyID);
|
||||
$('#story' + num + '_chosen').remove();
|
||||
$("#story" + num).chosen(storyChosenOptions);
|
||||
$("#story" + num).chosen(defaultChosenOptions);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -1,17 +1,16 @@
|
||||
<?php
|
||||
/**
|
||||
* The batch create view of story module of ZenTaoPMS.
|
||||
* The batch create view of task module of ZenTaoPMS.
|
||||
*
|
||||
* @copyright Copyright 2009-2015 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
|
||||
* @license ZPL (http://zpl.pub/page/zplv11.html)
|
||||
* @author Yangyang Shi <shiyangyang@cnezsoft.com>
|
||||
* @package story
|
||||
* @package task
|
||||
* @version $Id$
|
||||
* @link http://www.zentao.net
|
||||
*/
|
||||
?>
|
||||
<?php include '../../common/view/header.html.php';?>
|
||||
<?php js::set('batchCreateNum', $config->task->batchCreate);?>
|
||||
<div id='titlebar'>
|
||||
<div class='heading'>
|
||||
<span class='prefix'><?php echo html::icon($lang->icons['task']);?></span>
|
||||
@@ -61,7 +60,7 @@
|
||||
<td style='overflow:visible'><?php echo html::select("module[$i]", $modules, $module, "class='form-control chosen' onchange='setStories(this.value, $project->id, $i)'")?></td>
|
||||
<td style='overflow: visible'>
|
||||
<div class='input-group'>
|
||||
<?php echo html::select("story[$i]", $stories, $currentStory, "class='form-control' onchange='setStoryRelated($i)'");?>
|
||||
<?php echo html::select("story[$i]", $stories, $currentStory, "class='form-control chosen' onchange='setStoryRelated($i)'");?>
|
||||
<span class='input-group-btn'>
|
||||
<a href='javascript:copyStoryTitle(<?php echo $i;?>)' class='btn' title='<?php echo $lang->task->copyStoryTitle; ?>'><i class='icon-angle-right'></i></a>
|
||||
</span>
|
||||
|
||||
@@ -2,3 +2,5 @@
|
||||
.w-180px{width:180px}
|
||||
.half-left {text-align:right}
|
||||
.half-right{text-align:left}
|
||||
.chosen-container[id^="module"] .chosen-drop {min-width: 400px; border-top: 1px solid #ddd!important}
|
||||
.chosen-container[id^="story"] .chosen-drop {min-width: 450px; border-top: 1px solid #ddd!important}
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
.w-340px {width:340px}
|
||||
.chosen {z-index:99}
|
||||
.chosen-container[id^="module"] .chosen-drop {min-width: 400px; border-top: 1px solid #ddd!important}
|
||||
|
||||
@@ -14,3 +14,4 @@
|
||||
#story_chosen .chosen-results > li.no-results {cursor: pointer;}
|
||||
#story_chosen .chosen-results > li.no-results:hover {color: #1a4f85; background-color: #ddd;}
|
||||
#story_chosen .chosen-results > li.no-results > span {font-weight: bold;}
|
||||
#module_chosen .chosen-drop {min-width: 400px; border-top: 1px solid #ddd!important}
|
||||
|
||||
1
module/user/css/batchcreate.css
Normal file
1
module/user/css/batchcreate.css
Normal file
@@ -0,0 +1 @@
|
||||
.chosen-container[id^="dept"] .chosen-drop {min-width: 400px;!important}
|
||||
1
module/user/css/batchedit.css
Normal file
1
module/user/css/batchedit.css
Normal file
@@ -0,0 +1 @@
|
||||
.chosen-container[id^="dept"] .chosen-drop {min-width: 400px;!important}
|
||||
Reference in New Issue
Block a user