Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M3P2 HTML Generator
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
12
Issues
12
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
M3P2
M3P2 HTML Generator
Commits
08fa68f2
Commit
08fa68f2
authored
Mar 21, 2019
by
Administrator
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a link to the WebIDE to each page.
Implements
#4
parent
dba3b33f
Pipeline
#44
passed with stage
in 1 minute and 13 seconds
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
10 deletions
+12
-10
cahier.html.twig
user/themes/textbook/templates/cahier.html.twig
+0
-1
colonnes.html.twig
user/themes/textbook/templates/colonnes.html.twig
+0
-1
columns.html.twig
user/themes/textbook/templates/columns.html.twig
+2
-1
page.html.twig
user/themes/textbook/templates/page.html.twig
+2
-0
contributions-incentive.html.twig
...book/templates/partials/contributions-incentive.html.twig
+7
-0
textbook.html.twig
user/themes/textbook/templates/textbook.html.twig
+1
-7
No files found.
user/themes/textbook/templates/cahier.html.twig
deleted
100644 → 0
View file @
dba3b33f
{%
extends
'textbook.html.twig'
%}
\ No newline at end of file
user/themes/textbook/templates/colonnes.html.twig
deleted
100644 → 0
View file @
dba3b33f
{%
extends
'columns.html.twig'
%}
\ No newline at end of file
user/themes/textbook/templates/columns.html.twig
View file @
08fa68f2
...
@@ -12,7 +12,8 @@
...
@@ -12,7 +12,8 @@
<div
class=
"claude-columns"
>
<div
class=
"claude-columns"
>
{%
for
column
in
page.collection
()
%}
{%
for
column
in
page.collection
()
%}
<section
id=
"
{{
macro.pageLinkName
(
column.menu
)
}}
"
class=
"claude-column"
>
<section
id=
"
{{
macro.pageLinkName
(
column.menu
)
}}
"
class=
"claude-column"
>
{{
column.content
|
raw
}}
{{
column.content
|
raw
}}
{%
include
'partials/contributions-incentive.html.twig'
with
{
page
:
column
}
%}
</section>
</section>
{%
endfor
%}
{%
endfor
%}
</div>
</div>
...
...
user/themes/textbook/templates/page.html.twig
0 → 100644
View file @
08fa68f2
{%
extends
'default.html.twig'
%}
user/themes/textbook/templates/partials/contributions-incentive.html.twig
0 → 100644
View file @
08fa68f2
<div
class=
"notices blue contribution-incentive"
>
<p>
{{
'THEME_TEXTBOOK.PAGE.FOOTER_NOTICE.CONGRATULATIONS'
|
t
}}
<br>
<a
href=
"
{{
page
|
webide_url
}}
"
>
{{
'THEME_TEXTBOOK.PAGE.FOOTER_NOTICE.EDIT'
|
t
}}
</a>
</p>
</div>
\ No newline at end of file
user/themes/textbook/templates/textbook.html.twig
View file @
08fa68f2
...
@@ -4,11 +4,5 @@
...
@@ -4,11 +4,5 @@
{{
page.content
|
raw
}}
{{
page.content
|
raw
}}
<div
class=
"notices blue contribution-incentive"
>
{%
include
'partials/contributions-incentive.html.twig'
%}
<p>
{{
'THEME_TEXTBOOK.PAGE.FOOTER_NOTICE.CONGRATULATIONS'
|
t
}}
<a
href=
"
{{
page
|
webide_url
}}
"
>
{{
'THEME_TEXTBOOK.PAGE.FOOTER_NOTICE.EDIT'
|
t
}}
</a>
</p>
</div>
{%
endblock
%}
{%
endblock
%}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment