Skip to content

Commit

Permalink
Rework piimake.bat CSS layout for CSS1Compat mode (i.e. no longer dep…
Browse files Browse the repository at this point in the history
…end on quirks mode behavior)
  • Loading branch information
datadiode committed Nov 26, 2022
1 parent 3460313 commit 50d5fad
Showing 1 changed file with 51 additions and 14 deletions.
65 changes: 51 additions & 14 deletions piimake.bat
Original file line number Diff line number Diff line change
@@ -1,44 +1,76 @@
<comment rem>
<!DOCTYPE rem|
for %%x in (system32 syswow64) do if exist "%SystemRoot%\%%x" set SystemLeaf=%%x
start "%~n0" "%SystemRoot%\%SystemLeaf%\mshta.exe" "%~f0"
goto :eof
</comment>
>
<head>
<title>SRELL Regular Expression COM Wrapper PII Creation Assistant</title>
<meta http-equiv="MSThemeCompatible" content="yes">
<style>
body
html
{
margin: 5px 5px 60px 5px;
margin: 20px 0px 40px 0px;
font: 14px sans-serif;
background-color: silver;
height: 100%;
overflow: hidden;
}
body
{
margin: 0;
overflow: hidden;
border: none;
height: 100%;
}
#top fieldset
{
border-left-width: 0;
border-right-width: 0;
border-bottom-width: 0;
}
fieldset
#bottom fieldset
{
border-left-width: 0;
border-right-width: 0;
border-top-width: 0;
}
center
{
height: 100%;
}
fieldset iframe
iframe
{
width: 24.9%;
height: 50%;
zoom: 75%;
}
div
{
width: 100%;
white-space: nowrap;
position: absolute;
}
div label
#top
{
padding-right: 10px;
top: 3px;
}
#bottom
{
margin-top: 5px;
bottom: 5px;
}
button
{
margin-left: 5px;
margin-top: 5px;
}
a
{
color: blue;
background-color: silver;
position: absolute;
right: 15px;
right: 10px;
top: 3px;
}
span
{
Expand Down Expand Up @@ -112,7 +144,7 @@ Sub CreateAddon_OnClick
DeleteAddon.disabled = False
path = AddOnFolder & "\" & AddOnName & "\Common"
If CreateFolder(path) Then
fso.CreateTextFile(path & "\srellcom.reg").Write(register.text)
fso.CreateTextFile(path & "\srellcom.reg").Write register.text
End If
path = AddOnFolder & "\" & AddOnName & "\Simulation"
If CreateFolder(path) Then
Expand Down Expand Up @@ -179,10 +211,12 @@ End Sub
</script>
</head>
<body>
<a href="#" unselectable="on" onclick="vbs:wsh.Run(Me.innerText)">https://github.com/datadiode/srellcom</a>
<span disabled id="Version"></span>
<div id='top'>
<fieldset>
<legend>Templates</legend>
</fieldset>
</div>
<center>
<iframe name="arm_800" title="WEC2013 Beaglebone SDK" src="about:KTP_Mob_4.pii"></iframe>
<iframe name="arm_800" title="WEC2013 Beaglebone SDK" src="about:KTP_Mobile_7_9.pii"></iframe>
<iframe name="arm_800" title="WEC2013 Beaglebone SDK" src="about:TP_10F_Mobile.pii"></iframe>
Expand All @@ -191,8 +225,9 @@ End Sub
<iframe name="x86_600" title="Beckhoff_HMI_600 (x86)" src="about:CP_7_15_Out.pii"></iframe>
<iframe name="x86_600" title="Beckhoff_HMI_600 (x86)" src="about:CP_15.pii"></iframe>
<iframe name="x86_800" title="Compact2013_SDK_86Duino_80B" src="about:CP_GX_800.pii"></iframe>
</fieldset>
<div>
</center>
<div id='bottom'>
<fieldset></fieldset>
<button id="CreateAddon">Create ProSave Addon</button>
<button id="DeleteAddon">Delete ProSave Addon</button>
<label for="Intrusive" title="This option allows an install right beside ProSave's stock addons (requires admin rights)">
Expand All @@ -201,4 +236,6 @@ End Sub
<input id="RegisterForSimulation" type="checkbox">Register for Simulation</label>
<button id="ShowLicense">&#9878; Show License</button>
</div>
<a href="#" unselectable="on" onclick="vbs:wsh.Run(Me.innerText)">https://github.com/datadiode/srellcom</a>
<span disabled id="Version"></span>
</body>

0 comments on commit 50d5fad

Please sign in to comment.