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
8225c468
Commit
8225c468
authored
Sep 13, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dropdown menu in the right place
parent
fdb06f1c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
20 deletions
+20
-20
debomatic-webui/views/header.ejs
debomatic-webui/views/header.ejs
+20
-20
No files found.
debomatic-webui/views/header.ejs
View file @
8225c468
...
@@ -17,27 +17,27 @@
...
@@ -17,27 +17,27 @@
<div
class=
"navbar-header home-link"
>
<div
class=
"navbar-header home-link"
>
<span
class=
"pull-left icon"
></span>
<span
class=
"pull-left icon"
></span>
<span
style=
"padding-right: 5px;"
onclick=
"window.location.href='/'"
class=
"navbar-brand"
>
Deb-o-Matic
</span>
<span
style=
"padding-right: 5px;"
onclick=
"window.location.href='/'"
class=
"navbar-brand"
>
Deb-o-Matic
</span>
<ul
class=
"nav navbar-nav"
>
</div>
<li
class=
"dropdown"
>
<a
style=
"color: #eee; font-size: 15px; padding: 15px 10px;"
href=
"#"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
><
%=
web
.
debomatic
.
architecture
%
>
<span
class=
"caret"
></span></a>
<ul
class=
"dropdown-menu"
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
class=
"collapse navbar-collapse"
>
<div
class=
"collapse navbar-collapse"
>
<ul
class=
"nav navbar-nav"
>
<li
class=
"dropdown"
>
<a
style=
"color: #eee; font-size: 15px; padding: 15px 10px;"
href=
"#"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
><
%=
web
.
debomatic
.
architecture
%
>
<span
class=
"caret"
></span></a>
<ul
class=
"dropdown-menu"
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
id=
"distributions"
>
<div
id=
"distributions"
>
<ul
class=
"nav navbar-nav"
></ul>
<ul
class=
"nav navbar-nav"
></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