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
6e32c64e
Commit
6e32c64e
authored
Mar 09, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
made hostname configurable
parent
f85f1bd0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
debomatic-webui/lib/config.js
debomatic-webui/lib/config.js
+2
-0
debomatic-webui/public/javascripts/main.js
debomatic-webui/public/javascripts/main.js
+0
-2
debomatic-webui/views/layout.ejs
debomatic-webui/views/layout.ejs
+2
-0
No files found.
debomatic-webui/lib/config.js
View file @
6e32c64e
...
@@ -16,5 +16,7 @@ config.web.description = "This is a web interface for debomatic"
...
@@ -16,5 +16,7 @@ config.web.description = "This is a web interface for debomatic"
config
.
web
.
footer
=
"
Fork me on github.com
"
config
.
web
.
footer
=
"
Fork me on github.com
"
config
.
web
.
autoscroll
=
true
config
.
web
.
autoscroll
=
true
config
.
web
.
paths
=
config
.
routes
config
.
web
.
paths
=
config
.
routes
config
.
web
.
host
=
config
.
host
config
.
web
.
port
=
((
config
.
port
==
80
)
?
null
:
config
.
port
)
module
.
exports
=
config
module
.
exports
=
config
debomatic-webui/public/javascripts/main.js
View file @
6e32c64e
var
socket
=
io
.
connect
(
'
//localhost:3000
'
);
// update distributions
// update distributions
socket
.
on
(
'
distributions
'
,
function
(
distributions
)
{
socket
.
on
(
'
distributions
'
,
function
(
distributions
)
{
$
(
'
#distributions ul
'
).
html
(
''
);
$
(
'
#distributions ul
'
).
html
(
''
);
...
...
debomatic-webui/views/layout.ejs
View file @
6e32c64e
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
<script>
<script>
var
AUTOSCROLL
=
<%=
autoscroll
%>
var
AUTOSCROLL
=
<%=
autoscroll
%>
var
DISTRIBUTION_PAGE
=
'
<%= paths.distribution %>
'
var
DISTRIBUTION_PAGE
=
'
<%= paths.distribution %>
'
var
HOSTNAME
=
'
<%= host %><% if (port) { %>:<%= port%><% } %>
'
var
socket
=
io
.
connect
(
'
//
'
+
HOSTNAME
);
</script>
</script>
<script
src=
'/javascripts/utils.js'
></script>
<script
src=
'/javascripts/utils.js'
></script>
...
...
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