Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GraceDB Server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IGWN Computing and Software
GraceDB
GraceDB Server
Commits
7b0e5362
Commit
7b0e5362
authored
5 years ago
by
Alexander Pace
Browse files
Options
Downloads
Patches
Plain Diff
saving navbar changes
parent
9a0f0eb5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!46
Refreshed look and feel
Pipeline
#92719
passed
5 years ago
Stage: test
Stage: branch
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gracedb/templates/navbar_frag.html
+10
-52
10 additions, 52 deletions
gracedb/templates/navbar_frag.html
with
10 additions
and
52 deletions
gracedb/templates/navbar_frag.html
+
10
−
52
View file @
7b0e5362
<!--<div style="padding-bottom: 30px;">
<ul id="nav">
<li id="nav-home"><a href="{% url "home" %}">Home</a></li>
<li id="nav-public"><a href="{% url "superevents:public-alerts-O3" %}">Public Alerts</a></li>
<li id="nav-search"><a href="{% url "mainsearch" %}">Search</a></li>
<li id="nav-latest"><a href="{% url "latest" %}">Latest</a></li>
{% if user_is_internal %}
<li id="nav-alerts"><a href="{% url "alerts:index" %}">Alerts</a></li>
<li id="nav-pipelines"><a href="{% url "manage-pipelines" %}">Pipelines</a></li>
{% elif user_is_lvem %}
<li id="nav-password"><a href="{% url "manage-password" %}">Manage Password</a></li>
{% endif %}
<li id="nav-docs"><a href="{% url "home" %}documentation/">Documentation</a></li>
{% if user %}
{% if user.is_superuser %}
<li id="nav-admin-docs"><a href="{% url "home" %}admin_docs/">Admin docs</a></li>
{% endif %}
{% endif %}
{% if user_is_internal %}
<li id="nav-other"><a href="{% url "other" %}">Other</a></li>
{% endif %}
{% if user.is_authenticated %}
<li id="nav-logout"><a href="{% url "logout" %}?next={{ request.path }}">Logout</a></li>
<li id="nav-user">Authenticated as:
{% if user.first_name %}
{{ user.get_full_name }}
{% else %}
{{ user.username }}
{% endif %}
</li>
{% else %}
<li id="nav-login"><a href="{% url "login" %}?next={{ request.path }}">Login</a></li>
{% endif %}
</ul>
{% if 'lvem_view' in request.path %}
<div id="lvem_view_message">
<b>IMPORTANT:</b> You are viewing this page as a member of the LV-EM Observers group.
At the end of your session, please remove the 'lvem_view/' string from the URL to
return to the regular GraceDB site. This will ensure that your group memberships
are correct the next time you log in.
</div>
{% endif %}
</div> -->
<nav>
<div
class=
"nav-wrapper blue darken-3"
style=
"padding-left: 15px;"
>
{% if user.is_authenticated %}
<span
class=
"gray-text"
style=
"font-size:8pt"
>
Authenticated as:
</span>
{% if user.first_name %}
<span
class=
"gray-text"
style=
"font-size:8pt"
>
{{ user.get_full_name }}
</span>
{% else %}
<span
class=
"gray-text"
style=
"font-size:8pt"
>
{{ user.username }}
</span>
{% endif %}
<span
class=
"gray-text"
style=
"font-size:8pt"
>
Authenticated as:
</span>
{% if user.first_name %}
<span
class=
"gray-text"
style=
"font-size:8pt"
>
{{ user.get_full_name }}
</span>
{% else %}
<span
class=
"gray-text"
style=
"font-size:8pt"
>
{{ user.username }}
</span>
{% endif %}
{% else %}
<span
class=
"gray-text"
style=
"font-size:8pt"
>
Please log in to view full database contents.
</span>
{% endif %}
<a
href=
"#"
data-target=
"mobile-demo"
class=
"sidenav-trigger"
><i
class=
"material-icons"
>
menu
</i></a>
<ul
class=
"right hide-on-med-and-down"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment