This commit is contained in:
Petko Bordjukov 2014-10-15 11:48:01 +03:00
parent eceed74020
commit d1f49a4218
5 changed files with 30 additions and 23 deletions

View File

@ -1,6 +1,6 @@
.navigation { .navigation {
@extend .navbar; @extend .navbar;
@extend .navbar-default; @extend .navbar-inverse;
@extend .navbar-static-top; @extend .navbar-static-top;
.header { .header {

View File

@ -36,7 +36,6 @@ html
- Conference.where.not(id: @conference.id).each do |conference| - Conference.where.not(id: @conference.id).each do |conference|
li li
= link_to conference.title, management_conference_path(conference) = link_to conference.title, management_conference_path(conference)
li.dropdown li.dropdown
a.dropdown-toggle href="#" data-toggle="dropdown" a.dropdown-toggle href="#" data-toggle="dropdown"
i.fa.fa-flag.fa-fw> i.fa.fa-flag.fa-fw>
@ -48,13 +47,17 @@ html
= link_to t("locales.#{locale}"), "?locale=#{locale}" = link_to t("locales.#{locale}"), "?locale=#{locale}"
.sidebar.collapsable .sidebar.collapsable
ul.nav#side-menu ul.nav#side-menu
li
a.active href="index.html"
i.fa.fa-dashboard.fa-fw
| Dashboard
li class="#{controller_name == 'conferences' ? 'active' : nil}" li class="#{controller_name == 'conferences' ? 'active' : nil}"
= link_to management_conferences_path = link_to management_conferences_path
= fa_icon :group, text: Conference.model_name.human(count: 2).mb_chars.capitalize = fa_icon 'group fw', text: Conference.model_name.human(count: 2).mb_chars.capitalize
ul.nav.nav-second-level
- Conference.all.each do |conference|
li
= link_to conference.title, management_conference_path(conference)
li class="#{controller_name == 'users' ? 'active' : nil}"
= link_to management_users_path
= fa_icon 'user fw', text: User.model_name.human(count: 2).mb_chars.capitalize
div.content#page-wrapper div.content#page-wrapper
== yield == yield

View File

@ -10,7 +10,7 @@
.panel-heading .panel-heading
.row .row
.col-xs-3 .col-xs-3
= fa_icon 'bullhorn 5x' = fa_icon 'files-o 5x'
.col-xs-9.text-right .col-xs-9.text-right
.huge .huge
= @conference.events.count = @conference.events.count

View File

@ -1,8 +1,13 @@
- content_for :title
= User.model_name.human(count: 2).mb_chars.capitalize
.row .row
.col-lg-12
.panel.panel-primary .panel.panel-primary
.panel-heading .panel-heading
h3.panel-title = User.model_name.human(count: 2) h3.panel-title = User.model_name.human(count: 2)
table.record-table .panel-body
table.table.table-striped data-table="true"
thead thead
tr tr
th.picture = SpeakerProfile.human_attribute_name(:picture) th.picture = SpeakerProfile.human_attribute_name(:picture)

View File

@ -33,7 +33,6 @@ Rails.application.routes.draw do
get 'undecided' get 'undecided'
get 'backup' get 'backup'
get 'confirmed' get 'confirmed'
post 'send_acceptance_notifications'
end end
end end
end end