Moved css to seperate file
This commit is contained in:
parent
9f41acfd43
commit
18ae4f6ea5
11 changed files with 105 additions and 29 deletions
|
|
@ -110,6 +110,7 @@ server.use('/static/module/jquery', express.static(path.join(__dirname,'.
|
|||
server.use('/static/module/angular', express.static(path.join(__dirname,'../node_modules/angular')));
|
||||
server.use('/static/module/angular-route', express.static(path.join(__dirname,'../node_modules/angular-route')));
|
||||
server.get('/static/spa-client-resources', function (req,res) {res.json({data: {resources: clientResourcesWeb}});});
|
||||
server.get('/static/spa-loader.css', function (req,res) {res.sendFile('es5-ff-spa-loader.css', { root: path.join(__dirname, '/../../') });});
|
||||
server.get('/', function (req, res) {res.redirect('/example-ui');});
|
||||
server.get('/example-ui/thtml/*', renderTemplatePath('thtml/'));
|
||||
server.get('/example-ui', renderIndex());
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
<head>
|
||||
<meta charset="UTF-8"/>
|
||||
<title>Loading</title>
|
||||
<link rel="stylesheet" type="text/css" href="/static/spa-loader.css" />
|
||||
</head>
|
||||
<body>
|
||||
<script><%- inlineScript %></script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue