Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SWIFTweb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
SWIFT
SWIFTweb
Commits
9f9397ec
Commit
9f9397ec
authored
7 years ago
by
Josh Borrow
Browse files
Options
Downloads
Patches
Plain Diff
Added links to docs from navbar
parent
3000f3bd
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
data/global.yaml
+4
-1
4 additions, 1 deletion
data/global.yaml
templates/helpers.html
+8
-5
8 additions, 5 deletions
templates/helpers.html
with
12 additions
and
6 deletions
data/global.yaml
+
4
−
1
View file @
9f9397ec
link
:
"
https://gitlab.cosma.dur.ac.uk/swift/swiftsim"
link
:
[
"
./docs/index.html"
,
"
https://gitlab.cosma.dur.ac.uk/swift/swiftsim"
]
navbar
:
[
# Give in [Display_Name, Template_Name format].
...
...
This diff is collapsed.
Click to expand it.
templates/helpers.html
+
8
−
5
View file @
9f9397ec
...
...
@@ -14,7 +14,7 @@
...
]
link is simply the link to the codebase (this is stored in a data file rather than the template).
link is simply the link to the codebase
and docs
(this is stored in a data file rather than the template).
#}
<div
class=
'nav mono'
>
<div
class=
"navbutton"
id=
"showhide"
>
...
...
@@ -32,10 +32,13 @@
</ul>
</div>
<div
class=
"right-nav
btn-orange code
"
id=
"right-nav"
>
<div
class=
"right-nav"
id=
"right-nav"
>
<ul>
<li>
<a
href=
"{{ link }}"
><i
class=
"fa fa-gitlab"
aria-hidden=
"true"
></i>
Code
</a>
<li
class=
"btn-blue"
>
<a
href=
"{{ link[0] }}"
><i
class=
"fa fa-book"
aria-hidden=
"true"
></i>
Docs
</a>
</li>
<li
class=
"btn-orange code"
>
<a
href=
"{{ link[1] }}"
><i
class=
"fa fa-gitlab"
aria-hidden=
"true"
></i>
Code
</a>
</li>
</ul>
</div>
...
...
@@ -54,4 +57,4 @@
{% endfor %}
</ul>
</div>
{%- endmacro %}
\ No newline at end of file
{%- endmacro %}
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