Owen Leonard
b313584807
This patch replaces the use of jQueryUI's datepicker in the onboarding templates. The addition of calendar.inc to the template requires that some additions be made to the installer's header files, adding the i18n JavaScript assets. jQueryUI-specific CSS is removed from installer.scss, and inclusion of Flatpickr's SCSS is added. To test, apply the patch and rebuild the staff client SCSS (https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client). - Start the installation process. - Continue through the installation process until you reach the stage in onboarding where you are creating a patron category. - The "Enrollment period -> Until" field should be a Flatpickr calendar widget. The widget should look and work correctly. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
17 lines
791 B
HTML
17 lines
791 B
HTML
[% USE raw %]
|
|
[% USE Asset %]
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon | html %][% ELSE %][% interface | html %]/[% theme | html %]/img/favicon.ico[% END %]" type="image/x-icon" />
|
|
[% Asset.css("lib/jquery/jquery-ui-1.11.4.min.css") | $raw %]
|
|
[% Asset.css("lib/bootstrap/bootstrap.min.css") | $raw %]
|
|
[% Asset.css("lib/font-awesome/css/font-awesome.min.css") | $raw %]
|
|
[% Asset.css("css/installer.css") | $raw %]
|
|
<script>
|
|
var Koha = {};
|
|
</script>
|
|
[% IF lang && lang != 'en' %]
|
|
[% Asset.js(lang _ '/js/locale_data.js') | $raw %]
|
|
[% END %]
|
|
[% Asset.js('js/Gettext.js') | $raw %]
|
|
[% Asset.js('js/i18n.js') | $raw %]
|
|
<style id="antiClickjack">body{display:none !important;}</style>
|