-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex.html
86 lines (79 loc) · 3 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!DOCTYPE html>
<html ng-app="BusinessModelCanvas">
<head>
<title>Business Model Canvas</title>
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body ng-controller="RootController">
<div class="container">
<div class="row">
<div class="col-md-4 title">The Business Model Canvas</div>
<div class="col-md-3 title">
<div class="header-box">
<div class="row">Designed For:</div>
<div class="row">
<bmc-editable-label model="doc.designedFor"></bmc-editable-label>
</div>
</div>
</div>
<div class="col-md-3 title">
<div class="header-box">
<div class="row">Designed By:</div>
<div class="row">
<bmc-editable-label model="doc.designedBy"></bmc-editable-label>
</div>
</div>
</div>
<div class="col-md-1 title">
<div class="header-box">
<div class="row">Date:</div>
<div class="row">
<bmc-editable-label model="doc.date"></bmc-editable-label>
</div>
</div>
</div>
<div class="col-md-1 title">
<div class="header-box">
<div class="row">Version:</div>
<div class="row">
<bmc-editable-label model="doc.version"></bmc-editable-label>
</div>
</div>
</div>
</div>
<div class="row">
<table class="table table-bordered canvas-table">
<tbody>
<tr ng-repeat="row in tableLayout">
<td ng-repeat="cell in row"
ng-controller="SectionController"
class="canvas-cell"
ng-class="{'tall-cell': cell.rowspan == 2,
'short-cell': cell.rowspan == 1}"
rowspan="{{cell.rowspan}}"
colspan="{{cell.colspan}}">
<div class="table-cell">
<span class="canvas-cell-image glyphicon"
ng-class="'glyphicon-' + cell.icon"></span>
<span>{{cell.title}}</span>
<ul>
<li ng-repeat="item in doc.sections[cell.key]">
<bmc-editable-label model="item.label"
just-added="item === lastAddedItem">
</bmc-editable-label>
</li>
</ul>
<button ng-click="addItem()">+</button>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<script src="angular.js" type="text/javascript"></script>
<script src="ui-utils.js" type="text/javascript"></script>
<script src="code.js" type="text/javascript"></script>
</body>
</html>