replace .content with main

This commit is contained in:
Adam Bradley
2013-08-24 21:09:20 -05:00
11 changed files with 130 additions and 114 deletions

View File

@@ -20,7 +20,7 @@
<h1 class="title">Customers</h1>
</header>
<main class="content" ng-controller="CustomersCtrl">
<main ng-controller="CustomersCtrl">
<div ng-view class="pane reveal-animation"></div>
</main>
<script src="../../js/framework/framework-list.js"></script>

View File

@@ -29,11 +29,9 @@
<body>
<header class="bar bar-header bar-dark">
<h1 class="title">Willkommen!</h1>
</header>
<header data-template="primary-header"></header>
<main class="content content-padded">
<main class="content-padded">
<p>
<a class="button button-default" href="grid.html">Default</a>
<a class="button button-secondary" href="index.html">Secondary</a>
@@ -59,7 +57,7 @@
<script src="../js/jquery/jquery-1.10.2.js"></script>
<script src="../js/framework/framework-utilities.js"></script>
<script src="../js/framework/framework-events.js"></script>
<script src="../js/framework/framework-navigation.js"></script>
<script src="../js/framework/framework-buttons.js"></script>
<script src="../js/framework/test/event-listeners.js"></script>

View File

@@ -1,19 +1,12 @@
<html>
<head>
<title>Grid</title>
<link rel="stylesheet" href="../dist/framework-structure.css">
<link rel="stylesheet" href="../dist/framework-theme-default.css">
<title>Grid</title>
</head>
<body>
<header class="bar-header">
<a class="button-prev" data-history-go="-1" href="#">
Previous
</a>
<h1 class="title">Willkommen!</h1>
</header>
<header data-template="primary-header"></header>
<main>
<p>
@@ -27,17 +20,10 @@
</p>
</main>
<footer class="bar-footer"></footer>
<script id="framework-globals" type="text/globals">
asdfasf
</script>
<script src="../js/jquery/jquery-1.10.2.js"></script>
<script src="../js/framework/framework-utilities.js"></script>
<script src="../js/framework/framework-events.js"></script>
<script src="../js/framework/framework-navigation.js"></script>
<script src="../js/framework/test/event-listeners.js"></script>
<script src="../js/framework/framework-init.js"></script>

View File

@@ -28,7 +28,7 @@
</head>
<body ontouchstart="">
<header class="bar bar-header bar-secondary framework-global" data-global-id="primary-header">
<header class="bar bar-header bar-secondary" data-template="primary-header">
<a class="button button-previous" href="#">
<i class="icon-arrow-left"></i>
</a>
@@ -39,70 +39,27 @@
</header>
<main>
<ul class="list">
<a href="#" class="list-item">
Sasafras
<i class="icon-arrow-right"></i>
</a>
<a href="#" class="list-item">
Candy
<i class="icon-arrow-right"></i>
</a>
<li class="list-divider">Other things</li>
<a href="#" class="list-item">
Cheese cords
<i class="icon-arrow-right"></i>
</a>
<a href="#" class="list-item">
Cheese cords
<i class="icon-arrow-right"></i>
</a>
<a href="#" class="list-item">
Cheese cords
<i class="icon-arrow-right"></i>
</a>
<a href="#" class="list-item">
Cheese cords
<i class="icon-arrow-right"></i>
</a>
<a href="#" class="list-item">
Cheese cords
<i class="icon-arrow-right"></i>
</a>
<a href="#" class="list-item">
Cheese cords
<i class="icon-arrow-right"></i>
</a>
<a href="#" class="list-item">
Cheese cords
<i class="icon-arrow-right"></i>
</a>
<a href="#" class="list-item">
Cheese cords
<i class="icon-arrow-right"></i>
</a>
<a href="#" class="list-item">
Cheese cords
<i class="icon-arrow-right"></i>
</a>
<a href="#" class="list-item">
Cheese cords
<i class="icon-arrow-right"></i>
</a>
<a href="#" class="list-item">
Cheese cords
<i class="icon-arrow-right"></i>
</a>
</ul>
<p>
Here is some content
<a class="button button-default" href="buttons.html">Button Examples</a>
</p>
<p>
<a class="button button-default" href="listview.html">List View Example</a>
</p>
<p>
<a class="button button-default" href="grid.html">Grid Example</a>
</p>
<a class="button button-default">Click me</a>
</main>
<footer class="bar bar-footer bar-secondary">
<h1 class="title">Auf Wiedersehen</h1>
</footer>
<script src="../js/jquery/jquery-1.10.2.js"></script>
<script src="../js/framework/framework-events.js"></script>
<script src="../js/framework/framework-navigation.js"></script>
<script src="../js/framework/framework-buttons.js"></script>
<script src="../js/framework/test/event-listeners.js"></script>
<script src="../js/framework/framework-init.js"></script>
</body>
</html>

