personmock.html 40 KB
Newer Older
robot's avatar
robot committed
1
2
3
4
5
6
7
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">

Rafael Ostertag's avatar
Rafael Ostertag committed
8
9
10
11
    <link rel="stylesheet" href="../css/bootstrap.min.css">
    <link rel="stylesheet" href="../css/bootstrap-theme.min.css">
    <link rel="stylesheet" href="../css/jqx.base.css">
    <link rel="stylesheet" href="../css/jqx.darkblue.css">
robot's avatar
robot committed
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
    <title>Person Form Mockup</title>

    <style>
        /*inline elements in horizontal mode are too much left*/
        .form-horizontal .form-inline .form-group {
            margin: 0;
        }

        .form-inline .control-label {
            font-weight: normal;
        }
    </style>
</head>
<body>


robot's avatar
robot committed
28
<div class="container-fluid">
robot's avatar
robot committed
29
30
31
32
33
    <div class="row hidden-xs">
        <div class="col-md-12">
            <h1>Title with a long text</h1>
        </div>
    </div>
robot's avatar
robot committed
34

robot's avatar
robot committed
35
    <div class="row">
robot's avatar
robot committed
36
37
        <div class="col-md-10">
            <ul id="myTabs" class="nav nav-pills" role="tablist">
38
39
40
41
42
43
                <li role="presentation" class="active"><a href="#person" data-toggle="tab">Person</a></li>
                <li role="presentation"><a href="#person2" data-toggle="tab">Person2</a></li>
                <li role="presentation"><a href="#funktion" data-toggle="tab">Funktion</a></li>
                <li role="presentation"><a href="#adresse" data-toggle="tab">Adresse</a></li>
                <li role="presentation"><a href="#display" data-toggle="tab">Display</a></li>
                <li role="presentation"><a href="#settings" data-toggle="tab">Settings</a></li>
robot's avatar
robot committed
44
45
                <li role="presentation" class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button">
46
                        more <span class="caret"></span>
robot's avatar
robot committed
47
48
                    </a>
                    <ul class="dropdown-menu">
49
50
51
52
53
54
                        <li><a href="#arbeitsgruppe" data-toggle="tab">Arbeitsgruppe</a></li>
                        <li><a href="#publikation" data-toggle="tab">Publikation</a></li>
                        <li><a href="#privilegien" data-toggle="tab">Privilegien</a></li>
                        <li><a href="#technical" data-toggle="tab">Technical</a></li>
                        <li><a href="#notes" data-toggle="tab">Notes</a></li>
                        <li><a href="#referenzen" data-toggle="tab">Referenzen: Read Only</a></li>
robot's avatar
robot committed
55
56
57
58
                    </ul>
                </li>

            </ul>
robot's avatar
robot committed
59
60
61
62
        </div>
        <div class="col-md-2 ">
            <div class="btn-toolbar pull-right" role="toolbar">
                <div class="btn-group" role="group">
Rafael Ostertag's avatar
Rafael Ostertag committed
63
                    <button id="save-button" type="button" class="btn btn-default navbar-btn"><span
robot's avatar
robot committed
64
                            class="glyphicon glyphicon-ok"></span></button>
Rafael Ostertag's avatar
Rafael Ostertag committed
65
                    <button id="close-button" type="button" class="btn btn-default navbar-btn"><span
robot's avatar
robot committed
66
67
68
                            class="glyphicon glyphicon-remove"></span></button>
                </div>
                <div class="btn-group" role="group">
Rafael Ostertag's avatar
Rafael Ostertag committed
69
                    <button id="delete-button" type="button" class="btn btn-default navbar-btn"><span
robot's avatar
robot committed
70
71
72
                            class="glyphicon glyphicon-trash"></span></button>
                </div>
                <div class="btn-group" role="group">
Rafael Ostertag's avatar
Rafael Ostertag committed
73
                    <button id="new-button" type="button" class="btn btn-default navbar-btn"><span
robot's avatar
robot committed
74
                            class="glyphicon glyphicon-plus"></span></button>
