application.html.haml 909 Bytes
Newer Older
Thomas Schneider's avatar
Thomas Schneider committed
1
2
3
4
5
6
7
8
!!!
%html
  %head
    %meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/
    %title Usermanager
    = csrf_meta_tags
    = csp_meta_tag
    = stylesheet_link_tag    'application', media: 'all'
Thomas Schneider's avatar
Thomas Schneider committed
9
    = javascript_include_tag 'application', data_turbolinks_track: 'reload'
Thomas Schneider's avatar
Thomas Schneider committed
10
11
12
13
14
15
16
17
18
19
20
21
  %body
    %nav.navbar.navbar-dark.bg-dark.static-top.navbar-expand-lg
      .container
        %a.navbar-brand{href: '/'} UserManager
        %button.navbar-toggler{type: 'button', data: {toggle: 'collapse', target: '#usermanager-navbar-collapse-1'}, aria: {controls: 'usermanager-navbar-collapse-1', expanded: 'false', label: 'Toggle navigation'}}
          %span.navbar-toggler-icon
        .collapse.navbar-collapse#usermanager-navbar-collapse-1
          .navbar-nav
            %a.nav-item.nav-link{href: '/users'} Users
          %span.navbar-text.ml-auto Not logged in
    %main.container
      = yield