New includes,templates,and PlbWebCli · KcsDev1982/sunbelt-plb-samples@7cd2774 · GitHub
Skip to content

Commit 7cd2774

Browse files
committed
New includes,templates,and PlbWebCli
New samples for PlbWebCli. Latest include files, and template programs
1 parent 1d05000 commit 7cd2774

36 files changed

Lines changed: 19423 additions & 3 deletions

datatable/datatbl.prj

Lines changed: 1 addition & 1 deletion

datatable/datatbl_lv.pls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ Main LFUNCTION
211211

212212
WINHIDE
213213

214-
CREATE Table1, *Striped=$ON,*transaction=$OFF
214+
CREATE Table1, *Striped=$ON,*Transaction=$OFF
215215

216216
FORMLOAD MainForm
217217
CALL SetupTable

datatable/datatbl_tran.pls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Main LFUNCTION
111111
D20 DIM 20
112112
WINHIDE
113113

114-
CREATE Table1, *Striped=$ON,*transaction=$ON
114+
CREATE Table1, *Striped=$ON,*Transaction=$ON
115115

116116
FORMLOAD MainForm
117117
CALL SetupTable

http_root/Bill1.jpg

2.96 MB
Loading

http_root/Bill1.txt

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="UTF-8">
5+
<title>Plbwin Web Form</title>
6+
<link href="css/jquery-ui.min.css" rel="stylesheet">
7+
<script type="text/javascript" src="js/jquery-2.1.1.min.js"></script>
8+
<script type="text/javascript" src="js/jquery-ui.min.js"></script>
9+
<script type="text/javascript" src="js/globalize.js"></script>
10+
<link rel="stylesheet" type="text/css" href="plbwebbasic.css" />
11+
<script type="text/javascript" src="plbwebctls.js"></script>
12+
</head>
13+
<body>
14+
<div id="C1" class=" wp1 wb5 " style="position: relative; height: 300px; width: 600px"> <div id="C1N" class="fmenu"></div><div id="C1D" tabindex="24" style="position: absolute; height: 300px; width: 600px; background-color: #0f0000; color: #000000; z-index: 10; font-size: 10pt "><script>PlbFrm( { id: "C1", h: 370, w: 620, rsz: true, tl: "Form1" } );</script>
15+
<div id="C2" tabindex="100" style="position: absolute; left: 61px; top: 20px; height: 251px; width: 484px; z-index: 10; font-size: 10pt "><ul><li><a href="#2-1">Tab1</a></li><li><a href="#2-1">Tab2</a></li></ul><div id="2-1"></div></div><script>PlbTabC( { id: "C2" } );</script>
16+
<div id="C3" class="pp pb2" style="position: absolute; left: 65px; top: 45px; height: 222px; width: 476px; background-color: #ffffff; z-index: 20">
17+
<div id="C4D" class="bs0" style="position: absolute; overflow: hidden; left: 0px; top: 0px; height: 900px; width: 1600px; border-color: #000000; background-color: #ffffff"></div>
18+
<button id="C5" tabindex="100" style="position: absolute; left: 360px; top: 185px; height: 30px; width: 100px; z-index: 40; font-size: 10pt ">Exit</button>
19+
<fieldset id="C6" class="bs3" style="position: absolute; left: 2px; top: 2px; height: 100px; width: 312px; border-color: #408080; color: #000000; z-index: 500; font-size: 10pt "><legend id="C6L">GroupBox1</legend></fieldset>
20+
</div>
21+
<div id="C7" class="pp pb2" style="position: absolute; display:none; left: 65px; top: 45px; height: 222px; width: 476px; background-color: #ff0000; z-index: 20">
22+
</div></body>
23+
</html>

http_root/appmaster.css