robot's avatar
robot committed
75
76
77
78
                </div>
            </div>
        </div>

robot's avatar
robot committed
79
    </div>
robot's avatar
robot committed
80
81


Rafael Ostertag's avatar
Rafael Ostertag committed
82
    <form id="myForm" class="form-horizontal">
83
84
85
86
87
88
        <div class="tab-content">

            <!--pill: Person-->
            <div role="tabpanel" class="tab-pane active" id="person">


robot's avatar
robot committed
89
90
                <div class="form-group">
                    <div class="col-md-2">
91
92
93
94
                        <label for="id" class="control-label">id</label>
                    </div>
                    <div class="col-md-6 ">
                        <p id="id" type="text" class="form-control-static">12345678</p>
robot's avatar
robot committed
95
                    </div>
96
                </div>
robot's avatar
robot committed
97

98
99
100
                <div class="form-group">
                    <div class="col-md-2">
                        <label for="name" class="control-label">Name</label>
robot's avatar
robot committed
101
102
                    </div>

103
104
                    <div class="col-md-6">
                        <input id="name" type="text" class="form-control">
robot's avatar
robot committed
105
                    </div>
106

robot's avatar
robot committed
107
                </div>
108

robot's avatar
robot committed
109
110
                <div class="form-group">
                    <div class="col-md-2">
111
                        <label for="firstname" class="control-label">Vorname</label>
robot's avatar
robot committed
112
113
114
                    </div>

                    <div class="col-md-6">
115
                        <input id="firstname" type="text" class="form-control">
robot's avatar
robot committed
116
117
                    </div>
                </div>
118

robot's avatar
robot committed
119
120
                <div class="form-group">
                    <div class="col-md-2">
121
                        <label for="nameShort" class="control-label">Vorname Kurz</label>
robot's avatar
robot committed
122
123
                    </div>
                    <div class="col-md-6">
124
                        <input id="nameShort" type="text" class="form-control">
robot's avatar
robot committed
125
126
127
128
129
130
                    </div>

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

robot's avatar
robot committed
132
133
134
135
136
137
138
139
140
141
142
143
144
                <div class="form-group">
                    <div class="col-md-2">
                        <label for="personHandle" class="control-label">Kurzform</label>
                    </div>
                    <div class="col-md-6">
                        <input id="personHandle" type="text" class="form-control">
                    </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>
145

robot's avatar
robot committed
146
147
148
149
150
151
152
153
154
155
156
                <div class="form-group">
                    <div class="col-md-2">
                        <label for="personTitle" class="control-label">Titel</label>
                    </div>
                    <div class="col-md-6">
                        <select id="personTitle" class="form-control">
                            <option></option>
                            <option>Dr.</option>
                            <option>Prof. Dr.</option>
                        </select>
                    </div>
157
                </div>
robot's avatar
robot committed
158

159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
                <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">male
                            </label>
                        </div>
                        <div class="radio">
                            <label>
                                <input type="radio">female
                            </label>
                        </div>
                    </div>
                    <div class="col-md-4">
robot's avatar
robot committed
179
180
181
                        <p class="help-block"></p>
                    </div>
                </div>
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213


                <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">
                    </div>

                </div>


            </div>

            <!--Pill: Person2-->
            <div role="tabpanel" class="tab-pane" id="person2">
                <div class="form-group">
                    <div class="col-md-2">
                        <label for="personMat" class="control-label">Matrikelnummer</label>
                    </div>
                    <div class="col-md-6">
                        <input id="personMat" type="text" class="form-control">
                    </div>

                    <div class=" col-md-4">
                        <p class="help-block">Format: xxxxxxxx. Die von der Uni/ETH vergebenen Matrikelnummer.
                            Wichtig bei Studenten.</p>
                    </div>
                </div>

