fix user menu
This commit is contained in:
parent
ead74144f1
commit
f28018da4f
|
@ -11,7 +11,6 @@
|
|||
// about supported directives.
|
||||
//
|
||||
//= require jquery2
|
||||
//= require jquery_ujs
|
||||
//= require best_in_place
|
||||
//= require tether
|
||||
//= require tooltipster.bundle
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
@import "bootstrap"
|
||||
|
||||
|
||||
.nav
|
||||
a
|
|
@ -12,11 +12,11 @@
|
|||
*
|
||||
*= require_self
|
||||
*= require fontello
|
||||
*= require web_dev
|
||||
*= require tooltipster.bundle
|
||||
*= require tether
|
||||
*= require toggle
|
||||
*/
|
||||
|
||||
@import 'bootstrap';
|
||||
@import "web_dev";
|
||||
@import "new_dev";
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
= render 'resumes/user_sub'
|
||||
.section
|
||||
.container
|
||||
.authform
|
||||
.authform.margin-bottom-30
|
||||
%h1 Create your application
|
||||
|
||||
= simple_form_for(@apply , url: application_path ) do |f|
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
= render 'resumes/user_sub'
|
||||
.section
|
||||
.container
|
||||
.container.margin-bottom-30
|
||||
.row
|
||||
.col-md-2
|
||||
.col-md-8
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
.section
|
||||
.container
|
||||
.spacer-big
|
||||
.authform
|
||||
.authform.margin-bottom-30
|
||||
= form_for(resource, :as => resource_name, :url => session_path(resource_name), :html => { :role => 'form'}) do |f|
|
||||
%h3 Sign in
|
||||
= devise_error_messages!
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#page-menu.page-menu-color
|
||||
.container
|
||||
%nav.pull-right
|
||||
%button#page-menu-mobile.fa.icon-menu
|
||||
%ul.list-inline
|
||||
#user-menu.page-menu-color
|
||||
%nav.navbar.navbar-light.bg-faded
|
||||
%button.navbar-toggler.hidden-lg-up{"aria-controls" => "navbarUser", "aria-expanded" => "false", "aria-label" => "Toggle navigation", "data-target" => "#navbarUser", "data-toggle" => "collapse", :type => "button"}
|
||||
#navbarUser.collapse.navbar-toggleable-md
|
||||
%ul.nav.navbar-nav.float-md-right
|
||||
- { "Profile" => edit_user_registration_path , "Resume" => resume_path ,
|
||||
"Application" => application_path }.each do | menu, slug|
|
||||
%li{class: (request.path == slug) && "active" }
|
||||
=link_to menu , slug
|
||||
%li.nav-item{class: (request.path == slug) && "active" }
|
||||
=link_to menu , slug ,class: "nav-link"
|
||||
|
|
|
@ -96,7 +96,7 @@
|
|||
%b City:
|
||||
.col-md-8
|
||||
= resume_in_place :city
|
||||
.row
|
||||
.row.margin-bottom-30
|
||||
.col-md-1
|
||||
.col-md-1
|
||||
%p
|
||||
|
|
Loading…
Reference in New Issue