diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-01-08 12:01:13 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-01-08 12:01:13 -0500 |
commit | bb222a79cd6a663dcbb78dc34cff2405cb16f3c2 (patch) | |
tree | 9dbd5455981534c11913310e9796b49126a416eb /app/Template/task_import/show.php | |
parent | 6bfafb6e82cfd6096fb51fc91b9b126dcc355bc2 (diff) |
Open task import in modal box
Diffstat (limited to 'app/Template/task_import/show.php')
-rw-r--r-- | app/Template/task_import/show.php | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/app/Template/task_import/show.php b/app/Template/task_import/show.php index 54264f30..20b020d3 100644 --- a/app/Template/task_import/show.php +++ b/app/Template/task_import/show.php @@ -15,14 +15,11 @@ <p class="form-help"><?= t('Maximum size: ') ?><?= is_integer($max_size) ? $this->text->bytes($max_size) : $max_size ?></p> - <div class="form-actions"> - <button type="submit" class="btn btn-blue"><?= t('Import') ?></button> - </div> + <?= $this->modal->submitButtons(array('submitLabel' => t('Import'))) ?> </form> -<div class="page-header"> - <h2><?= t('Instructions') ?></h2> -</div> -<div class="alert"> + +<div class="panel"> + <h3><?= t('Instructions') ?></h3> <ul> <li><?= t('Your file must use the predefined CSV format') ?></li> <li><?= t('Your file must be encoded in UTF-8') ?></li> @@ -30,5 +27,7 @@ <li><?= t('Duplicates are not verified for you') ?></li> <li><?= t('The due date must use the ISO format: YYYY-MM-DD') ?></li> </ul> + <p class="margin-top"> + <?= $this->url->icon('download', t('Download CSV template'), 'TaskImportController', 'template', array('project_id' => $project['id'])) ?> + </p> </div> -<p><?= $this->url->icon('download', t('Download CSV template'), 'TaskImportController', 'template', array('project_id' => $project['id'])) ?></p> |