caw/html/index.html/ui.cfg, css/caw.css : Initial working versions

This commit is contained in:
kevin 2024-10-12 15:36:33 -04:00
parent 9069ca631d
commit 22df91fe82
3 changed files with 73 additions and 3 deletions

View File

@ -1,5 +1,26 @@
.netPanel {
border: 1px solid Red;
}
.procPanel {
border: 1px solid Blue;
padding: 10px 10px;
}
.chanPanel {
border: 1px solid Yellow;
}
.varPanel {
border: 1px solid Green;
}
.fragList { .fragList {
border: 1px solid LightSteelBlue; border: 1px solid LightSteelBlue;
width: 1000px; width: 1000px;

View File

@ -5,7 +5,7 @@
<title>Preset Selection App</title> <title>Preset Selection App</title>
<script type="text/javascript" src="js/ui.js"></script> <script type="text/javascript" src="js/ui.js"></script>
<link href="css/ui.css" rel="stylesheet"> <link href="css/ui.css" rel="stylesheet">
<link href="css/preset_sel.css" rel="stylesheet"> <link href="css/caw.css" rel="stylesheet">
<script text="text/javascript"> <script text="text/javascript">
window.addEventListener("load",main, false ) window.addEventListener("load",main, false )

View File

@ -16,7 +16,7 @@
select:{ name: pgmSelId, title:"Programs", children: {} }, select:{ name: pgmSelId, title:"Programs", children: {} },
select:{ name: pgmPresetSelId, title:"Presets", children: {}, enable:false }, select:{ name: pgmPresetSelId, title:"Presets", children: {}, enable:false },
button:{ name: pgmLoadBtnId, title:"Load", enable:false },
check: { name: runCheckId, title: "Run", enable:false }, check: { name: runCheckId, title: "Run", enable:false },
}, },
@ -25,7 +25,56 @@
number: { name:valueNumbId, title:"Value", min:0, max:10, step:1, decpl:0 }, number: { name:valueNumbId, title:"Value", min:0, max:10, step:1, decpl:0 },
} }
row: {
panel: { name: rootNetPanelId, title: "Network" }
}
} }
}
network: {
panel: {
name: netPanelId,
addClassName: netPanel
hlist: { name: procListId, addClassName: procList }
}
}
proc: {
panel: {
name: procPanelId,
addClassName: procPanel,
col: {
str_disp: { name: procInstLabel, value:"" },
numb_disp: { name:procInstSfxId, value:0 },
hlist: { name: chanListId, addClassName: chanList }
}
}
}
chan: {
panel: {
name: chanPanelId,
addClassName: chanPanel,
vlist: { name: varListId, addClassName: varList }
} }
}
var: {
panel: {
name: varPanelId,
addClassName: varPanel,
hlist: { name: widgetListId, addClassName: widgetList }
}
}
} }