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,15 +1,20 @@
- content_for :title
= User.model_name.human(count: 2).mb_chars.capitalize
.row .row
.panel.panel-primary .col-lg-12
.panel-heading .panel.panel-primary
h3.panel-title = User.model_name.human(count: 2) .panel-heading
table.record-table h3.panel-title = User.model_name.human(count: 2)
thead .panel-body
tr table.table.table-striped data-table="true"
th.picture = SpeakerProfile.human_attribute_name(:picture) thead
th = User.human_attribute_name(:email) tr
th = SpeakerProfile.human_attribute_name(:first_name) th.picture = SpeakerProfile.human_attribute_name(:picture)
th = SpeakerProfile.human_attribute_name(:last_name) th = User.human_attribute_name(:email)
th.admin = SpeakerProfile.human_attribute_name(:admin) th = SpeakerProfile.human_attribute_name(:first_name)
th.actions th = SpeakerProfile.human_attribute_name(:last_name)
tbody th.admin = SpeakerProfile.human_attribute_name(:admin)
= render @users th.actions
tbody
= render @users

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