-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstudentMessages.html
More file actions
147 lines (125 loc) · 4.73 KB
/
studentMessages.html
File metadata and controls
147 lines (125 loc) · 4.73 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>Message Board</title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<!-- Font Awesome Icons -->
<link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<!-- CSS for Sidebar -->
<link href="../stylesheets/simple-sidebar.css" rel="stylesheet">
</head>
<body>
<style type="text/css" media="screen">
.fa{
padding-right: 5% !important;
line-height: inherit !important;
}
.list-text{
/*padding-left: 1;*/
}
.post{
text-align: left;
background: white;
color: black;
padding: 2px;
border: 2px solid;
border-color: gray;
border-radius: 5px;
box-shadow: 2px 2px 4px rgba(0,0,0,.1);
margin: 20 px;
margin-color: white;
}
</style>
<div id="wrapper">
<!-- Sidebar -->
<div id="sidebar-wrapper" style="float:">
<ul class="sidebar-nav li-text">
<li class="sidebar-brand">
<a href="userStudentMain.html">
Student Dashboard
</a>
</a>
</li>
<li>
<a href="studentCheck_In.html" class="list-text"><i class="fa fa-clock-o fa-2x"></i>Check In</a>
</li>
<li>
<a href="studentDocuments.html" class="list-text"><i class="fa fa-folder-o fa-2x"></i>Documents</a>
</li>
<li>
<a href="studentMessages.html" class="list-text"><i class="fa fa-comment-o fa-2x"></i>Messages</a>
</li>
<li>
<a href="{{logout_url}}" class="list-text"><i class="fa fa-sign-out fa-2x"></i>Log Out</a>
</li>
</ul>
</div>
<!-- /#sidebar-wrapper -->
<!-- Page Content -->
<div id="page-content-wrapper">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12">
<p style="text-align:right;"><b>{{space_name}}: {{space_key}}</b></a></p>
<h1>Messages</h1>
<form method="post">
Mentee/Mentor: <br><input name="sender" placeholder="Your Name">
<br>
<br>
Subject <br>
<input name="subject" placeholder="Subject">
<br>
<br>
Message: <br>
<textarea name="message" placeholder="Write a Message"></textarea>
<br>
<br>
<button>Send!</button>
</form>
<br>
<br>
{% for wall_post in wall_posts %}
<div class="post">
<div align= "right">
<div class="timestamp">{{ wall_post.timestamp }}</div>
<form action="/deleteS" method="post">
<input name="key" value="{{ wall_post.key.urlsafe() }}" type="hidden">
<br>
</div>
<div class="subject"><em><b>{{wall_post.subject}}</em></b></div>
<div class="message">{{ wall_post.message }}</div>
<div class="sender"><em>- {{ wall_post.sender}}</em></div>
<br>
<center>
<button id="delete-button">Delete Post</button>
</center>
</form>
</div>
<br>
{% endfor %}
</div>
</div>
</div>
</div>
<!-- /#page-content-wrapper -->
</div>
<!-- /#wrapper -->
<!-- jQuery Version 1.11.0 -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<!-- Bootstrap Core JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<!-- Menu Toggle Script -->
<script>
$("#menu-toggle").click(function(e) {
e.preventDefault();
$("#wrapper").toggleClass("toggled");
});
</script>
</body>
</html>