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
a783d767
Commit
a783d767
authored
Sep 13, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved archtitectures under brand link
parent
b33e230d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
20 deletions
+21
-20
debomatic-webui/views/header.ejs
debomatic-webui/views/header.ejs
+21
-20
No files found.
debomatic-webui/views/header.ejs
View file @
a783d767
...
@@ -14,9 +14,28 @@
...
@@ -14,9 +14,28 @@
<body>
<body>
<div
id=
"wrapper"
class=
"container-fluid"
>
<div
id=
"wrapper"
class=
"container-fluid"
>
<nav
class=
"navbar navbar-inverse"
role=
"navigation"
>
<nav
class=
"navbar navbar-inverse"
role=
"navigation"
>
<div
onclick=
"window.location.href='/'"
class=
"navbar-header home-link"
>
<div
class=
"navbar-header home-link"
>
<span
class=
"pull-left icon"
></span>
<span
class=
"pull-left icon"
></span>
<span
class=
"navbar-brand"
>
Deb-o-Matic
<small><
%=
web
.
debomatic
.
architecture
%
></small></span>
<span
style=
"padding-right: 5px;"
onclick=
"window.location.href='/'"
class=
"navbar-brand"
>
Deb-o-Matic
</span>
<ul
class=
"nav navbar-nav"
>
<li
class=
"dropdown"
>
<a
style=
"color: #eee; padding-left: 5px; padding-right: 5px"
href=
"#"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
><
%=
web
.
debomatic
.
architecture
%
>
<span
class=
"caret"
></span></a>
<ul
class=
"dropdown-menu dropdown-menu-right"
role=
"menu"
>
<script>
var
all_services
=
[
'
amd64
'
,
'
i386
'
,
'
armel
'
,
'
armhf
'
,
'
powerpc
'
,
'
s390x
'
];
for
(
var
i
=
0
;
i
<
all_services
.
length
;
i
++
)
{
var
arch
=
all_services
[
i
];
var
host
=
"
debomatic-
"
+
arch
+
'
.debian.net
'
;
if
(
host
==
location
.
hostname
)
{
document
.
write
(
'
<li class="disabled"><a>
'
+
arch
+
'
</a></li>
'
);
}
else
{
document
.
write
(
'
<li><a href="http://
'
+
host
+
'
">
'
+
arch
+
'
</a></li>
'
);
}
}
</script>
</ul>
</li>
</ul>
</div>
</div>
<div
class=
"collapse navbar-collapse"
>
<div
class=
"collapse navbar-collapse"
>
<div
id=
"distributions"
>
<div
id=
"distributions"
>
...
@@ -33,24 +52,6 @@
...
@@ -33,24 +52,6 @@
<
%
if
(
web
.
paths
.
preferences
)
{
%
>
<
%
if
(
web
.
paths
.
preferences
)
{
%
>
<li><a
href=
"<%= web.paths.preferences %>"
>
Preferences
</a></li>
<li><a
href=
"<%= web.paths.preferences %>"
>
Preferences
</a></li>
<
%
}
%
>
<
%
}
%
>
<li
class=
"dropdown"
>
<a
href=
"#"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
>
Architectures
<span
class=
"caret"
></span></a>
<ul
class=
"dropdown-menu dropdown-menu-right"
role=
"menu"
>
<script>
var
all_services
=
[
'
amd64
'
,
'
i386
'
,
'
armel
'
,
'
armhf
'
,
'
powerpc
'
,
'
s390x
'
];
for
(
var
i
=
0
;
i
<
all_services
.
length
;
i
++
)
{
var
arch
=
all_services
[
i
];
var
host
=
"
debomatic-
"
+
arch
+
'
.debian.net
'
;
if
(
host
==
location
.
hostname
)
{
document
.
write
(
'
<li class="disabled"><a>
'
+
arch
+
'
</a></li>
'
);
}
else
{
document
.
write
(
'
<li><a href="http://
'
+
host
+
'
">
'
+
arch
+
'
</a></li>
'
);
}
}
</script>
</ul>
</li>
</ul>
</ul>
</div>
</div>
</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