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
ee9f86a1
Commit
ee9f86a1
authored
Mar 14, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
show preferences only if enabled in config
parent
5f1288b6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
debomatic-webui/index.js
debomatic-webui/index.js
+2
-1
debomatic-webui/views/layout.ejs
debomatic-webui/views/layout.ejs
+4
-2
No files found.
debomatic-webui/index.js
View file @
ee9f86a1
...
...
@@ -43,7 +43,8 @@ app.configure('production', function(){
// Routes
app
.
get
(
'
/
'
,
routes
.
index
);
app
.
get
(
config
.
routes
.
distribution
,
routes
.
distribution
)
app
.
get
(
config
.
routes
.
preferences
,
routes
.
preferences
)
if
(
config
.
routes
.
preferences
)
app
.
get
(
config
.
routes
.
preferences
,
routes
.
preferences
)
var
broadcast
=
new
Broadcaster
(
io
.
sockets
,
status
)
...
...
debomatic-webui/views/layout.ejs
View file @
ee9f86a1
...
...
@@ -18,7 +18,7 @@
<nav
class=
"navbar navbar-inverse"
role=
"navigation"
>
<div
class=
"navbar-header"
>
<span
class=
"navbar-brand"
href=
"#"
>
Distributions
</span>
<span
class=
"navbar-brand"
>
Distributions
</span>
</div>
<div
class=
"collapse navbar-collapse"
>
<div
id=
"distributions"
>
...
...
@@ -26,7 +26,9 @@
</div>
<div
id=
"pages"
>
<ul
class=
"nav navbar-nav pull-right"
>
<li><a
href=
"/preferences"
>
Preferences
</a></li>
<
%
if
(
web
.
paths
.
preferences
)
{
%
>
<li><a
href=
"<%= web.paths.preferences %>"
>
Preferences
</a></li>
<
%
}
%
>
</ul>
</div>
</div>
...
...
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