forked from wojtekerbetowski/git-kata
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathagenda.html
143 lines (125 loc) · 4.47 KB
/
agenda.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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<!DOCTYPE html>
<html data-ng-app>
<!-- HEADER -->
<head>
<meta charset='utf-8'>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="bootswatch/bootstrap.css">
<link rel="stylesheet" href="bootswatch/font-awesome.min.css">
<link rel="stylesheet" href="bootswatch/bootswatch.min.css">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="bootswatch/html5shiv.js"></script>
<script src="bootswatch/respond.min.js"></script>
<![endif]-->
<script src="bootswatch/jquery.min.js"></script>
<script src="bootswatch/bootstrap.min.js"></script>
<script src="bootswatch/bootswatch.js"></script>
<script src="./javascripts/angular.min.js"></script>
<script src="./javascripts/MenuCtrl.js"></script>
<script src="./javascripts/Agenda.js"></script>
<script src="./javascripts/Kata.js"></script>
<script type="text/javascript">
$(function() {
$("#btn-show-modal").click(function(e) {
e.preventDefault();
$("#dialog-example").modal("show");
});
});
</script>
<title>Git Kata 2 - Start</title>
</head>
<body>
<!-- MENU -->
<div class="navbar navbar-default navbar-fixed-top" data-ng-controller="MenuCtrl">
<div class="container">
<div class="navbar-collapse collapse navbar-responsive-collapse">
<ul class="nav navbar-nav">
<li data-ng-repeat="menu in menus">
<a href="{{menu.href}}">{{menu.label}}</a>
</li>
</ul>
</div><!-- /.nav-collapse -->
</div><!-- /.container -->
</div><!-- /.navbar -->
<div class="container">
<section id="main_content">
<div class="row">
<div class="col-lg-12 text-center">
<h2>Agenda</h2>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div class="col-lg-2"> </div>
<input type="text" id="searchBox" data-ng-model="searchBox" placeholder="Search Box" class="col-lg-8"/>
<div class="col-lg-2"> </div>
</div>
</div>
<br/>
<div data-ng-controller="Agenda">
<table class="table table-hover">
<!-- AGENDA HEADERS -->
<thead>
<tr>
<th data-ng-repeat="header in headers">{{ header }}</th>
</tr>
</thead>
<tbody>
<!-- AGENDA ROWS -->
<tr data-ng-repeat="row in rows | filter:searchBox">
<td><span title="{{ row.duration }}">{{ row.time }}</span></td>
<td data-ng-repeat="kata in row.katas" colspan="{{ kata.colspan }}" >
{{ kata.mentor }} <br/>
<a href="#" data-toggle="modal" title="{{ kata.shortDesc }}" data-target="#kata{{ kata.id }}">
{{ kata.title }}
</a>
</td>
</tr>
</tbody>
</table>
</div>
<hr/>
</section>
</div>
<!-- Agenda Details -->
<div data-ng-controller="Kata">
<div class="modal fade" id="kata0" tabindex="-1" data-role="dialog" data-aria-labelledby="myModalLabel" data-aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<p>More details about this kata will be available soon...</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<div class="modal fade" id="kata{{kata.id}}" tabindex="-1" data-role="dialog" data-aria-labelledby="myModalLabel" data-aria-hidden="true" data-ng-repeat="kata in katas">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" data-aria-hidden="true">×</button>
<h4 class="modal-title" id="myModalLabel">{{kata.title}}</h4>
</div>
<div class="modal-body">
<p data-ng-bind-html-unsafe="kata.description"></p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-45541501-1', 'gitkata.pl');
ga('send', 'pageview');
</script>
</body>
</html>