Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
d1c18ff2
Commit
d1c18ff2
authored
Apr 05, 2015
by
Frédéric Buclin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 1143502: Use structural HTML5 elements instead of <div>
r=dkl a=sgreen
parent
fe75edaf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
9 deletions
+29
-9
global.css
skins/standard/global.css
+8
-0
footer.html.tmpl
template/en/default/global/footer.html.tmpl
+6
-4
header.html.tmpl
template/en/default/global/header.html.tmpl
+15
-5
No files found.
skins/standard/global.css
View file @
d1c18ff2
...
...
@@ -16,6 +16,14 @@
font-family
:
Verdana
,
sans-serif
;
font-size
:
small
;
}
/* header and footer are required for IE8. IE9+ support them natively.
* main is required for all IE versions and KHTML-based browsers.
* Other browsers support them natively already. */
header
,
main
,
footer
{
display
:
block
;
}
/* monospace is much smaller than Verdana by default, so we make it a bit bigger. */
pre
,
code
,
kbd
{
font-size
:
medium
;
...
...
template/en/default/global/footer.html.tmpl
View file @
d1c18ff2
...
...
@@ -12,15 +12,17 @@
#%]
[% Hook.process('main-end') %]
</
div
>
</
main
>
<
div
id="footer">
<
footer
id="footer">
<div class="intro">[% Hook.process('intro') %]</div>
[% PROCESS "global/useful-links.html.tmpl" %]
<nav>
[% PROCESS "global/useful-links.html.tmpl" %]
</nav>
<div class="outro">[% Hook.process('outro') %]</div>
</
div
>
</
footer
>
[% Hook.process("end") %]
</body>
...
...
template/en/default/global/header.html.tmpl
View file @
d1c18ff2
...
...
@@ -228,6 +228,16 @@
[% PROCESS format_js_link %]
[% END %]
[%# IE8 doesn't understand these HTML5 elements. So we have to declare them here. %]
<!--[if lt IE 9]>
<script>
document.createElement('header');
document.createElement('nav');
document.createElement('main');
document.createElement('footer');
</script>
<![endif]-->
[%# this puts the live bookmark up on firefox for the Atom feed %]
[% IF atomlink %]
<link
rel=
"alternate"
...
...
@@ -248,7 +258,7 @@
[%+ class FILTER css_class_quote %]
[% END %] yui-skin-sam"
>
<
div
id=
"header"
>
<
header
id=
"header"
>
[% INCLUDE global/banner.html.tmpl %]
<div
id=
"titles"
>
...
...
@@ -263,9 +273,9 @@
[% END %]
</div>
<
di
v
id=
"common_links"
>
<
na
v
id=
"common_links"
>
[% PROCESS "global/common-links.html.tmpl" qs_suffix = "_top" %]
</
di
v>
</
na
v>
[% IF Bugzilla.languages.size > 1 %]
<div
id=
"lang_links_container"
class=
"bz_default_hidden"
>
...
...
@@ -284,9 +294,9 @@
</ul>
</div>
[% END %]
</
div
>
</
header
>
<
div
id=
"bugzilla-body"
>
<
main
role=
"main"
id=
"bugzilla-body"
>
[% IF Param('announcehtml') %]
[% Param('announcehtml') FILTER none %]
[% END %]
...
...
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