76 lines
1.2 KiB
HTML
76 lines
1.2 KiB
HTML
|
<html>
|
||
|
<head>
|
||
|
<link rel="stylesheet" href="/bricks/css/bricks.css">
|
||
|
</head>
|
||
|
<body>
|
||
|
<script src="/bricks/bricks.js"></script>
|
||
|
|
||
|
<script>
|
||
|
const opts =
|
||
|
{
|
||
|
"widget": {
|
||
|
"widgettype":"TabPanel",
|
||
|
"options":{
|
||
|
"tab_wide":"auto",
|
||
|
"height":"100%",
|
||
|
"tab_long":"70%",
|
||
|
"tab_pos":"top",
|
||
|
"items":[
|
||
|
{
|
||
|
"name":"c",
|
||
|
"label":"C",
|
||
|
"content":{
|
||
|
"widgettype":"Text",
|
||
|
"options":{
|
||
|
"text":"This is a C language documents"
|
||
|
}
|
||
|
},
|
||
|
"icon":null
|
||
|
|
||
|
},
|
||
|
{
|
||
|
"name":"javascript",
|
||
|
"removable":true,
|
||
|
"label":"JavaScript",
|
||
|
"content":{
|
||
|
"widgettype":"Text",
|
||
|
"options":{
|
||
|
"text":"This is JavaScript language documents"
|
||
|
}
|
||
|
},
|
||
|
"icon":null
|
||
|
},
|
||
|
{
|
||
|
"name":"php",
|
||
|
"label":"PHP",
|
||
|
"content":{
|
||
|
"widgettype":"Text",
|
||
|
"options":{
|
||
|
"text":"This is PHP language documents"
|
||
|
}
|
||
|
},
|
||
|
"icon":null
|
||
|
},
|
||
|
{
|
||
|
"name":"python",
|
||
|
"label":"Python",
|
||
|
"content":{
|
||
|
"widgettype":"Text",
|
||
|
"options":{
|
||
|
"text":"This is Python language documents"
|
||
|
}
|
||
|
},
|
||
|
"icon":null
|
||
|
},
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
;
|
||
|
const app = new BricksApp(opts);
|
||
|
app.run();
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|