Commit 798d283a authored by Leo Iannacone's avatar Leo Iannacone

Merge branch 'develop' into portable

parents 7648ccbe 54946d83
......@@ -3,7 +3,7 @@
, "version": "0.0.1"
, "private": true
, "dependencies": {
"express": "3.4.8"
"express": "3.x"
, "ejs": ">= 0.0.1"
, "socket.io": "*"
, "tail": "*"
......
......@@ -112,8 +112,8 @@ function Page_Distrubion(socket)
$('#packages ul').append('<li class="text-muted">No packages yet</li>')
}
packages.show()
sticky.reset()
},
clean: function () {
$('#packages ul').html('')
},
......@@ -180,7 +180,7 @@ function Page_Distrubion(socket)
$('#logs').show()
files.select()
}
if (socket_data.package.debs && socket_data.package.debs.length > 0) {
// update view
view.package.debs = Utils.clone(socket_data.package.debs)
......@@ -190,7 +190,7 @@ function Page_Distrubion(socket)
})
$('#debs').show()
}
if (socket_data.package.sources && socket_data.package.sources.length > 0) {
// update view
view.package.sources = Utils.clone(socket_data.package.sources)
......@@ -201,6 +201,7 @@ function Page_Distrubion(socket)
$('#sources').show()
}
files.show()
sticky.reset()
},
clean: function() {
$('#logs ul').html('');
......@@ -251,7 +252,7 @@ function Page_Distrubion(socket)
append: function(new_content) {
var content = $("#file pre")
content.append(new_content)
if (config.preferences.autoscroll) {
// scroll down if file is covering footer
var file_height = $("#fileOffset").offset().top
......@@ -432,7 +433,7 @@ function Page_Distrubion(socket)
}
$("#file pre").css('font-size', config.preferences.file_fontsize)
}
var select = function() {
unselect()
if (Utils.check_view_distribution(view)) {
......@@ -464,7 +465,7 @@ function Page_Distrubion(socket)
if ( ! old_view
|| ! Utils.check_view_distribution(old_view)
|| ! Utils.check_view_distribution(view)
|| view.distribution.name != old_view.distribution.name
|| view.distribution.name != old_view.distribution.name
|| ! view.package.orig_name
)
{ // new distribution view
......
......@@ -145,4 +145,5 @@ footer {
#file .no-background {
background: none;
border: none;
}
\ No newline at end of file
color: #101010;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment