mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-04 12:14:37 +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;
|
margin-bottom: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Help link
|
||||||
|
|
||||||
|
.glyphicon.glyphicon-info-sign {
|
||||||
|
font-size: 16px;
|
||||||
|
margin-top: 4px;
|
||||||
|
|
||||||
|
#help-link {
|
||||||
|
padding: 13px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/** Add users modal */
|
/** Add users modal */
|
||||||
.btn-group-existing-users {
|
.btn-group-existing-users {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
|
@ -54,6 +54,21 @@
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div>
|
<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 -->
|
<!-- profile info -->
|
||||||
<ul class="nav navbar-nav navbar-right">
|
<ul class="nav navbar-nav navbar-right">
|
||||||
|
|
|
@ -69,6 +69,14 @@ ASSET_ESTIMATED_SIZE_FACTOR = 1.1
|
||||||
|
|
||||||
DEFAULT_PRIVATE_ORG_NAME = "My projects"
|
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"
|
profile: "My profile"
|
||||||
settings: "Settings"
|
settings: "Settings"
|
||||||
logout: "Log out"
|
logout: "Log out"
|
||||||
|
help:
|
||||||
|
tutorials: "Tutorials"
|
||||||
|
faq: "FAQ"
|
||||||
|
support: "Professional support and customization"
|
||||||
|
plans: "Plans"
|
||||||
|
contact: "Contact us"
|
||||||
activities:
|
activities:
|
||||||
none: "No activities!"
|
none: "No activities!"
|
||||||
label:
|
label:
|
||||||
|
|
Loading…
Add table
Reference in a new issue