1
0
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:
Xuan Sang LE 2018-08-20 11:21:58 +02:00
parent 71d350e6ae
commit ce91b90ea4
7 changed files with 50 additions and 0 deletions

10
apps/Makefile Normal file
View 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
View 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
View File

View 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

View 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

View 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
View File