mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 15:07:13 +08:00
Working on example app
This commit is contained in:
@ -6,30 +6,37 @@
|
||||
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
|
||||
<link rel="stylesheet" href="css/framework.css">
|
||||
<script src="js/angular-1.2.0rc1.min.js"></script>
|
||||
<script src="js/angular-touch.js"></script>
|
||||
</head>
|
||||
<body ng-app="Chat">
|
||||
<section class="panel-page-container">
|
||||
|
||||
<section id="this-panel" data-panel="left-panel" class="panel-content">
|
||||
|
||||
<section id="this-panel" class="panel-content" ng-class="{'panel-open': isPanelShowing}" ng-controller="MenuCtrl">
|
||||
</section>
|
||||
|
||||
<section ng-controller="RoomsCtrl">
|
||||
|
||||
<header class="bar bar-header bar-dark">
|
||||
<h1 class="title">Feeds</h1>
|
||||
</header>
|
||||
|
||||
<main class="content-padded has-header">
|
||||
<ul class="list" ng-controller="RoomsCtrl">
|
||||
<li class="list-item" ng-repeat="room in rooms">
|
||||
{{room.name}}
|
||||
</li>
|
||||
</ul>
|
||||
</main>
|
||||
<header class="bar bar-header bar-dark">
|
||||
<button class="button button-dark" ng-click="openPanel()">Rooms</button>
|
||||
<h1 class="title">Feeds</h1>
|
||||
</header>
|
||||
|
||||
<main class="content has-header">
|
||||
<ul class="list">
|
||||
<li class="list-item" ng-repeat="room in rooms">
|
||||
{{room.name}}
|
||||
</li>
|
||||
</ul>
|
||||
</main>
|
||||
</section>
|
||||
|
||||
</section>
|
||||
|
||||
<script src="js/app.js"></script>
|
||||
<!--
|
||||
<script src="js/framework-gestures.js"></script>
|
||||
<script src="js/framework-events.js"></script>
|
||||
-->
|
||||
<script src="js/framework-panel.js"></script>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user