View File

@@ -1,30 +1,93 @@
<html>
<head>
<link rel="stylesheet" href="../dist/framework-structure.css">
<link rel="stylesheet" href="../dist/framework-theme-default.css">
<title>Listview</title>
<meta charset="utf-8">
<title>List View</title>
<!-- Sets initial viewport load and disables zooming -->
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
<!-- Makes your prototype chrome-less once bookmarked to your phone's home screen -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<!-- Set a shorter title for iOS6 devices when saved to home screen -->
<meta name="apple-mobile-web-app-title" content="">
<!-- Set Apple icons for when prototype is saved to home screen -->
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="touch-icons/apple-touch-icon-114x114.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="touch-icons/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon-precomposed" sizes="57x57" href="touch-icons/apple-touch-icon-57x57.png">
<link rel="stylesheet" href="../dist/framework-with-theme.css">
<link href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css" rel="stylesheet">
<link rel="stylesheet" href="app.css">
<script src="app.js"></script>
</head>
<body>
<header class="bar-header">
<a class="button-prev" data-history-go="-1" href="#">
Previous
</a>
<h1 class="title">Willkommen!</h1>
</header>
<header data-template="primary-header"></header>
<main>
<p>
<a class="button button-default" href="grid.html">Grid</a>
</p>
<p>
<a class="button button-primary" href="listview.html">List View</a>
</p>
<p>
<a class="button button-secondary" href="index.html">Home</a>
</p>
<ul class="list">
<a href="#" class="list-item">
Sasafras
<i class="icon-arrow-right"></i>
</a>
<a href="#" class="list-item">
Candy
<i class="icon-arrow-right"></i>
</a>
<li class="list-divider">Other things</li>
<a href="#" class="list-item">
Cheese cords
<i class="icon-arrow-right"></i>
</a>
<a href="#" class="list-item">
Cheese cords
<i class="icon-arrow-right"></i>
</a>
<a href="#" class="list-item">
Cheese cords
<i class="icon-arrow-right"></i>
</a>
<a href="#" class="list-item">
Cheese cords
<i class="icon-arrow-right"></i>
</a>
<a href="#" class="list-item">
Cheese cords
<i class="icon-arrow-right"></i>
</a>
<a href="#" class="list-item">
Cheese cords
<i class="icon-arrow-right"></i>
</a>
<a href="#" class="list-item">
Cheese cords
<i class="icon-arrow-right"></i>
</a>
<a href="#" class="list-item">
Cheese cords
<i class="icon-arrow-right"></i>
</a>
<a href="#" class="list-item">
Cheese cords
<i class="icon-arrow-right"></i>
</a>
<a href="#" class="list-item">
Cheese cords
<i class="icon-arrow-right"></i>
</a>
<a href="#" class="list-item">
Cheese cords
<i class="icon-arrow-right"></i>
</a>
</ul>
</main>
@@ -37,7 +100,7 @@
<script src="../js/jquery/jquery-1.10.2.js"></script>
<script src="../js/framework/framework-utilities.js"></script>
<script src="../js/framework/framework-events.js"></script>
<script src="../js/framework/framework-navigation.js"></script>
<script src="../js/framework/test/event-listeners.js"></script>
<script src="../js/framework/framework-init.js"></script>