Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
PUBLIC
/
surfer-okd
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 61e0b8e4
authored
Mar 01, 2016
by
Johannes Zellner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move admin ui to _admin to avoid less likely conflict
1 parent
4d9a8ee5
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
12 deletions
app.js
app/index.html
app/welcome.html
app.js
View file @
61e0b8e
...
...
@@ -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
(
'/admin'
,
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'
}));
...
...
app/index.html
View file @
61e0b8e
...
...
@@ -2,9 +2,9 @@
<head>
<title>
Cloudron Surfer
</title>
<link
rel=
"stylesheet"
href=
"/admin/css/font-awesome.min.css"
>
<link
rel=
"stylesheet"
href=
"/admin/css/bootstrap.min.css"
>
<link
rel=
"stylesheet"
href=
"/admin/css/style.css"
>
<link
rel=
"stylesheet"
href=
"/
_
admin/css/font-awesome.min.css"
>
<link
rel=
"stylesheet"
href=
"/
_
admin/css/bootstrap.min.css"
>
<link
rel=
"stylesheet"
href=
"/
_
admin/css/style.css"
>
</head>
<body
id=
"app"
>
...
...
@@ -125,14 +125,17 @@
</tbody>
</table>
</div>
<div
class=
"col-lg-12"
style=
"text-align: right;"
>
<button
class=
"btn btn-default btn-sm"
v-on:click=
""
>
Create Directory
</button>
</div>
</div>
</div>
<script
src=
"/admin/js/jquery-1.12.1.min.js"
></script>
<script
src=
"/admin/js/bootstrap.min.js"
></script>
<script
src=
"/admin/js/vue.min.js"
></script>
<script
src=
"/admin/js/superagent.js"
></script>
<script
src=
"/admin/js/app.js"
></script>
<script
src=
"/
_
admin/js/jquery-1.12.1.min.js"
></script>
<script
src=
"/
_
admin/js/bootstrap.min.js"
></script>
<script
src=
"/
_
admin/js/vue.min.js"
></script>
<script
src=
"/
_
admin/js/superagent.js"
></script>
<script
src=
"/
_
admin/js/app.js"
></script>
</body>
</html>
app/welcome.html
View file @
61e0b8e
...
...
@@ -2,15 +2,15 @@
<head>
<title>
Cloudron Surfer
</title>
<link
rel=
"stylesheet"
href=
"/admin/css/bootstrap.min.css"
>
<link
rel=
"stylesheet"
href=
"/admin/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=
"/admin/img/logo.png"
/>
<img
src=
"/
_
admin/img/logo.png"
/>
<h1>
Cloudron Surfer
</h1>
<p>
Upload some files using the commandline tool.
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment