Partial work.
This commit is contained in:
parent
cbd31e8893
commit
fc5fc6a91d
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
data/config.toml
|
@ -11,6 +11,81 @@
|
||||
color: #fff;
|
||||
font-family: 'JetBrains Mono', 'JetBrainsMono Nerd Font', monospace
|
||||
}
|
||||
.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);
|
||||
}
|
||||
|
||||
a {
|
||||
color: #00d4aa;
|
||||
@ -22,8 +97,10 @@
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>Post Announcement</h1>
|
||||
<form
|
||||
id="contact"
|
||||
action="/api/announcements/post"
|
||||
method="POST"
|
||||
target="_blank"
|
||||
@ -45,7 +122,6 @@
|
||||
</select>
|
||||
</div>
|
||||
<textarea
|
||||
id="title"
|
||||
name="title"
|
||||
rows="4"
|
||||
cols="25"
|
||||
@ -58,10 +134,11 @@
|
||||
placeholder="Your link for more details"
|
||||
/>
|
||||
<br />
|
||||
<input type="submit" value="Submit" />
|
||||
<button type="submit" />Submit</button>
|
||||
</form>
|
||||
<h1>Delete Announcement</h1>
|
||||
<form
|
||||
id="contact"
|
||||
action="/api/announcements/delete"
|
||||
method="POST"
|
||||
target="_blank"
|
||||
@ -75,7 +152,8 @@
|
||||
/>
|
||||
<br />
|
||||
</div>
|
||||
<input type="submit" value="Submit" />
|
||||
<button type="submit"/>Submit</button>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user