Commit 0fd8904c by Johannes Zellner

Add some basic bootstrap stuff

1 parent 13080980
......@@ -35,7 +35,7 @@ router.get('/', function (req, res) { res.status(200).send(ejs.render(fs.readFil
app.use(morgan('dev'));
app.use(compression());
app.use('/settings', express.static(__dirname + '/app'));
app.use('/admin', express.static(__dirname + '/app'));
app.use(express.static(path.resolve(__dirname, process.argv[2] || 'files')));
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({ extended: false, limit: '100mb' }));
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
No preview for this file type
This diff could not be displayed because it is too large.
No preview for this file type
No preview for this file type
No preview for this file type
<html>
<head>
<title> Cloudron Surfer </title>
<link rel="stylesheet" href="/admin/css/bootstrap.min.css">
<link rel="stylesheet" href="/admin/css/style.css">
<script src="/admin/js/jquery-1.12.1.min.js"></script>
<script src="/admin/js/bootstrap.min.js"></script>
</head>
<body>
<div class="wrapper">
<div class="content">
<h1> Surfer Admin </h1>
<p>
Upload some files using the commandline tool.
<button class="btn btn-primary">Foobar</button>
</p>
</div>
</div>
</body>
</html>
// This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment.
require('../../js/transition.js')
require('../../js/alert.js')
require('../../js/button.js')
require('../../js/carousel.js')
require('../../js/collapse.js')
require('../../js/dropdown.js')
require('../../js/modal.js')
require('../../js/tooltip.js')
require('../../js/popover.js')
require('../../js/scrollspy.js')
require('../../js/tab.js')
require('../../js/affix.js')
\ No newline at end of file
......@@ -2,15 +2,15 @@
<head>
<title> Cloudron Surfer </title>
<link rel="stylesheet" href="/settings/css/bootstrap.min.css">
<link rel="stylesheet" href="/settings/css/style.css">
<link rel="stylesheet" href="/admin/css/bootstrap.min.css">
<link rel="stylesheet" href="/admin/css/style.css">
</head>
<body>
<div class="wrapper">
<div class="content">
<img src="/settings/img/logo.png"/>
<img src="/admin/img/logo.png"/>
<h1> Cloudron Surfer </h1>
<p>
Upload some files using the commandline tool.
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!