Author: rgardler
Date: Mon Aug  6 09:20:27 2012
New Revision: 1369755

URL: http://svn.apache.org/viewvc?rev=1369755&view=rev
Log:
add id's for header and footer divs

Modified:
    incubator/wookie/trunk/widgets/templates/base/index.html
    incubator/wookie/trunk/widgets/templates/itemDetail/index.html
    incubator/wookie/trunk/widgets/templates/twoColumn/index.html

Modified: incubator/wookie/trunk/widgets/templates/base/index.html
URL: 
http://svn.apache.org/viewvc/incubator/wookie/trunk/widgets/templates/base/index.html?rev=1369755&r1=1369754&r2=1369755&view=diff
==============================================================================
--- incubator/wookie/trunk/widgets/templates/base/index.html (original)
+++ incubator/wookie/trunk/widgets/templates/base/index.html Mon Aug  6 
09:20:27 2012
@@ -23,7 +23,7 @@
 
     <link rel="stylesheet" 
href="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css"; />
     <link rel="stylesheet" href="style/all.css" />
-
+    
     ${content.scripts}
                        
     <title>${widget.name}</title>              
@@ -31,7 +31,7 @@
 
   <body>
     <div data-role="page" class="type-home" id="home"  data-theme="d" >
-      <div class="header" data-role="header" data-position="fixed">
+      <div id="header" class="header" data-role="header" data-position="fixed">
           ${content.header}
       </div> <!-- /header -->
 
@@ -41,7 +41,7 @@
         </div>  <!-- /content-primary -->
       </div> <!-- /content -->
 
-      <div data-role="footer" class="footer" id="footer" data-position="fixed">
+      <div id="footer" data-role="footer" class="footer" id="footer" 
data-position="fixed">
                  ${content.footer}
       </div> <!-- /footer -->
     </div> <!-- /page -->              

Modified: incubator/wookie/trunk/widgets/templates/itemDetail/index.html
URL: 
http://svn.apache.org/viewvc/incubator/wookie/trunk/widgets/templates/itemDetail/index.html?rev=1369755&r1=1369754&r2=1369755&view=diff
==============================================================================
--- incubator/wookie/trunk/widgets/templates/itemDetail/index.html (original)
+++ incubator/wookie/trunk/widgets/templates/itemDetail/index.html Mon Aug  6 
09:20:27 2012
@@ -1,77 +1,77 @@
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-<!DOCTYPE html>
-<html>
-<head>
-<meta http-equiv="pragma" content="no-cache" />
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-<meta name="viewport" content="width=device-width, initial-scale=1">
-
-<link rel="stylesheet"
-       
href="http://code.jquery.com/mobile/1.0rc2/jquery.mobile-1.0rc2.min.css"; />
-<script type="text/javascript"
-       src="http://code.jquery.com/jquery-1.6.4.min.js";></script>
-<script type="text/javascript"
-       
src="http://code.jquery.com/mobile/1.0rc2/jquery.mobile-1.0rc2.min.js";></script>
-
-
-<link rel="stylesheet" href="style/all.css" />
-<script type="text/javascript" src="scripts/controller.js"></script>
-
-<title>${widget.name}</title>
-</head>
-
-<body>
-  <div data-role="page" class="type-home" id="home" data-theme="d">
-    <div class="header" data-role="header" data-position="fixed">
-      ${content.header}
-    </div>
-
-
-    <div data-role="content">
-
-      <div id="content-secondary" class="content-secondary" data-theme="c"
-          data-content-theme="c">
-       ${content.secondary}
-      </div>
-
-      <div class="content-primary" id="content-primary">
-       ${content.primary}
-      </div>
-    </div>
-  </div>
-
-  <div data-role="footer" class="footer" data-position="fixed">
-    ${content.footer}
-  </div>
-
-</div>
-
-       <div data-role="dialog" id="help">
-               <div data-role="header">
-                       <h4>Help: ${widget.name}</h4>
-               </div>
-               <!-- /header -->
-
-               <div data-role="content" class="ui-content" id="content-help">
-                       ${widget.help}</div>
-               <!-- /content -->
-       </div>
-       <!-- /page -->
-
-</body>
-</html>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!DOCTYPE html>
+<html>
+<head>
+<meta http-equiv="pragma" content="no-cache" />
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<meta name="viewport" content="width=device-width, initial-scale=1">
+
+<link rel="stylesheet"
+       
href="http://code.jquery.com/mobile/1.0rc2/jquery.mobile-1.0rc2.min.css"; />
+<script type="text/javascript"
+       src="http://code.jquery.com/jquery-1.6.4.min.js";></script>
+<script type="text/javascript"
+       
src="http://code.jquery.com/mobile/1.0rc2/jquery.mobile-1.0rc2.min.js";></script>
+
+
+<link rel="stylesheet" href="style/all.css" />
+<script type="text/javascript" src="scripts/controller.js"></script>
+
+<title>${widget.name}</title>
+</head>
+
+<body>
+  <div data-role="page" class="type-home" id="home" data-theme="d">
+    <div id="header" class="header" data-role="header" data-position="fixed">
+      ${content.header}
+    </div>
+
+
+    <div data-role="content">
+
+      <div id="content-secondary" class="content-secondary" data-theme="c"
+          data-content-theme="c">
+       ${content.secondary}
+      </div>
+
+      <div class="content-primary" id="content-primary">
+       ${content.primary}
+      </div>
+    </div>
+  </div>
+
+  <div id="footer" data-role="footer" class="footer" data-position="fixed">
+    ${content.footer}
+  </div>
+
+</div>
+
+       <div data-role="dialog" id="help">
+               <div data-role="header">
+                       <h4>Help: ${widget.name}</h4>
+               </div>
+               <!-- /header -->
+
+               <div data-role="content" class="ui-content" id="content-help">
+                       ${widget.help}</div>
+               <!-- /content -->
+       </div>
+       <!-- /page -->
+
+</body>
+</html>

Modified: incubator/wookie/trunk/widgets/templates/twoColumn/index.html
URL: 
http://svn.apache.org/viewvc/incubator/wookie/trunk/widgets/templates/twoColumn/index.html?rev=1369755&r1=1369754&r2=1369755&view=diff
==============================================================================
--- incubator/wookie/trunk/widgets/templates/twoColumn/index.html (original)
+++ incubator/wookie/trunk/widgets/templates/twoColumn/index.html Mon Aug  6 
09:20:27 2012
@@ -31,7 +31,7 @@ ${content.scripts}
 
 <body>
   <div data-role="page" class="type-home" id="home" data-theme="d">
-    <div class="header" data-role="header" data-position="fixed">
+    <div id="header" class="header" data-role="header" data-position="fixed">
       ${content.header}
     </div> 
 
@@ -45,7 +45,7 @@ ${content.scripts}
       </div>
     </div>
 
-    <div data-role="footer" class="footer" id="footer" data-position="fixed">
+    <div id="footer" data-role="footer" class="footer" id="footer" 
data-position="fixed">
       ${content.footer}
     </div>
   </div>


Reply via email to