-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdata.html
More file actions
88 lines (73 loc) · 1.93 KB
/
data.html
File metadata and controls
88 lines (73 loc) · 1.93 KB
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
<!DOCTYPE html>
{% autoescape true %}
<html>
<head>
<link rel="stylesheet" type="text/css" href="/stylesheets/mainstyle.css" />
<style>
.border
{
border:2px solid #a1a1a1;
padding:30px 70px;
background:#dddddd;
width:70%;
border-radius:25px;
margin:auto;
}
.right
{
position:absolute;
left:150px;
width:70%;
margin:auto;
}
.text
{
margin: auto;
}
form
{
display: inline;
}
</style>
</head>
<body>
<div class="fieldSet">
<fieldset>
<legend>Current Sessions</legend>
{% for session in sessions %}
<div class="border">
<h1>{{session['Name']}}</h1>
<div class="text">
<ul>
<li>Description: {{session['Description']}} </li>
<li>Location: {{session['Location']}} </li>
<li>Speakers: {{session['Speakers']}} </li>
<li>Biography: {{session['Biography']}} </li>
<li>Survey: {{session['Survey']}} </li>
<li>Start: {{session['Start']}} </li>
<li>End: {{session['End']}} </li>
</ul>
</div>
<div class="right">
<form action="/delete" method="post">
<input type="hidden" name="key" value="{{session['Name']}}">
<input type="submit" value="Delete">
</form>
<form action="/edit" method="post">
<input type="hidden" name="key" value="{{session['Name']}}">
<input type="submit" value="Edit">
</form>
</div>
</div>
<br/>
{% endfor %}
<br>
<form action="/add" method="get">
<input type="submit" value="Add a new session">
</form>
Last updated: {{last_update}}
</fieldset>
</div>
</body>
</html>
{% endautoescape %}