Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hub
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Package registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
thomasDOTwtf
hub
Commits
4868393a
Commit
4868393a
authored
Dec 28, 2021
by
smtw
Browse files
Options
Downloads
Patches
Plain Diff
add header icon
parent
d56c4b5b
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/plainui/jinja2/plainui/components/header_buttons.html
+10
-0
10 additions, 0 deletions
src/plainui/jinja2/plainui/components/header_buttons.html
src/plainui/jinja2/plainui/header.html
+1
-0
1 addition, 0 deletions
src/plainui/jinja2/plainui/header.html
with
11 additions
and
0 deletions
src/plainui/jinja2/plainui/components/header_buttons.html
+
10
−
0
View file @
4868393a
...
...
@@ -122,6 +122,16 @@
</a>
{% endmacro %}
{% macro help(title=_("helpful teams"), color="transparent" ) %}
<a
href=
"{{ url( 'plainui:static_page', page_slug='start') }}"
class=
"btn-icon-big btn btn-{{ color }} p-2"
title=
"{{ title }}"
>
<svg
width=
"1.25rem"
height=
"1.25rem"
fill=
"currentColor"
version=
"1.1"
x=
"0"
y=
"0"
viewBox=
"0 0 500 500"
style=
"enable-background:new 0 0 500 500"
xml:space=
"preserve"
id=
"svg62"
xmlns=
"http://www.w3.org/2000/svg"
><style
type=
"text/css"
id=
"style2"
>
.st0
{
display
:
none
}
.st1
{
display
:
inline
}
.st2
{
fill
:
none
;
stroke
:
#000
;
stroke-width
:
18
;
stroke-linecap
:
round
;
stroke-linejoin
:
round
;
stroke-miterlimit
:
10
}
</style><g
aria-label=
"?"
transform=
"scale(.9727 1.02807)"
id=
"text1060"
style=
"font-weight:700;font-size:300.21px;font-family:'Open Sans';-inkscape-font-specification:'Open Sans Bold';stroke-width:7.50525"
><g
id=
"g2188"
><g
id=
"report"
style=
"enable-background:new 0 0 500 500"
transform=
"scale(1.02807 .9727)"
><g
id=
"g59"
><path
d=
"M448.65 237.65 262.3 51.3a16.992 16.992 0 0 0-24.04 0L51.9 237.65c-6.64 6.64-6.64 17.4 0 24.04l186.35 186.35a16.992 16.992 0 0 0 24.04 0l186.35-186.35c6.65-6.64 6.65-17.4.01-24.04zM250.27 411.98 87.96 249.67 250.28 87.36l162.31 162.31-162.32 162.31z"
id=
"path57"
/></g></g><path
d=
"m226.697 274.396-3.903-45.332q-.3-5.104 3.602-7.806 4.203-3.002 15.912-6.904l27.92-9.007v-23.716q-5.105-.9-11.109-1.201-5.704-.6-11.708-.6-10.207 0-22.516 1.8-12.308 1.802-22.816 4.204l-6.004-30.622q29.721-9.006 56.44-9.006 24.016 0 38.126 4.503 14.41 4.203 20.715 13.81 6.604 9.606 6.604 25.818 0 10.207-2.701 17.712-2.402 7.505-9.007 13.21-6.304 5.703-18.313 11.107-12.008 5.104-30.921 10.808l-1.801 31.222zm-9.607 42.029q0-12.609 4.503-18.013 4.503-5.704 19.213-5.704 14.11 0 18.613 5.704 4.804 5.404 4.804 18.013 0 12.91-4.804 18.313-4.503 5.404-18.613 5.404-14.71 0-19.213-5.404t-4.503-18.313z"
style=
"font-family:Changa;-inkscape-font-specification:'Changa Bold'"
id=
"path2061"
/></g></g></svg>
</a>
{% endmacro %}
{% macro share(share_url, title=_("share this "), color="transparent" ) -%}
<a
href=
"{{ share_url }}"
...
...
This diff is collapsed.
Click to expand it.
src/plainui/jinja2/plainui/header.html
+
1
−
0
View file @
4868393a
...
...
@@ -79,6 +79,7 @@
{% if report_info %}
{{ hbtns.report(report_info.url, kind=report_info.get('kind', 'url'), color="transparent") }}
{% endif %}
{{ hbtns.help() }}
{{ hbtns.globe() }}
{{ hbtns.logout() }}
</div>
...
...
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