robot's avatar
robot committed
214
215
216
217
218
219
220
221
222
223
224
225
226
                <div class="form-group">
                    <div class="col-md-2">
                        <label for="personZusatz" class="control-label">Zusatz</label>
                    </div>
                    <div class="col-md-6">
                        <input id="personZusatz" type="text" class="form-control">
                    </div>

                    <div class="col-md-4">
                        <p class="help-block ">Anzeige auf der Kontaktseite hinter dem Namen (wird automatisch klein
                            und in Klammern gesetzt). Wiki</p>
                    </div>
                </div>
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243

                <div class="form-group">
                    <div class="col-md-2">
                        <label for="personeNameAlt" class="control-label">Name (alternativ)</label>
                    </div>
                    <div class="col-md-6">
                        <input id="personeNameAlt" type="text" class="form-control">
                    </div>

                    <div class=" col-md-4">
                        <p class="help-block"> Alternativer Nachname. Wechselt der Nachname einer Person (z.B.
                            durch Heirat) kann hier der alte Name hinterlegt werden. Das wird zur Zeit nur bei der
                            Anzeige
                            der Co-Autoren zu einer Publikation ausgewertet.</p>
                    </div>
                </div>

robot's avatar
robot committed
244
245
246
247
248
249
250
251
252
253
254
255
256
                <div class="form-group">
                    <div class="col-md-2">
                        <label for="personDisplay" class="control-label">Display Name</label>
                    </div>
                    <div class="col-md-6">
                        <input id="personDisplay" type="text" class="form-control">
                    </div>

                    <div class=" col-md-4">
                        <p class="help-block">Optional: Wird anstelle von 'titel / vorname / name / zusatz' auf der
                            Kontaktseite und der 'persoenlichen Page' angezeigt. Wiki</p>
                    </div>
                </div>
257

robot's avatar
robot committed
258
259
                <div class="form-group">
                    <div class="col-md-2">
260
                        <label for="personNameCredits" class="control-label">Credits</label>
robot's avatar
robot committed
261
                    </div>
262
263
264
265
266
267
268
                    <div class="col-md-6 ">
                        <p id="personNameCredits" type="text" class="form-control-static">6000</p>
                    </div>
                    <div class=" col-md-4">
                        <p class="help-block">für PrintQuota-System (in Rp.)</p>
                    </div>
                </div>
robot's avatar
robot committed
269

270
271
272
273
274
275
276
277
278
279
280
281
282
283
                <!--subrecord: account-->

                <!--subrecord: bilder zur person-->

            </div>

            <!--pill: Funktion-->
            <div role="tabpanel" class="tab-pane" id="funktion">
                <!--Persönliche Funktion (subrecord)-->
                <div class="form-group">
                    <div class="col-md-12">
                        <b>title subrecord_pers_funktion</b>

                        <div id="subrecord_pers_funktion">
robot's avatar
robot committed
284
                        </div>
285
286
287
288
289
290
291
292
293
294

                    </div>
                </div>

                <!--Properties der Person (subrecord)-->
                <div class="form-group">
                    <div class="col-md-12">
                        <b>title subrecord_properties</b>

                        <div id="subrecord_properties">
robot's avatar
robot committed
295
296
                        </div>
                    </div>
297
298
299
300
301
302
303
304
305
                </div>

                <!--Zustaendigkeitsbereiche (subrecord)-->
                <div class="form-group">
                    <div class="col-md-12">
                        <b>title subrecord_zustaendigkeitsbereiche</b>

                        <div id="subrecord_zustaendigkeitsbereiche">
                        </div>
robot's avatar
robot committed
306
307
                    </div>
                </div>
308
309
310
311
            </div>

            <!--pill: Adresse-->
            <div role="tabpanel" class="tab-pane" id="adresse">
robot's avatar
robot committed
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
                <div class="form-group">
                    <div class="col-md-2">
                        <label for="personRaum" class="control-label">Raum</label>
                    </div>
                    <div class="col-md-6">
                        <select id="personRaum" class="form-control">
                            <option>Raum</option>
                            <option>Raum</option>
                            <option>Raum</option>
                            <option>Raum</option>
                            <option>Raum</option>
                            <option>Raum</option>
                            <option>Raum</option>
                            <option>Raum</option>
                            <option>Raum</option>
                        </select>
                    </div>

                    <div class=" col-md-4">
                        <p class="help-block"></p>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-md-2">
                        <b class="control-label">
                            Show office number
                        </b>
                    </div>

                    <div class="col-md-6">
                        <div class="checkbox">
                            <label>
                                <input type="checkbox">
                            </label>

                            <p class="help-block"></p>
                        </div>
                    </div>
                </div>

