railsrumble/r13-team-357

View on GitHub
app/views/layouts/welcome.html.haml

Summary

Maintainability
Test Coverage
!!! 5
/[if IE 8]      <html class="no-js lt-ie10 lt-ie9" lang="en-us">
/[if IE 9]      <html class="no-js lt-ie10 lt-ie9" lang="en-us">
/[if lt IE 10]  <html class="no-js lt-ie10" lang="en-us">
%html{lang: 'en', class: 'no-js'}
  %head
    %title= "#{t('app_title')} - #{yield :title}"
    %meta(http-equiv="content-type" content="text/html" charset="utf-8")
    %meta(http-equiv="x-ua-compatible" content="ie=edge,chrome=1")
    %meta(name="description" content="")
    %meta(name="author" content="")
    %meta{content: 'initial-scale=1.0,user-scalable=no,maximum-scale=1,width=device-width', name: 'viewport'}
    %meta(name="viewport" content="initial-scale=1.0,user-scalable=no,maximum-scale=1" media="(device-height: 568px)")
    %meta(name='apple-mobile-web-app-capable' content='yes')
    %meta(name='apple-mobile-web-app-status-bar-style' content='translucent-black')

    %link(rel="shortcut icon" href="#{image_url('favicon.png')}")

    / Stylesheets (Don't change include order)
    = stylesheet_link_tag '//netdna.bootstrapcdn.com/font-awesome/3.2.0/css/font-awesome.min.css', 'welcome'
    = yield :head

  %body
    #navbar.navbar.navbar-default.navbar-fixed-top
      %a.navbar-brand{:href => root_url}
        %i.icon-tasks
        Ganban
      %ul.nav.navbar-nav.pull-right
        %li= link_to 'GitHub Repo', 'https://github.com/railsrumble/r13-team-357', :target => '_blank'
        %li= link_to 'Blog', 'http://ganban.tumblr.com/', :target => '_blank'

    .container
      = yield

    %footer#footer
      .container
        .row
          .col-md-8
            %ul.nav.navbar-nav
              %li= link_to 'GitHub Repo', 'https://github.com/railsrumble/r13-team-357', :target => '_blank'
              %li= link_to 'Blog', 'http://ganban.tumblr.com/', :target => '_blank'
              %li{style: 'margin-top: 15px;'}
                %a.twitter-share-button{'data-hashtags' => 'railsrumble', 'data-related' => 'railsrumble', 'data-text' => 'Ganban is a simple kanban app.', 'data-url' => 'ganban.r13.railsrumble.com', 'data-via' => 'lab2023','data-via' =>'twitterapi', href: 'https://twitter.com/share'} Tweet

            #contributors
              %p
                %strong Contributors
                %br/
                = link_to (image_tag 'https://1.gravatar.com/avatar/4732dcddf313b9c5809613437975f7e6', class: 'img-circle avatar-image'),
                 'https://github.com/muhammetdilek', target: '_blank', data: {toggle: 'tooltip'}, title: 'Muhammet DİLEK'
                = link_to (image_tag 'https://0.gravatar.com/avatar/6cb312c4ecb4ab0ca968cef91592cd97', class: 'img-circle avatar-image'),
                 'https://github.com/hamitturkukaya', target: '_blank', data: {toggle: 'tooltip'}, title: 'H. Türkü Kaya'
                = link_to (image_tag 'https://0.gravatar.com/avatar/616ed71ecc8cbe7a3f72dfe3f17d6ad6', class: 'img-circle avatar-image'),
                 'https://github.com/onurozgurozkan', target: '_blank', data: {toggle: 'tooltip'}, title: 'Onur Özgür ÖZKAN'
                = link_to (image_tag 'https://2.gravatar.com/avatar/9c55af85fdee9df09c5fa7dd3d1945b0', class: 'img-circle avatar-image'),
                 'https://github.com/tayfunoziserikan', target: '_blank', data: {toggle: 'tooltip'}, title: 'Muhammet DİLEK'

          .col-md-4.copyrights
            %p
              This project as part of
              = link_to image_tag('rumble-ganban.png', width: 100), 'http://railsrumble.com', target: '_blank'
            %p
              You can
              =link_to 'vote for us', 'http://railsrumble.com/entries/357-lab2023', target: '_blank'
              in the
              =link_to '2013 Rails Rumble!', 'http://railsrumble.com', target: '_blank'
            %p
              Current version:
              = link_to @version, 'https://github.com/railsrumble/r13-team-357/blob/develop/CHANGELOG.md', target: '_blank'

    = javascript_include_tag 'welcome'

:javascript
  !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");