Koha/koha-tmpl/intranet-tmpl/prog/en/modules/onboarding/onboardingstep1.tt
Owen Leonard 9ceb745fb2 Bug 20658: Move template JavaScript to the footer: Installer and onboarding
This patch updates the installer and onboarding templates so that
JavaScript is included in the footer instead of the header. A new
include file is added, installer-intranet-bottom.inc, so that only
required JS is being loaded.

Some markup changes are included to improve validity.

To test, apply the patch and start with a blank Koha database. Run
through the installer and onboarding processes and confirm that there
are no problems. Check especially JS-related interactions like
datepickers and fields which are validated via JS, like the password
inputs.

NOTE: The qa tool will flag this patch for not using the Asset plugin,
but it doesn't work correctly for installer files.

Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-03-15 19:44:45 +00:00

42 lines
2.2 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 -->
</div><!-- / .container-fluid -->
[% INCLUDE 'installer-intranet-bottom.inc' %]