352
                <!--Adresse (subrecord)-->
robot's avatar
robot committed
353
                <div class="form-group">
354
355
356
357
358
                    <div class="col-md-12">
                        <b>subrecord Adresse</b>

                        <div id="subrecord_adresse">
                        </div>
robot's avatar
robot committed
359
                    </div>
360

robot's avatar
robot committed
361
                </div>
362
363
364
365
366

            </div>

            <!--pill: Display-->
            <div role="tabpanel" class="tab-pane" id="display">
robot's avatar
robot committed
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
                <div class="form-group">
                    <div class="col-md-2">
                        <label for="personHompage" class="control-label">Hompage</label>
                    </div>
                    <div class="col-md-6">
                        <input id="personHompage" type="text" class="form-control">
                    </div>

                    <div class=" col-md-4">
                        <p class="help-block">Alternative zur default 'Persoenlichen Homepage'. Falls kein Link auf
                            eine Homepage gesetzt werden soll: <b>no_homepage</b></p>
                    </div>
                </div>

                <div class="form-group">
                    <div class="col-md-2">
                        <label for="personPublic" class="control-label">Publik. max. Jahre</label>
                    </div>
                    <div class="col-md-6">
                        <input id="personPublic" type="text" class="form-control">
                    </div>

                    <div class=" col-md-4">
                        <p class="help-block">Begrenzt die Anzeige der Publikationen auf die letzten 'x' Jahre
                            (persönliche Homepage).</p>
                    </div>
                </div>
394

robot's avatar
robot committed
395
396
397
398
399
400
401
402
403
                <div class="form-group">
                    <div class="col-md-2">
                        <label for="personPublic2" class="control-label">Publik. seit Jahr</label>
                    </div>
                    <div class="col-md-6">
                        <input id="personPublic2" type="text" class="form-control">
                    </div>

                    <div class=" col-md-4">
404
                        <p class="help-block">Anzeige aller Publikationen seit diesem Jahr (persönliche Homepage).
robot's avatar
robot committed
405
406
407
                            0=disable</p>
                    </div>
                </div>
408

robot's avatar
robot committed
409
410
                <div class="form-group">
                    <div class="col-md-2">
411
                        <b class="control-label">Fotowand</b>
robot's avatar
robot committed
412
413
                    </div>
                    <div class="col-md-6">
414
415
416
417
418
419
420
421
422
                        <div class="form-inline">
                            <div class="form-group">
                                <label for="personZeile" class="control-label">Zeile (A-K)</label>
                                <input id="personZeile" type="text" class="form-control">
                            </div>
                            <div class="form-group">
                                <label for="personSpalte" class="control-label">Zeile (1-10)</label>
                                <input id="personSpalte" type="text" class="form-control">
                            </div>
robot's avatar
robot committed
423

424
425
426
427
428
429
430
431
                            <div class="form-group">
                                <div class="checkbox">
                                    <label>
                                        <input type="checkbox">Zweizeilig
                                    </label>
                                </div>
                            </div>
                        </div>
robot's avatar
robot committed
432
433
                    </div>
                </div>
434
435
436
437
438
439
440
                <!--Module on my homepage (subrecord)-->
                <!--Conferences on my homepage (subrecord)-->

            </div>

            <!--pill: Settings-->
            <div role="tabpanel" class="tab-pane" id="settings">
