Skip to content

Commit

Permalink
le body est permanent, y placer la classe page_xx n'est donc pas disc…
Browse files Browse the repository at this point in the history
…riminant

On la deplace sur les header/content/footer

git-svn-id: svn://zone.spip.org/spip-zone/_squelettes_/mobi.spip@42860 ac52e18a-acf5-0310-9fe8-c4428f23b10a
  • Loading branch information
Cerdic committed Dec 12, 2010
1 parent 1157ef8 commit ca3b3fc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions mobile/body.html
@@ -1,13 +1,13 @@
<div data-role="page" data-theme="b">
<div data-role="header">
<div data-role="header" class="page_#ENV{type,page}[ #ENV{type,page}_(#ENV{composition,''})]">
<INCLURE{fond=header/#ENV{type},env}>
</div>

<div data-role="content">
<div data-role="content" class="page_#ENV{type,page}[ #ENV{type,page}_(#ENV{composition,''})]">
<INCLURE{fond=content/#ENV{type},env}>
</div>

<div data-role="footer">
<div data-role="footer" class="page_#ENV{type,page}[ #ENV{type,page}_(#ENV{composition,''})]">
<INCLURE{fond=footer/#ENV{type},env}>
</div>
</div>
2 changes: 1 addition & 1 deletion mobile/css/mobile.css
@@ -1,3 +1,3 @@
.ui-mobile .page_sommaire .ui-page {background:#E5E5E5 url("images/bg-home.png") repeat-x center top;}
.ui-mobile .page_sommaire.ui-content {background:#E5E5E5 url("images/bg-home.png") repeat-x center top;}
.ui-mobile .page_sommaire #homeheader {text-align:center;}
.ui-icon-mobispip {background-image:url(images/bluewhales-16.png);}
3 changes: 2 additions & 1 deletion mobile/structure.html
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<base href="#URL_SITE_SPIP/" />
[(#REM) Debut du head particulier a chaque page]
<INCLURE{fond=head/#ENV{type},env}>
[(#REM) Partie commune a toutes les pages, sans env]
Expand All @@ -9,7 +10,7 @@
<INCLURE{fond=head_js/#ENV{type},env}>

</head>
<body class="page_#ENV{type,page}[ #ENV{type,page}_(#ENV{composition,''})]">
<body>
<INCLURE{fond=body,env}>
</body>
</html>

0 comments on commit ca3b3fc

Please sign in to comment.