Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vignette
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pascal Engélibert
vignette
Commits
eaa210e9
Commit
eaa210e9
authored
3 years ago
by
matograine
Browse files
Options
Downloads
Patches
Plain Diff
begin language menu
parent
a3f9f40d
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
source/files/index.html
+27
-2
27 additions, 2 deletions
source/files/index.html
source/theme/custom.css
+7
-0
7 additions, 0 deletions
source/theme/custom.css
with
34 additions
and
2 deletions
source/files/index.html
+
27
−
2
View file @
eaa210e9
...
@@ -4,9 +4,11 @@
...
@@ -4,9 +4,11 @@
<meta
name=
"generator"
content=
"HTML Tidy for HTML5 for Linux version 5.6.0"
>
<meta
name=
"generator"
content=
"HTML Tidy for HTML5 for Linux version 5.6.0"
>
<meta
charset=
"UTF-8"
>
<meta
charset=
"UTF-8"
>
<link
rel=
"stylesheet"
href=
"../theme/materialize.min.css"
>
<link
rel=
"stylesheet"
href=
"../theme/materialize.min.css"
>
<link
rel=
"stylesheet"
href=
"../theme/custom.css"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<title
id=
"header-title"
>
__MAIN_TITLE__
</title>
<title
id=
"header-title"
>
__MAIN_TITLE__
</title>
<link
rel=
"icon"
type=
"image/svg"
href=
"../img/v-cercle.svg"
>
<link
rel=
"icon"
type=
"image/svg"
href=
"../img/v-cercle.svg"
>
<script>
<script>
// URL drawn horizontally or vertically, or not be drawn.
// URL drawn horizontally or vertically, or not be drawn.
const
URL_ORIENTATION
=
"
horizontal
"
;
const
URL_ORIENTATION
=
"
horizontal
"
;
...
@@ -17,6 +19,10 @@
...
@@ -17,6 +19,10 @@
<body>
<body>
<header>
<header>
<nav>
<nav>
<!-- language dropdown -->
<ul
id=
"language_dropdown"
class=
"dropdown-content"
>
__LANGUAGE_DROPDOWN_MENU__
</ul>
<div
class=
"nav-wrapper cyan darken-2"
>
<div
class=
"nav-wrapper cyan darken-2"
>
<a
id=
"title-center"
href=
"#"
class=
"brand-logo center hide-on-med-and-down"
style=
"display: block;"
>
<a
id=
"title-center"
href=
"#"
class=
"brand-logo center hide-on-med-and-down"
style=
"display: block;"
>
<img
width=
"60"
height=
"60"
style=
"vertical-align:middle;"
src=
"./img/v-cercle.svg"
/>
<img
width=
"60"
height=
"60"
style=
"vertical-align:middle;"
src=
"./img/v-cercle.svg"
/>
...
@@ -33,6 +39,7 @@
...
@@ -33,6 +39,7 @@
<p>
ViĞnette
</p>
<p>
ViĞnette
</p>
</a>
</a>
</div>
</div>
<!-- menu -->
<ul
class=
"right hide-on-med-and-down"
>
<ul
class=
"right hide-on-med-and-down"
>
<li
class=
"active"
>
<li
class=
"active"
>
<a
href=
"index.html"
>
__HOME__
</a>
<a
href=
"index.html"
>
__HOME__
</a>
...
@@ -43,6 +50,19 @@
...
@@ -43,6 +50,19 @@
<li>
<li>
<a
href=
"licence.html"
>
__LICENSE__
</a>
<a
href=
"licence.html"
>
__LICENSE__
</a>
</li>
</li>
<li>
<a
class=
"dropdown-trigger"
href=
"#!"
data-target=
"language_dropdown"
>
<svg
xmlns=
"http://www.w3.org/2000/svg"
class=
"icon icon-tabler icon-tabler-world"
width=
"44"
height=
"44"
viewBox=
"0 0 24 24"
stroke-width=
"1.5"
stroke=
"#2c3e50"
fill=
"none"
stroke-linecap=
"round"
stroke-linejoin=
"round"
>
<path
stroke=
"none"
d=
"M0 0h24v24H0z"
fill=
"none"
/>
<circle
cx=
"12"
cy=
"12"
r=
"9"
/>
<line
x1=
"3.6"
y1=
"9"
x2=
"20.4"
y2=
"9"
/>
<line
x1=
"3.6"
y1=
"15"
x2=
"20.4"
y2=
"15"
/>
<path
d=
"M11.5 3a17 17 0 0 0 0 18"
/>
<path
d=
"M12.5 3a17 17 0 0 1 0 18"
/>
</svg>
__LANGUAGE_DROPDOWN_MENU_LABEL__
</a>
</li>
</ul>
</ul>
</div>
</div>
</nav>
</nav>
...
@@ -161,8 +181,13 @@
...
@@ -161,8 +181,13 @@
var
instances
=
M
.
Sidenav
.
init
(
elems
,
options
);
var
instances
=
M
.
Sidenav
.
init
(
elems
,
options
);
//---- enable theming for select form input ----
//---- enable theming for select form input ----
var
elems
=
document
.
querySelectorAll
(
'
select
'
);
var
elems2
=
document
.
querySelectorAll
(
'
select
'
);
var
instances
=
M
.
FormSelect
.
init
(
elems
,
options
);
console
.
log
(
elems2
)
var
instances2
=
M
.
FormSelect
.
init
(
elems2
,
options
);
//---- enable dropdown language menus ----
var
elems3
=
document
.
querySelectorAll
(
'
.dropdown-trigger
'
);
var
instances3
=
M
.
Dropdown
.
init
(
elems3
,
options
)
});
});
</script>
</script>
<script
src=
"strings.js"
></script>
<script
src=
"strings.js"
></script>
...
...
This diff is collapsed.
Click to expand it.
source/theme/custom.css
0 → 100644
+
7
−
0
View file @
eaa210e9
svg
{
margin
:
auto
;
text-align
:
center
;
vertical-align
:
middle
;
height
:
2em
;
stroke
:
white
;
}
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