add delete files
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
td>ul {padding-left: 0;}
|
||||
li {display: block; float: left; padding: 5px; width: 28px; height: 28px;}
|
||||
li>a { position: relative; display: block; width: 100%; height: 100%; padding: 0; margin: 0; font-family: ZentaoIcon; font-size: 14px; font-style: normal; font-weight: 400; font-variant: normal; line-height: 1; text-align: center; text-transform: none; border: 1px solid transparent; border-radius: 50%; speak: none; -webkit-font-smoothing: antialiased; }
|
||||
li>a.active:before {font-size: 14px; content: "\e5ca"}
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Set lane color.
|
||||
*
|
||||
* @param string $color
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
function setColor(color)
|
||||
{
|
||||
$('.cp-tile').removeClass('active');
|
||||
$('.cp-tile[data-color="' + color + '"]').addClass('active');
|
||||
$('#color').val(color);
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
/**
|
||||
* The set lane file of task module of ZenTaoPMS.
|
||||
*
|
||||
* @copyright Copyright 2009-2021 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
|
||||
* @license ZPL (http://zpl.pub/page/zplv12.html)
|
||||
* @author Yuchun Li <liyuchun@easycorp.ltd>
|
||||
* @package kanban
|
||||
* @version $Id: setlane.html.php 935 2021-10-26 16:24:24Z liyuchun@easycorp.ltd $
|
||||
* @link https://www.zentao.net
|
||||
*/
|
||||
?>
|
||||
<?php include '../../common/view/header.lite.html.php';?>
|
||||
<div id='mainContent' class='main-content'>
|
||||
<div class='center-block'>
|
||||
<div class='main-header'>
|
||||
<h2>
|
||||
<?php echo "<span title='$title'>" . $title . '</span>';?>
|
||||
</h2>
|
||||
</div>
|
||||
<form class="load-indicator main-form form-ajax" method='post' target='hiddenwin'>
|
||||
<table align='center' class='table table-form'>
|
||||
<tr>
|
||||
<th><?php echo $lang->kanban->columnName;?></th>
|
||||
<td colspan='2'>
|
||||
<?php echo html::input('name', $column->name, "class='form-control'");?>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->kanban->columnColor;?></th>
|
||||
<td colspan='3'>
|
||||
<?php echo html::hidden('color', $column->color, "class='form-control'");?>
|
||||
<ul>
|
||||
<?php foreach($config->kanban->laneColorList as $color):?>
|
||||
<li>
|
||||
<a href='javascript:setColor("<?php echo $color;?>");' class='cp-tile <?php echo $color == $column->color ? 'active' : '';?>' data-color='<?php echo $color;?>' style='color: #FFF; background: <?php echo $color;?>; border-color: transparent;'></a>
|
||||
</li>
|
||||
<?php endforeach;?>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan='4' class='text-center form-actions'>
|
||||
<?php echo html::submitButton();?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<?php include '../../common/view/footer.html.php';?>
|
||||
Reference in New Issue
Block a user