Refactor and reformat

Co-authored-by: Ezequiel Bellver <ebellver@itba.edu.ar>
This commit is contained in:
Santiago Lo Coco 2022-12-14 08:35:02 -03:00
parent d32bf80516
commit 9d8b0ac5a0
2 changed files with 18 additions and 13 deletions

1
.gitignore vendored
View File

@ -65,3 +65,4 @@ ses.tf
backup/ backup/
backup.tf backup.tf
.vscode .vscode
.idea

View File

@ -1,19 +1,20 @@
<!DOCTYPE html> <!DOCTYPE html>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<html> <html lang="en">
<head> <head>
<title>BSMSapp</title> <title>BSMSapp</title>
<div align="center">
<link rel="icon" href="favicon.ico" type="image/x-icon"> <link rel="icon" href="favicon.ico" type="image/x-icon">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
</head> </head>
<div class="d-flex flex-column justify-content-center w-100 h-100"> <body bgcolor="#FFFFFF" text="Black">
<div align="center">
<div class="d-flex flex-column justify-content-center w-100 h-100">
<br><br> <br><br>
<body bgcolor="#FFFFFF" text="Black">
<header> <header>
<h1><span id="replace">BSMSapp</span></h1> <h1><span id="replace">BSMSapp</span></h1>
</header> </header>
@ -23,16 +24,16 @@
<form id="myForm" class="form-style" style="display:none"> <form id="myForm" class="form-style" style="display:none">
<ul> <ul>
<li> <li>
<input value="0" name="id" type="number" min="0" /> <input value="0" name="id" type="number" min="0"/>
<span>Enter the product identifier.</span> <span>Enter the product identifier.</span>
</li> </li>
<li> <li>
<input value="0" name="stock" type="number" min="0" /> <input value="0" name="stock" type="number" min="0"/>
<span>Enter the new stock number.</span> <span>Enter the new stock number.</span>
</li> </li>
<li> <li>
<input type="submit" value="Save" /> <input type="submit" value="Save"/>
<input type="submit" value="Delete" /> <input type="submit" value="Delete"/>
</li> </li>
</ul> </ul>
</form> </form>
@ -55,9 +56,11 @@
<button class="style" onclick="get_table()" style="display:none" id="tableBtn">Get table</button> <button class="style" onclick="get_table()" style="display:none" id="tableBtn">Get table</button>
<br><br> <br><br>
<table id="table" align="center" border="1px"></table> <table id="table" align="center" border="1px"></table>
</body> </div>
</div> </div>
</body>
</html> </html>
<script> <script>
@ -303,7 +306,7 @@
text-align: center; text-align: center;
} }
.form-style li>label { .form-style li > label {
display: block; display: block;
float: left; float: left;
margin-top: -19px; margin-top: -19px;
@ -351,9 +354,10 @@
.form-style input[type="url"]:focus, .form-style input[type="url"]:focus,
.form-style input[type="password"]:focus, .form-style input[type="password"]:focus,
.form-style textarea:focus, .form-style textarea:focus,
.form-style select:focus {} .form-style select:focus {
}
.form-style li>span { .form-style li > span {
background: #F3F3F3; background: #F3F3F3;
display: block; display: block;
padding: 3px; padding: 3px;