Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
anchor-theme
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tetras-libre
anchor-theme
Commits
e3d529f9
Commit
e3d529f9
authored
7 years ago
by
Nicolas Charles
Browse files
Options
Downloads
Patches
Plain Diff
changement header et footer
parent
9ab94499
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
css/style.css
+2
-2
2 additions, 2 deletions
css/style.css
header.php
+11
-28
11 additions, 28 deletions
header.php
with
13 additions
and
30 deletions
css/style.css
+
2
−
2
View file @
e3d529f9
...
...
@@ -73,7 +73,7 @@ h2{
#top
a
{
float
:
left
;
font-size
:
1
7
px
;
font-size
:
1
6
px
;
font-weight
:
500
;
text-decoration
:
none
;
...
...
@@ -88,7 +88,7 @@ h2{
}
#top
ul
li
{
float
:
left
;
padding-left
:
4
0px
;
padding-left
:
2
0px
;
}
#top
ul
a
{
display
:
inline-block
;
...
...
This diff is collapsed.
Click to expand it.
header.php
+
11
−
28
View file @
e3d529f9
...
...
@@ -6,6 +6,7 @@
<meta
name=
"description"
content=
"
<?php
echo
site_description
();
?>
"
>
<link
rel=
"stylesheet"
href=
"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
integrity=
"sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
crossorigin=
"anonymous"
>
<link
rel=
"stylesheet"
href=
"
<?php
echo
theme_url
(
'/css/reset.css'
);
?>
"
>
<link
rel=
"stylesheet"
href=
"
<?php
echo
theme_url
(
'/css/style.css'
);
?>
"
>
<link
rel=
"stylesheet"
href=
"
<?php
echo
theme_url
(
'/css/small.css'
);
?>
"
media=
"(max-width: 400px)"
>
...
...
@@ -20,6 +21,7 @@
<script>
var
base
=
'
<?php
echo
theme_url
();
?>
'
;
</script>
<script
src=
"
<?php
echo
asset_url
(
'/js/zepto.js'
);
?>
"
></script>
<script
src=
"
<?php
echo
theme_url
(
'/js/main.js'
);
?>
"
></script>
<script
src=
"https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"
></script>
<script
src=
"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"
integrity=
"sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"
crossorigin=
"anonymous"
></script>
<meta
name=
"viewport"
content=
"width=device-width"
>
...
...
@@ -41,32 +43,6 @@
<?php
endif
;
?>
</head>
<body
class=
"
<?php
echo
body_class
();
?>
"
>
<div
class=
"main-wrap"
>
<div
class=
"slidey"
id=
"tray"
>
<div
class=
"wrap"
>
<form
id=
"search"
action=
"
<?php
echo
search_url
();
?>
"
method=
"post"
>
<label
for=
"term"
>
Rechercher sur ce site:
</label>
<input
type=
"search"
id=
"term"
name=
"term"
placeholder=
"Rechercher…"
value=
"
<?php
echo
search_term
();
?>
"
>
<input
type=
"hidden"
id=
"whatSearch"
name=
"whatSearch"
value=
"all"
/>
</form>
<aside>
<?php
if
(
total_categories
()
>
1
)
:
?>
<b>
Categories
</b>
<ul>
<?php
while
(
categories
())
:
if
(
category_count
()
>
0
)
{
?>
<li>
<a
href=
"
<?php
echo
category_url
();
?>
"
title=
"
<?php
echo
category_description
();
?>
"
>
<?php
echo
category_title
();
?>
<span>
<?php
echo
category_count
();
?>
</span>
</a>
</li>
<?php
}
endwhile
;
?>
</ul>
<?php
endif
;
?>
</aside>
</div>
</div>
<header
id=
"top"
>
...
...
@@ -84,7 +60,7 @@
</div>
<div
class=
"collapse navbar-collapse"
id=
"bs-example-navbar-collapse-1"
>
<ul
class=
"nav navbar-nav"
>
<ul>
<?php
if
(
has_menu_items
())
:
while
(
menu_items
())
:
?>
<li
<?php
echo
(
menu_active
()
?
'class="active"'
:
''
);
?>
>
...
...
@@ -97,8 +73,15 @@
<li
class=
"tray"
>
<a
href=
"#tray"
class=
"linky"
><img
src=
"
<?php
echo
theme_url
(
'img/categories.png'
);
?>
"
alt=
"Categories"
title=
"Articles par catégories"
></a>
</li>
<form
class=
"navbar-form navbar-left"
>
<div
class=
"form-group"
>
<input
type=
"text"
class=
"form-control"
placeholder=
"Search"
>
</div>
<button
type=
"submit"
class=
"btn btn-default"
>
Submit
</button>
</form>
</ul>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container-fluid -->
</nav>
...
...
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