-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
70 lines (66 loc) · 2.67 KB
/
index.html
File metadata and controls
70 lines (66 loc) · 2.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html ng-app="RPG" lang="en-US">
<!--<![endif]-->
<head>
<title>Angular Test</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/bootstrap-theme.css">
<link rel="stylesheet" href="css/main.css">
<script src="js/vendor/modernizr-2.6.2.min.js"></script>
</head>
<body class="container">
<!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<header>
<h1>Angular Test: RPG Character List</h1>
</header>
<main ng-controller="CharacterCtrl as Players">
<section id="pcs">
<div class="well">
<input ng-model="newCharacter" ng-keypress="Players.addCharacter($event)" type="text" class="form-control" placeholder="Enter New Character: Name, Race, Class, Level">
</div>
<div class="panel panel-primary">
<div class="panel-heading">Player Characters</div>
<div class="panel-body">
<table class="table">
<thead>
<tr>
<th>Name</th>
<th>Race</th>
<th>Class</th>
<th>Level</th>
<th></th>
</tr>
</thead>
<tbody>
<tr ng-repeat="Player in Players.collection">
<td>{{Player.name}}</td>
<td>{{Player.race}}</td>
<td>{{Player.charClass}}</td>
<td>{{Player.level}}</td>
<td><button title="Delete {{Player.name}}" ng-click="Players.removeCharacter(Player)"><i class="glyphicon glyphicon-remove"></i></button></td>
</tr>
</tbody>
</table>
</div>
</div>
</section>
</main>
<script src="js/vendor/jquery.js"></script>
<script src="js/vendor/bootstrap.js"></script>
<script src="js/vendor/angular.js"></script>
<script src="js/vendor/angular-resource.js"></script>
<script src="js/vendor/ui-bootstrap-0.11.0.js"></script>
<script src="js/plugins.js"></script>
<script src="js/main.js"></script>
</body>
</html>