SpecRunner.tmpl 8.84 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>Jasmine Spec Runner</title>
    <link rel="shortcut icon" type="image/png" href="<%= temp %>/jasmine_favicon.png">
    <% css.forEach(function(style){ %>
    <link rel="stylesheet" type="text/css" href="<%= style %>">
    <% }) %>

</head>
<body>
Rafael Ostertag's avatar
Rafael Ostertag committed
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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<section class="container-fluid">
    <header class="page-header">
        <h1>Keep Track of Navigation State</h1>
    </header>

    <nav>
        <ul id="qfqTabs" class="nav nav-pills" role="tablist">
            <li role="presentation" class="active"><a href="#tab1" data-toggle="tab">Tab 1</a>
            </li>
            <li role="presentation"><a href="#tab2" data-toggle="tab">Tab 2</a>
            </li>
            <li role="presentation"><a href="#tab3" data-toggle="tab">Tab 3</a>
            </li>
            <li role="presentation" class="dropdown">
                <a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button">
                    more <span class="caret"></span>
                </a>
                <ul class="dropdown-menu">
                    <li><a href="#tab4" data-toggle="tab">Tab 4 Dropdown</a></li>
                    <li><a href="#tab5" data-toggle="tab">Tab 5 Dropdown</a></li>
                </ul>
            </li>
        </ul>
    </nav>

    <div class="tab-content">

        <div role="tabpanel" class="tab-pane active" id="tab1">
            <div class="row">
                <h1 class="col-sm-12">
                    Tab Pane 1
                </h1>
            </div>
            <div class="row">
                <p class="col-sm-8 col-sm-offset-2">
                    Tab 1 Content
                </p>
            </div>
        </div>

        <div role="tabpanel" class="tab-pane" id="tab2">
            <div class="row">
                <h1 class="col-sm-12">
                    Tab Pane 2
                </h1>
            </div>
            <div class="row">
                <p class="col-sm-8 col-sm-offset-2">
                    Tab 2 Content
                </p>

                <div class="row">
                    <p class="col-sm-8 col-sm-offset-2">
                        <input type="text" name="input1">
                    </p>
                </div>
            </div>

        </div>

        <div role="tabpanel" class="tab-pane" id="tab3">
            <div class="row">
                <h1 class="col-sm-12">
                    Tab Pane 3
                </h1>
            </div>
            <div class="row">
                <p class="col-sm-8 col-sm-offset-2">
                    Tab 3 Content
                </p>
            </div>

        </div>

        <div role="tabpanel" class="tab-pane" id="tab4">
            <div class="row">
                <h1 class="col-sm-12">
                    Tab Pane 4
                </h1>
            </div>
            <div class="row">
                <p class="col-sm-8 col-sm-offset-2">
                    Tab 4 Content
                </p>
            </div>

            <div class="row">
                <p class="col-sm-8 col-sm-offset-2">
                    <input type="text" name="input2">
                </p>
            </div>

        </div>

        <div role="tabpanel" class="tab-pane" id="tab5">
            <div class="row">
                <h1 class="col-sm-12">
                    Tab Pane 5
                </h1>
            </div>
            <div class="row">
                <p class="col-sm-8 col-sm-offset-2">
                    Tab 5 Content
                </p>
            </div>

        </div>
    </div>

    <header>
        <h1>Form</h1>
    </header>
    <form id="myForm" class="form-horizontal">
        <div class="form-group">
            <div class="col-md-2">
                <label for="id" class="control-label">id</label>
            </div>
            <div class="col-md-6 ">
                <p id="id" class="form-control-static">12345678</p>
            </div>
        </div>

        <div class="form-group">
            <div class="col-md-2">
                <label for="name" class="control-label">Name</label>
            </div>

            <div class="col-md-6">
                <input id="name" type="text" class="form-control">
            </div>

        </div>

        <div class="form-group">
            <div class="col-md-2">
                <label for="firstname" class="control-label">Vorname</label>
            </div>

            <div class="col-md-6">
                <input id="firstname" type="text" class="form-control">
            </div>
        </div>

        <div class="form-group">
            <div class="col-md-2">
                <label for="nameShort" class="control-label">Vorname Kurz</label>
            </div>
            <div class="col-md-6">
