Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
debomatic-webui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
debomatic-webui-admins
debomatic-webui
Commits
620b1e49
Commit
620b1e49
authored
Mar 06, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added base from `express -t ejs -c stylus debomatic-webui`
parent
565110c4
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
79 additions
and
0 deletions
+79
-0
debomatic-webui/app.js
debomatic-webui/app.js
+37
-0
debomatic-webui/package.json
debomatic-webui/package.json
+10
-0
debomatic-webui/public/stylesheets/style.css
debomatic-webui/public/stylesheets/style.css
+7
-0
debomatic-webui/public/stylesheets/style.styl
debomatic-webui/public/stylesheets/style.styl
+5
-0
debomatic-webui/routes/index.js
debomatic-webui/routes/index.js
+8
-0
debomatic-webui/views/index.ejs
debomatic-webui/views/index.ejs
+2
-0
debomatic-webui/views/layout.ejs
debomatic-webui/views/layout.ejs
+10
-0
No files found.
debomatic-webui/app.js
0 → 100644
View file @
620b1e49
/**
* Module dependencies.
*/
var
express
=
require
(
'
express
'
)
,
routes
=
require
(
'
./routes
'
);
var
app
=
module
.
exports
=
express
.
createServer
();
// Configuration
app
.
configure
(
function
(){
app
.
set
(
'
views
'
,
__dirname
+
'
/views
'
);
app
.
set
(
'
view engine
'
,
'
ejs
'
);
app
.
use
(
express
.
bodyParser
());
app
.
use
(
express
.
methodOverride
());
app
.
use
(
require
(
'
stylus
'
).
middleware
({
src
:
__dirname
+
'
/public
'
}));
app
.
use
(
app
.
router
);
app
.
use
(
express
.
static
(
__dirname
+
'
/public
'
));
});
app
.
configure
(
'
development
'
,
function
(){
app
.
use
(
express
.
errorHandler
({
dumpExceptions
:
true
,
showStack
:
true
}));
});
app
.
configure
(
'
production
'
,
function
(){
app
.
use
(
express
.
errorHandler
());
});
// Routes
app
.
get
(
'
/
'
,
routes
.
index
);
app
.
listen
(
3000
,
function
(){
console
.
log
(
"
Express server listening on port %d in %s mode
"
,
app
.
address
().
port
,
app
.
settings
.
env
);
});
debomatic-webui/package.json
0 → 100644
View file @
620b1e49
{
"name"
:
"debomatic-webui"
,
"version"
:
"0.0.1"
,
"private"
:
true
,
"dependencies"
:
{
"express"
:
"2.5.8"
,
"stylus"
:
">= 0.0.1"
,
"ejs"
:
">= 0.0.1"
}
}
debomatic-webui/public/stylesheets/style.css
0 → 100644
View file @
620b1e49
body
{
padding
:
50px
;
font
:
14px
"Lucida Grande"
,
Helvetica
,
Arial
,
sans-serif
;
}
a
{
color
:
#00b7ff
;
}
debomatic-webui/public/stylesheets/style.styl
0 → 100644
View file @
620b1e49
body
padding: 50px
font: 14px "Lucida Grande", Helvetica, Arial, sans-serif
a
color: #00B7FF
\ No newline at end of file
debomatic-webui/routes/index.js
0 → 100644
View file @
620b1e49
/*
* GET home page.
*/
exports
.
index
=
function
(
req
,
res
){
res
.
render
(
'
index
'
,
{
title
:
'
Express
'
})
};
\ No newline at end of file
debomatic-webui/views/index.ejs
0 → 100644
View file @
620b1e49
<h1><%= title %></h1>
<p>Welcome to <%= title %></p>
\ No newline at end of file
debomatic-webui/views/layout.ejs
0 → 100644
View file @
620b1e49
<!DOCTYPE html>
<html>
<head>
<title><
%=
title
%
></title>
<link
rel=
'stylesheet'
href=
'/stylesheets/style.css'
/>
</head>
<body>
<
%
-
body
%
>
</body>
</html>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment