forked from ejackson/Minimal-Clojurescript-GUI-Demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hello.html
58 lines (48 loc) · 1.31 KB
/
hello.html
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
<html>
<link type="text/css" rel="stylesheet" href="css/common.css">
<link type="text/css" rel="stylesheet" href="css/demo.css">
<link type="text/css" rel="stylesheet" href="css/colormenubutton.css">
<link type="text/css" rel="stylesheet" href="css/menubutton.css">
<link rel="stylesheet" href="css/roundedtab.css">
<link rel="stylesheet" href="css/tab.css">
<link rel="stylesheet" href="css/tabbar.css">
<style>
fieldset {
padding: 10px;
border: 1px solid #369;
}
.goog-tab-content {
height: 9em;
margin: 0;
border: 1px solid #6b90da;
border-top: 0;
padding: 4px 8px;
background: #fff;
overflow: auto;
}
</style>
<script type="text/javascript" src="out/goog/base.js"></script>
<script type="text/javascript" src="hello.js"></script>
<script type="text/javascript">
goog.require('hello');
</script>
<body>
<!-- The buttons will go in here-->
<div id="buttons"></div>
<!-- The tabbar will go in here-->
<div id="top" class="goog-tab-bar goog-tab-bar-top">
<div class="goog-tab goog-tab-selected">Hello</div>
<div class="goog-tab">Settings</div>
<div class="goog-tab">More</div>
<div class="goog-tab goog-tab-disabled">Advanced</div>
</div>
<div class="goog-tab-bar-clear"></div>
<div id="top_content" class="goog-tab-content">
I have nothing.
</div>
<!-- Call the javascript -->
<script>
hello.main();
</script>
</body>
</html>