-
Notifications
You must be signed in to change notification settings - Fork 0
/
admin_notice.html
80 lines (63 loc) · 1.75 KB
/
admin_notice.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
{% extends 'school/adminbase.html' %}
{% load widget_tweaks %}
{% block content %}
<head>
<style media="screen">
a:link {
text-decoration: none;
}
.note {
text-align: center;
height: 100px;
background: -webkit-linear-gradient(left, #343a40, #607d8b);
color: #fff;
font-weight: bold;
line-height: 100px;
}
.form-content {
padding: 5%;
border: 2px solid #ced4da;
margin-bottom: 2%;
}
.form-control {
border-radius: 1.5rem;
height: 200px;
}
.btnSubmit {
border: none;
border-radius: 1.5rem;
padding: 1%;
width: 20%;
cursor: pointer;
background: #4caf50;
color: #fff;
}
</style>
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
</head>
<form method="post">
{% csrf_token %}
<div class="container register-form">
<div class="form">
<div class="note">
<p>Announce Something</p>
</div>
<div class="form-content">
<div class="row">
<div class="col-md-12">
<div class="form-group">
{% render_field form.message class="form-control" placeholder="Write Your Message Here" %}
</div>
<div class="form-group">
{% render_field form.by type="hidden" class="form-control" placeholder="Your Name" %}
</div>
</div>
</div>
<button type="submit" class="btnSubmit">Submit</button>
</div>
</div>
</div>
</form>
{% endblock content %}