Eluinhost/TeamspeakAuth

View on GitHub
src/PublicUHC/Bundle/TeamspeakAuthBundle/Resources/views/TeamspeakAuth/app.html.haml

Summary

Maintainability
Test Coverage
!!!
%html
  %head
    %title
      - block page_title
        #{site_name}
    - block stylesheets
      %link{:rel=>"stylesheet", :type=>"text/css", :href=>"#{asset('vendor/css/TeamspeakAuth.min.css')}"}
      - stylesheets 'bundles/publicuhcteamspeakauth/css/*' filter='cssrewrite'
        %link{:rel=>"stylesheet", :type=>"text/css", :href=>"#{asset_url}"}
  %body{"ng-app"=>"teamspeakAuthApp"}
    .site-header.text-center
      %a{"ui-sref"=>"index"}
        -image '@PublicUHCTeamspeakAuthBundle/Resources/public/images/servericon.png'
          %img{:src=>"#{asset_url}", :alt=>"Server Icon"}
        %h1 #{site_name}
    .row.outer-wrapper
      .small-10.small-offset-1.columns
        .row.page-wrapper.text-center
          %section.main-section
            - block content
              %div{"ui-view"=>true}
                Loading...
          .small-12.columns.copyright-footer.text-right
            %i.fa.fa-github
            %a{:href=>"https://github.com/Eluinhost/TeamspeakAuth"} Source
            %i.fa.fa-bug
            %a{:href=>"#{path('nelmio_api_doc_index')}"} API
            %i.fa.fa-twitter
            %a{:href=>"https://twitter.com/Eluinhost"} Twitter
            %small ©Eluinhost 2014

- block javascripts
  %script{:src=>"#{asset('vendor/js/TeamspeakAuth.min.js')}"}
  %script{:src=>"#{asset('bundles/fosjsrouting/js/router.js')}"}
  %script{:src=>"#{path('fos_js_routing_js', {'callback': 'fos.Router.setData'})}"}
  %script{:src=>"#{asset('bundles/cypressangularngrouting/ng-router.js')}"}
  %script{:src=>"#{path('fos_js_routing_js', {'callback': 'cypress.NgRouter.setData'})}"}
  - javascripts '@PublicUHCTeamspeakAuthBundle/Resources/public/js/*'
    %script{:type=>"text/javascript", :src=>"#{asset_url}"}