Sha256: 86004fbe64a97952b3fda7508af5481e2728ac30a1f94f03e71789b1fcef5fed
Contents?: true
Size: 1.73 KB
Versions: 2
Compression:
Stored size: 1.73 KB
Contents
!!! %html{ lang: 'en' } %head %meta{ charset: 'UTF-8' } %title Chook / CSS %link{ href: '/css/chook.css', rel: 'stylesheet' } / JavaScript %script{ type: 'text/javascript', language: 'javascript', src: '/js/chook.js' } %script{ type: 'text/javascript', language: 'javascript', src: '/js/logstream.js' } %body / Top #pageheader %table{ width: '100%' } %tr %td{ valign: 'bottom', width: '120' } #header_logo %img{ alt: '', height: '120', src: '/imgs/ChookLogoAlMcWhiggin.png', width: '120' } #header_version v#{Chook::VERSION} %td #definition %span.chook_title Chook %br/ %span.def_pronunciation /tʃʊk/ (also chookie /ˈtʃʊki/ ) %br/ %span.def_part_of_speech noun %span.def_dialect Australian/NZ informal %br/ %span.def_definition a chicken or fowl %hr/ - if Chook.config.admin_user #login_logout_div - if session[:authed_admin] %a{ href: '/logout' } %button#logout_btn{ type: 'button' } Log Out = yield - else %form#login_form{ name: 'login_form', method: 'POST', action: '/login' } - if Chook.config.admin_user == Chook::Server::Auth::USE_JAMF_ADMIN_USER Jamf Pro Username: %input#username{ type: :text, name: 'username' } Password: %input#password{ type: :password, name: 'password' } %input#login_btn{ type: :submit, value: 'Log In' } - if session[:auth_failed] %span#login_incorrect Login Incorrect! - else = yield
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
chook-1.1.2 | lib/chook/server/views/layout.haml |
chook-1.1.1 | lib/chook/server/views/layout.haml |