1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2024-11-20 10:18:21 +01:00
antd-web-apps/apps/views/default/layout.ls

33 lines
1.3 KiB
Plaintext
Raw Normal View History

2018-08-28 14:49:03 +02:00
<?lua
local args = {...}
2018-09-05 16:56:04 +02:00
local jsclass = __main__:get("jsclass")
2018-08-28 14:49:03 +02:00
if jsclass == nil then jsclass = "" end
?>
2018-08-22 19:56:56 +02:00
<html>
<head>
<title>Application pages</title>
2018-08-28 14:49:03 +02:00
<link rel="stylesheet" type="text/css" href="<?=HTTP_ROOT?>/rst/ubuntu-regular.css" />
<link rel="stylesheet" type="text/css" href="<?=HTTP_ROOT?>/assets/css/style.css" />
<link rel="stylesheet" type="text/css" href="<?=HTTP_ROOT?>/rst/font-awesome.css" />
<!--script type="text/javascript" src="<?=HTTP_ROOT?>/rst/gscripts/riot.min.js"> </script>
<script type="text/javascript" src="<?=HTTP_ROOT?>/rst/resources/antos_tags.js"></script-->
<script type="text/javascript" src="<?=HTTP_ROOT?>/rst/gscripts/jquery-3.2.1.min.js"> </script>
<script type="text/javascript" src="<?=HTTP_ROOT?>/assets/scripts/main.js"></script>
<!--script type="text/javascript" src="<?=HTTP_ROOT?>/rst/gscripts/showdown.min.js"></script-->
<script>
$(window).on('load', function(){
window.myuri = '<?=HTTP_ROOT?>';
var manager = new window.classes.APIManager();
manager.init('<?=jsclass?>');
});
</script>
2018-08-22 19:56:56 +02:00
</head>
<body>
<div id="desktop">
<?lua
2018-08-28 14:49:03 +02:00
2018-09-05 16:56:04 +02:00
__main__:render()
2018-08-22 19:56:56 +02:00
?>
</div>
</body>
</html>