2022-08-04 01:07:12 +05:30
|
|
|
<!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.0">
|
2022-08-04 01:15:39 +05:30
|
|
|
<title>Segfautils announcement command centre</title>
|
2022-08-04 01:07:12 +05:30
|
|
|
<style>
|
|
|
|
body {
|
|
|
|
background-color: #252525;
|
|
|
|
color: #fff;
|
|
|
|
font-family: 'JetBrains Mono', 'JetBrainsMono Nerd Font', monospace
|
|
|
|
}
|
2022-09-14 14:47:18 +05:30
|
|
|
.container {
|
|
|
|
width: 100%;
|
|
|
|
max-width: 400px;
|
|
|
|
margin: 0 auto;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
#contact input[type="token"],
|
|
|
|
#contact input[type="link"],
|
|
|
|
#contact textarea,
|
|
|
|
#contact select,
|
|
|
|
#contact button[type="submit"] {
|
|
|
|
font: 500 15px/16px "Roboto", sans-serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
.container h1 {
|
|
|
|
text-align: center;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
font-size: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#contact textarea {
|
|
|
|
text-align: center;
|
|
|
|
border-radius: 5px;
|
|
|
|
margin-top: 10px;
|
|
|
|
width: 100%;
|
|
|
|
border: none;
|
|
|
|
color: #FFF;
|
|
|
|
background: #3b3b3b;
|
|
|
|
margin: 0 0 5px;
|
|
|
|
padding: 10px;
|
|
|
|
height: 100px;
|
|
|
|
max-width: 100%;
|
|
|
|
resize: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#contact input, select {
|
|
|
|
text-align: center;
|
|
|
|
border-radius: 5px;
|
|
|
|
color: #FFF;
|
|
|
|
width: 100%;
|
|
|
|
border: none;
|
|
|
|
background: #3b3b3b;
|
|
|
|
margin: 0 0 5px;
|
|
|
|
padding: 10px;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#contact button[type="submit"] {
|
|
|
|
cursor: pointer;
|
|
|
|
width: 100%;
|
|
|
|
border: none;
|
|
|
|
background: #00d4aa;
|
|
|
|
color: #252525;
|
|
|
|
margin: 0 0 5px;
|
|
|
|
padding: 10px;
|
|
|
|
font-size: 15px;
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#contact button[type="submit"]:hover {
|
|
|
|
background: #00a484;
|
|
|
|
-webkit-transition: background 0.3s ease-in-out;
|
|
|
|
-moz-transition: background 0.3s ease-in-out;
|
|
|
|
transition: background-color 0.3s ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
#contact button[type="submit"]:active {
|
|
|
|
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
|
|
|
|
}
|
2022-08-04 01:07:12 +05:30
|
|
|
|
|
|
|
a {
|
|
|
|
color: #00d4aa;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
color: #4beacb;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
2022-09-14 14:47:18 +05:30
|
|
|
<div class="container">
|
2022-08-04 01:07:12 +05:30
|
|
|
<h1>Post Announcement</h1>
|
|
|
|
<form
|
2022-09-14 14:47:18 +05:30
|
|
|
id="contact"
|
2022-08-04 01:07:12 +05:30
|
|
|
action="/api/announcements/post"
|
|
|
|
method="POST"
|
|
|
|
target="_blank"
|
|
|
|
>
|
|
|
|
<div class="meta">
|
|
|
|
<input
|
|
|
|
type="password"
|
|
|
|
name="token"
|
|
|
|
placeholder="Your authentication token"
|
|
|
|
required
|
|
|
|
/>
|
|
|
|
<br />
|
|
|
|
<select id="severity" name="severity" required>
|
|
|
|
<option value="" selected disabled>Select severity of announcement</option>
|
|
|
|
<option value="info">Information announcement</option>
|
|
|
|
<option value="low">Low severity</option>
|
|
|
|
<option value="medium">Medium severity</option>
|
|
|
|
<option value="high">High severity</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<textarea
|
|
|
|
name="title"
|
|
|
|
rows="4"
|
|
|
|
cols="25"
|
|
|
|
required
|
|
|
|
placeholder="The announcement text"></textarea>
|
|
|
|
<br />
|
|
|
|
<input
|
|
|
|
type="text"
|
|
|
|
name="link"
|
|
|
|
placeholder="Your link for more details"
|
|
|
|
/>
|
|
|
|
<br />
|
2022-09-14 14:47:18 +05:30
|
|
|
<button type="submit" />Submit</button>
|
2022-08-04 01:07:12 +05:30
|
|
|
</form>
|
|
|
|
<h1>Delete Announcement</h1>
|
|
|
|
<form
|
2022-09-14 14:47:18 +05:30
|
|
|
id="contact"
|
2022-08-04 01:07:12 +05:30
|
|
|
action="/api/announcements/delete"
|
|
|
|
method="POST"
|
|
|
|
target="_blank"
|
|
|
|
>
|
|
|
|
<div class="meta">
|
|
|
|
<input
|
|
|
|
type="password"
|
|
|
|
name="token"
|
|
|
|
placeholder="Your authentication token"
|
|
|
|
required
|
|
|
|
/>
|
|
|
|
<br />
|
|
|
|
</div>
|
2022-09-14 14:47:18 +05:30
|
|
|
<button type="submit"/>Submit</button>
|
2022-08-04 01:07:12 +05:30
|
|
|
</form>
|
2022-09-14 14:47:18 +05:30
|
|
|
</div>
|
2022-08-04 01:07:12 +05:30
|
|
|
</body>
|
2022-09-13 18:39:32 +05:30
|
|
|
</html>
|