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
638e0b7a
Commit
638e0b7a
authored
Mar 13, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed useless label from file data - removed home link in breadcrumb
parent
7934dcc4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
9 deletions
+2
-9
debomatic-webui/lib/client.js
debomatic-webui/lib/client.js
+0
-7
debomatic-webui/public/javascripts/page_distribution.js
debomatic-webui/public/javascripts/page_distribution.js
+2
-2
No files found.
debomatic-webui/lib/client.js
View file @
638e0b7a
...
@@ -14,10 +14,8 @@ function __get_files_list_from_package(data, callback) {
...
@@ -14,10 +14,8 @@ function __get_files_list_from_package(data, callback) {
file
.
path
=
path
.
join
(
package_path
,
f
).
replace
(
config
.
debomatic
.
path
,
config
.
routes
.
debomatic
)
file
.
path
=
path
.
join
(
package_path
,
f
).
replace
(
config
.
debomatic
.
path
,
config
.
routes
.
debomatic
)
file
.
orig_name
=
f
file
.
orig_name
=
f
file
.
name
=
f
.
split
(
'
_
'
)[
0
]
file
.
name
=
f
.
split
(
'
_
'
)[
0
]
file
.
label
=
f
.
replace
(
file
.
name
+
'
_
'
,
''
)
file
.
extension
=
f
.
split
(
'
.
'
).
pop
();
file
.
extension
=
f
.
split
(
'
.
'
).
pop
();
if
(
file
.
extension
==
"
deb
"
||
file
.
extension
==
"
ddeb
"
)
{
if
(
file
.
extension
==
"
deb
"
||
file
.
extension
==
"
ddeb
"
)
{
file
.
label
=
file
.
extension
data
.
package
.
debs
.
push
(
file
);
data
.
package
.
debs
.
push
(
file
);
}
}
else
if
(
f
.
indexOf
(
'
.tar
'
)
>=
0
||
file
.
extension
==
"
changes
"
||
file
.
extension
==
"
dsc
"
)
{
else
if
(
f
.
indexOf
(
'
.tar
'
)
>=
0
||
file
.
extension
==
"
changes
"
||
file
.
extension
==
"
dsc
"
)
{
...
@@ -102,11 +100,6 @@ function __send_distribution_packages (event_name, socket, data) {
...
@@ -102,11 +100,6 @@ function __send_distribution_packages (event_name, socket, data) {
pack
.
name
=
info
[
0
]
pack
.
name
=
info
[
0
]
pack
.
version
=
info
[
1
]
pack
.
version
=
info
[
1
]
pack
.
orig_name
=
p
pack
.
orig_name
=
p
if
(
data
.
package
&&
pack
.
name
==
data
.
package
.
name
&&
pack
.
version
==
data
.
package
.
version
)
{
pack
.
selected
=
true
;
}
data
.
distribution
.
packages
.
push
(
pack
)
data
.
distribution
.
packages
.
push
(
pack
)
__send_package_status
(
socket
,
data
,
pack
)
__send_package_status
(
socket
,
data
,
pack
)
});
});
...
...
debomatic-webui/public/javascripts/page_distribution.js
View file @
638e0b7a
...
@@ -98,7 +98,7 @@ function Page_Distrubion(socket)
...
@@ -98,7 +98,7 @@ function Page_Distrubion(socket)
if
(
socket_data
.
package
.
debs
&&
socket_data
.
package
.
debs
.
length
>
0
)
{
if
(
socket_data
.
package
.
debs
&&
socket_data
.
package
.
debs
.
length
>
0
)
{
socket_data
.
package
.
debs
.
forEach
(
function
(
f
){
socket_data
.
package
.
debs
.
forEach
(
function
(
f
){
$
(
'
#debs ul
'
).
append
(
'
<li><a title="
'
+
f
.
orig_name
+
'
" href="
'
+
f
.
path
+
'
">
'
+
f
.
name
+
'
</a> <span>.
'
+
f
.
label
+
'
</span></li>
'
)
$
(
'
#debs ul
'
).
append
(
'
<li><a title="
'
+
f
.
orig_name
+
'
" href="
'
+
f
.
path
+
'
">
'
+
f
.
name
+
'
</a> <span>.
'
+
f
.
extension
+
'
</span></li>
'
)
})
})
$
(
'
#debs
'
).
show
()
$
(
'
#debs
'
).
show
()
}
}
...
@@ -179,7 +179,7 @@ function Page_Distrubion(socket)
...
@@ -179,7 +179,7 @@ function Page_Distrubion(socket)
if
(
!
hash
)
if
(
!
hash
)
hash
=
window
.
location
.
hash
hash
=
window
.
location
.
hash
hash
=
hash
.
replace
(
'
#
'
,
''
)
hash
=
hash
.
replace
(
'
#
'
,
''
)
var
new_html
=
'
<li><a href="/">home</a></li>
'
var
new_html
=
''
var
new_hash
=
'
#
'
var
new_hash
=
'
#
'
var
info
=
hash
.
split
(
'
/
'
)
var
info
=
hash
.
split
(
'
/
'
)
for
(
var
i
=
0
;
i
<
info
.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
info
.
length
;
i
++
)
{
...
...
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