162
                <input id="nameShort" type="text" name="personHandle" class="form-control">
163
164
165
166
167
168
169
170
171
172
173
174
            </div>

            <div class="col-md-4">
                <p class="help-block ">Abgekürzter Vorname. Für "Christian" z.B. "Ch."</p>
            </div>
        </div>

        <div class="form-group">
            <div class="col-md-2">
                <label for="personHandle" class="control-label">Kurzform</label>
            </div>
            <div class="col-md-6">
175
                <input id="personHandle" type="text" class="form-control">
176
177
178
179
180
181
182
183
184
185
186
187
188
            </div>

            <div class="col-md-4">
                <p class="help-block">Z.B. MC fuer Michel Chipot. Nur nach Absprache mit IT. Achtung: Check
                    emaillisten (AG...).</p>
            </div>
        </div>

        <div class="form-group">
            <div class="col-md-2">
                <label for="personTitle" class="control-label">Titel</label>
            </div>
            <div class="col-md-6">
Rafael Ostertag's avatar
Rafael Ostertag committed
189
                <select id="personTitle" class="form-control" name="personTitle">
190
                    <option>none</option>
191
192
193
194
195
                    <option>Dr.</option>
                    <option>Prof. Dr.</option>
                </select>
            </div>
        </div>
196

197
198
199
200
201
202
203
204
205
206
207
208
209
        <div class="form-group">
            <div class="col-md-2">
                <label for="selectTest2" class="control-label">Titel</label>
            </div>
            <div class="col-md-6">
                <select id="selectTest2" class="form-control">
                    <option value="1">a</option>
                    <option value="2" selected>b</option>
                    <option value="3">c</option>
                </select>
            </div>
        </div>

210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
        <div class="form-group">
            <div class="col-md-2">
                <b class="control-label">
                    Gender
                </b>
            </div>

            <div class="col-md-6">
                <div class="radio">
                    <label>
                        <input type="radio" name="gender" value="male">male
                    </label>
                </div>
                <div class="radio">
                    <label>
                        <input type="radio" name="gender" value="female">female
                    </label>
                </div>
            </div>
            <div class="col-md-4">
                <p class="help-block"></p>
            </div>
        </div>


        <div class="form-group">

            <div class="col-md-2">
                <label for="personGeburtstag" class="control-label">Geburtstag</label>
            </div>
            <div class="col-md-6">
                <input id="personGeburtstag" type="text" class="form-control" name="geburtstag">
            </div>

        </div>

246
247
248
249
250
251
252
253
254
255
        <div class="form-group">
            <div class="col-md-2">
                <b class="control-label">
                    Reminder Veranstaltung
                </b>
            </div>

            <div class="col-md-6">
                <div class="checkbox">
                    <label>
Rafael Ostertag's avatar
Rafael Ostertag committed
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
                        <input name='reminder' type="checkbox">
                    </label>

                </div>
            </div>
            <div class="col-md-4">
                <p class="help-block">Empfängt 'Reminder'-Mails für Veranstaltungen.</p>
            </div>
        </div>

        <div class="form-group">
            <div class="col-md-2">
                <b class="control-label">
                    Checkbox 2 test
                </b>
            </div>

            <div class="col-md-6">
                <div class="checkbox">
                    <label>
                        <input name='checkbox2' type="checkbox" value="reminder_value" checked>
277
278
279
280
281
282
283
284
                    </label>

                </div>
            </div>
            <div class="col-md-4">
                <p class="help-block">Empfängt 'Reminder'-Mails für Veranstaltungen.</p>
            </div>
        </div>
285

286
    </form>
Rafael Ostertag's avatar
Rafael Ostertag committed
287

288
289
290
291
292
293
294
295
</section>
<% with (scripts) { %>
<% [].concat(polyfills, jasmine, boot, vendor, helpers, src, specs,reporters).forEach(function(script){ %>
<script src="<%= script %>"></script>
<% }) %>
<% }; %>
</body>
</html>