mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 23:16:52 +08:00
cleaned up unused
This commit is contained in:
@ -1,3 +0,0 @@
|
||||
a {
|
||||
color: #222;
|
||||
}
|
||||
@ -1,2 +0,0 @@
|
||||
|
||||
document.addEventListener('ontouchstart', function() {});
|
||||
@ -1,112 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Example</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="/vendor/font-awesome/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>
|
||||
<style>
|
||||
.bar-header {
|
||||
position: static;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body ontouchstart="">
|
||||
<header class="bar bar-header bar-default">
|
||||
<a class="button button-default">Previous</a>
|
||||
<h1 class="title">Willkommen!</h1>
|
||||
<a class="button button-default">Next</a>
|
||||
</header>
|
||||
<header class="bar bar-header bar-secondary">
|
||||
<a class="button button-secondary">Previous</a>
|
||||
<h1 class="title">Willkommen!</h1>
|
||||
<a class="button button-secondary">Next</a>
|
||||
</header>
|
||||
<header class="bar bar-header bar-primary">
|
||||
<a class="button button-primary">Previous</a>
|
||||
<h1 class="title">Willkommen!</h1>
|
||||
<a class="button button-primary">Next</a>
|
||||
</header>
|
||||
<header class="bar bar-header bar-success">
|
||||
<a class="button button-success">Previous</a>
|
||||
<h1 class="title">Willkommen!</h1>
|
||||
<a class="button button-success">Next</a>
|
||||
</header>
|
||||
<header class="bar bar-header bar-warning">
|
||||
<a class="button button-warning">Previous</a>
|
||||
<h1 class="title">Willkommen!</h1>
|
||||
<a class="button button-warning">Next</a>
|
||||
</header>
|
||||
<header class="bar bar-header bar-danger">
|
||||
<a class="button button-danger">Previous</a>
|
||||
<h1 class="title">Willkommen!</h1>
|
||||
<a class="button button-danger">Next</a>
|
||||
</header>
|
||||
<header class="bar bar-header bar-dark">
|
||||
<a class="button button-dark">Previous</a>
|
||||
<h1 class="title">Willkommen!</h1>
|
||||
<a class="button button-dark">Next</a>
|
||||
</header>
|
||||
<footer class="bar bar-footer bar-success">
|
||||
<nav class="tabs">
|
||||
<ul class="tabs-inner">
|
||||
<li class="tab-item">
|
||||
<a href="#">
|
||||
<i class="glyphicon glyphicon-home"></i>
|
||||
Home
|
||||
</a>
|
||||
</li>
|
||||
<li class="tab-item">
|
||||
<a href="#">
|
||||
<i class="glyphicon glyphicon-user"></i>
|
||||
Friends
|
||||
</a>
|
||||
</li>
|
||||
<li class="tab-item">
|
||||
<a href="#">
|
||||
<i class="glyphicon glyphicon-thumbs-down"></i>
|
||||
Enemies
|
||||
</a>
|
||||
</li>
|
||||
<li class="tab-item">
|
||||
<a href="#">
|
||||
<i class="glyphicon glyphicon-wrench"></i>
|
||||
Settings
|
||||
</a>
|
||||
</li>
|
||||
<li class="tab-item">
|
||||
<a href="#">
|
||||
<i class="glyphicon glyphicon-th"></i>
|
||||
More
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</footer>
|
||||
<script src="../js/framework/framework-utilities.js"></script>
|
||||
<script src="../js/framework/framework-navigation.js"></script>
|
||||
<script src="../js/framework/framework-buttons.js"></script>
|
||||
<script src="../js/framework/framework-tabs.js"></script>
|
||||
<script src="../js/framework/framework-init.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
@ -1,69 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Example</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="/vendor/font-awesome/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>
|
||||
|
||||
<section>
|
||||
|
||||
<header data-template="primary-header"></header>
|
||||
|
||||
<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>
|
||||
<a class="button button-primary" href="listview.html">Primary</a>
|
||||
<a class="button button-info" href="index.html">Info</a>
|
||||
<a class="button button-success" href="index.html">Success</a>
|
||||
<a class="button button-warning" href="index.html">Warning</a>
|
||||
<a class="button button-danger" href="index.html">Danger</a>
|
||||
<a class="button button-dark" href="index.html">Dark</a>
|
||||
</p>
|
||||
<p>
|
||||
<div class="button-group">
|
||||
<a class="button button-primary" href="index.html">Success</a>
|
||||
<a class="button button-primary" href="index.html">Warning</a>
|
||||
<a class="button button-primary" href="index.html">Danger</a>
|
||||
<a class="button button-primary" href="index.html">Dark</a>
|
||||
</div>
|
||||
</p>
|
||||
</main>
|
||||
|
||||
<footer class="bar-footer"></footer>
|
||||
|
||||
</section>
|
||||
|
||||
<script src="../js/jquery/jquery-1.10.2.js"></script>
|
||||
<script src="../js/framework/framework-events.js"></script>
|
||||
<script src="../js/framework/framework-transition.js"></script>
|
||||
<script src="../js/framework/framework-navigation.js"></script>
|
||||
<script src="../js/framework/framework-template.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>
|
||||
@ -1,22 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Example</title>
|
||||
|
||||
<!-- Sets initial viewport load and disables zooming -->
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<link rel="stylesheet" href="../../dist/framework-with-theme.css">
|
||||
<link rel="stylesheet" href="app.css">
|
||||
<script>
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="content content-padded">
|
||||
<a href="#" class="button button-success">Tap me!</a>
|
||||
<a href="#" class="button button-success">Swipe me!</a>
|
||||
<div id="event-log"></div>
|
||||
</div>
|
||||
<script src="../../js/framework/framework-events.js"></script>
|
||||
<script src="events.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
@ -1,37 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Grid</title>
|
||||
<link rel="stylesheet" href="../dist/framework-structure.css">
|
||||
<link rel="stylesheet" href="../dist/framework-theme-default.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<section>
|
||||
|
||||
<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>
|
||||
</main>
|
||||
|
||||
<footer class="bar-footer"></footer>
|
||||
|
||||
</section>
|
||||
|
||||
<script src="../js/jquery/jquery-1.10.2.js"></script>
|
||||
<script src="../js/framework/framework-events.js"></script>
|
||||
<script src="../js/framework/framework-transition.js"></script>
|
||||
<script src="../js/framework/framework-navigation.js"></script>
|
||||
<script src="../js/framework/framework-template.js"></script>
|
||||
<script src="../js/framework/test/event-listeners.js"></script>
|
||||
<script src="../js/framework/framework-init.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
@ -1,71 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Example</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="/vendor/font-awesome/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>
|
||||
|
||||
<section>
|
||||
|
||||
<header class="bar bar-header bar-secondary" data-template="primary-header">
|
||||
<a class="button button-previous" data-history-go="-1" href="#">
|
||||
<i class="icon-arrow-left"></i>
|
||||
</a>
|
||||
<h1 class="title">Willkommen!</h1>
|
||||
<a class="button button-next" data-history-go="1" href="#">
|
||||
<i class="icon-arrow-right"></i>
|
||||
</a>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<p>
|
||||
<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>
|
||||
</main>
|
||||
|
||||
<footer class="bar bar-footer bar-secondary">
|
||||
<h1 class="title">Auf Wiedersehen</h1>
|
||||
</footer>
|
||||
|
||||
</section>
|
||||
|
||||
<script src="../js/jquery/jquery-1.10.2.js"></script>
|
||||
<script src="../js/framework/framework-events.js"></script>
|
||||
<script src="../js/framework/framework-transition.js"></script>
|
||||
<script src="../js/framework/framework-navigation.js"></script>
|
||||
<script src="../js/framework/framework-template.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>
|
||||
@ -1,105 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<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="/vendor/font-awesome/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>
|
||||
|
||||
<section>
|
||||
|
||||
<header data-template="primary-header"></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>
|
||||
</main>
|
||||
|
||||
<footer class="bar-footer"></footer>
|
||||
|
||||
</section>
|
||||
|
||||
<script src="../js/jquery/jquery-1.10.2.js"></script>
|
||||
<script src="../js/framework/framework-events.js"></script>
|
||||
<script src="../js/framework/framework-transition.js"></script>
|
||||
<script src="../js/framework/framework-navigation.js"></script>
|
||||
<script src="../js/framework/framework-template.js"></script>
|
||||
<script src="../js/framework/test/event-listeners.js"></script>
|
||||
<script src="../js/framework/framework-init.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
@ -1,28 +0,0 @@
|
||||
(function(window, document, ion) {
|
||||
|
||||
function click(e) {
|
||||
panelToggle(e, e.target);
|
||||
}
|
||||
|
||||
function panelToggle(e, el) {
|
||||
if(el) {
|
||||
if(el.dataset && el.dataset.panelToggle) {
|
||||
|
||||
var options = {
|
||||
direction: (el.dataset.panelDirection === "right" ? "right" : "left")
|
||||
};
|
||||
|
||||
ion.Panel.toggle(el.dataset.panelToggle, options);
|
||||
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
return false;
|
||||
}
|
||||
panelToggle(e, el.parentNode);
|
||||
}
|
||||
}
|
||||
|
||||
window.addEventListener('click', click, false);
|
||||
window.addEventListener('touchend', click, false);
|
||||
|
||||
})(this, document, ion = this.ion || {});
|
||||
Reference in New Issue
Block a user