-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
83 lines (78 loc) · 3.88 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
<!-- /* @author Chiara Kramer, Niklas Koopmann, Marcus Kraft*/ -->
<!doctype html>
<html lang="de">
<meta charset="utf-8">
<head>
<title>Customer Relationship Manager</title>
<!-- ICON -->
<link rel="icon" href="./crm.png">
<!-- BS4 CSS -->
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous">
<!-- JQUERY 3.3.1 (Google) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!-- BS4 JS -->
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.bundle.min.js" integrity="sha384-u/bQvRA/1bobcXlcEYpsEdFVK/vJs3+T+nXLsBYJthmdBuavHvAW6UsmqO2Gd/F9" crossorigin="anonymous"></script>
<!-- OWN CSS -->
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body ononline="updateOnline(true)">
<header>
<img alt="Logo DHBW Mosbach" src="http://www.mosbach.dhbw.de/fileadmin/_t3t/img/dhbw_mosbach_2014.gif">
<nav>
<span><a href="#events">Events</a></span>
</nav>
<div id="alertbox">
</div>
</header>
<main class="backgroundgrad">
<input class="form-control" id="searchbar" type="text" placeholder="Kommunikation durchsuchen...">
<div class="change_view">
<button onclick="listView()"><img src="./list.svg" alt="List"></button>
<button onclick="gridView()"><img src="./grid.svg" alt="Grid"></button>
<button type="button" id="add_card" onclick="showAddEventForm()">+</button>
</div>
<form id="add_event_data" name="event_data">
<p>Kommunikationsevent hinzufügen</p>
<table id="add_event_data_table">
<tr>
<th>Name des Kontaktes:</th>
<td><input type="text" id="contact_name" maxlength=80 name="customer_name"></td>
</tr>
<tr>
<th>Kontaktweg:</th>
<td><input type="radio" id="contact_tel" name="contact_method"> Telefon<br> <input type="radio" id="contact_mail" name="contact_method"> E-Mail</td>
</tr>
<tr>
<th>Datum und Uhrzeit:</th>
<td><input type="datetime-local" id="contact_datetime"></td>
</tr>
<tr>
<th>Bearbeitet von:</th>
<td><input type="text" id="contact_internal" name="user"></td>
</tr>
<tr>
<th>Notizen:</th>
<td><textarea id="contact_notes" rows="4"></textarea></td>
</tr>
</table>
<input type="submit" id="add_event_btn" value="Hinzufügen">
<button type="button" id="abort_add_event_btn" onclick="hideAddEventForm()">Abbrechen</button>
<button type="button" id="reset_form" onclick="resetAddEventForm()">Zurücksetzen</button>
</form>
<div class="row" id="bs4cards"></div>
<div id="list_view">
<div id="table_header">
</div>
<div id="table_body">
</div>
</div>
</main>
<footer class="backgroundgrad">
<div id="iconref">
Icons made by <a href="http://www.freepik.com" title="Freepik">Freepik</a> and <a href="https://www.flaticon.com/authors/kiranshastry" title="Kiranshastry">Kiranshastry</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a>, licensed by <a href="http://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0" target="_blank">CC 3.0 BY</a>
</div>
</footer>
</body>
<!-- OWN SCRIPT -->
<script type="text/javascript" src="script.js"></script>
</html>