mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Toderp work
This commit is contained in:
@@ -128,16 +128,16 @@
|
||||
</div>
|
||||
<menu side="left">
|
||||
<header class="bar bar-header bar-secondary">
|
||||
<button class="button button-clear">Edit</button>
|
||||
<button class="button button-clear button-primary">Edit</button>
|
||||
<div class="toderp-small-logo"></div>
|
||||
<button class="button button-icon">S</button>
|
||||
<button class="button button-icon" ng-click="showSettings()">S</button>
|
||||
</header>
|
||||
<content has-header="true">
|
||||
<form ng-submit="addProject(newProject)">
|
||||
<input type="text" ng-model="newProject.title" placeholder="Create a new list...">
|
||||
</form>
|
||||
<list>
|
||||
<a ng-click="setActiveProject(project)" class="list-item list-item-primary" ng-class="{active: project.isActive}" ng-repeat="project in projects">
|
||||
<a ng-click="selectProject(project)" class="list-item list-item-primary" ng-class="{active: project.$id == activeProject.project.name()}" ng-repeat="project in projects">
|
||||
{{project.title}}
|
||||
</a>
|
||||
</list>
|
||||
@@ -145,5 +145,16 @@
|
||||
</menu>
|
||||
</side-menu-ctrl>
|
||||
</script>
|
||||
|
||||
<script id="settings.html" type="text/ng-template">
|
||||
<div id="login-view" class="modal slide-in-up" ng-controller="SettingsCtrl">
|
||||
<header class="bar bar-header bar-secondary">
|
||||
<h1 class="title">Settings</h1>
|
||||
<button class="button button-clear button-primary" ng-click="close()">Done</button>
|
||||
</header>
|
||||
<main class="content padded has-header">
|
||||
</main>
|
||||
</div>
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user