Skip to content

Commit

Permalink
#16 partials added
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdilek committed Sep 5, 2013
1 parent 740c66a commit 51e9f1f
Show file tree
Hide file tree
Showing 6 changed files with 100 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/views/layouts/partials/_breadcrumb.haml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
%ul#breadcrumb.breadcrumb
%li.title= yield :title
%li= link_to 'Lorem', '#'
%li.active= link_to 'ipsum', '#'
34 changes: 34 additions & 0 deletions app/views/layouts/partials/_dock.haml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
%i#toggle.icon-align-justify.icon-large

%ul#dock
%li.launcher
%i.icon-dashboard
=link_to 'Dashboard', 'dashboard.html'
%li.launcher
%i.icon-file-text-alt
=link_to 'Forms', 'forms.html'
%li.launcher
%i.icon-table
=link_to 'Tables', 'tables.html'
%li.launcher.dropdown.hover
%i.icon-flag
%a{href: '#'} Reports
%ul.dropdown-menu
%li.dropdown-header Launcher description
%li
%a{:href => '#'} Action
%li
%a{:href => '#'} Another action
%li
%a{:href => '#'} Something else here
%li.launcher
%i.icon-bookmark
%a{href: '#'} Bookmarks
%li.launcher
%i.icon-cloud
%a{href: '#'} Backup
%li.launcher
%i.icon-bug
%a{href: '#'} Feedback

#beaker{data: {toggle: 'tooltip'}, title: 'Made by lab2023'}
6 changes: 6 additions & 0 deletions app/views/layouts/partials/_footer.haml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

/ Javascripts
= javascript_include_tag '//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js',
'//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js',
'//cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js',
'application'
36 changes: 36 additions & 0 deletions app/views/layouts/partials/_navbar.haml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#navbar.navbar
%a.navbar-brand{:href => '#'}
%i.icon-beer
Hierapolis
%ul.nav.navbar-nav.pull-right
%li.dropdown
%a.dropdown-toggle{data: {toggle: 'dropdown'}, :href => '#'}
%i.icon-envelope
Messages
%span.badge 5
%b.caret
%ul.dropdown-menu
%li
%a{:href => '#'} New message
%li
%a{:href => '#'} Inbox
%li
%a{:href => '#'} Out box
%li
%a{:href => '#'} Trash
%li
%a{href: '#'}
%i.icon-cog
Settings
%li.dropdown.user
%a.dropdown-toggle{'data-toggle' => 'dropdown', :href => '#'}
%i.icon-user
%strong John DOE
=image_tag 'http://lorempixel.com/output/fashion-q-c-20-20-4.jpg', width: '20px', height: '20px', class: 'img-rounded'
%b.caret
%ul.dropdown-menu
%li
%a{:href => '#'} Edit Profile
%li.divider
%li
=link_to 'Sign out', 'index.html'
15 changes: 15 additions & 0 deletions app/views/layouts/partials/_toolbar.haml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#toolbar
.btn-group
%a.btn{href: '#', data: {toggle: 'toolbar-tooltip'}, title: 'Building'}
%i.icon-building
%a.btn{href: '#', data: {toggle: 'toolbar-tooltip'}, title: 'Laptop'}
%i.icon-laptop
%a.btn{href: '#', data: {toggle: 'toolbar-tooltip'}, title: 'Calendar'}
%i.icon-calendar
%span.badge 3
%a.btn{href: '#', data: {toggle: 'toolbar-tooltip'}, title: 'Lemon'}
%i.icon-lemon
.label.label-danger
Danger
.label.label-info
Info
5 changes: 5 additions & 0 deletions app/views/layouts/partials/_trackers.haml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
:javascript
var _gaq=[['_setAccount','UA-XXXXX-X'],['_trackPageview']];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'script'));

0 comments on commit 51e9f1f

Please sign in to comment.