robot's avatar
robot committed
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
                <div class="form-group">
                    <div class="col-md-2">
                        <b class="control-label">
                            Zeige Bild auf Homepage
                        </b>
                    </div>

                    <div class="col-md-6">
                        <div class="checkbox">
                            <label>
                                <input type="checkbox">
                            </label>
                        </div>
                    </div>
                    <div class=" col-md-4">
                        <p class="help-block">Feld 'Bild' muss auf ein Bild verweisen.</p>
                    </div>
                </div>

                <div class="form-group">
                    <div class="col-md-2">
                        <b class="control-label">
                            Show on Alumni Liste
                        </b>
                    </div>

                    <div class="col-md-6">
                        <div class="checkbox">
                            <label>
                                <input type="checkbox">
                            </label>
                        </div>
                    </div>
                    <div class=" col-md-4">
                        <p class="help-block">Assistenten die nicht mehr angestellt sind werden automatisch auf der
                            Alumni Liste angezeigt. Falls das nicht gewünscht ist Checkbox deaktivieren.</p>
                    </div>
                </div>

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

                    <div class="col-md-6">
                        <div class="checkbox">
                            <label>
                                <input type="checkbox">
                            </label>
                        </div>
                    </div>
                    <div class="col-md-4">
                        <p class="help-block">Dieser Student hat min. eine 'Service'-Vorlesung gebucht (kein Math.
                            Student)</p>
                    </div>
                </div>

                <div class="form-group">
                    <div class="col-md-2">
                        <label for="personHomepageAlias" class="control-label">Homepage Alias</label>
                    </div>
                    <div class="col-md-6">
                        <select id="personHomepageAlias" class="form-control">
                            <option>alias</option>
                            <option>alias</option>
                            <option>alias</option>
                            <option>alias</option>
                            <option>alias</option>
                            <option>alias</option>
                        </select>
                    </div>
                </div>

                <div class="form-group">
                    <div class="col-md-2">
                        <label for="personSAPId" class="control-label">SAP ID</label>
                    </div>
                    <div class="col-md-6">
                        <input id="personSAPId" type="text" class="form-control">
                    </div>
                    <div class="col-md-4">
                        <p class="help-block ">optional: ID dieser Person im SAP</p>
                    </div>
                </div>

                <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>
                                <input 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">
                            Reminder Konferenz
                        </b>
                    </div>

                    <div class="col-md-6">
                        <div class="checkbox">
                            <label>
                                <input type="checkbox">
                            </label>

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

                <div class="form-group">
                    <div class="col-md-2">
                        <b class="control-label">
                            Reminder Diss.-Vortrag
                        </b>
                    </div>

                    <div class="col-md-6">
                        <div class="checkbox">
                            <label>
                                <input type="checkbox">
                            </label>

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

                <div class="form-group">
                    <div class="col-md-2">
                        <b class="control-label">
                            Reminder AG-Seminar
                        </b>
                    </div>

                    <div class="col-md-6">
                        <div class="checkbox">
                            <label>
                                <input type="checkbox">
                            </label>

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

608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
                <!--Arbeitszeiten (subrecord)-->

            </div>

            <!--pill: Arbeitsgruppe-->
            <div role="tabpanel" class="tab-pane" id="arbeitsgruppe">
                <!--Sekretariat fuer Arbeitsgruppe (subrecord)-->
                <!--Arbeitsgruppe (subrecord)-->
            </div>

            <!--pill: Publikation-->
            <div role="tabpanel" class="tab-pane" id="publikation">
                <!--Publikation(subrecord)-->
                <!--Dissertation / Verteidigung(subrecord)-->
                <!--Hauptthemen Publikationen(subrecord)-->
            </div>

            <!--pill: Privilegien-->
            <div role="tabpanel" class="tab-pane" id="privilegien">
                <!--Administration von Gaesten fuer: (subrecord)-->
            </div>

            <!--pill: Technical-->
            <div role="tabpanel" class="tab-pane" id="technical">
robot's avatar
robot committed
632
633
                <div class="form-group">
                    <div class="col-md-2">
634
                        <label for="personAngelegt" class="control-label">Angelegt</label>
robot's avatar
robot committed
635
                    </div>
636
637
                    <div class="col-md-6">
                        <input id="personAngelegt" type="text" class="form-control">
