new css
This commit is contained in:
1 parent
d71a008c9f
commit
1f79028f0c
6 files changed
+361
-347
No files matched your search
+13
-1
@@ -756,6 +756,18 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE
|
||||
}
|
||||
break
|
||||
|
||||
case 'tutorial.css':
|
||||
{
|
||||
sendStyleSheet('tutorial.css')
|
||||
}
|
||||
break
|
||||
|
||||
case 'docs.css':
|
||||
{
|
||||
sendStyleSheet('docs.css')
|
||||
}
|
||||
break
|
||||
|
||||
case 'font-awasome.css':
|
||||
{
|
||||
sendStyleSheet('font-awasome.css')
|
||||
@@ -853,7 +865,7 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE
|
||||
function sendStyleSheet(fileName) {
|
||||
let fs = require('fs')
|
||||
try {
|
||||
let filePath = global.env.PATH_TO_CLIENT + 'WebServer/' + fileName
|
||||
let filePath = global.env.PATH_TO_CLIENT + 'WebServer/css/' + fileName
|
||||
fs.readFile(filePath, onFileRead)
|
||||
|
||||
function onFileRead(err, file) {
|
||||
|
||||
Reference in new issue
Block a user