Sha256: 0a6102e54d0131a09b47c52a929199ebf6d0c7c278b492807e75daf27445397a

Contents?: true

Size: 1.24 KB

Versions: 5

Compression:

Stored size: 1.24 KB

Contents

!!!
%html
  %head
    %title tawork
    %meta{content: "width=device-width, initial-scale=1.0", name: "viewport"}/

    = stylesheet_link_tag    "application", media: "all"
    = javascript_include_tag "application"
    = csrf_meta_tags
    %link{href: '//fonts.googleapis.com/css?family=Bitter:400,700,400italic', rel: 'stylesheet', type:'text/css'}/
    %link{href: "//fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic", rel: "stylesheet", type: "text/css"}/


  %body
    = render 'layouts/nav_header'

    .container
      - if notice.present?
        .alert.alert-success= notice
      - if alert.present?
        .alert.alert-error= alert
                  
    .container
      .row
        .col-md-3
          - if current_user.present?
            = render 'layouts/spaces'

            - if TAWORK_CONFIG["show_projects"].nil? || TAWORK_CONFIG["show_projects"]
              %ul.nav.nav-list.nav-list-panel
                %li.nav-header 
                  Projects
                - Project.all.each do |project|
                  %li 
                    = link_to project.title, project_path(project)
                %li
                  = link_to new_project_path do 
                    %i.fa.fa-plus
        .col-md-9
          = yield

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tawork-0.0.13 app/views/layouts/application.html.haml
tawork-0.0.12 app/views/layouts/application.html.haml
tawork-0.0.11 app/views/layouts/application.html.haml
tawork-0.0.10 app/views/layouts/application.html.haml
tawork-0.0.9 app/views/layouts/application.html.haml