robot's avatar
robot committed
638
                    </div>
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
                </div>

                <div class="form-group">
                    <div class="col-md-2">
                        <label for="personFe" class="control-label">FE User Id</label>
                    </div>
                    <div class="col-md-6">
                        <input id="personFe" type="text" class="form-control">
                    </div>

                    <div class="col-md-4">
                        <p class="help-block">FE User ID aus der Typo3 Front End User Verwaltung.</p>
                    </div>
                </div>

                <div class="form-group">
                    <div class="col-md-2">
                        <label for="personUniqueId" class="control-label">unique ID</label>
                    </div>
                    <div class="col-md-6">
                        <input id="personUniqueId" type="text" class="form-control">
                    </div>

robot's avatar
robot committed
662
                    <div class=" col-md-4">
663
664
                        <p class="help-block">Eindeutige ID, fuer Personen mit gleichem Namen (i.d.R. leer).
                            Achtung: Pro Name muss min. ein Name eine leere unique ID haben. </p>
robot's avatar
robot committed
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
                    </div>
                </div>

                <div class="form-group">
                    <div class="col-md-2">
                        <label for="personAuth" class="control-label">auth</label>
                    </div>
                    <div class="col-md-6 ">
                        <p id="personAuth" type="text" class="form-control-static">asdfasfdasf</p>
                    </div>
                </div>

                <div class="form-group">
                    <div class="col-md-2">
                        <label for="personAutoUpdate" class="control-label">auto_update</label>
                    </div>
                    <div class="col-md-6">
                        <input id="personAutoUpdate" type="text" class="form-control">
                    </div>

                    <div class=" col-md-4">
                        <p class="help-block"> =0 - kein Auto Update</p>
                    </div>
                </div>

690
691
692
693
                <!--Registrierte MAC-Adressen (subrecord)-->
                <!--Hardware (subrecord)-->
                <!--Software Licenses (owner or used by) (subrecord)-->
            </div>
robot's avatar
robot committed
694

695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
            <!--pill: Notes-->
            <div role="tabpanel" class="tab-pane" id="notes">
                <!--Administrative Notizen zur Person (subrecord)-->
            </div>

            <!--pill: Referenzen-->
            <div role="tabpanel" class="tab-pane" id="referenzen">
                <!--Homepage Notizen (subrecord)-->
                <!--Organisator: Seminar (subrecord)-->
                <!--Organisator: Konferenz (subrecord)-->
                <!--Sprecher: Konferenz (subrecord)-->
                <!--Sprecher: Seminar (subrecord)-->
                <!--Dozent: Vorlesung (subrecord)-->
                <!--Uebungsleiter: Vorlesung (subrecord)-->
                <!--Gast (subrecord)-->
                <!--Student einer Vorlesung (subrecord)-->
                <!--Student eines Seminars /Kolloquiums (subrecord)-->
                <!--Einladung schriftliche Pruefung (subrecord)-->
                <!--Webbox (subrecord)-->
                <!--Notizen zu Workflows (subrecord)-->
                <!--Konferenzteilnehmer (subrecord)-->
                <!--Workflow (subrecord)-->

            </div>


        </div>
    </form>
robot's avatar
robot committed
723
724
</div>

