-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenternewmovie.html
108 lines (84 loc) · 3.7 KB
/
enternewmovie.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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<!DOCTYPE html>
{% autoescape true %}
<html>
<head>
<!-- [START css] -->
<link type="text/css" rel="stylesheet" href="/bootstrap/css/bootstrap.css">
<link type="text/css" rel="stylesheet" href="/bootstrap/css/bootstrap-responsive.css">
<!-- [END css] -->
<style type="text/css">
body {
padding-top: 40px;
padding-bottom: 40px;
background-color: #f5f5f5;
}
blockquote {
margin-bottom: 10px;
border-left-color: #bbb;
}
form {
margin-top: 10px;
}
.form-signin input[type="text"] {
font-size: 16px;
height: auto;
margin-bottom: 15px;
padding: 7px 9px;
}
.row {
margin-left: 0px;
margin-top: 10px;
overflow: scroll;
}
</style>
<center><h1 style="font-size:30px;"><font color=#006600>Enter New Movie Information</font></h1></center>
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="brand" href="#">Movie Shopping</a>
<div class="nav-collapse collapse pull-right">
<a href=displaycart class="btn">Cart</a>
<a href="{{ url|safe }}" class="btn">{{ url_linktext }}</a>
</div>
</div>
</div>
</div>
<div align=right><h1 style="font-size:20px;"><font color=#006600>Hi {{user}}</font></h1></div>
<h1 style="font-size:20px;">{{Error}}</h1>
<div class="container">
<form action="/Save?genre_name={{ genre_name }}" method="post">
<div class='container'><center>
<label for="title">Title:</label>
<input type = "text" name = "title"><br> </div>
<div><center>
<label for="director">Director:</label><input type = "text" name = "director"><br> </center></div>
<div>
<div><center><label for="mainactor1">Main Actor 1:</label><input type = "text" name = "mainactor1"><br></center></div>
<div><center><label for="mainactor2">Main Actor 2:</label> <input type = "text" name = "mainactor2"><br></center></div>
<div><center><label for="yearofrel">Year of Release:</label> <input type = "text" name = "yearofrel"><br></center></div>
<div><center><label for="duration">Duration (in minutes):</label> <input type = "text" name = "duration"><br></center></div>
<div><center><label for="buy_price">Price (Buy):</label> <input type = "text" name = "buy_price"><br></center></div>
<div><center><label for="rent_price">Price (Rent):</label> <input type = "text" name = "rent_price"><br></center></div>
<center><div><input type="submit" class="btn btn-large btn-primary" value="Submit Movie Info"></div></center>
<hr>
</form>
<form action="/Save?genre_name={{ genre_name }}" method="get">
<div><center>
<label for="category">Category:</label> <input value = "{{ genre_name }}" type = "text" name = "category"><br>
</center></div>
<center><div><input type="submit" class="btn btn-large btn-primary" value="Submit"></div></center>
</form>
<!--<center><a href="{{ url1|safe }}">{{url_linktext1}}</a></center> -->
<center><a href="/?genre_name={{ genre_name }}">Back to main page</a></center>
<hr>
</div>
</body>
</html>
{% endautoescape %}