-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
ismail Akbudak
committed
Jun 21, 2016
1 parent
0c104e3
commit 6e6fa6d
Showing
6 changed files
with
34 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
REDIS0006�ܳC�Z��V |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
class Hq::SessionsController < Devise::SessionsController | ||
layout 'login' | ||
layout 'hq/login' | ||
|
||
private | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
%i#toggle.icon-align-justify.icon-large | ||
|
||
%ul#dock | ||
%li.launcher | ||
%i.icon-dashboard | ||
=link_to t('dock.dashboard'), hq_dashboard_index_path | ||
|
||
#beaker{data: {toggle: 'tooltip'}, title: 'Made by lab2023'} |
17 changes: 17 additions & 0 deletions
17
templates/app/views/layouts/hq/partials/_navbar.html.haml.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#navbar.navbar.navbar-default | ||
%a.navbar-brand{href: hq_root_path} | ||
%i.icon-beer | ||
<%= app_name %> | ||
%ul.nav.navbar-nav.pull-right | ||
%li.dropdown.user | ||
%a.dropdown-toggle{'data-toggle' => 'dropdown', href: '#'} | ||
%i.icon-user | ||
%strong | ||
= current_admin.email | ||
%b.caret | ||
%ul.dropdown-menu | ||
%li | ||
=link_to t('navbar.edit_profile'), edit_admin_registration_path | ||
%li.divider | ||
%li | ||
=link_to t('navbar.signout'), destroy_admin_session_path, method: :delete |