-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomment.html
58 lines (55 loc) · 3.07 KB
/
comment.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Kommentera</title>
<link rel="stylesheet" type="text/css" href="style.css">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css?family=Patrick+Hand" rel="stylesheet">
</head>
<body>
<div id="wrapper">
<!-- Form for adding a user -->
<div class="form-group col-sm-8 col-sm-offset-2" id="form_div">
<h2 class="text-center">Lägg till en recension</h2>
<form action="javascript:postUnicorn()" method="POST" id="submit_form">
<div class="form-group">
<label for="restaurant">Välj Restarurang:</label>
<select class="form-control" id="restaurant">
<option>Restaurang Niagara</option>
<option>Mia Maria</option>
<option>Välfärden</option>
<option>Lilla Köket</option>
<option>La Bonne Vie</option>
</select>
</div>
<br>
<label for="grade">Betyg</label>
<input class="form-control" type="number" min='0' max='5' data-bind="value:replyNumber" name="grade" value="" placeholder="1-5" required="true">
<br>
<label for="reportedBy">Avsändare</label>
<input class="form-control" type="text" name="reportedBy" value="" placeholder="Mike Bike" required="true">
<br>
<label for="decription">Kommentar</label>
<textarea class="form-control" name="description" form="submit_form" cols="30" rows="5" maxlength="140" required="true"></textarea>
<br>
<div class="row">
<div class="col-sm-6">
<input class="form-control button btn-warning col-sm-6" type="submit" value="Submit">
</div>
<div class="col-sm-6">
<input class="form-control button btn-danger col-sm-6" type="button" name="back" onClick="goBack()" value="Tillbaka">
</div>
</div>
</form>
</div>
</div>
</body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script type="text/javascript" src="post.js"></script>
<script src="http://code.jquery.com/ui/1.10.2/jquery-ui.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
</html>