-
Notifications
You must be signed in to change notification settings - Fork 9
/
html.prg
63 lines (42 loc) · 1.04 KB
/
html.prg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
// {% LoadHrb( 'lib/tweb/tweb.hrb' ) %}
#include {% TWebInclude() %}
function main()
LOCAL o, oWeb
LOCAL cHtml := ''
DEFINE WEB oWeb TITLE 'Test Html'
// url("https://placeimg.com/1000/480/nature")
HTML oWeb
<style>
.jumbotron{
background: url("images/bg-head-02.jpg") no-repeat center center;
background-size: 100% 100%;
border-radius: 0px;
}
.container h3, h5 {
text-shadow: 2px 2px #ffffff;;
}
</style>
ENDTEXT
INIT WEB oWeb
DEFINE FORM o
Banner(o)
INIT FORM o
HTML o
<div class="alert alert-success">
<img src="images/tweb.png"/><strong> Success!</strong> Indicates a successful or positive action.
</div>
ENDTEXT
HTML o INLINE '<h3>Test Html</h3><hr>'
END FORM o
retu nil
function Banner( o )
HTML o
<div class="jumbotron">
<div class="container">
<h1><a href="">Friends of mod harbour</a></h1>
<h3>modHarbour group project.</h3>
<h5>Html code example</h5>
</div>
</div>
ENDTEXT
retu nil