final fixes
This commit is contained in:
BIN
html/assets/logo.png
Normal file
BIN
html/assets/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
@ -1,14 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!-- Generator: Adobe Illustrator 19.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
||||||
<svg version="1.0" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 440 150" enable-background="new 0 0 440 150" xml:space="preserve">
|
|
||||||
<g>
|
|
||||||
<path fill="#FFFFFF" d="M226.8,52.5c-18.7,0.3-34.8,16.1-36,35.1c-1.1,19.1,14.1,36.1,33.9,38.1c19.9,2,36-13.8,36-35.1 C260.7,69.2,245.5,52.2,226.8,52.5z M240.2,92c-0.8,9.9-7,15.3-11.1,15.7c-10.3,1.2-19.1-8.1-18.5-20s5.4-19.3,15.1-19.5 C235.4,68,241.3,79.1,240.2,92z"/>
|
|
||||||
<path fill="#FFFFFF" d="M300.3,54.4c-18.7-0.3-33.9,16.7-33.9,38.1s16.1,37.1,36,35.1c19.9-2,35.1-19,33.9-38.1 C335.2,70.5,319.1,54.8,300.3,54.4z M298,109.7c-4.1-0.5-10.2-5.9-11.1-15.7c-1.1-12.9,4.8-24,14.5-23.8s14.5,7.6,15.1,19.5 C317.1,101.5,308.3,110.9,298,109.7z"/>
|
|
||||||
<polygon fill="#FFFFFF" points="82.5,36.6 62.4,28.9 23.2,66.3 23.2,19.6 0,25.5 0,135.2 23.2,136 23,97.6 37.3,83.8 52.4,136 72.9,136 54,67.9 "/>
|
|
||||||
<path fill="#FFFFFF" d="M146.2,49.2L145.8,0L126,5.2l3.2,121.6l19.5,0.7l-1.1-62.8c4.3-1.9,18.4-5.8,18.9,9.7l1.9,22.1l1.3,31.1 h20.4l-7.7-53.7C179.3,42.5,167.8,42.4,146.2,49.2z"/>
|
|
||||||
<polygon fill="#FFFFFF" points="415.2,128.2 409.5,141.6 421.7,150 433.7,142.9 428.6,128.2 "/>
|
|
||||||
<path fill="#FFFFFF" d="M363.4,19.6l-15.5-6.4v32.1l-17.3-0.6l3.3,22.8h14l1,54.3c0,0-2.2,19.5,27.6,15.1c0,0,9.3-2.8,9-9.3v-21.4 c0,0-6.3,3.7-13.1,3.7c-6.8,0-6.9-3.3-6.9-3.3l-1.8-42l21.7-1.2V49.5L363.1,48L363.4,19.6z"/>
|
|
||||||
<polygon fill="#FFFFFF" points="440,19.8 399,12 424.2,120.5 "/>
|
|
||||||
<path fill="#FFFFFF" d="M77.6,49.9L83,64.1c13.5-8.1,21.1,0,21.1,0l-0.1,9.1c-40.2,7.1-30,44.3-30,44.3 c4.1,14.6,17.3,14.1,17.3,14.1h30.1l0.6-67.7C117.3,32.4,77.6,49.9,77.6,49.9z M104,118.6c0,0-14.6,3.5-16.2-10.7 c0,0,0.3-22,16.7-19.6L104,118.6z"/>
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 1.8 KiB |
@ -47,7 +47,7 @@ window.onload = () => {
|
|||||||
formData.append("amount", parseInt(amount.value));
|
formData.append("amount", parseInt(amount.value));
|
||||||
text.value = "Flooding in progress...";
|
text.value = "Flooding in progress...";
|
||||||
text.style.color = "green";
|
text.style.color = "green";
|
||||||
var request = await fetch("http://127.0.0.1/flood", {
|
var request = await fetch("/api/flood", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: formData
|
body: formData
|
||||||
})
|
})
|
||||||
|
@ -8,6 +8,7 @@ body
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
background-color: rgb(56, 18, 114);
|
background-color: rgb(56, 18, 114);
|
||||||
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
#container
|
#container
|
||||||
@ -49,11 +50,8 @@ input
|
|||||||
|
|
||||||
#logo
|
#logo
|
||||||
{
|
{
|
||||||
background-image: url("/html/assets/logo.svg");
|
|
||||||
height: 80px;
|
height: 80px;
|
||||||
background-repeat: no-repeat;
|
user-select: none;
|
||||||
background-position: center;
|
|
||||||
margin-bottom: 30px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#form
|
#form
|
||||||
@ -112,6 +110,20 @@ input:focus, select:focus
|
|||||||
background-color: rgb(47, 47, 47);
|
background-color: rgb(47, 47, 47);
|
||||||
box-shadow: rgba(0, 0, 0, 0.25) 0px -2px inset;
|
box-shadow: rgba(0, 0, 0, 0.25) 0px -2px inset;
|
||||||
margin-top: 2px;
|
margin-top: 2px;
|
||||||
padding-bottom: 2px;
|
|
||||||
min-height: 44px;
|
min-height: 44px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#flood:active
|
||||||
|
{
|
||||||
|
background-color: rgb(42, 42, 42);
|
||||||
|
box-shadow: none;
|
||||||
|
margin-top: 4px;
|
||||||
|
min-height: 42px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#text
|
||||||
|
{
|
||||||
|
color: white;
|
||||||
|
margin: 0px;
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
@ -12,7 +12,7 @@
|
|||||||
<div id="rectangle"></div>
|
<div id="rectangle"></div>
|
||||||
<div id="circle"></div>
|
<div id="circle"></div>
|
||||||
<div id="container">
|
<div id="container">
|
||||||
<div id="logo"></div>
|
<img id="logo" src="assets/logo.png" alt="Logo">
|
||||||
<div id="form">
|
<div id="form">
|
||||||
<input id="pin" type="text" maxlength="7" placeholder="PIN">
|
<input id="pin" type="text" maxlength="7" placeholder="PIN">
|
||||||
<div id="names">
|
<div id="names">
|
||||||
|
Reference in New Issue
Block a user