Merge pull-request #106 (datepicker and long column names fix)

This commit is contained in:
Frédéric Guillot
2014-06-20 16:01:53 -03:00
parent 169cbb56f8
commit 08621f99e6
22 changed files with 685 additions and 10 deletions

View File

@@ -3,7 +3,9 @@
<?php $column_with = round(100 / count($board), 2); ?>
<?php foreach ($board as $column): ?>
<th width="<?= $column_with ?>%">
<a href="?controller=task&amp;action=create&amp;project_id=<?= $column['project_id'] ?>&amp;column_id=<?= $column['id'] ?>" title="<?= t('Add a new task') ?>">+</a>
<div class="board-add-icon">
<a href="?controller=task&amp;action=create&amp;project_id=<?= $column['project_id'] ?>&amp;column_id=<?= $column['id'] ?>" title="<?= t('Add a new task') ?>">+</a>
</div>
<?= Helper\escape($column['title']) ?>
<?php if ($column['task_limit']): ?>
<span title="<?= t('Task limit') ?>" class="task-limit">

View File

@@ -12,6 +12,7 @@
<?= Helper\css('assets/css/app.css') ?>
<?= Helper\css('assets/css/font-awesome.min.css') ?>
<?= Helper\css('assets/css/jquery-ui-1.10.4.custom.css'); ?>
<link rel="icon" type="image/png" href="assets/img/favicon.png">
<link rel="apple-touch-icon" href="assets/img/touch-icon-iphone.png">
@@ -58,4 +59,4 @@
</section>
<?php endif ?>
</body>
</html>
</html>

View File

@@ -22,7 +22,6 @@
</div>
<div class="form-column">
<?= Helper\form_hidden('id', $values) ?>
<?= Helper\form_hidden('project_id', $values) ?>
@@ -44,7 +43,6 @@
<?= Helper\form_label(t('Due Date'), 'date_due') ?>
<?= Helper\form_text('date_due', $values, $errors, array('placeholder="'.t('month/day/year').'"'), 'form-date') ?><br/>
<div class="form-help"><?= t('Others formats accepted: %s and %s', date('Y-m-d'), date('Y_m_d')) ?></div>
</div>
<div class="form-actions">
@@ -53,4 +51,6 @@
</div>
</form>
</section>
</section>
</section>
<?= Helper\js('assets/js/task.js'); ?>

View File

@@ -21,7 +21,6 @@
</div>
<div class="form-column">
<?= Helper\form_hidden('project_id', $values) ?>
<?= Helper\form_label(t('Assignee'), 'owner_id') ?>
@@ -50,4 +49,6 @@
</div>
</form>
</section>
</section>
</section>
<?= Helper\js('assets/js/task.js'); ?>