[%# # This helper should be included in files which will be served as # top-level responses (i.e. documents on their own); this includes # UI/login.html, UI/logout.html, UI/main.html and various UI/setup/ pages # Most LedgerSMB responses are handled by the 'xhr' Dojo module, which # *only* needs opening and closing BODY tags to be there (for now). # # Note: To keep some comments as is and control pre or post white space # chomping, we make use of '+' or '-' beside the introducers in # comments like this one. -%] [% title %] [%+# HTML Snippet, for import only %] [%+# # source comment only! # # don't specify a title on the stylesheets: we want them to be # *persistent* # http://www.w3.org/TR/html401/present/styles.html#h-14.3.1 %] <%= htmlWebpackPlugin.tags.headTags %> [% IF form.stylesheet %] [% ELSIF stylesheet %] [% END %] [% FOREACH s = include_stylesheet %] [% END %] [% IF warn_expire ; IF pw_expires.years ; ALERT = text("Warning: Your password will expire in [_1] years", pw_expires.years); ELSIF pw_expires.months ; ALERT = text("Warning: Your password will expire in [_1] months", pw_expires.months); ELSIF pw_expires.weeks ; ALERT = text("Warning: Your password will expire in [_1] weeks", pw_expires.weeks); ELSIF pw_expires.days ; ALERT = text("Warning: Your password will expire in [_1] days", pw_expires.days); ELSE ; ALERT = text("Warning: Your password will expire today"); END; %] [% END %] ${htmlWebpackPlugin.tags.bodyTags} [% BLOCK end_html %] [% END %]