company frontend finished

This commit is contained in:
2026-04-01 09:35:40 +02:00
parent 2f34b9b8be
commit 1d7f31eb96
4 changed files with 69 additions and 29 deletions
+12 -14
View File
@@ -4,7 +4,8 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>VAT Company Lookup</title>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='company_data.css') }}">
</head>
<body>
<div class="container">
@@ -12,7 +13,6 @@
<div class="form-grid">
<div class="row">
<label for="country">Country / VAT</label>
<select id="country">
<option value="BE">Belgium</option>
<option value="HR">Croatia</option>
@@ -23,40 +23,38 @@
</div>
<div class="row">
<label for="company_name">Company</label>
<input id="company_name" type="text" class="span-3">
<input id="company_name" type="text" placeholder="Company" class="span-3">
</div>
<div class="row">
<label for="street">Street</label>
<input id="street" type="text" class="span-3">
<input id="street" type="text" placeholder="Street" class="span-3">
</div>
<div class="row">
<label for="zip">ZIP / City</label>
<input id="zip" type="text" placeholder="ZIP">
<input id="city" type="text" placeholder="City">
<div></div>
<input id="city" type="text" placeholder="City" class="span-2">
</div>
<div class="row">
<label for="email">Email</label>
<input id="email" type="email" placeholder="example@company.com" class="span-3">
</div>
<div class="row">
<label for="phone">Phone</label>
<input id="phone" type="text" placeholder="+32 123 45 67 89" class="span-3">
</div>
</div>
<div class="button-row">
<button type="button" onclick="saveData()">Save</button>
<button type="button" onclick="saveData()">Add to Receipt</button>
<button type="button" onclick="clearForm()">Clear</button>
<button type="button" onclick="saveData()">Cancel</button>
</div>
<div id="status" class="status">Ready.</div>
</div>
<script src="{{ url_for('static', filename='app.js') }}"></script>
<script src="{{ url_for('static', filename='company_data.js') }}"></script>
</body>
</html>