Started reworking main.py. Broke loadMenu out into LoadClient to get just client names, and ClientConfig, which will load xml for only the selected client.
23 lines
490 B
HTML
23 lines
490 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Title</title>
|
|
</head>
|
|
<body>
|
|
{% for x in ClientName %}
|
|
{{ ClientName[loop.index0] }} <br>
|
|
{% endfor %}
|
|
|
|
<br><br>
|
|
<select name = "SelectedClient">
|
|
{% for x in ClientName %}
|
|
<option value = "{{ SelectedClient }}" > {{ ClientName[loop.index0] }} </option>
|
|
{% endfor %}
|
|
</select>
|
|
<br>
|
|
<input type="submit">
|
|
<br><br>
|
|
{{ SelectedClient }}
|
|
</body>
|
|
</html> |