Apache reverse proxy for webapp, UI improvements
- Move Flask to localhost:9010, Apache serves port 9009 with static file handling and reverse proxy to fix intermittent asset loading on remote clients - Add "PXE Manager" branding beneath logo in sidebar - Increase code editor size (startnet.cmd and unattend XML) to 70vh - Add test-lab.sh for full lab VM testing Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -958,4 +958,4 @@ def inject_globals():
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run(host="0.0.0.0", port=9009, debug=False)
|
||||
app.run(host="127.0.0.1", port=9010, debug=False, threaded=True)
|
||||
|
||||
@@ -55,8 +55,9 @@
|
||||
color: #fff;
|
||||
border-bottom: 1px solid rgba(255,255,255,0.08);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
gap: 0.3rem;
|
||||
}
|
||||
.sidebar .brand .bi {
|
||||
font-size: 1.3rem;
|
||||
|
||||
@@ -6,7 +6,9 @@
|
||||
.cmd-editor {
|
||||
font-family: 'Consolas', 'Courier New', monospace;
|
||||
font-size: 0.9rem;
|
||||
min-height: 400px;
|
||||
min-height: 600px;
|
||||
height: 70vh;
|
||||
resize: vertical;
|
||||
background-color: #1e1e1e;
|
||||
color: #d4d4d4;
|
||||
border: 1px solid #333;
|
||||
|
||||
@@ -16,7 +16,8 @@
|
||||
.raw-xml-editor {
|
||||
font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
|
||||
font-size: 0.85rem;
|
||||
min-height: 500px;
|
||||
min-height: 600px;
|
||||
height: 70vh;
|
||||
tab-size: 2;
|
||||
white-space: pre;
|
||||
resize: vertical;
|
||||
|
||||
Reference in New Issue
Block a user