Koha/koha-tmpl/intranet-tmpl/prog/en/includes/onboarding_messages.inc
Owen Leonard 6596513d4b Bug 17942 - Update style of the web installer with Bootstrap 3
This patch makes style and markup changes to the web installer and new
onboarding tool (Bug 17855).

- Markup has been corrected, improved, and in many places reindented.
- Some page titles have been made more specific.
- Some JavaScript and CSS have been moved to separate files.

In the onboarding tool I have removed form validation from the markup
and JavaScript in many cases where the requirements were not matched
elsewhere in Koha. For instance, we shouldn't limit item type
descriptions to only letters because the database doesn't require such a
limit.

To test, apply the patch and run the web installer with an empty
database. Confirm that the installation process completes correctly and
that each page looks good and works correctly.

Works as advertised
Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2017-05-09 20:54:30 +00:00

31 lines
1.8 KiB
HTML

[% FOR m IN messages %]
[% SWITCH m.code %]
[% CASE 'success_on_insert_library' %]
<div class="alert alert-success">Library created!</div>
[% CASE 'error_on_insert_library' %]
<div class="alert alert-danger">Library already exists and cannot be modified!</div>
[% CASE 'success_on_insert_category' %]
<div class="alert alert-success">Patron category created!</div>
[% CASE 'error_on_insert_category' %]
<div class="alert alert-danger">Patron category already exists and cannot be modified!</div>
[% CASE 'success_on_insert_patron' %]
<div class="alert alert-success">Administrator account created!</div>
[% CASE 'error_on_insert_patron' %]
<div class="alert alert-danger">The patron has not been created! Cardnumber or Userid may already exist.</div>
[% CASE 'ERROR_cardnumber_already_exists' %]
<div class="alert alert-danger">Card number already in use.</div>
[% CASE 'ERROR_cardnumber_length' %]
<div class="alert alert-danger">Card number length is incorrect.</div>
[% CASE 'ERROR_password_mismatch' %]
<div class="alert alert-danger">Passwords do not match.</div>
[% CASE 'success_on_insert_itemtype' %]
<div class="alert alert-success">New item type created!</div>
[% CASE 'error_on_insert_itemtype' %]
<div class="alert alert-danger">Item type already exists!</div>
[% CASE 'success_on_insert_circ_rule' %]
<div class="alert alert-success">Circulation rule created!</div>
[% CASE 'error_on_insert_circ_rule' %]
<div class="alert alert-danger">Circulation rule not created!</div>
[% CASE %][% message %]
[% END %]
[% END %]