2
0
Fork 0

Moved css to seperate file

This commit is contained in:
Willem 2016-02-16 16:09:23 +01:00
parent 9f41acfd43
commit 18ae4f6ea5
11 changed files with 105 additions and 29 deletions

View file

@ -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());

View file

@ -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>