Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dpsite2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
domainepublic
dpsite2
Commits
e8ff50e9
Commit
e8ff50e9
authored
Feb 01, 2018
by
Pierre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dérouler sous-rubriques sur page rubrique
parent
17bf4fe3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
4 deletions
+33
-4
squelettes/content/rubrique.html
squelettes/content/rubrique.html
+32
-3
squelettes/inclure/head.html
squelettes/inclure/head.html
+1
-1
No files found.
squelettes/content/rubrique.html
View file @
e8ff50e9
...
...
@@ -14,14 +14,43 @@
<INCLURE
{
fond=
liste/articles-resume,env,ajax,titre=<:articles_rubrique:
>
} />
</div>
</BOUCLE_articles>
<style>
.main
.rubriques
.nav
>
li
>
a
{
display
:
inline
;
}
.main
.rubriques
.nav
>
li
{
margin
:
0.5em
;
}
</style>
<B_rubriques_filles>
<div
class=
"liste short rubriques"
>
<h2>
Sous-rubriques
</h2>
<ul
class=
"nav nav-list"
>
<BOUCLE_rubriques_filles
(
RUBRIQUES
){
id_parent=
#ENV{id_parent,#ENV{id_rubrique}}}{par
num
titre
}{
par
titre
}
>
<li
class=
"#EXPOSE{on active}"
>
[(#URL_RUBRIQUE|lien_ou_expose{#TITRE,#EXPOSE{a},'',#GET{bulle}})]
</li>
</BOUCLE_rubriques_filles>
<li
class=
"#EXPOSE{on active}"
>
<strong>
[(#CHEMIN_IMAGE{rubrique-24.png}|balise_img|inserer_attribut{style, 'float:left;'})
][ (#URL_RUBRIQUE|lien_ou_expose{#TITRE,#EXPOSE{a},'',#GET{bulle}})]
</strong>
<ul
class=
"nav nav-list"
>
<BOUCLE_art
(
ARTICLES
){
par
num
titre
}{
id_rubrique
}{
lang
}
>
<li
class=
"#EXPOSE{on active}"
>
[(#URL_ARTICLE|lien_ou_expose{#PUCE #TITRE,#EXPOSE{a},'',#GET{bulle}})]
</li>
</BOUCLE_art>
<BOUCLE_rubriques_filles2
(
RUBRIQUES
){
id_parent=
#ID_RUBRIQUE}{par
num
titre
}{
par
titre
}
>
<li
class=
"#EXPOSE{on active}"
>
<strong>
[(#CHEMIN_IMAGE{rubrique-24.png}|balise_img|inserer_attribut{style, 'float:left;'})
][ (#URL_RUBRIQUE|lien_ou_expose{#TITRE,#EXPOSE{a},'',#GET{bulle}})]
</strong>
<ul
class=
"nav nav-list"
>
<BOUCLE_art2
(
ARTICLES
){
par
num
titre
}{
id_rubrique
}{
lang
}
>
<li
class=
"#EXPOSE{on active}"
>
[ (#URL_ARTICLE|lien_ou_expose{#PUCE #TITRE,#EXPOSE{a},'',#GET{bulle}})]
</li>
</BOUCLE_art2>
</ul>
</li>
</BOUCLE_rubriques_filles2>
</ul>
</li>
</BOUCLE_rubriques_filles>
</ul>
</div>
</B_rubriques_filles>
...
...
squelettes/inclure/head.html
View file @
e8ff50e9
...
...
@@ -76,4 +76,4 @@
jQuery
(
document
).
ready
(
function
(){
$
(
"
#recherche
"
).
attr
(
"
placeholder
"
,
"
Recherche
"
);
});
</script>
\ No newline at end of file
</script>
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