Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
clivi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
NF17 - CAMP - P14
clivi
Commits
82db0f2f
Commit
82db0f2f
authored
10 years ago
by
Matthieu Guffroy
Browse files
Options
Downloads
Patches
Plain Diff
split template in several files
parent
aaa08d65
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
index.php
+3
-120
3 additions, 120 deletions
index.php
template/footer.php
+17
-0
17 additions, 0 deletions
template/footer.php
template/header.php
+69
-0
69 additions, 0 deletions
template/header.php
template/menu.php
+33
-0
33 additions, 0 deletions
template/menu.php
with
122 additions
and
120 deletions
index.php
+
3
−
120
View file @
82db0f2f
<!DOCTYPE html>
<html
lang=
"fr"
>
<head>
<meta
charset=
"utf-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<meta
name=
"description"
content=
"Clinique vétérinaire"
>
<meta
name=
"author"
content=
"nf17p110, Alexandre Cortyl, Paul Goujon, Matthieu Guffroy, Clement Mercier"
>
<link
rel=
"shortcut icon"
href=
"../../assets/ico/favicon.ico"
>
<title>
Clivi : The veto !
</title>
<!-- Latest compiled and minified CSS -->
<link
rel=
"stylesheet"
href=
"//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"
>
<!-- Optional theme -->
<link
rel=
"stylesheet"
href=
"//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css"
>
<style>
/* Sticky footer styles
-------------------------------------------------- */
html
{
position
:
relative
;
min-height
:
100%
;
}
body
{
/* Margin bottom by footer height */
margin-bottom
:
60px
;
}
#footer
{
position
:
absolute
;
bottom
:
0
;
width
:
100%
;
/* Set the fixed height of the footer here */
height
:
60px
;
background-color
:
#f5f5f5
;
}
/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */
body
>
.container
{
padding
:
60px
15px
0
;
}
.container
.text-muted
{
margin
:
20px
0
;
}
#footer
>
.container
{
padding-right
:
15px
;
padding-left
:
15px
;
}
code
{
font-size
:
80%
;
}
</style>
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<!-- Fixed navbar -->
<div
class=
"navbar navbar-default navbar-fixed-top"
role=
"navigation"
>
<div
class=
"container"
>
<div
class=
"navbar-header"
>
<button
type=
"button"
class=
"navbar-toggle"
data-toggle=
"collapse"
data-target=
".navbar-collapse"
>
<span
class=
"sr-only"
>
Toggle navigation
</span>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
</button>
<a
class=
"navbar-brand"
href=
"#"
>
Clivi
</a>
</div>
<div
class=
"collapse navbar-collapse"
>
<ul
class=
"nav navbar-nav"
>
<li
class=
"active"
><a
href=
"#"
>
Home
</a></li>
<li><a
href=
"#about"
>
About
</a></li>
<li><a
href=
"#contact"
>
Contact
</a></li>
<li
class=
"dropdown"
>
<a
href=
"#"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
>
Dropdown
<b
class=
"caret"
></b></a>
<ul
class=
"dropdown-menu"
>
<li><a
href=
"#"
>
Action
</a></li>
<li><a
href=
"#"
>
Another action
</a></li>
<li><a
href=
"#"
>
Something else here
</a></li>
<li
class=
"divider"
></li>
<li
class=
"dropdown-header"
>
Nav header
</li>
<li><a
href=
"#"
>
Separated link
</a></li>
<li><a
href=
"#"
>
One more separated link
</a></li>
</ul>
</li>
</ul>
</div>
<!--/.nav-collapse -->
</div>
</div>
<?php
include
'header.php'
;
?>
<?php
include
'menu.php'
;
?>
<!-- Begin page content -->
<div
class=
"container"
>
...
...
@@ -111,20 +10,4 @@ code {
<p>
Back to
<a
href=
"../sticky-footer"
>
the default sticky footer
</a>
minus the navbar.
</p>
</div>
<div
id=
"footer"
>
<div
class=
"container"
>
<p
class=
"text-muted"
>
Place sticky footer content here.
</p>
</div>
</div>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script
src=
"https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"
></script>
<!-- Latest compiled and minified JavaScript -->
<script
src=
"//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"
></script>
</body>
</html>
<?php
include
'footer.php'
;
?>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
template/footer.php
0 → 100644
+
17
−
0
View file @
82db0f2f
<div
id=
"footer"
>
<div
class=
"container"
>
<p
class=
"text-muted"
>
Place sticky footer content here.
</p>
</div>
</div>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script
src=
"https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"
></script>
<!-- Latest compiled and minified JavaScript -->
<script
src=
"//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"
></script>
</body>
</html>
This diff is collapsed.
Click to expand it.
template/header.php
0 → 100644
+
69
−
0
View file @
82db0f2f
<!DOCTYPE html>
<html
lang=
"fr"
>
<head>
<meta
charset=
"utf-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<meta
name=
"description"
content=
"Clinique vétérinaire"
>
<meta
name=
"author"
content=
"nf17p110, Alexandre Cortyl, Paul Goujon, Matthieu Guffroy, Clement Mercier"
>
<link
rel=
"shortcut icon"
href=
"../../assets/ico/favicon.ico"
>
<title>
Clivi : The veto !
</title>
<!-- Latest compiled and minified CSS -->
<link
rel=
"stylesheet"
href=
"//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"
>
<!-- Optional theme -->
<link
rel=
"stylesheet"
href=
"//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css"
>
<style>
/* Sticky footer styles
-------------------------------------------------- */
html
{
position
:
relative
;
min-height
:
100%
;
}
body
{
/* Margin bottom by footer height */
margin-bottom
:
60px
;
}
#footer
{
position
:
absolute
;
bottom
:
0
;
width
:
100%
;
/* Set the fixed height of the footer here */
height
:
60px
;
background-color
:
#f5f5f5
;
}
/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */
body
>
.container
{
padding
:
60px
15px
0
;
}
.container
.text-muted
{
margin
:
20px
0
;
}
#footer
>
.container
{
padding-right
:
15px
;
padding-left
:
15px
;
}
code
{
font-size
:
80%
;
}
</style>
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
template/menu.php
0 → 100644
+
33
−
0
View file @
82db0f2f
<!-- Fixed navbar -->
<div
class=
"navbar navbar-default navbar-fixed-top"
role=
"navigation"
>
<div
class=
"container"
>
<div
class=
"navbar-header"
>
<button
type=
"button"
class=
"navbar-toggle"
data-toggle=
"collapse"
data-target=
".navbar-collapse"
>
<span
class=
"sr-only"
>
Toggle navigation
</span>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
</button>
<a
class=
"navbar-brand"
href=
"#"
>
Clivi
</a>
</div>
<div
class=
"collapse navbar-collapse"
>
<ul
class=
"nav navbar-nav"
>
<li
class=
"active"
><a
href=
"#"
>
Home
</a></li>
<li><a
href=
"#about"
>
About
</a></li>
<li><a
href=
"#contact"
>
Contact
</a></li>
<li
class=
"dropdown"
>
<a
href=
"#"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
>
Dropdown
<b
class=
"caret"
></b></a>
<ul
class=
"dropdown-menu"
>
<li><a
href=
"#"
>
Action
</a></li>
<li><a
href=
"#"
>
Another action
</a></li>
<li><a
href=
"#"
>
Something else here
</a></li>
<li
class=
"divider"
></li>
<li
class=
"dropdown-header"
>
Nav header
</li>
<li><a
href=
"#"
>
Separated link
</a></li>
<li><a
href=
"#"
>
One more separated link
</a></li>
</ul>
</li>
</ul>
</div>
<!--/.nav-collapse -->
</div>
</div>
\ No newline at end of file
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