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
37858e66
Commit
37858e66
authored
3 years ago
by
matograine
Browse files
Options
Downloads
Patches
Plain Diff
add example image in main page
parent
f0a59805
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
build.py
+2
-0
2 additions, 0 deletions
build.py
source/files/index.html
+1
-0
1 addition, 0 deletions
source/files/index.html
source/theme/custom.css
+7
-1
7 additions, 1 deletion
source/theme/custom.css
with
10 additions
and
1 deletion
build.py
+
2
−
0
View file @
37858e66
...
@@ -96,6 +96,7 @@ if __name__ == "__main__":
...
@@ -96,6 +96,7 @@ if __name__ == "__main__":
# copy specific files in build dir
# copy specific files in build dir
shutil
.
copy
(
source_lang_dir
+
"
/logo_g.png
"
,
build_lang_dir
)
shutil
.
copy
(
source_lang_dir
+
"
/logo_g.png
"
,
build_lang_dir
)
shutil
.
copy
(
source_lang_dir
+
"
/strings.js
"
,
build_lang_dir
)
shutil
.
copy
(
source_lang_dir
+
"
/strings.js
"
,
build_lang_dir
)
shutil
.
copy
(
source_lang_dir
+
"
/example_vignette.png
"
,
build_lang_dir
)
# build the menu
# build the menu
langs_menu_dict
=
lang_menu
(
lang
,
langs
)
langs_menu_dict
=
lang_menu
(
lang
,
langs
)
...
@@ -131,6 +132,7 @@ if __name__ == "__main__":
...
@@ -131,6 +132,7 @@ if __name__ == "__main__":
content
=
content
.
replace
(
"
questions.html
"
,
lang
+
"
/questions.html
"
)
content
=
content
.
replace
(
"
questions.html
"
,
lang
+
"
/questions.html
"
)
content
=
content
.
replace
(
"
strings.js
"
,
lang
+
"
/strings.js
"
)
content
=
content
.
replace
(
"
strings.js
"
,
lang
+
"
/strings.js
"
)
content
=
content
.
replace
(
"
./logo_g.png
"
,
lang
+
"
/logo_g.png
"
)
content
=
content
.
replace
(
"
./logo_g.png
"
,
lang
+
"
/logo_g.png
"
)
shutil
.
copy
(
source_lang_dir
+
"
/example_vignette.png
"
,
build_lang_dir
)
# overwrite file
# overwrite file
with
open
(
target
,
"
w
"
)
as
f
:
with
open
(
target
,
"
w
"
)
as
f
:
f
.
write
(
content
)
f
.
write
(
content
)
This diff is collapsed.
Click to expand it.
source/files/index.html
+
1
−
0
View file @
37858e66
...
@@ -95,6 +95,7 @@
...
@@ -95,6 +95,7 @@
<li
style=
"list-style-type: initial;"
>
__MAIN_PAGE_LIST_TEXT__
</li>
<li
style=
"list-style-type: initial;"
>
__MAIN_PAGE_LIST_TEXT__
</li>
<li
style=
"list-style-type: initial;"
>
__MAIN_PAGE_LIST_IMAGE__
</li>
<li
style=
"list-style-type: initial;"
>
__MAIN_PAGE_LIST_IMAGE__
</li>
</ul>
</ul>
<img
class=
"responsive-img"
src=
"./example_vignette.png"
alt=
"Vignette example: Make a donation to vignette !"
>
</div>
</div>
<div
class=
"col xl6 l6 m10 s12 offset-m1"
>
<div
class=
"col xl6 l6 m10 s12 offset-m1"
>
<h5>
__MAIN_PAGE_FORM_TITLE__
</h5>
<h5>
__MAIN_PAGE_FORM_TITLE__
</h5>
...
...
This diff is collapsed.
Click to expand it.
source/theme/custom.css
+
7
−
1
View file @
37858e66
...
@@ -9,3 +9,9 @@ svg {
...
@@ -9,3 +9,9 @@ svg {
.sidenav
li
>
ul
{
.sidenav
li
>
ul
{
padding-left
:
10px
;
padding-left
:
10px
;
}
}
@media
(
max-width
:
992px
)
{
.responsive-img
{
display
:
none
;
}
}
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