forked from lab2023/hierapolis
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/design_layouts' into develop
- Loading branch information
Showing
24 changed files
with
1,870 additions
and
31 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
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
module ViewHelpers | ||
def page(title, id) | ||
@page_id = id | ||
content_for :title do | ||
title | ||
end | ||
end | ||
|
||
def launcher_active(page) | ||
@page_id == page ? {class:'active'} : {} | ||
end | ||
end |
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,13 @@ | ||
en: | ||
login_heading: "Login to your account" | ||
login_remember_me: "Remember me on this computer" | ||
login_email: "Email address" | ||
login_email_hint: "Enter your email address" | ||
login_password: "Password" | ||
forgot_password: "Forgot password?" | ||
forgot_password_heading: "Reset your password" | ||
|
||
sign_in: "Sign in" | ||
sign_out: "Sign out" | ||
send: "Send" | ||
go_back: "Go back" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,3 +1,31 @@ | ||
#= require bootstrap | ||
#= require_tree | ||
|
||
$(document).ready -> | ||
$(document).ready -> | ||
|
||
# Enable Tips & Popovers | ||
$('[data-toggle=tooltip]').tooltip() | ||
$('[data-toggle=popover]').popover() | ||
|
||
# Eable Dropdowns | ||
$('.dropdown-toggle').dropdown() | ||
$('.dropdown.hover').hover (-> | ||
$(this).find('.dropdown-menu').stop(true, true).fadeIn() | ||
), -> | ||
$(this).find('.dropdown-menu').stop(true, true).delay(100).fadeOut() | ||
|
||
# Dock dropdown fix | ||
$('#dock li.launcher').each -> | ||
$(this).find('.dropdown-menu').css 'top', $(this).position().top + 33 | ||
|
||
$('#toggle').click -> | ||
$('#dock .launcher a').toggle() | ||
$('#dock li.launcher').each -> | ||
$(this).find('.dropdown-menu').css 'top', $(this).position().top + 33 | ||
|
||
# Enable toolbar tooltips | ||
$('[data-toggle=toolbar-tooltip]').tooltip | ||
placement: 'bottom' | ||
|
||
# Enable knob inputs | ||
$('.knob').knob() |
Oops, something went wrong.