From 822de81971fe62d7c46054a3af65b553b1cef2d0 Mon Sep 17 00:00:00 2001 From: hummypkg Date: Wed, 28 Dec 2011 14:11:10 +0000 Subject: [PATCH] checkpoint - working on clipboard git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@587 2a923420-c742-0410-a762-8d5b09965624 --- var/mongoose/cgi-bin/browse.jim | 17 ++++++- var/mongoose/cgi-bin/browse/browse.js | 3 ++ var/mongoose/cgi-bin/browse/clipboard.jim | 31 ++++++++++++ var/mongoose/cgi-bin/browse/style.css | 7 +++ var/mongoose/cgi-bin/db.jim | 4 ++ var/mongoose/html/css/style.css | 13 +++++ var/mongoose/html/img/left.png | Bin 0 -> 6626 bytes var/mongoose/html/img/right.png | Bin 0 -> 6640 bytes var/mongoose/html/index.shtml | 6 +++ var/mongoose/include/sched.jim | 2 +- var/mongoose/lib/clipboard.class | 58 ++++++++++++++++++++++ 11 files changed, 138 insertions(+), 3 deletions(-) create mode 100755 var/mongoose/cgi-bin/browse/clipboard.jim create mode 100644 var/mongoose/cgi-bin/browse/style.css create mode 100644 var/mongoose/html/img/left.png create mode 100644 var/mongoose/html/img/right.png create mode 100644 var/mongoose/lib/clipboard.class diff --git a/var/mongoose/cgi-bin/browse.jim b/var/mongoose/cgi-bin/browse.jim index 30b9c9c..c9b79dd 100755 --- a/var/mongoose/cgi-bin/browse.jim +++ b/var/mongoose/cgi-bin/browse.jim @@ -315,15 +315,17 @@ puts {
+ } puts "$dir" -# Breadcrumb path puts " -
+
" + +# Breadcrumb path set stub "" foreach part [split $dir /] { if {$stub eq "/"} { set name $part } else { set name "/$part" } @@ -406,6 +408,17 @@ puts "" puts "
" +puts { +
+ +File Clipboard + +
+ Loading... +
+
+} + puts "
" puts { diff --git a/var/mongoose/cgi-bin/browse/browse.js b/var/mongoose/cgi-bin/browse/browse.js index ff54321..6c85a26 100755 --- a/var/mongoose/cgi-bin/browse/browse.js +++ b/var/mongoose/cgi-bin/browse/browse.js @@ -457,6 +457,9 @@ var dmenuclick = function(action, el, pos) $.getJSON('/cgi-bin/browse/newdir.jim?dir=' + encodeURIComponent(dir), new_folder_callback); + // Load clipboard + $('#clipboard').load('/cgi-bin/browse/clipboard.jim'); + // Uncheck everything $('input.fs:checked').attr('checked', false); diff --git a/var/mongoose/cgi-bin/browse/clipboard.jim b/var/mongoose/cgi-bin/browse/clipboard.jim new file mode 100755 index 0000000..799dab2 --- /dev/null +++ b/var/mongoose/cgi-bin/browse/clipboard.jim @@ -0,0 +1,31 @@ +#!/mod/bin/jimsh + +package require cgi +source /mod/var/mongoose/lib/setup +require clipboard.class + +puts "Content-Type: text/html" +puts "" + +cgi_input +#cgi_dump + +set cb [[clipboard new {path "/tmp/webif-browse.cb"}] load] + +set action [cgi_get act list] + +switch $action { + list { + if {![$cb size]} { + puts "Clipboard is empty" + exit + } + } + add { + } + del { + } + clear { + } +} + diff --git a/var/mongoose/cgi-bin/browse/style.css b/var/mongoose/cgi-bin/browse/style.css new file mode 100644 index 0000000..1df1101 --- /dev/null +++ b/var/mongoose/cgi-bin/browse/style.css @@ -0,0 +1,7 @@ + +div.brow +{ + float: left; + clear: left; +} + diff --git a/var/mongoose/cgi-bin/db.jim b/var/mongoose/cgi-bin/db.jim index b0a429b..8cd819c 100755 --- a/var/mongoose/cgi-bin/db.jim +++ b/var/mongoose/cgi-bin/db.jim @@ -13,6 +13,10 @@ set databases { /var/lib/humaxtv/rsv.db /var/lib/humaxtv/setup.db /var/lib/humaxtv/channel.db + /var/lib/humaxtv/default_channel.db + /var/lib/humaxtv/default_setup.db + /var/lib/humaxtv/rsv_fail.db + /var/lib/humaxtv/tempsetup.db /mnt/hd2/dms_cds.db } diff --git a/var/mongoose/html/css/style.css b/var/mongoose/html/css/style.css index 9194208..9d3f222 100644 --- a/var/mongoose/html/css/style.css +++ b/var/mongoose/html/css/style.css @@ -13,6 +13,19 @@ html>body font-size: small; } +.left, .cleft +{ + float: left; +} +.cleft +{ + clear: left; +} +fieldset.left, fieldset.cleft +{ + display: inline; +} + div.container { position: relative; diff --git a/var/mongoose/html/img/left.png b/var/mongoose/html/img/left.png new file mode 100644 index 0000000000000000000000000000000000000000..c17771e593d9ae8a842635f8349ac258ec104889 GIT binary patch literal 6626 zcmV<886D<{P)Oz@Z0f2-7z;ux~O9+4z06=<WDR*FRcSTFz- zW=q650N5=6FiBTtNC2?60Km==3$g$R3;-}uh=nNt1bYBr$Ri_o0EC$U6h`t_Jn<{8 z5a%iY0C<_QJh>z}MS)ugEpZ1|S1ukX&Pf+56gFW3VVXcL!g-k)GJ!M?;PcD?0HBc- z5#WRK{dmp}uFlRjj{U%*%WZ25jX z{P*?XzTzZ-GF^d31o+^>%=Ap99M6&ogks$0k4OBs3;+Bb(;~!4V!2o<6ys46agIcq zjPo+3B8fthDa9qy|77CdEc*jK-!%ZRYCZvbku9iQV*~a}ClFY4z~c7+0P?$U!PF=S z1Au6Q;m>#f??3%Vpd|o+W=WE9003S@Bra6Svp>fO002awfhw>;8}z{#EWidF!3EsG z3;bXU&9EIRU@z1_9W=mEXoiz;4lcq~xDGvV5BgyU zp1~-*fe8db$Osc*A=-!mVv1NJjtCc-h4>-CNCXm#Bp}I%6j35eku^v$Qi@a{RY)E3 zJ#qp$hg?Rwkvqr$GJ^buyhkyVfwECO)C{#lxu`c9ghrwZ&}4KmnvWKso6vH!8a<3Q zq36)6Xb;+tK10Vaz~~qUGsJ8#F2=(`u{bOVlVi)VBCHIn#u~6ztOL7=^<&SmcLWlF zMZgI*1b0FpVIDz9SWH+>*hr`#93(Um+6gxa1B6k+CnA%mOSC4s5&6UzVlpv@SV$}* z))J2sFA#f(L&P^E5{W}HC%KRUNwK6<(h|}}(r!{C=`5+6G)NjFlgZj-YqAG9lq?`C z$c5yc>d>VnA`E_*3F2Qp##d8RZb=H01_mm@+|Cqnc9PsG(F5HIG_C zt)aG3uTh7n6Et<2In9F>NlT@zqLtGcXcuVrX|L#Xx)I%#9!{6gSJKPrN9dR61N3(c z4Tcqi$B1Vr8Jidf7-t!G7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diff --git a/var/mongoose/include/sched.jim b/var/mongoose/include/sched.jim index 315bde6..ba405df 100755 --- a/var/mongoose/include/sched.jim +++ b/var/mongoose/include/sched.jim @@ -90,7 +90,7 @@ $(document).ready(function() { } $('a.schedule').click(function(e) { schedpopup(e, $(this)) }); - $('table.tablesorter').hover( + $('table.tablesorter tbody tr').hover( function() { $(this).addClass('hover'); }, function() { $(this).removeClass('hover'); }); }); diff --git a/var/mongoose/lib/clipboard.class b/var/mongoose/lib/clipboard.class new file mode 100644 index 0000000..21a6d67 --- /dev/null +++ b/var/mongoose/lib/clipboard.class @@ -0,0 +1,58 @@ + +if {![exists -proc class ]} { package require oo } + +class clipboard { + path "/tmp/webif.cb" + items {} +} + +class clipboarditem { + action "" + type "" + path "" +} + +clipboarditem method _parse {line} { + lassign [split $line "|"] action type path +} + +proc {clipboarditem load} {line} { + set c [clipboarditem new] + $c _parse $line + return $c +} + +clipboard method save {} { + set fd [open $path w] + foreach item $items { + puts $fd "[$item get action]|[$item get type]|[$item get path]" + } + $fd close +} + +clipboard method load {} { + set items {} + set changed 0 + if {[file exists $path]} { + set fd [open $path r] + foreach line [split [$fd read] "\n"] { + set ci [clipboarditem load $line] + if {[file exists [$ci get path]]} { + lappend $items $ci + } else { + set changed 1 + } + } + } + if {$changed} { $self save } + return $self +} + +clipboard method size {} { + return [llength $items] +} + +clipboard method add {action type path} { + lappend $items [clipboarditem load "$action|$type|$path"] +} +