mirror of
https://github.com/lxsang/antd-web-apps
synced 2024-12-27 01:48:21 +01:00
add silk mvc framework
This commit is contained in:
parent
71d350e6ae
commit
ce91b90ea4
10
apps/Makefile
Normal file
10
apps/Makefile
Normal file
@ -0,0 +1,10 @@
|
||||
BUILDDIR = ../build/apps
|
||||
|
||||
copyfiles = index.ls style.css
|
||||
|
||||
main:
|
||||
- mkdir $(BUILDDIR)
|
||||
cp -rf $(copyfiles) $(BUILDDIR)
|
||||
- cd $(BUILDDIR) && ln -s ../grs ./rst
|
||||
clean:
|
||||
rm -rf $(BUILDDIR)/*
|
18
apps/index.html
Normal file
18
apps/index.html
Normal file
@ -0,0 +1,18 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Application pages</title>
|
||||
<link rel="stylesheet" type="text/css" href="grs/ubuntu-regular.css" />
|
||||
<link rel="stylesheet" type="text/css" href="style.css" />
|
||||
<link rel="stylesheet" type="text/css" href="rst/font-awesome.css" />
|
||||
<script type="text/javascript" src="rst/gscripts/riot.min.js"> </script>
|
||||
<script type="text/javascript" src="rst/resources/antos_tags.js"></script>
|
||||
<script type="text/javascript" src="rst/gscripts/jquery-3.2.1.min.js"> </script>
|
||||
<script type="text/javascript" src="rst/main.js"></script>
|
||||
<script type="text/javascript" src="rst/gscripts/showdown.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="desktop">
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
0
apps/index.ls
Normal file
0
apps/index.ls
Normal file
7
apps/silk/api/BaseController.lua
Normal file
7
apps/silk/api/BaseController.lua
Normal file
@ -0,0 +1,7 @@
|
||||
-- This is the base model class
|
||||
require("OOP")
|
||||
-- create class
|
||||
BaseController = Object:inherit{db=nil, name=''}
|
||||
|
||||
function BaseController:do()
|
||||
end
|
8
apps/silk/api/BaseModel.lua
Normal file
8
apps/silk/api/BaseModel.lua
Normal file
@ -0,0 +1,8 @@
|
||||
-- This is the base model class
|
||||
require("OOP")
|
||||
require("sqlite")
|
||||
-- create class
|
||||
BaseModel = Object:inherit{db=nil, name=''}
|
||||
|
||||
function BaseModel:do()
|
||||
end
|
7
apps/silk/api/BaseView.lua
Normal file
7
apps/silk/api/BaseView.lua
Normal file
@ -0,0 +1,7 @@
|
||||
-- This is the base model class
|
||||
require("OOP")
|
||||
-- create class
|
||||
BaseView = Object:inherit{db=nil, name=''}
|
||||
|
||||
function BaseView:do()
|
||||
end
|
0
apps/style.css
Normal file
0
apps/style.css
Normal file
Loading…
Reference in New Issue
Block a user