Sha256: 37b5c1b28514c483973d5ea7cd1d58385fcf0335a847d7dff3e8234f0faf0a02

Contents?: true

Size: 1.2 KB

Versions: 3

Compression:

Stored size: 1.2 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: "http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700", rel: "stylesheet", type: "text/css"}/
    %link{href: "http://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
          = 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

3 entries across 3 versions & 1 rubygems

Version Path
tawork-0.0.3 app/views/layouts/application.html.haml
tawork-0.0.2 app/views/layouts/application.html.haml
tawork-0.0.1 app/views/layouts/application.html.haml