mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 10:14:17 +08:00
Merge pull request #169 from mz3944/mz_help_button_SCI_13
Added help dropdown. [SCI-13]
This commit is contained in:
commit
1c1a7c231e
4 changed files with 40 additions and 0 deletions
|
@ -462,6 +462,17 @@ a[data-toggle="tooltip"] {
|
|||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
// Help link
|
||||
|
||||
.glyphicon.glyphicon-info-sign {
|
||||
font-size: 16px;
|
||||
margin-top: 4px;
|
||||
|
||||
#help-link {
|
||||
padding: 13px;
|
||||
}
|
||||
}
|
||||
|
||||
/** Add users modal */
|
||||
.btn-group-existing-users {
|
||||
width: 100%;
|
||||
|
|
|
@ -54,6 +54,21 @@
|
|||
</ul>
|
||||
|
||||
<div>
|
||||
<!-- help -->
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="dropdown">
|
||||
<a href="#" id="help-link" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
<span class="glyphicon glyphicon-info-sign"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><%= link_to t('nav.help.tutorials'), TUTORIALS_URL %></li>
|
||||
<li><%= link_to t('nav.help.faq'), FAQ_URL %></li>
|
||||
<li><%= link_to t('nav.help.support'), SUPPORT_URL %></li>
|
||||
<li><%= link_to t('nav.help.plans'), PLANS_URL %></li>
|
||||
<li><%= link_to t('nav.help.contact'), CONTACT_URL %></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<!-- profile info -->
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
|
|
|
@ -69,6 +69,14 @@ ASSET_ESTIMATED_SIZE_FACTOR = 1.1
|
|||
|
||||
DEFAULT_PRIVATE_ORG_NAME = "My projects"
|
||||
|
||||
# External URLs
|
||||
HTTP = 'http://'.freeze
|
||||
TUTORIALS_URL = (HTTP + 'scinote.net/product/tutorials/').freeze
|
||||
FAQ_URL = (HTTP + 'scinote.net/product/faq/').freeze
|
||||
SUPPORT_URL = (HTTP + 'scinote.net/plans/#prof-support').freeze
|
||||
PLANS_URL = (HTTP + 'scinote.net/plans/').freeze
|
||||
CONTACT_URL = (HTTP + 'scinote.net/about-us/').freeze
|
||||
|
||||
# ) \ / (
|
||||
# /|\ )\_/( /|\
|
||||
# * / | \ (/\|/\) / | \ *
|
||||
|
|
|
@ -63,6 +63,12 @@ en:
|
|||
profile: "My profile"
|
||||
settings: "Settings"
|
||||
logout: "Log out"
|
||||
help:
|
||||
tutorials: "Tutorials"
|
||||
faq: "FAQ"
|
||||
support: "Professional support and customization"
|
||||
plans: "Plans"
|
||||
contact: "Contact us"
|
||||
activities:
|
||||
none: "No activities!"
|
||||
label:
|
||||
|
|
Loading…
Reference in a new issue