diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-03-05 07:56:58 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-03-05 07:56:58 -0500 |
commit | 0bd5328c19b076a23719b3860296e5507c773d34 (patch) | |
tree | 1eca50843fabb966c1c5ee6441ea23ccf1dca989 /app/Template | |
parent | 9b68c3bc77bfa49f820afbcb601aaf5174b39bcc (diff) |
Added Ajax loading icon for submit buttons
Diffstat (limited to 'app/Template')
76 files changed, 80 insertions, 80 deletions
diff --git a/app/Template/action/event.php b/app/Template/action/event.php index b4741a98..f4f12db3 100644 --- a/app/Template/action/event.php +++ b/app/Template/action/event.php @@ -18,7 +18,7 @@ </div> <div class="form-actions"> - <input type="submit" value="<?= t('Next step') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Next step') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'action', 'index', array('project_id' => $project['id'])) ?> </div> diff --git a/app/Template/action/index.php b/app/Template/action/index.php index f3165251..6e9c16a5 100644 --- a/app/Template/action/index.php +++ b/app/Template/action/index.php @@ -70,6 +70,6 @@ <?= $this->form->select('action_name', $available_actions, $values) ?> <div class="form-actions"> - <input type="submit" value="<?= t('Next step') ?>" class="btn btn-blue"> + <button type="submit" class="btn btn-blue"><?= t('Next step') ?></button> </div> </form>
\ No newline at end of file diff --git a/app/Template/action/params.php b/app/Template/action/params.php index a2350dea..99e9206f 100644 --- a/app/Template/action/params.php +++ b/app/Template/action/params.php @@ -42,7 +42,7 @@ <?php endforeach ?> <div class="form-actions"> - <input type="submit" value="<?= t('Save this action') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'action', 'index', array('project_id' => $project['id'])) ?> </div> diff --git a/app/Template/analytic/burndown.php b/app/Template/analytic/burndown.php index 3dfb6ee8..ed6c8aeb 100644 --- a/app/Template/analytic/burndown.php +++ b/app/Template/analytic/burndown.php @@ -27,7 +27,7 @@ </div> <div class="form-inline-group"> - <input type="submit" value="<?= t('Execute') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Execute') ?></button> </div> </form> diff --git a/app/Template/analytic/cfd.php b/app/Template/analytic/cfd.php index 45f53e0f..ee259c70 100644 --- a/app/Template/analytic/cfd.php +++ b/app/Template/analytic/cfd.php @@ -27,6 +27,6 @@ </div> <div class="form-inline-group"> - <input type="submit" value="<?= t('Execute') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Execute') ?></button> </div> </form> diff --git a/app/Template/analytic/lead_cycle_time.php b/app/Template/analytic/lead_cycle_time.php index 8e04bd6d..82ffe534 100644 --- a/app/Template/analytic/lead_cycle_time.php +++ b/app/Template/analytic/lead_cycle_time.php @@ -31,7 +31,7 @@ </div> <div class="form-inline-group"> - <input type="submit" value="<?= t('Execute') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Execute') ?></button> </div> </form> diff --git a/app/Template/auth/index.php b/app/Template/auth/index.php index 3fcb6bbf..cc562170 100644 --- a/app/Template/auth/index.php +++ b/app/Template/auth/index.php @@ -28,7 +28,7 @@ <?php endif ?> <div class="form-actions"> - <input type="submit" value="<?= t('Sign in') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Sign in') ?></button> </div> <?php if ($this->app->config('password_reset') == 1): ?> <div class="reset-password"> diff --git a/app/Template/board/popover_assignee.php b/app/Template/board/popover_assignee.php index 8db95323..a64dfb04 100644 --- a/app/Template/board/popover_assignee.php +++ b/app/Template/board/popover_assignee.php @@ -12,7 +12,7 @@ <?= $this->task->selectAssignee($users_list, $values, array(), array('autofocus')) ?> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'board', 'show', array('project_id' => $project['id']), false, 'close-popover') ?> </div> diff --git a/app/Template/board/popover_category.php b/app/Template/board/popover_category.php index e65593cd..19078079 100644 --- a/app/Template/board/popover_category.php +++ b/app/Template/board/popover_category.php @@ -12,7 +12,7 @@ <?= $this->task->selectCategory($categories_list, $values, array(), array('autofocus'), true) ?> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'board', 'show', array('project_id' => $project['id']), false, 'close-popover') ?> </div> diff --git a/app/Template/board/popover_close_all_tasks_column.php b/app/Template/board/popover_close_all_tasks_column.php index da6b9ad7..5090f499 100644 --- a/app/Template/board/popover_close_all_tasks_column.php +++ b/app/Template/board/popover_close_all_tasks_column.php @@ -10,7 +10,7 @@ <p class="alert"><?= t('%d task(s) in the column "%s" and the swimlane "%s" will be closed.', $nb_tasks, $column, $swimlane) ?></p> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-red"> + <button type="submit" class="btn btn-red"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'board', 'show', array('project_id' => $project['id']), false, 'close-popover') ?> </div> diff --git a/app/Template/category/edit.php b/app/Template/category/edit.php index d788f673..78156e6f 100644 --- a/app/Template/category/edit.php +++ b/app/Template/category/edit.php @@ -33,7 +33,7 @@ <div class="form-help"><?= $this->url->doc(t('Write your text in Markdown'), 'syntax-guide') ?></div> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'category', 'index', array('project_id' => $project['id']), false, 'close-popover') ?> </div> diff --git a/app/Template/category/index.php b/app/Template/category/index.php index 7b1adf78..b3bdfd81 100644 --- a/app/Template/category/index.php +++ b/app/Template/category/index.php @@ -40,6 +40,6 @@ <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="50"')) ?> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> </div> </form>
\ No newline at end of file diff --git a/app/Template/column/create.php b/app/Template/column/create.php index 58b130f5..747b1529 100644 --- a/app/Template/column/create.php +++ b/app/Template/column/create.php @@ -34,7 +34,7 @@ <div class="form-help"><?= $this->url->doc(t('Write your text in Markdown'), 'syntax-guide') ?></div> <div class="form-actions"> - <input type="submit" value="<?= t('Add this column') ?>" class="btn btn-blue"> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'column', 'index', array('project_id' => $project['id']), false, 'close-popover') ?> </div> diff --git a/app/Template/column/edit.php b/app/Template/column/edit.php index 618cb134..206322cd 100644 --- a/app/Template/column/edit.php +++ b/app/Template/column/edit.php @@ -37,7 +37,7 @@ <div class="form-help"><?= $this->url->doc(t('Write your text in Markdown'), 'syntax-guide') ?></div> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'column', 'index', array('project_id' => $project['id']), false, 'close-popover') ?> </div> diff --git a/app/Template/comment/create.php b/app/Template/comment/create.php index 15dd3a8e..574eec9f 100644 --- a/app/Template/comment/create.php +++ b/app/Template/comment/create.php @@ -37,7 +37,7 @@ <div class="form-help"><?= $this->url->doc(t('Write your text in Markdown'), 'syntax-guide') ?></div> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> <?php if (! isset($skip_cancel)): ?> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'close-popover') ?> diff --git a/app/Template/comment/edit.php b/app/Template/comment/edit.php index 6db952cc..ad6f58fb 100644 --- a/app/Template/comment/edit.php +++ b/app/Template/comment/edit.php @@ -29,7 +29,7 @@ <div class="form-help"><?= $this->url->doc(t('Write your text in Markdown'), 'syntax-guide') ?></div> <div class="form-actions"> - <input type="submit" value="<?= t('Update') ?>" class="btn btn-blue"> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'close-popover') ?> </div> diff --git a/app/Template/config/application.php b/app/Template/config/application.php index d78ae427..259756bc 100644 --- a/app/Template/config/application.php +++ b/app/Template/config/application.php @@ -33,6 +33,6 @@ <?= $this->hook->render('template:config:application', array('values' => $values, 'errors' => $errors)) ?> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> </div> </form> diff --git a/app/Template/config/board.php b/app/Template/config/board.php index f787a931..ba1bab59 100644 --- a/app/Template/config/board.php +++ b/app/Template/config/board.php @@ -18,6 +18,6 @@ <p class="form-help"><?= t('Frequency in second (0 to disable this feature, 10 seconds by default)') ?></p> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> </div> </form> diff --git a/app/Template/config/calendar.php b/app/Template/config/calendar.php index f5250132..b7b230df 100644 --- a/app/Template/config/calendar.php +++ b/app/Template/config/calendar.php @@ -28,7 +28,7 @@ </div> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> </div> </form> </section>
\ No newline at end of file diff --git a/app/Template/config/integrations.php b/app/Template/config/integrations.php index ced051f7..e404c52e 100644 --- a/app/Template/config/integrations.php +++ b/app/Template/config/integrations.php @@ -12,6 +12,6 @@ </div> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> </div> </form>
\ No newline at end of file diff --git a/app/Template/config/project.php b/app/Template/config/project.php index 1d32a14f..b6b7ec25 100644 --- a/app/Template/config/project.php +++ b/app/Template/config/project.php @@ -22,6 +22,6 @@ <?= $this->form->checkbox('cfd_include_closed_tasks', t('Include closed tasks in the cumulative flow diagram'), 1, $values['cfd_include_closed_tasks'] == 1) ?> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> </div> </form> diff --git a/app/Template/config/webhook.php b/app/Template/config/webhook.php index bcf95787..b96979a0 100644 --- a/app/Template/config/webhook.php +++ b/app/Template/config/webhook.php @@ -10,7 +10,7 @@ <?= $this->form->text('webhook_url', $values, $errors) ?> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> </div> </form> </section> diff --git a/app/Template/currency/index.php b/app/Template/currency/index.php index f3e20026..d35ac459 100644 --- a/app/Template/currency/index.php +++ b/app/Template/currency/index.php @@ -32,7 +32,7 @@ <?= $this->form->select('application_currency', $currencies, $config_values, $errors) ?> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> </div> </form> @@ -49,6 +49,6 @@ <?= $this->form->text('rate', $values, $errors, array(), 'form-numeric') ?> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> </div> </form> diff --git a/app/Template/custom_filter/add.php b/app/Template/custom_filter/add.php index 361083ee..e3e144ae 100644 --- a/app/Template/custom_filter/add.php +++ b/app/Template/custom_filter/add.php @@ -19,6 +19,6 @@ <?= $this->form->checkbox('append', t('Append filter (instead of replacement)'), 1) ?> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> </div> </form>
\ No newline at end of file diff --git a/app/Template/custom_filter/edit.php b/app/Template/custom_filter/edit.php index 01fb4ec5..5d07e8c2 100644 --- a/app/Template/custom_filter/edit.php +++ b/app/Template/custom_filter/edit.php @@ -25,7 +25,7 @@ <?= $this->form->checkbox('append', t('Append filter (instead of replacement)'), 1, $values['append'] == 1) ?> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'customfilter', 'index', array('project_id' => $project['id']), false, 'close-popover') ?> </div> diff --git a/app/Template/export/subtasks.php b/app/Template/export/subtasks.php index f2a00f84..a82cb3d1 100644 --- a/app/Template/export/subtasks.php +++ b/app/Template/export/subtasks.php @@ -19,6 +19,6 @@ <div class="form-help"><?= t('Others formats accepted: %s and %s', date('Y-m-d'), date('Y_m_d')) ?></div> <div class="form-actions"> - <input type="submit" value="<?= t('Execute') ?>" class="btn btn-blue"> + <button type="submit" class="btn btn-blue"><?= t('Execute') ?></button> </div> </form>
\ No newline at end of file diff --git a/app/Template/export/summary.php b/app/Template/export/summary.php index 0c2a96fb..60aa306f 100644 --- a/app/Template/export/summary.php +++ b/app/Template/export/summary.php @@ -19,6 +19,6 @@ <div class="form-help"><?= t('Others formats accepted: %s and %s', date('Y-m-d'), date('Y_m_d')) ?></div> <div class="form-actions"> - <input type="submit" value="<?= t('Execute') ?>" class="btn btn-blue"> + <button type="submit" class="btn btn-blue"><?= t('Execute') ?></button> </div> </form>
\ No newline at end of file diff --git a/app/Template/export/tasks.php b/app/Template/export/tasks.php index c27149d2..bed8ab90 100644 --- a/app/Template/export/tasks.php +++ b/app/Template/export/tasks.php @@ -19,6 +19,6 @@ <div class="form-help"><?= t('Others formats accepted: %s and %s', date('Y-m-d'), date('Y_m_d')) ?></div> <div class="form-actions"> - <input type="submit" value="<?= t('Execute') ?>" class="btn btn-blue"> + <button type="submit" class="btn btn-blue"><?= t('Execute') ?></button> </div> </form>
\ No newline at end of file diff --git a/app/Template/export/transitions.php b/app/Template/export/transitions.php index d935bde1..093930a3 100644 --- a/app/Template/export/transitions.php +++ b/app/Template/export/transitions.php @@ -19,6 +19,6 @@ <div class="form-help"><?= t('Others formats accepted: %s and %s', date('Y-m-d'), date('Y_m_d')) ?></div> <div class="form-actions"> - <input type="submit" value="<?= t('Execute') ?>" class="btn btn-blue"> + <button type="submit" class="btn btn-blue"><?= t('Execute') ?></button> </div> </form>
\ No newline at end of file diff --git a/app/Template/gantt/task_creation.php b/app/Template/gantt/task_creation.php index a08f41b4..ef1298a9 100644 --- a/app/Template/gantt/task_creation.php +++ b/app/Template/gantt/task_creation.php @@ -43,7 +43,7 @@ </div> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue" tabindex="11"/> + <button type="submit" class="btn btn-blue" tabindex="15"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'board', 'show', array('project_id' => $values['project_id']), false, 'close-popover') ?> </div> diff --git a/app/Template/group/associate.php b/app/Template/group/associate.php index 468281e2..9de46f35 100644 --- a/app/Template/group/associate.php +++ b/app/Template/group/associate.php @@ -16,7 +16,7 @@ <?= $this->form->select('user_id', $users, $values, $errors, array('required'), 'chosen-select') ?> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'group', 'index') ?> </div> diff --git a/app/Template/group/create.php b/app/Template/group/create.php index 4a935c08..4ce6b1f3 100644 --- a/app/Template/group/create.php +++ b/app/Template/group/create.php @@ -11,7 +11,7 @@ <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="100"')) ?> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'group', 'index') ?> </div> diff --git a/app/Template/group/edit.php b/app/Template/group/edit.php index d9646ee8..e9d9dd5a 100644 --- a/app/Template/group/edit.php +++ b/app/Template/group/edit.php @@ -14,7 +14,7 @@ <?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="100"')) ?> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'group', 'index') ?> </div> diff --git a/app/Template/link/create.php b/app/Template/link/create.php index 2b4ac62c..3b36abee 100644 --- a/app/Template/link/create.php +++ b/app/Template/link/create.php @@ -13,6 +13,6 @@ <?= $this->form->text('opposite_label', $values, $errors) ?> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> </div> </form>
\ No newline at end of file diff --git a/app/Template/link/edit.php b/app/Template/link/edit.php index 516de464..e91422be 100644 --- a/app/Template/link/edit.php +++ b/app/Template/link/edit.php @@ -14,7 +14,7 @@ <?= $this->form->select('opposite_id', $labels, $values, $errors) ?> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'link', 'index') ?> </div> diff --git a/app/Template/password_reset/change.php b/app/Template/password_reset/change.php index 6d06f442..0a1d8de4 100644 --- a/app/Template/password_reset/change.php +++ b/app/Template/password_reset/change.php @@ -10,7 +10,7 @@ <?= $this->form->password('confirmation', $values, $errors) ?> <div class="form-actions"> - <input type="submit" value="<?= t('Change Password') ?>" class="btn btn-blue"> + <button type="submit" class="btn btn-blue"><?= t('Change Password') ?></button> </div> </form> </div>
\ No newline at end of file diff --git a/app/Template/password_reset/create.php b/app/Template/password_reset/create.php index ef958011..918a0eb4 100644 --- a/app/Template/password_reset/create.php +++ b/app/Template/password_reset/create.php @@ -11,7 +11,7 @@ <?= $this->form->text('captcha', array(), $errors, array('required')) ?> <div class="form-actions"> - <input type="submit" value="<?= t('Change Password') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Change Password') ?></button> </div> </form> </div>
\ No newline at end of file diff --git a/app/Template/project/duplicate.php b/app/Template/project/duplicate.php index ca7d3302..7cfa8969 100644 --- a/app/Template/project/duplicate.php +++ b/app/Template/project/duplicate.php @@ -20,7 +20,7 @@ <?= $this->form->checkbox('task', t('Tasks'), 1, false) ?> <div class="form-actions"> - <input type="submit" value="<?= t('Duplicate') ?>" class="btn btn-red"> + <button type="submit" class="btn btn-red"><?= t('Duplicate') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'project', 'show', array('project_id' => $project['id'])) ?> </div> </form> diff --git a/app/Template/project/notifications.php b/app/Template/project/notifications.php index b39d6c05..494a322a 100644 --- a/app/Template/project/notifications.php +++ b/app/Template/project/notifications.php @@ -12,7 +12,7 @@ <?= $this->form->checkboxes('notification_types', $types, $notifications) ?> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'project', 'show', array('project_id' => $project['id'])) ?> </div> diff --git a/app/Template/project_creation/create.php b/app/Template/project_creation/create.php index 46ec5d1e..c34173a9 100644 --- a/app/Template/project_creation/create.php +++ b/app/Template/project_creation/create.php @@ -29,7 +29,7 @@ </div> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'project', 'index', array(), false, 'close-popover') ?> </div> diff --git a/app/Template/project_edit/dates.php b/app/Template/project_edit/dates.php index cb585c6a..83651592 100644 --- a/app/Template/project_edit/dates.php +++ b/app/Template/project_edit/dates.php @@ -19,7 +19,7 @@ <?= $this->form->text('end_date', $values, $errors, array('maxlength="10"'), 'form-date') ?> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> </div> </form> diff --git a/app/Template/project_edit/description.php b/app/Template/project_edit/description.php index dce8ab10..6bfe8b8d 100644 --- a/app/Template/project_edit/description.php +++ b/app/Template/project_edit/description.php @@ -32,6 +32,6 @@ <div class="form-help"><?= $this->url->doc(t('Write your text in Markdown'), 'syntax-guide') ?></div> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> </div> </form> diff --git a/app/Template/project_edit/general.php b/app/Template/project_edit/general.php index 28cbb66a..5e6d32b4 100644 --- a/app/Template/project_edit/general.php +++ b/app/Template/project_edit/general.php @@ -31,6 +31,6 @@ <?php endif ?> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> </div> </form> diff --git a/app/Template/project_edit/task_priority.php b/app/Template/project_edit/task_priority.php index e54215b2..faf49f5d 100644 --- a/app/Template/project_edit/task_priority.php +++ b/app/Template/project_edit/task_priority.php @@ -22,7 +22,7 @@ <?= $this->form->number('priority_end', $values, $errors) ?> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> </div> </form> diff --git a/app/Template/project_permission/index.php b/app/Template/project_permission/index.php index 6135ad9d..a7d666a6 100644 --- a/app/Template/project_permission/index.php +++ b/app/Template/project_permission/index.php @@ -57,7 +57,7 @@ <?= $this->form->select('role', $roles, $values, $errors) ?> - <input type="submit" value="<?= t('Add') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Add') ?></button> </form> </div> <?php endif ?> @@ -119,7 +119,7 @@ <?= $this->form->select('role', $roles, $values, $errors) ?> - <input type="submit" value="<?= t('Add') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Add') ?></button> </form> </div> <?php endif ?> @@ -135,7 +135,7 @@ <?= $this->form->checkbox('is_everybody_allowed', t('Allow everybody to access to this project'), 1, $project['is_everybody_allowed']) ?> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> </div> </form> <?php endif ?> diff --git a/app/Template/subtask/create.php b/app/Template/subtask/create.php index 8fffd3a9..029fddf5 100644 --- a/app/Template/subtask/create.php +++ b/app/Template/subtask/create.php @@ -13,7 +13,7 @@ <?= $this->form->checkbox('another_subtask', t('Create another sub-task'), 1, isset($values['another_subtask']) && $values['another_subtask'] == 1) ?> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'close-popover') ?> </div> diff --git a/app/Template/subtask/edit.php b/app/Template/subtask/edit.php index acce625e..3c210f60 100644 --- a/app/Template/subtask/edit.php +++ b/app/Template/subtask/edit.php @@ -13,7 +13,7 @@ <?= $this->subtask->selectTimeSpent($values, $errors) ?> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'close-popover') ?> </div> diff --git a/app/Template/subtask/show.php b/app/Template/subtask/show.php index b0326c48..999016c3 100644 --- a/app/Template/subtask/show.php +++ b/app/Template/subtask/show.php @@ -13,7 +13,7 @@ <?= $this->form->text('title', array(), array(), array('required', 'placeholder="'.t('Type here to create a new sub-task').'"')) ?> <?= $this->form->numeric('time_estimated', array(), array(), array('placeholder="'.t('Original estimate').'"')) ?> <?= $this->form->select('user_id', $users_list, array(), array(), array('placeholder="'.t('Assignee').'"')) ?> - <input type="submit" value="<?= t('Add') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Add') ?></button> </form> <?php endif ?> diff --git a/app/Template/subtask_restriction/popover.php b/app/Template/subtask_restriction/popover.php index e80d6b6d..916a664e 100644 --- a/app/Template/subtask_restriction/popover.php +++ b/app/Template/subtask_restriction/popover.php @@ -10,7 +10,7 @@ <?= $this->form->hidden('id', $subtask_inprogress) ?> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-red"> + <button type="submit" class="btn btn-red"><?= t('Save') ?></button> <?= t('or') ?> <a href="#" class="close-popover"><?= t('cancel') ?></a> </div> diff --git a/app/Template/swimlane/create.php b/app/Template/swimlane/create.php index bb389555..aa92a930 100644 --- a/app/Template/swimlane/create.php +++ b/app/Template/swimlane/create.php @@ -30,7 +30,7 @@ <div class="form-help"><?= $this->url->doc(t('Write your text in Markdown'), 'syntax-guide') ?></div> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'Swimlane', 'index', array('project_id' => $project['id']), false, 'close-popover') ?> </div> diff --git a/app/Template/swimlane/edit.php b/app/Template/swimlane/edit.php index 31d819d4..232570e7 100644 --- a/app/Template/swimlane/edit.php +++ b/app/Template/swimlane/edit.php @@ -34,7 +34,7 @@ <div class="form-help"><?= $this->url->doc(t('Write your text in Markdown'), 'syntax-guide') ?></div> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'swimlane', 'index', array('project_id' => $project['id']), false, 'close-popover') ?> </div> diff --git a/app/Template/swimlane/edit_default.php b/app/Template/swimlane/edit_default.php index df25ec12..3bf82568 100644 --- a/app/Template/swimlane/edit_default.php +++ b/app/Template/swimlane/edit_default.php @@ -11,7 +11,7 @@ <?= $this->form->checkbox('show_default_swimlane', t('Show default swimlane'), 1, $values['show_default_swimlane'] == 1) ?> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'Swimlane', 'index', array('project_id' => $project['id']), false, 'close-popover') ?> </div> diff --git a/app/Template/task_creation/form.php b/app/Template/task_creation/form.php index 84f74c36..0af2eb1e 100644 --- a/app/Template/task_creation/form.php +++ b/app/Template/task_creation/form.php @@ -60,7 +60,7 @@ </div> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue" tabindex="12"/> + <button type="submit" class="btn btn-blue" tabindex="15"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'board', 'show', array('project_id' => $values['project_id']), false, 'close-popover') ?> </div> </form>
\ No newline at end of file diff --git a/app/Template/task_duplication/copy.php b/app/Template/task_duplication/copy.php index fe2c599a..b7337a1e 100644 --- a/app/Template/task_duplication/copy.php +++ b/app/Template/task_duplication/copy.php @@ -39,7 +39,7 @@ <p class="form-help"><?= t('Current assignee: %s', ($task['assignee_name'] ?: $task['assignee_username']) ?: e('not assigned')) ?></p> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'close-popover') ?> </div> diff --git a/app/Template/task_duplication/move.php b/app/Template/task_duplication/move.php index 8ab81f5b..beebf9eb 100644 --- a/app/Template/task_duplication/move.php +++ b/app/Template/task_duplication/move.php @@ -39,7 +39,7 @@ <p class="form-help"><?= t('Current assignee: %s', ($task['assignee_name'] ?: $task['assignee_username']) ?: e('not assigned')) ?></p> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'close-popover') ?> </div> diff --git a/app/Template/task_external_link/create.php b/app/Template/task_external_link/create.php index b62abdb2..5d49eef0 100644 --- a/app/Template/task_external_link/create.php +++ b/app/Template/task_external_link/create.php @@ -6,7 +6,7 @@ <?= $this->render('task_external_link/form', array('task' => $task, 'dependencies' => $dependencies, 'values' => $values, 'errors' => $errors)) ?> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'TaskExternalLink', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'close-popover') ?> </div> diff --git a/app/Template/task_external_link/edit.php b/app/Template/task_external_link/edit.php index 8caaaebe..dcbc2633 100644 --- a/app/Template/task_external_link/edit.php +++ b/app/Template/task_external_link/edit.php @@ -6,7 +6,7 @@ <?= $this->render('task_external_link/form', array('task' => $task, 'dependencies' => $dependencies, 'values' => $values, 'errors' => $errors)) ?> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'TaskExternalLink', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'close-popover') ?> </div> diff --git a/app/Template/task_external_link/find.php b/app/Template/task_external_link/find.php index 36a031d3..3977a66c 100644 --- a/app/Template/task_external_link/find.php +++ b/app/Template/task_external_link/find.php @@ -21,7 +21,7 @@ <?= $this->form->select('type', $types, $values) ?> <div class="form-actions"> - <input type="submit" value="<?= t('Next') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Next') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'close-popover') ?> </div> diff --git a/app/Template/task_file/screenshot.php b/app/Template/task_file/screenshot.php index 72214362..2880478d 100644 --- a/app/Template/task_file/screenshot.php +++ b/app/Template/task_file/screenshot.php @@ -10,7 +10,7 @@ <input type="hidden" name="screenshot"/> <?= $this->form->csrf() ?> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'close-popover') ?> </div> diff --git a/app/Template/task_import/step1.php b/app/Template/task_import/step1.php index 7619216a..abb43505 100644 --- a/app/Template/task_import/step1.php +++ b/app/Template/task_import/step1.php @@ -16,7 +16,7 @@ <p class="form-help"><?= t('Maximum size: ') ?><?= is_integer($max_size) ? $this->text->bytes($max_size) : $max_size ?></p> <div class="form-actions"> - <input type="submit" value="<?= t('Import') ?>" class="btn btn-blue"> + <button type="submit" class="btn btn-blue"><?= t('Import') ?></button> </div> </form> <div class="page-header"> diff --git a/app/Template/task_modification/edit_description.php b/app/Template/task_modification/edit_description.php index f5a9b0e1..cb74b250 100644 --- a/app/Template/task_modification/edit_description.php +++ b/app/Template/task_modification/edit_description.php @@ -37,7 +37,7 @@ <div class="form-help"><?= $this->url->doc(t('Write your text in Markdown'), 'syntax-guide') ?></div> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'close-popover') ?> </div> diff --git a/app/Template/task_modification/edit_task.php b/app/Template/task_modification/edit_task.php index 9e98ad5e..b5891c15 100644 --- a/app/Template/task_modification/edit_task.php +++ b/app/Template/task_modification/edit_task.php @@ -28,7 +28,7 @@ </div> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue" tabindex="10"> + <button type="submit" class="btn btn-blue" tabindex="15"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'close-popover') ?> </div> diff --git a/app/Template/task_recurrence/edit.php b/app/Template/task_recurrence/edit.php index ce69aade..0f5d611a 100644 --- a/app/Template/task_recurrence/edit.php +++ b/app/Template/task_recurrence/edit.php @@ -38,7 +38,7 @@ <?= $this->form->select('recurrence_basedate', $recurrence_basedate_list, $values, $errors) ?> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'close-popover') ?> </div> diff --git a/app/Template/tasklink/create.php b/app/Template/tasklink/create.php index c0d49191..02d38a9b 100644 --- a/app/Template/tasklink/create.php +++ b/app/Template/tasklink/create.php @@ -26,7 +26,7 @@ 'autocomplete') ?> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'close-popover') ?> </div> diff --git a/app/Template/tasklink/edit.php b/app/Template/tasklink/edit.php index 896f84c0..15afe047 100644 --- a/app/Template/tasklink/edit.php +++ b/app/Template/tasklink/edit.php @@ -27,7 +27,7 @@ 'autocomplete') ?> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?> </div> diff --git a/app/Template/tasklink/show.php b/app/Template/tasklink/show.php index 82c3d6c9..8527a344 100644 --- a/app/Template/tasklink/show.php +++ b/app/Template/tasklink/show.php @@ -104,7 +104,7 @@ ), 'autocomplete') ?> - <input type="submit" value="<?= t('Add') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Add') ?></button> </form> <?php endif ?> diff --git a/app/Template/twofactor/check.php b/app/Template/twofactor/check.php index 68a58a6c..b0cb4825 100644 --- a/app/Template/twofactor/check.php +++ b/app/Template/twofactor/check.php @@ -5,6 +5,6 @@ <?= $this->form->text('code', array(), array(), array('placeholder="123456"', 'autofocus'), 'form-numeric') ?> <div class="form-actions"> - <input type="submit" value="<?= t('Check my code') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Check my code') ?></button> </div> </form>
\ No newline at end of file diff --git a/app/Template/twofactor/index.php b/app/Template/twofactor/index.php index 6e701273..6de36514 100644 --- a/app/Template/twofactor/index.php +++ b/app/Template/twofactor/index.php @@ -7,9 +7,9 @@ <p><?= t('Two-Factor Provider: ') ?><strong><?= $this->text->e($provider) ?></strong></p> <div class="form-actions"> <?php if ($user['twofactor_activated'] == 1): ?> - <input type="submit" value="<?= t('Disable two-factor authentication') ?>" class="btn btn-red"/> + <button type="submit" class="btn btn-red"><?= t('Disable two-factor authentication') ?></button> <?php else: ?> - <input type="submit" value="<?= t('Enable two-factor authentication') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Enable two-factor authentication') ?></button> <?php endif ?> </div> </form> diff --git a/app/Template/twofactor/show.php b/app/Template/twofactor/show.php index df408035..59897e20 100644 --- a/app/Template/twofactor/show.php +++ b/app/Template/twofactor/show.php @@ -26,6 +26,6 @@ <?= $this->form->text('code', array(), array(), array('placeholder="123456"', 'autofocus'), 'form-numeric') ?> <div class="form-actions"> - <input type="submit" value="<?= t('Check my code') ?>" class="btn btn-blue"> + <button type="submit" class="btn btn-blue"><?= t('Check my code') ?></button> </div> </form>
\ No newline at end of file diff --git a/app/Template/user/authentication.php b/app/Template/user/authentication.php index 0c08f3fb..6cfd4e57 100644 --- a/app/Template/user/authentication.php +++ b/app/Template/user/authentication.php @@ -14,7 +14,7 @@ <?= $this->form->checkbox('disable_login_form', t('Disallow login form'), 1, isset($values['disable_login_form']) && $values['disable_login_form'] == 1) ?> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'user', 'show', array('user_id' => $user['id'])) ?> </div> diff --git a/app/Template/user/create_local.php b/app/Template/user/create_local.php index 38bd7836..7257456d 100644 --- a/app/Template/user/create_local.php +++ b/app/Template/user/create_local.php @@ -44,7 +44,7 @@ </div> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'user', 'index') ?> </div> diff --git a/app/Template/user/create_remote.php b/app/Template/user/create_remote.php index 7399a010..05acbba1 100644 --- a/app/Template/user/create_remote.php +++ b/app/Template/user/create_remote.php @@ -41,7 +41,7 @@ </div> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'user', 'index') ?> </div> diff --git a/app/Template/user/edit.php b/app/Template/user/edit.php index f7f67fb7..7b51eb73 100644 --- a/app/Template/user/edit.php +++ b/app/Template/user/edit.php @@ -28,7 +28,7 @@ <?php endif ?> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'user', 'show', array('user_id' => $user['id'])) ?> </div> diff --git a/app/Template/user/notifications.php b/app/Template/user/notifications.php index 7223013c..2a5c8152 100644 --- a/app/Template/user/notifications.php +++ b/app/Template/user/notifications.php @@ -22,7 +22,7 @@ <?php endif ?> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'user', 'show', array('user_id' => $user['id'])) ?> </div> diff --git a/app/Template/user/password.php b/app/Template/user/password.php index a24a4ee4..ea6e997d 100644 --- a/app/Template/user/password.php +++ b/app/Template/user/password.php @@ -19,7 +19,7 @@ <?= $this->form->password('confirmation', $values, $errors) ?> <div class="form-actions"> - <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"> + <button type="submit" class="btn btn-blue"><?= t('Save') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'user', 'show', array('user_id' => $user['id'])) ?> </div> diff --git a/app/Template/user_import/step1.php b/app/Template/user_import/step1.php index 69643d6d..592587a3 100644 --- a/app/Template/user_import/step1.php +++ b/app/Template/user_import/step1.php @@ -26,7 +26,7 @@ <p class="form-help"><?= t('Maximum size: ') ?><?= is_integer($max_size) ? $this->text->bytes($max_size) : $max_size ?></p> <div class="form-actions"> - <input type="submit" value="<?= t('Import') ?>" class="btn btn-blue"> + <button type="submit" class="btn btn-blue"><?= t('Import') ?></button> </div> </form> <div class="page-header"> |