Koha/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep1.tt
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

41 lines
2.1 KiB
Text

[% INCLUDE 'doc-head-open.inc' %]
<title>Koha &rsaquo; Web installer &rsaquo; Create a library</title>
[% INCLUDE 'installer-doc-head-close.inc' %]
</head>
<body id="installer" class="installer">
<div class="container-fluid">
<div class="row">
<div id="onboarding-step1" class="installer-main col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2">
<h1 id="logo"><a href="#">Koha</a></h1>
<h2>Web installer &rsaquo; Create a library</h2>
[% INCLUDE 'onboarding_messages.inc' %]
<form name="LibraryCreation" method="post" action="onboarding.pl">
<fieldset class="rows" >
<input type="hidden" name="step" value="1"/>
<input type="hidden" name="op" value="add_validate_library"/>
<ol>
<li>
<label for="branchcode" class="required">Library code: </label>
<input type="text" pattern="[0-9A-Za-z]{1,10}" name="branchcode" id="branchcode" size="10" maxlength="10" value="" class="required" required="required" />
<span class="required">Required</span>
</li>
<li>
<label for="branchname" class="required">Name: </label>
<input type="text" name="branchname" id="branchname" size="42" class="required" required="required">
<span class="required">Required</span>
</li>
</ol>
<p>To add another library and for more settings, go to:
<span class="breadcrumbs"> Administration <b>&rsaquo;</b> Libraries and groups </span>
</p>
<input type="submit" class="btn btn-primary" value="Submit" />
</fieldset>
</form>
</div> <!-- / #onboarding-step1 -->
</div> <!-- / .row -->
[% INCLUDE 'intranet-bottom.inc' %]