Lines changed: 149 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,149 @@
1+
2+
@media all and (max-width: 699px) and (min-width: 520px), (min-width: 1151px) {
3+
body {
4+
background: #ccc;
5+
}
6+
option { background-color: #ff0000 !important; }
7+
button { background-color: LightGreen !important;
8+
border-radius: 25%;
9+
}
10+
}
11+
12+
/* First breakpoint at 576px */
13+
/* Inherits mobile styles, but floats containers to make columns */
14+
@media all and (min-width: 36em){
15+
.main { float: left; width:60%; }
16+
.sidebar { float: left; width:40%; }
17+
option { background-color: #00ff00 !important; }
18+
button { background-color: #ff00ff !important;
19+
border-radius: 50%;
20+
}
21+
}
22+
23+
/* Second breakpoint at 800px */
24+
/* Adjusts column proportions, tweaks base H1 */
25+
@media all and (min-width: 50em){
26+
.main { width:70%; }
27+
.sidebar { width:30%; }
28+
29+
/* You can also tweak any other styles in a breakpoint */
30+
option { background-color: lightblue !important; }
31+
button { background-color: #00ffff !important;
32+
border-radius: 100%;
33+
}
34+
}
35+
36+
.appmasterpanel0
37+
{
38+
display: flex;
39+
flex-direction: row;
40+
flex-wrap: wrap;
41+
position: static !important;
42+
height: 15% !important;
43+
width: 100% !important;
44+
}
45+
46+
.appmasterpanel1
47+
{
48+
display: flex;
49+
flex-direction: row;
50+
flex-wrap: wrap;
51+
position: static !important;
52+
height: 15% !important;
53+
width: 100% !important;
54+
}
55+
56+
.appmasterpanel2
57+
{
58+
display: flex;
59+
flex-direction: column;
60+
flex-wrap: wrap;
61+
position: static !important;
62+
height: 15% !important;
63+
width: 100% !important;
64+
}
65+
66+
.appmasterpanel3
67+
{
68+
display: flex;
69+
flex-direction: row;
70+
flex-wrap: wrap;
71+
position: static !important;
72+
height: 45% !important;
73+
width: 100% !important;
74+
align-self: center !important;
75+
}
76+
77+
.appmasterpanel4
78+
{
79+
display: flex;
80+
flex-direction: column;
81+
flex-wrap: wrap;
82+
position: static !important;
83+
height: 10% !important;
84+
width: 100% !important;
85+
}
86+
87+
.appmasterbutton
88+
{
89+
position: relative !important;
90+
margin: auto !important;
91+
height: 3em !important;
92+
width: 7em !important;
93+
}
94+
95+
.radio
96+
{
97+
margin: auto !important;
98+
}
99+
100+
.radio input
101+
{
102+
float: left !important;
103+
margin: auto !important;
104+
}
105+
106+
.radio label
107+
{
108+
font-weight: bold;
109+
}
110+
111+
.appmasterstattext
112+
{
113+
margin: auto !important;
114+
font-weight: bold !important;
115+
}
116+
117+
.appmasterheader
118+
{
119+
margin: auto !important;
120+
align-self: center;
121+
width: 24em !important;
122+
max-width: 100% !important;
123+
border-radius: 10%;
124+
}
125+
126+
.appmasterheader h1
127+
{
128+
max-width: none !important;
129+
}
130+
131+
.appmasterfooterst
132+
{
133+
position: relative !important;
134+
margin: auto !important;
135+
font-weight: bold !important;
136+
background-color: #ff0000 !important;
137+
}
138+
139+
.appmastercombo
140+
{
141+
margin: auto !important;
142+
font-weight: bold !important;
143+
}
144+
145+
.appmasterversionst
146+
{
147+
margin: auto !important;
148+
font-weight: bold !important;
149+
}

http_root/appresp.css

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
2+
@media all and (max-width: 699px) and (min-width: 520px), (min-width: 1151px) {
3+
body {
4+
background: #ccc;
5+
}
6+
option { background-color: #ff0000 !important; }
7+
button { background-color: #005500 !important; }
8+
}
9+
10+
/* First breakpoint at 576px */
11+
/* Inherits mobile styles, but floats containers to make columns */
12+
@media all and (min-width: 36em){
13+
.main { float: left; width:60%; }
14+
.sidebar { float: left; width:40%; }
15+
option { background-color: #00ff00 !important; }
16+
button { background-color: #ff00ff !important; }
17+
}
18+
19+
/* Second breakpoint at 800px */
20+
/* Adjusts column proportions, tweaks base H1 */
21+
@media all and (min-width: 50em){
22+
.main { width:70%; }
23+
.sidebar { width:30%; }
24+
25+
/* You can also tweak any other styles in a breakpoint */
26+
H1 { color: blue; font-size:1.2em }
27+
option { background-color: #0000ff !important; }
28+
button { background-color: #00ffff !important; }
29+
}
30+
31+
.appmasterpanel1
32+
{
33+
display: flex;
34+
flex-direction: row;
35+
flex-wrap: wrap;
36+
position: static !important;
37+
height: 15% !important;
38+
width: 100% !important;
39+
}
40+
41+
.appmasterpanel2
42+
{
43+
display: flex;
44+
flex-direction: column;
45+
flex-wrap: wrap;
46+
position: static !important;
47+
height: 15% !important;
48+
width: 100% !important;
49+
}
50+
51+
.appmasterpanel3
52+
{
53+
display: flex;
54+
flex-direction: column;
55+
flex-wrap: wrap;
56+
position: static !important;
57+
height: 60% !important;
58+
width: 100% !important;
59+
align-self: center !important;
60+
}
61+
62+
.appmasterpanel4
63+
{
64+
display: flex;
65+
flex-direction: column;
66+
flex-wrap: wrap;
67+
position: static !important;
68+
height: 10% !important;
69+
width: 100% !important;
70+
}
71+
72+
.appmasterbutton
73+
{
74+
position: relative !important;
75+
margin: auto !important;
76+
height: 3em !important;
77+
width: 7em !important;
78+
}
79+
80+
.radio
81+
{
82+
margin: auto !important;
83+
}
84+
85+
.radio input
86+
{
87+
float: left !important;
88+
}
89+
90+
.radio label
91+
{
92+
font-weight: bold;
93+
}
94+
95+
.appmasterstattext
96+
{
97+
margin: auto !important;
98+
font-weight: bold !important;
99+
}
100+
101+
.appmasterfooterst
102+
{
103+
position: relative !important;
104+
margin: auto !important;
105+
font-weight: bold !important;
106+
background-color: #ff0000 !important;
107+
}
108+
109+
.appmastercombo
110+
{
111+
margin: auto !important;
112+
font-weight: bold !important;
113+
}
114+
115+
.appmasterversionst
116+
{
117+
margin: auto !important;
118+
font-weight: bold !important;
119+
}

http_root/offline/sunhello.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
h4 { background-color: aqua}

http_root/offline/sunhello.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<section id="main" data-role="page" >
2+
<header data-role="header">
3+
<h1>Offline Sunbelt Hello Sample</h1>
4+
</header>
5+
<div data-role="content">
6+
<p style="color: red;font-weight: bold;">Hello and Congratulations!</br> You have successfully installed\executed the 'SunHello' offline web app!</br></p>
7+
<input id="hello" type="button" value="Return to PlbWebCli:" />
8+
<input id="reload" type="button" value="Reload PWS Program:" />
9+
</div>
10+
<div data-role="footer" data-id="foot_main" data-position="fixed">
11+
<h4>offline</h4>
12+
</div>
13+
</section>

http_root/offline/sunhello.js

Lines changed: 31 additions & 0 deletions

0 commit comments

Comments
 (0)