Ionicons in toderp

This commit is contained in:
Max Lynch
2013-10-09 22:32:23 -05:00
parent b8bb9b7e4a
commit 5d165a8310
5 changed files with 19 additions and 11 deletions

3
dist/ionic-ios7.css vendored
View File

@ -746,7 +746,8 @@ address {
.bar .button-icon {
background-color: transparent;
border: 1px solid transparent; }
border: 1px solid transparent;
font-size: 24px; }
.bar-header {
top: 0; }

3
dist/ionic.css vendored
View File

@ -1833,7 +1833,8 @@ address {
.bar .button-icon {
background-color: transparent;
border: 1px solid transparent; }
border: 1px solid transparent;
font-size: 24px; }
.bar-header {
top: 0; }

View File

@ -111,7 +111,7 @@
<div class="view" side-menu-ctrl id="tasks-view" nav-content class="view" ng-controller="TasksCtrl" nav-bar="false">
<div class="full-section" side-menu-content>
<header class="bar bar-header bar-secondary">
<a href="#" class="button button-icon"><i class="icon-reorder"></i></a>
<a href="#" class="button button-icon"><i class="icon-navicon"></i></a>
<h1 class="title">{{activeProject.title}}</h1>
<button class="button button-clear button-primary">Edit</button>
</header>
@ -131,7 +131,7 @@
<header class="bar bar-header bar-secondary">
<button class="button button-clear button-primary">Edit</button>
<div class="toderp-small-logo"></div>
<button class="button button-icon" ng-click="showSettings()">S</button>
<button class="button button-icon" ng-click="showSettings()"><i class="icon-gear-a"></i></button>
</header>
<content has-header="true">
<form ng-submit="addProject(newProject)">

View File

@ -92,6 +92,11 @@
angular.module('navTest', ['ionic.ui.list', 'ngAnimate'])
.controller('TestCtrl', function($scope) {
var removeItem = function(item) {
// Remove ourselves
$scope.items.splice($scope.items.indexOf(item), 1);
};
$scope.items = [
{
text: 'Item 1',
@ -102,10 +107,7 @@
buttons: [{
text: 'Kill',
type: 'button-danger',
buttonClicked: function(item) {
// Remove ourselves
$scope.items.splice($scope.items.indexOf(item), 1);
}
buttonClicked: removeItem,
}]
},
{
@ -115,7 +117,8 @@
icon: 'icon-chevron-right',
buttons: [{
text: 'Kill',
type: 'button-danger'
type: 'button-danger',
buttonClicked: removeItem,
}]
},
{
@ -125,7 +128,8 @@
icon: 'icon-chevron-right',
buttons: [{
text: 'Kill',
type: 'button-danger'
type: 'button-danger',
buttonClicked: removeItem,
}]
},
{
@ -135,7 +139,8 @@
icon: 'icon-chevron-right',
buttons: [{
text: 'Kill',
type: 'button-danger'
type: 'button-danger',
buttonClicked: removeItem,
}]
}
];

View File

@ -177,6 +177,7 @@
.bar .button-icon {
background-color: transparent;
border: 1px solid transparent;
font-size: 24px;
}
// Header at top