-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
60 lines (57 loc) · 2.7 KB
/
index.html
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
<!DOCTYPE HTML>
<html>
<head>
<title>Kassel Code Meetup 05.02.2014</title>
<link href="css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="css/font-awesome.min.css" rel="stylesheet" type="text/css" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="container">
<div class="jumbotron">
<h1>Code Meetup Kassel!</h1>
<p>Mit
<img class="frameworkLogo" src="img/logo_less.png" />,
<img class="frameworkLogo" src="img/logo_knockout.png" /> und
<img class="frameworkLogo" src="img/logo_underscore.png" />
</p>
</div>
<div data-bind="with: todoList">
<h2>
My Todos
(<span data-bind="text: selectedTodoCount"></span>
/
<span data-bind="text: totalTodoCount"></span>)
<button id="deleteArchivedButton" class="pull-right" data-bind="click: removeChecked">Erledigte <span class="fa fa-trash-o"></span></button>
</h2>
<div data-bind="foreach: entries">
<div class="row">
<div class="col-xs-1" data-bind="click: switchChecked">
<i data-bind="attr: { class: iconCss }"></i>
</div>
<div class="col-xs-11">
<span data-bind="text: name, click: switchChecked, attr: { class: nameCss }"></span>
<button class="pull-right fa fa-trash-o" data-bind="click: remove"></button>
</div>
</div>
</div>
<div class="pad-top">
<form class="from-inline" data-bind="submit: addNewEntry">
<div class="row">
<div class="col-xs-10">
<input type="text" class="form-control" data-bind="value: newEntryName" />
</div>
<div class="col-xs-2">
<button class="btn" >Hinzufügen</button>
</div>
</div>
</form>
</div>
</div>
</div>
<script type="text/javascript" src="js/knockout-3.0.0.js"></script>
<script type="text/javascript" src="js/underscore-min.js"></script>
<script type="text/javascript" src="js/todoList.js"></script>
<script type="text/javascript" src="js/app.js"></script>
</body>
</html>