Bladeren bron

buy: CX dropdown, style

raylu 3 weken geleden
bovenliggende
commit
b4a9fd94da
2 gewijzigde bestanden met toevoegingen van 9 en 3 verwijderingen
  1. 6 1
      www/buy.html
  2. 3 2
      www/style.css

+ 6 - 1
www/buy.html

@@ -15,7 +15,12 @@
 			<label>FIO username: <input type="text" id="username"></label>
 			<label>FIO API key: <input type="password" size="30" id="api-key"></label>
 			<label>supply for <input type="number" size="2" value="7" id="days"> days</label>
-			<label>CX <input type="text" id="cx" value="IC1" size="3"></label>
+			<label>CX <select id="cx">
+				<option value="AI1">AI1/ANT</option>
+				<option value="CI1">CI1/BEN</option>
+				<option value="IC1" selected>IC1/HRT</option>
+				<option value="NC1">NC1/MOR</option>
+			</select></label>
 			<input type="button" value="fetch" id="fetch">
 		</form>
 		<table class="buy">

+ 3 - 2
www/style.css

@@ -27,9 +27,10 @@ form {
 	display: flex;
 	flex-direction: column;
 	align-items: flex-start;
+	line-height: 2;
 }
-input {
-	background-color: #111;
+input, select {
+	background-color: #171120;
 	color: inherit;
 	font-family: inherit;
 	padding: 4px;