Rafael Ostertag's avatar
Rafael Ostertag committed
725
726
727
728
<script src="../js/jquery.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/jqx-all.js"></script>
<script src="../js/qfq-jqw.debug.js"></script>
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
<script type="text/javascript">
    $(function () {

        $("#subrecord_adresse").jqxDataTable(
                {
                    columns: [
                        {text: 'id', datafield: 'id', minWidth: 30},
                        {text: 'Name 2', datafield: 'name2', minWidth: 30},
                        {text: 'Organisation', datafield: 'organisation', minWidth: 30},
                        {text: 'Abteilung', datafield: 'abteilung', minWidth: 30},
                        {text: 'Position', datafield: 'position', minWidth: 30},
                        {text: 'Strasse', datafield: 'strasse', minWidth: 30},
                        {text: 'PLZ', datafield: 'plz', minWidth: 30},
                        {text: 'Ort', datafield: 'ort', minWidth: 30},
                        {text: 'Land', datafield: 'land', minWidth: 30},
                        {text: 'Telefon', datafield: 'telefon', minWidth: 30},
                        {text: 'FAX', datafield: 'fax', minWidth: 30},
                        {text: 'Mobil', datafield: 'mobil', minWidth: 30},
                        {text: 'Email', datafield: 'Email', minWidth: 30},
                        {text: 'Typ', datafield: 'typ', minWidth: 30},
                        {text: 'UZH Lotus Fetchmail', datafield: 'UZH Lotus Fetchmail', minWidth: 30},
                        {text: 'Von', datafield: 'von', minWidth: 30},
                        {text: 'Bis', datafield: 'bis', minWidth: 30}
                    ],
                    sortable: true,
                    height: "300",
                    columnsResize: true,
                    filterable: true
                });

        $("#subrecord_pers_funktion").jqxDataTable(
                {
                    columns: [
                        {text: 'id', datafield: 'id', minWidth: 30},
                        {text: 'gr_id_function', datafield: 'gr_id_function', minWidth: 30},
                        {text: 'Function', datafield: 'Function', minWidth: 30},
                        {text: 'von', datafield: 'von', minWidth: 30},
                        {text: 'bis', datafield: 'bis', minWidth: 30},
                        {text: 'Pri', datafield: 'Pri', minWidth: 30},
                        {text: 'valid', datafield: 'valid', minWidth: 30},
                        {text: 'Semester', datafield: 'Semester', minWidth: 30},
                        {text: 'quit', datafield: 'quit', minWidth: 30}

                    ],
                    sortable: true,
                    height: "300",
                    columnsResize: true,
                    showToolbar: true,
                    renderToolbar: function (toolBar) {
                        toolBar.jqxToolBar({
                            tools: "button button button | button button | button button button | button button",
                            initTools: function (type, index, tool, menuToolIninitialization) {
                                var icons = [
                                    '<span class="glyphicon glyphicon-plus"></span>',
                                    '<span class="glyphicon glyphicon-pencil"></span>',
                                    '<span class="glyphicon glyphicon-trash"></span>',
                                    '<span class="glyphicon glyphicon-ok-circle"></span>',
                                    '<span class="glyphicon glyphicon-ok-sign"></span>',
                                    '<span class="glyphicon glyphicon-copy"></span>',
                                    '<span class="glyphicon glyphicon-paste"></span>',
                                    '<span class="glyphicon glyphicon-scissors"></span>',
                                    '<span class="glyphicon glyphicon-filter"></span>',
                                    '<span class="glyphicon glyphicon-export"></span>'
                                ];
                                tool.append(icons[index]);

                                switch (index) {
                                    case 8:
                                        tool.click(function (evt) {
                                            evt.preventDefault();
                                            $("#subrecord_pers_funktion").jqxDataTable(
                                                    {
                                                        filterable: !$("#subrecord_pers_funktion").jqxDataTable('filterable')
                                                    }
                                            );
                                        });

                                }
                            }
                        });
                    }
                });

        var subrecord_source = {
            datatype: "json",
            datafields: [
                {name: 'id'},
                {name: 'property'},
                {name: 'lock_invert'}
            ],
            url: 'mockData/person_properties.json'
        };

        var subrecord_adapter = new $.jqx.dataAdapter(subrecord_source);
        $("#subrecord_properties").jqxGrid(
                {
                    source: subrecord_adapter,
                    columns: [
                        {text: 'id', datafield: 'id', minWidth: 30},
                        {
                            text: 'Property',
                            datafield: 'property',
                            minWidth: 30,
                            columntype: 'dropdownlist',
robot's avatar
robot committed
833
                            initeditor: function (row, cellvalue, editor) {
834
                                var source = [
robot's avatar
robot committed
835
836
837
838
839
840
841
                                    'flag: free printing bw',
                                    'flag: free printing color',
                                    'flag: permission onlinetool',
                                    'flag: compute',
                                    'online permission',
                                    'admin'
                                ];
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896

                                editor.jqxDropDownList({source: source});
                            }
                        },
                        {text: 'Lock / Invert', datafield: 'lock_invert', minWidth: 30, columntype: 'checkbox'},
                    ],
                    sortable: true,
                    height: 300,
                    columnsResize: true,
                    showToolbar: true,
                    editable: true,
                    renderToolbar: function (toolBar) {
                        toolBar.jqxToolBar({
                            tools: "button button button | button button | button button button | button button",
                            initTools: function (type, index, tool, menuToolIninitialization) {
                                var icons = [
                                    '<span class="glyphicon glyphicon-plus"></span>',
                                    '<span class="glyphicon glyphicon-pencil"></span>',
                                    '<span class="glyphicon glyphicon-trash"></span>',
                                    '<span class="glyphicon glyphicon-ok-circle"></span>',
                                    '<span class="glyphicon glyphicon-ok-sign"></span>',
                                    '<span class="glyphicon glyphicon-copy"></span>',
                                    '<span class="glyphicon glyphicon-paste"></span>',
                                    '<span class="glyphicon glyphicon-scissors"></span>',
                                    '<span class="glyphicon glyphicon-filter"></span>',
                                    '<span class="glyphicon glyphicon-export"></span>'
                                ];
                                tool.append(icons[index]);

                                switch (index) {
                                    case 8:
                                        tool.click(function (evt) {
                                            evt.preventDefault();
                                            $("#subrecord_properties").jqxDataTable(
                                                    {
                                                        filterable: !$("#subrecord_properties").jqxDataTable('filterable')
                                                    }
                                            );
                                        });

                                }
                            }
                        });
                    }
                });

        var subrecord_source_2 = {
            datatype: "json",
            datafields: [
                {name: 'id'},
                {name: 'bereich'}
            ],
            url: 'mockData/zustaendigkeitsbereiche.json'
        };

robot's avatar
robot committed
897
        var subrecord_adapter_2 = new $.jqx.dataAdapter(subrecord_source_2);
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
        $("#subrecord_zustaendigkeitsbereiche").jqxDataTable(
                {
                    source: subrecord_adapter_2,
                    columns: [
                        {text: 'id', datafield: 'id', minWidth: 30},
                        {text: 'Bereich', datafield: 'bereich', minWidth: 30},
                    ],
                    sortable: true,
                    width: 500,
                    height: 300,
                    columnsResize: true,
                    showToolbar: true,
                    renderToolbar: function (toolBar) {
                        toolBar.jqxToolBar({
                            tools: "button button button | button button | button button button | button button",
                            initTools: function (type, index, tool, menuToolIninitialization) {
                                var icons = [
                                    '<span class="glyphicon glyphicon-plus"></span>',
                                    '<span class="glyphicon glyphicon-pencil"></span>',
                                    '<span class="glyphicon glyphicon-trash"></span>',
                                    '<span class="glyphicon glyphicon-ok-circle"></span>',
                                    '<span class="glyphicon glyphicon-ok-sign"></span>',
                                    '<span class="glyphicon glyphicon-copy"></span>',
                                    '<span class="glyphicon glyphicon-paste"></span>',
                                    '<span class="glyphicon glyphicon-scissors"></span>',
                                    '<span class="glyphicon glyphicon-filter"></span>',
                                    '<span class="glyphicon glyphicon-export"></span>'
                                ];
                                tool.append(icons[index]);

                                switch (index) {
                                    case 8:
                                        tool.click(function (evt) {
                                            evt.preventDefault();
                                            $("#subrecord_zustaendigkeitsbereiche").jqxDataTable(
                                                    {
                                                        filterable: !$("#subrecord_zustaendigkeitsbereiche").jqxDataTable('filterable')
                                                    }
                                            );
                                        });

                                }
                            }
                        });
                    }
                });

Rafael Ostertag's avatar
Rafael Ostertag committed
945
946
947
948
949
        var qfqPage = new QfqNS.QfqPage({
            tabsId: 'myTabs',
            formId: 'myForm'
        });
    });
950
</script>
robot's avatar
robot committed
951
952
</body>
</html>