-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnewlabel.html
96 lines (75 loc) · 3.92 KB
/
newlabel.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="stylesheet" href="static/tasks/tasks.css" />
<title>Frudo</title>
<link href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.6-rc.0/css/select2.min.css" rel="stylesheet" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container container-fluid">
<a class="navbar-brand" href="index.html">Frudo</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportContent" aria-controls="navbarSupportContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="newtask.html">New Task</a>
</li>
<li class="nav-item">
<a class="nav-link" href="newlabel.html">New Label</a>
</li>
</ul>
<form class="form-inline my-2 my-lg-0">
<input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
</form>
</div>
</div>
</nav>
<!-- insert default navigation text for every page -->
<div class="container">
<h1>Create a new label</h1>
<form action="" method=POST>
<input type='hidden' name='csrfmiddlewaretoken' value='I9LjQjLdpPp4sbCzqXvMsvyDN5VwdbUGacpLglhIclBIdGqCcJV9wUDJM4Me8Dwm' />
<div class="form-group row">
<label for="id_label_text" class="col-sm-2 col-form-label"><label for="id_label_text">Label text:</label></label>
<div class="col-sm-10">
<input type="text" name="label_text" class="form-control" required id="id_label_text" />
</div>
</div>
<div class="form-group row">
<label for="id_label_description" class="col-sm-2 col-form-label"><label for="id_label_description">Label description:</label></label>
<div class="col-sm-10">
<textarea name="label_description" cols="40" rows="10" class="form-control" required id="id_label_description">
</textarea>
</div>
</div>
<hr />
<div class="form-group row">
<label for="id_label_color" class="col-sm-2 col-form-label"><label for="id_label_color">Label color:</label></label>
<div class="col-sm-10">
<input type="text" name="label_color" class="form-control" required id="id_label_color" />
</div>
</div>
<input class="btn btn-success" type="submit" value="Save" />
<button type="button" class="btn btn-outline-danger float-right" onclick="location.href= 'index.html';">Cancel</button>
</form>
</div>
<footer class="footer">
<div class="container container-fluid">
<a class="float-right text-muted" href="impressum.html">Impressum</a>
</div>
</footer>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.6-rc.0/js/select2.min.js"></script>
</body>
</html>