From 193cee2df70d47f007fb225b0dec1299e4789a2f Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Thu, 12 Apr 2012 22:18:58 +0800 Subject: [PATCH] new icons and widgets --- app/assets/images/icons/bookkeeper.png | Bin 0 -> 4915 bytes app/assets/images/icons/calendar.png | Bin 0 -> 2750 bytes app/assets/images/icons/diary.png | Bin 0 -> 2335 bytes app/assets/images/icons/doc.png | Bin 0 -> 2058 bytes app/assets/images/icons/facebook.png | Bin 0 -> 2431 bytes app/assets/images/icons/gmail.png | Bin 0 -> 2718 bytes app/assets/images/icons/iclock.png | Bin 0 -> 2867 bytes app/assets/images/icons/movies.png | Bin 0 -> 3418 bytes app/assets/images/icons/musicbox.png | Bin 0 -> 2273 bytes app/assets/images/icons/newsfeed.png | Bin 0 -> 2095 bytes app/assets/images/icons/talk.png | Bin 0 -> 1496 bytes app/assets/images/icons/ted.png | Bin 0 -> 3046 bytes app/assets/images/icons/weather.png | Bin 0 -> 3207 bytes app/assets/images/icons/youtube.png | Bin 0 -> 1527 bytes app/assets/javascripts/orbitdesktop.js | 128 +++++++++++------- app/assets/stylesheets/desktopmain.css | 2 +- app/controllers/desktop_controller.rb | 34 ++++- app/views/desktop/index.html.erb | 2 + app/views/desktop/settings.html.erb | 9 -- app/views/desktop/settings/sections.html.erb | 15 +- app/views/desktop/settings/themes.html.erb | 14 +- app/views/layouts/_orbit_bar.html.erb | 2 +- .../googlesearch/googlesearch.js | 10 ++ .../googlesearch/img/google_64.png | Bin 0 -> 5413 bytes .../googlesearch/index.html.erb | 34 +++++ public/desktop_widgets/timetable/timetable.js | 2 - public/desktop_widgets/youtube/index.html.erb | 1 + public/desktop_widgets/youtube/youtube.js | 0 28 files changed, 167 insertions(+), 86 deletions(-) create mode 100755 app/assets/images/icons/bookkeeper.png create mode 100755 app/assets/images/icons/calendar.png create mode 100755 app/assets/images/icons/diary.png create mode 100755 app/assets/images/icons/doc.png create mode 100755 app/assets/images/icons/facebook.png create mode 100755 app/assets/images/icons/gmail.png create mode 100755 app/assets/images/icons/iclock.png create mode 100755 app/assets/images/icons/movies.png create mode 100755 app/assets/images/icons/musicbox.png create mode 100755 app/assets/images/icons/newsfeed.png create mode 100755 app/assets/images/icons/talk.png create mode 100755 app/assets/images/icons/ted.png create mode 100755 app/assets/images/icons/weather.png create mode 100755 app/assets/images/icons/youtube.png create mode 100644 public/desktop_widgets/googlesearch/googlesearch.js create mode 100644 public/desktop_widgets/googlesearch/img/google_64.png create mode 100644 public/desktop_widgets/googlesearch/index.html.erb create mode 100644 public/desktop_widgets/youtube/index.html.erb create mode 100644 public/desktop_widgets/youtube/youtube.js diff --git a/app/assets/images/icons/bookkeeper.png b/app/assets/images/icons/bookkeeper.png new file mode 100755 index 0000000000000000000000000000000000000000..41b3bf260e166c4dc1c5aeaaada55c6473c8d9e5 GIT binary patch literal 4915 zcmV-36U^+1P)X)>i_@} ziAh93RA_RWN zQE*2UL<;VPs-Q)&(GV3>6%jBqR0J~v1W^HZ5J3m?Nr)0uF9*IHH1^BLbxq5O9l)y4Aj6#}OB*8JaTOi8W}*v9W?EwN~7r z3`(trqqtQp=e25hEF%sBp_)Bft6lnw&tASNzxB=s4^?@%lyXsWLBmi04-Ekj3z7U= z08v3aHtHCPAR=A+BH%bG1^3vT(zG0pXv`j(^{@mj)H=pt<*LoVQ|tH?##;))?6xW&&n@PS-gYPZA@76q#af({B^b0eS# zh^GEXjVoHh6&w%kdK?UHEEXmHHbDT_Fl{Y@)rz~LMSwV?znJ)SN+0$oIN<;r|G$Vbj0_+^&eb)_P3uk3F z`S<6(%#B+Ze|B%dYwvg~uX*4Bmdh2-U%8UN84+XvP%R*ii1O;!-QNd)`sx>1)e478 z_IHe35%v&vf!+MfO|KjSONZrZ!Hpy5ub%%BAH3rdpL}d!H5$wFhuFamvMb0Quy9}r zK=lQz6po$6(F%Y5h);cc;6wMX`Np$fU|lP>A1=9VVQ3XtN(^0vd|y=91>b=izTnv- z=Nr#{fj3`x2lu@8KCWK5652(m?x+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D@>sy{rgr9bhSEu?nQrM8=mHW2jE732+X>9oo7O zE)_N?w94D6P3UZT%6%-kyr>9m8@kl6)x9sv>Ly;6!HMM!$=_hl_Fc=bhc)YxOI+OI zB9oo05Iodmb(4NUVP)lp>h(DO+%XIcTthgTj2;JouTP)B?Vl#_LpF=~{QNSc?6xLA zsyU_o&TR5AT@;n4{XDMfmrSg|p7vch()BkC3|zym&UTQBCo32L+&cfAuR*_7`Lh2a zc6GMn%l?brq;=vSA3X}2elgjyWs3v**m?L?_Q%J^!vOH{nNJ@N4+Fr^_3yFw#X}a2 z&`5tQ8tojq{ymyDZ~edX@C!%w7h#VcLN1^Gmc-Y^8=`BXSIeTY*x~&LvF{Im#`?N- zkJ`=^kz3gx@$s2Yaq^>o;(k7t%TMPUNyU>Dux71>=$hzN%d%pR+Q?r*D5bglbiR=$ z=vW8w8tD&*!`7oVaHS+14qFi#>9=74;Ad`|h2{+dFzo;U002ovPDHLk FV1mJPV{ZTe literal 0 HcmV?d00001 diff --git a/app/assets/images/icons/doc.png b/app/assets/images/icons/doc.png new file mode 100755 index 0000000000000000000000000000000000000000..36cb273b8de2888cd4da6769f4086b55eefc686f GIT binary patch literal 2058 zcmV+l2=(`gP)X)>i_@; zU`a$lRA_3y#)?S*kr{p39PhLD}NN9`pBDMDF|Iijs z&8Z+_K?Fe%iy(#^{B;UNJgZTxV3OA&$-BEVPY*M*JG1Z1oA*uLxG(Jk`|j-S?9P1l z`#iIgnF+zzsozfR1#lL?9Do-78}=G005Ui zI>C&cuq6P~^QY(6XeVHa^pDS3Bdr?)Y{}Wah@rlKB>>YYv>R_5)~cvs0n#Ttb*Tq1 zvw0~-WwPfO2724@lK{@9&@sDZE7hb*MRI_3p0GPxV`wnIKvI=1p>4+PsXmut8x0f@ zfrQ!X69yLW)OO-G_#6O^H*1$R;2yL&h5~qN)U9+YcUc9A$XA$ZkS=^l7BQou=gO#D znpx)|04(ge!POoZ*i*FzN>qcS>K>hlyL1WTC|i$X7rfjCRC^#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M5q8a*L}L z8~{F`84zkrsRJ zYEZRcO;RkFVqsY>ghoSjsS{E>u2?{-T&8NlV2f=!uyKR}V&s1;T83b{2ZWNuY4agr z@z&rLQ6-Q`*KHUw8yn?``@0DDY$xp4MA)+(liQ66^HnWg4V0Tk`D1bG#^W{~hg&-y zovBBh^pM6^xWfV>h-gH+C?|z=(j!-p4~2n~MmZ@&yGfm0VVkyM!J;(cc!-xlrE38& zQK7PFh5_ZIQ0ZF4%OpIMX7mJ$fOb)?kM`>m0%^fcLuqdo@z$sP3z&wdKmabaJ5J|ib>5r^_gK* ztNXy<`JP=o{J*^!5q8fmp2CEN6z!b_CNv}+=2L$DDurlxedPL#!>hMUW%Bi}05GxH zA2!!v3x4g^sVrT)g;g)_DBqhj0>l8i`lGVgk;1S9pE{`yU@x%%tvhq&&+jjt&Z_l0 zxcH251d-tzOWxw1OO9t^v(LtzIp*BfLdsFBTy!F*PE1PGRqJK^811R5{eElnYYg*HY z$AS_@B}y+k^XRfK16=#3_W*e6^$s@f%<)W1Cje_+@1Qa3Qiu$VS%-(OI*Df&Pr-8( zjahdzs0~l>121l8(V0h=zb{+Y&a!pww0Bl^dYU_>fm<(}$kL~`aK(M^(w(cefpcIC zOK?|zM0;m}hp#$mFB5F6t!#IWAD`jfZ8`ql+5>>^j$U~%Y)6@MTMJj8J%RN%e;%*s zw`*SS*eh@y2+P*BbM7gPyuWlh-MNUC&3(hAwO>@!;yDuVNojecLz!^szIM37ggI2$ z*>pJ)|rNa@@kF~rRxth$&rAKg0^t?=DT{{dVEpb-`NH5 YA4~4kk#e3Gp#T5?07*qoM6N<$f~sKs=l}o! literal 0 HcmV?d00001 diff --git a/app/assets/images/icons/iclock.png b/app/assets/images/icons/iclock.png new file mode 100755 index 0000000000000000000000000000000000000000..4200755e59aa93de60ff389f2450fb3374b78722 GIT binary patch literal 2867 zcmV-33(WM1P)X)>i_@> ziAh93RA_0pJ+`M*$4u|3h;CE&=$>P#B*6n>HTnF3c$h1$;mRgAFxK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/images/icons/newsfeed.png b/app/assets/images/icons/newsfeed.png new file mode 100755 index 0000000000000000000000000000000000000000..cb20cd921e88426ec2499cea48fcbb3e94fde4e0 GIT binary patch literal 2095 zcmV+~2+;S5P)X)>i_@; zg-Jv~RA_Ui4+A8oKq?!pyEtbRR~(u{F8VhJ_#ZO z510qq$C$^qNL(H&q`YK#sq#W%L?t97nmwTKQo@;((o0FO(-MLpi7y1jB*fc?z2U~Q z^KaLVD)C99{dTYO=+hd*tDp~5og=WDU$`b??rebjKe&wS51qa6)^*wIyxG{+q*|V=8)1XJiQ1v zSKZJl!a6xE$zNbP=70?)*i?oa%CNZt)3c+*9hCiZa3~m@deo_??>Gv)1h5Qe%9^IS z%@w$@3frns9Py^f!RO)4h8#cCTvmRbXG(bw$`2#%p1ne7g)sn(*%?e9}z9BOPz5!7uk_ z1MYUviL4;a{(&GY(+WEIhgh8_UVD{pBM3rJCN;ch(2( z(@7#rn-Y~RiOI{!ZB>}5#h&z)gLAMHBooZ03Ot-*3#r?I-SCe7*-w@t=-oO9i6kJvEzI=FKS&lT}r4qb8=NFpy1hApJdM*~Z?=|4d zmVdw3m)+N_h#lCr18Ca_KODfG5*&4m^YH@wJV@?P0{pdZZ!60U3b6MkUKT*LjX3Xh zp;?86XDwd}Tr&f=HwN2A!0{0NvtVy4WOK#a_Pnk#aqg?DUW$PC=i!Yxi#0&G4r`0a z*C_8a?CpezkoItdKBTk2ileUlBd|k{7hp>@*{&19vPTk}lx7DTGy*sal&qV)t3rQZ z*$dMFL!1bG#FJq#q-{_r$L%$EY7rU{?26#A5VmTJmgmF2HO$l2`qJRMDaw*3uqQ(@ zq(|bkZNqy@nFi*wh;YA zBYsn0l3RDgo>n*3#QBGT*~=TtgKdQFGmcI6%5~_nvq$@*Z6cuC zcK7LHJ2nr?4drsxl)K}pS^YQ`x@lbM`V&LJC9VXzB1vFZ*7X&`;+;Nla?xybUsFCe zT(7p(*{j%XPFlJ<4SvtUCtGIk_Az@*9lL36vdLa+(lRx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0;H;zOl^Z3i%$Q*D~ES}Y$eb$^M0{t|!(0PL5^Mh;5`n#$B9gJ;M) zA7nGOlMNVnU}rvT_gj9P_6@8P0-NZ~SP8%-0R1Yk^a^nNlaruDGwJJN0rgM@+-ex` z0+>`BY=m-;cxB|C@r(GC0K5WV6<8V_0}kv5PQEGUEiy1CqfGj+nvv(bCQ$ zI(Fc7P-82E2JB5>c_bAZuLI8?0`4sW9~i}d-tvQFqs`J4%`!&XD}&E0rHaZkfNE6| oOorVAmX?60Uj&}KDgTQ1UxTaytA9}}H~;_u07*qoM6N<$f@4dlrT_o{ literal 0 HcmV?d00001 diff --git a/app/assets/images/icons/weather.png b/app/assets/images/icons/weather.png new file mode 100755 index 0000000000000000000000000000000000000000..d7033439980715c716de32ea7aa3534c2c20a4b7 GIT binary patch literal 3207 zcmV;240!X2P)X)>i_@? z-AP12RA_1VJ7VLHWl= zObQYcAj%)0sEve#;)?)kq@V@`5!w{0LPBG0OUuKS?v{4@nC|SOyEC(MAICpt?(CT} z=iWQJnE3c5C+D2sdHufU_d0WTg_IJ2bx-Z-v}`tDaig%9j|B+8surR3<9MdEdL5Dk z0z)0e3;Rht3DV~^y*wQnK#JJ)Od4yCqm@6n-jzRcy?Y~^~CN@VX@t^SeYpN|Col=@gQKI47kX#V1p2>B#xveWE9UdCN-Wk z%nfU)jq7tw>ymg?vIHxoV1otRIH`?wp`zxRgg0qTt>e~4ofmb1=J_{T0_HcpS=>Bb zQ~H=q}_7r!RjS$uV!V^NC@UzkqeSGND{^bq6+Z*_8D|IPNV;sK%4eYk|zoW z;20O_K}GMY{%9IgDWDRlOy`(D#A#dy(hNv#j$;H71zew_1|hvx#{woIddLs8Yr23q zmxwcW6HslA)gWlpq9)Ajw3ZBMVNC$i=T$-OA1!jq_04HTy(9^9vuQrw)i!zeF<~JD zoa7I2n=8DVm-X^+Tp-xk*s5} zZhjY^T`-IGbTwQ^i6<-5Z2>}5(EC#I*gyOE(~&$#SliP9z?KlK$r5A)KPKNd1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qzAKMY)aa36uGDH`2_*3!%) zEUoxy`&>)Qu3{C8_4NrQW?*Ux0I>e#DMAYi0D%0`Qk-jPp*H{g_|t*>JCI;m5FxtV z^cTL~O`WukPzp`9_0I zcm3~=5~2W3Yqj`7qsg|9OxTP@u@nyD&(J155(2Lz4QbBg*jfyS$Is;Dg->gB7M(_8%(jy(kfOxvm87AGK%o77 dBoY9C{{Z8$m6Y5Yft&yU002ovPDHLkV1f+H#*qL3 literal 0 HcmV?d00001 diff --git a/app/assets/javascripts/orbitdesktop.js b/app/assets/javascripts/orbitdesktop.js index 03efc5dd..62556aec 100755 --- a/app/assets/javascripts/orbitdesktop.js +++ b/app/assets/javascripts/orbitdesktop.js @@ -15,7 +15,7 @@ var orbitDesktop = function(dom){ this.sectionList; this.initialize = function(){ var theme = o.theme; - $.getJSON("/desktop/get_desktop_settings",{id:o.desktopId},function(desktopSettings){ + $.getJSON("/desktop/get_desktop_settings",{"get":"desktop","desktopid":o.desktopId},function(desktopSettings){ if(desktopSettings){ theme = desktopSettings.theme; o.theme = theme; @@ -103,20 +103,20 @@ var orbitDesktop = function(dom){ var bindHandlers = function(){ var groupWrapperWidth = 0; var groupWrapperHeight = 0; - $(".element").mousedown(function(){ + $("div#desktop .element").mousedown(function(){ currentElement = $(this); elementParent = $(this).parent(); }) - $(".group").mouseenter(function(){ + $("div#desktop .group").mouseenter(function(){ targetParent = $(this); }) - $(".group").each(function(){groupWrapperWidth+=$(this).width();}) + $("div#desktop .group").each(function(){groupWrapperWidth+=$(this).width();}) groupWrapperWidth+=200; groupWrapperHeight = $(".group").height() + 20; // groupWrapperHeight = (groupWrapperHeight > ($(window).height()-extraspace))? $(window).height()-extraspace:groupWrapperHeight; - $("#group_wrapper").css("width",groupWrapperWidth); + $("div#desktop #group_wrapper").css("width",groupWrapperWidth); - $(".grp").sortable({ + $("div#desktop .grp").sortable({ connectWith: ".grp", tolerance: 'pointer' , revert:true, @@ -128,19 +128,19 @@ var orbitDesktop = function(dom){ //targetParent.width(currentElement.width()); var newWidth = targetElementWidth+currentElementWidth; targetParent.css("max-width",newWidth); - var newParentWidth = $("#group_wrapper").width()+currentElementWidth; - $("#group_wrapper").css("width",newParentWidth); + var newParentWidth = $("div#desktop #group_wrapper").width()+currentElementWidth; + $("div#desktop #group_wrapper").css("width",newParentWidth); }else if(targetParent.height()<540){ var newWidth = targetElementWidth - (540-targetElementWidth); targetParent.css("max-width",newWidth); - var newParentWidth = $("#group_wrapper").width()+currentElementWidth; - $("#group_wrapper").css("width",newParentWidth); + var newParentWidth = $("div#desktop #group_wrapper").width()+currentElementWidth; + $("div#desktop #group_wrapper").css("width",newParentWidth); } } }); - $('.tinycanvas').tinyscrollbar({ axis: 'x'}); - $("div.scrollbar").hover(function(){ + $('div#desktop .tinycanvas').tinyscrollbar({ axis: 'x'}); + $("div#desktop div.scrollbar").hover(function(){ $(this).removeClass('op01'); }, function(){ $(this).addClass('op01'); @@ -162,7 +162,7 @@ var orbitDesktop = function(dom){ } var loadTiles = function(id){ - $("div#group_wrapper").empty(); + $("div#desktop div#group_wrapper").empty(); $.getJSON("/desktop/getgroups",{sectionid:id},function(groups){ var tilecolors = o.themesettings.tilecolor; var opacity = ["op05","op06","op07","op08","op09"]; @@ -178,7 +178,7 @@ var orbitDesktop = function(dom){ $li = $('

  • '+tile.title+'

    Loading...
  • '); $group.find("ul").append($li); }) - $("div#group_wrapper").append($group); + $("div#desktop div#group_wrapper").append($group); }) bindHandlers(); o.initializeWidgets(); @@ -191,19 +191,19 @@ var orbitDesktop = function(dom){ var tempstyle=""; if(i==0){ tempstyle = "style='display:none;'"; - $("span#section_heading").text(section.name); + $("div#desktop span#section_heading").text(section.name); } - $("ul#section_list").append($('
  • '+section.name+'
  • ')); + $("div#desktop ul#section_list").append($('
  • '+section.name+'
  • ')); }) bindSecondaryHandlers(); }) } var bindSecondaryHandlers = function(){ - $("ul#section_list li.section_name").click(function(){ - $("li.section_name").show(); + $("div#desktop ul#section_list li.section_name").click(function(){ + $("div#desktop li.section_name").show(); $(this).hide(); - $("span#section_heading").text($(this).text()); + $("div#desktop span#section_heading").text($(this).text()); loadTiles($(this).find("a").attr("href")); }) } @@ -221,49 +221,45 @@ var orbitDesktop = function(dom){ } }; this.tempFunc = function(th){ - //o.notify("This is test notification!!","alert",2) - console.log(th); - $.post("/desktop/save_desktop_settings",{"id":o.desktopId,"theme":th},function(){ - o.notify("Settings Saved!!","success"); - }) + } this.initializeAppSearch = function(target){ o.currenthtml = target; o.currentface = "apps_manager"; var searchArray,allApps; var bindHandlers = function(){ - $("#group_wrapper").css("min-width",$(window).width()-100); - $(".group_search").css("width",$(window).width()-200); + $("div#app_manager #group_wrapper").css("min-width",$(window).width()-100); + $("div#app_manager .group_search").css("width",$(window).width()-200); //for textbox search - $("#searchbox").focus(function(){$(this).val("");}).keyup(function(e){ + $("div#app_manager #searchbox").focus(function(){$(this).val("");}).keyup(function(e){ if($(this).val()){ - $(".search_result").empty(); - $("#seperator").hide(); - searchArray = $(".element:containsi("+$(this).val()+")"); + $("div#app_manager .search_result").empty(); + $("div#app_manager #seperator").hide(); + searchArray = $("div#app_manager .element:containsi("+$(this).val()+")"); if(searchArray.length>0){ - $("#seperator").show(); + $("div#app_manager #seperator").show(); searchArray.each(function(){ var $newelement = $(''); - $(".search_result").prepend($newelement); + $("div#app_manager .search_result").prepend($newelement); }) } - }else{$("#seperator").hide();$(".search_result").empty();} + }else{$("div#app_manager #seperator").hide();$("div#app_manager .search_result").empty();} }).blur(function(){$(this).val("Search");}); //for Alphabet sorting - $("a#alphabet_sort_btn").click(function(){ + $("div#app_manager a#alphabet_sort_btn").click(function(){ switch ($(this).attr("href")){ case "ascending": $(this).attr("href","descending").find(".thmtxt").text("Alphabet [Z-A]"); - allApps = $(".group_search .element").sort(sortAscending); + allApps = $("div#app_manager .group_search .element").sort(sortAscending); break; case "descending": $(this).attr("href","ascending").find(".thmtxt").text("Alphabet [A-Z]"); - allApps = $(".group_search .element").sort(sortDescending); + allApps = $("div#app_manager .group_search .element").sort(sortDescending); break; } - $(".group_search").html(allApps); + $("div#app_manager .group_search").html(allApps); return false; }) $('.tinycanvas').tinyscrollbar({ axis: 'x'}); @@ -295,13 +291,13 @@ var orbitDesktop = function(dom){ o.currentface = "sections"; var elementParent,element,groupWrapperWidth; var bindHandlers = function(){ - $(".group").width(530); - $(".group").each(function(){groupWrapperWidth+=$(this).width();}) + $("div#sections .group").width(530); + $("div#sections .group").each(function(){groupWrapperWidth+=$(this).width();}) groupWrapperWidth+=200; // groupWrapperHeight = $(".group").height() + 20; // groupWrapperHeight = (groupWrapperHeight > ($(window).height()-extraspace))? $(window).height()-extraspace:groupWrapperHeight; - $("#group_wrapper").css("width",groupWrapperWidth); - $("#group_wrapper .to_drop").sortable({ + $("div#sections #group_wrapper").css("width",groupWrapperWidth); + $("div#sections #group_wrapper .to_drop").sortable({ start:function(){ var $elementParent = $(this).parent().parent(); elementParent = $elementParent; @@ -312,7 +308,7 @@ var orbitDesktop = function(dom){ elementParent.find("div.section_label ul li:not(:nth-child(1))").fadeOut(500); } }); - $(".section_label ul li:not(:nth-child(1))").droppable({ + $("div#sections .section_label ul li:not(:nth-child(1))").droppable({ drop:function(){ if($("#"+$(this).attr("data-category")+" .element").length>=24){ o.notify("Section is full.","alert"); @@ -388,7 +384,7 @@ var orbitDesktop = function(dom){ o.currenthtml = target; o.currentface = "settings"; var bindHandlers = function(){ - $("ul#setting_left_nav li a").click(function(){ + $("div#settings ul#setting_left_nav li a").click(function(){ var tfunc = $(this).attr("href"); switch(tfunc){ case "themes": @@ -398,10 +394,10 @@ var orbitDesktop = function(dom){ sections(); break; } - $("ul#setting_left_nav li a").removeClass('thmc1 thmtxt').data('clicked',null); + $("div#settings ul#setting_left_nav li a").removeClass('thmc1 thmtxt').data('clicked',null); $(this).addClass('thmc1 thmtxt').data('clicked',true); }); - $("ul#setting_left_nav li a").hover(function(){ + $("div#settings ul#setting_left_nav li a").hover(function(){ $(this).removeClass('admtxt').addClass('thmc1 thmtxt'); }, function(){ var t = $(this).data('clicked') ? '' : 'thmc1 thmtxt'; @@ -415,9 +411,31 @@ var orbitDesktop = function(dom){ sh = $(this).siblings('.s_tab').height(); $(this).css({'height': h-sh-24}).tinyscrollbar({ axis: 'y'}); }); + + $("a#name_save_btn").click(function(){ + var desktopnm = new Array; + $("#desktop_names input").each(function(){ + desktopnm.push($(this).val()); + }) + $.post("/desktop/save_desktop_settings",{"save":"desktopnames","desktopid":o.desktopId,"desktopnms":desktopnm},function(result,status){ + if(status=="success"){ + if(result[0].success=="true") + o.notify("Names Saved!!","success",2); + else + o.notify("Name saving failed!!","imp",2); + }else{ + o.notify("Connection problem!!","alert",2); + } + }) + }) } - $("div#panel_r").load("/desktop/settingsections",function(){ + $("div#settings div#panel_r").load("/desktop/settingsections",function(){ + $.getJSON("/desktop/get_desktop_settings",{"get":"sectionnames","desktopid":o.desktopId},function(sectionnames){ + $("#desktop_names input").each(function(i){ + $(this).val(sectionnames[i]); + }) bindHandlers(); + }) }) } @@ -427,7 +445,16 @@ var orbitDesktop = function(dom){ o.changeTheme($(this).find('.theme_name').text()); $(".theme_list > li").removeClass('thmc1').data('clicked',null).find('.theme_name').removeClass('thmtxt'); $(this).addClass('thmc1').data('clicked',true).find('.theme_name').addClass('thmtxt'); - od.tempFunc($(this).text()); + $.post("/desktop/save_desktop_settings",{"save":"theme","desktopid":o.desktopId,"theme":$(this).text()},function(result,status){ + if(status=="success"){ + if(result[0].success=="true") + o.notify("Theme Saved!!","success",2); + else + o.notify("Theme saving failed!!","imp",2); + }else{ + o.notify("Connection problem!!","alert",2); + } + }); }); $('.tinycanvas').each(function(){ var h = $(this).parent().height(), @@ -460,8 +487,11 @@ var orbitDesktop = function(dom){ }); } - $("div#panel_r").load("/desktop/settingthemes",function(){ + $("div#settings div#panel_r").load("/desktop/settingthemes",function(){ + $.getJSON("/desktop/get_desktop_settings",{"get":"theme","desktopid":o.desktopId},function(theme){ + $("#st1 ul.theme_list li:containsi("+theme+")").addClass("thmc1").find("span").addClass("thmtxt"); bindHandlers(); + }) }) } @@ -510,7 +540,7 @@ orbitDesktop.prototype.widgetfolder = "desktop_widgets"; orbitDesktop.prototype.desktopId = "1"; orbitDesktop.prototype.notifyImgPath = "temp"; orbitDesktop.prototype.iconPath = "/assets/icons/"; - +orbitDesktop.prototype.currentLanguage = "en"; var uselessfunction = function(){ $.post("/desktop/temp_func",{sectionid:"4f83e7bbbd98eb041600001d"}); } diff --git a/app/assets/stylesheets/desktopmain.css b/app/assets/stylesheets/desktopmain.css index f862c7bd..35121f3d 100644 --- a/app/assets/stylesheets/desktopmain.css +++ b/app/assets/stylesheets/desktopmain.css @@ -271,7 +271,7 @@ a:focus { outline: none; } .theme_plate > div:first-child { margin-right: 48px;} .s_title { font-size: 15px; line-height: 60px; text-align: left; } .s_action { padding: 24px 0; overflow: hidden; } -#theme_submit { +.setting_btn { display: block; float: right; font-size: 15px; diff --git a/app/controllers/desktop_controller.rb b/app/controllers/desktop_controller.rb index 2706fc8a..4cf425a2 100644 --- a/app/controllers/desktop_controller.rb +++ b/app/controllers/desktop_controller.rb @@ -35,16 +35,42 @@ class DesktopController< ApplicationController #ajax data load.... def save_desktop_settings - @desktop = Desktop.find(params["id"]) - @desktop.update_attributes(:theme => params["theme"]) + @desktop = Desktop.find(params["desktopid"]) + @savewhat = params["save"] + case @savewhat + when "theme" + @desktop.update_attributes(:theme => params["theme"]) + when "desktopnames" + @sections = @desktop.sections + x = 0; + @sections.each do |section| + @desktopnewnames = params["desktopnms"] + section.update_attributes(:name => @desktopnewnames[x] ) + x = x+1 + end + end a = Array.new a << {"success"=>"true"} render :json=>a.to_json end def get_desktop_settings - @desktop = Desktop.find(params["id"]) - render :json => @desktop.to_json + @desktop = Desktop.find(params["desktopid"]) + @getwhat = params["get"] + case @getwhat + when "desktop" + render :json => @desktop.to_json + when "sectionnames" + secnames = Array.new + @sections = @desktop.sections + @sections.each do |section| + secnames << section.name + end + render :json => secnames.to_json + when "theme" + @theme = @desktop.theme + render :json => @theme.to_json + end end def getgroups diff --git a/app/views/desktop/index.html.erb b/app/views/desktop/index.html.erb index 9e9eef50..fb3cf642 100755 --- a/app/views/desktop/index.html.erb +++ b/app/views/desktop/index.html.erb @@ -59,6 +59,7 @@
    +
    @@ -81,6 +82,7 @@ orbitDesktop.prototype.notifyImgPath = "/assets/"; orbitDesktop.prototype.desktopId = "<%= @desktop.id %>"; orbitDesktop.prototype.sectionId = "<%= @section.id %>"; + orbitDesktop.prototype.currentLanguage = "<%= I18n.locale %>"; //uselessfunction(); var od = new orbitDesktop("#ajax_container"); o.notify("Notification Working!!","imp",3) diff --git a/app/views/desktop/settings.html.erb b/app/views/desktop/settings.html.erb index 7d29ea8a..df41ef60 100644 --- a/app/views/desktop/settings.html.erb +++ b/app/views/desktop/settings.html.erb @@ -22,15 +22,6 @@
    -
    \ No newline at end of file diff --git a/app/views/desktop/settings/sections.html.erb b/app/views/desktop/settings/sections.html.erb index 784d0fd2..02e538d8 100644 --- a/app/views/desktop/settings/sections.html.erb +++ b/app/views/desktop/settings/sections.html.erb @@ -1,19 +1,18 @@ -
    +
    Sections Name
    -
      -
    • -
    • -
    • -
    • +
        +
      • +
      • +
      • +
    -
    \ No newline at end of file diff --git a/app/views/desktop/settings/themes.html.erb b/app/views/desktop/settings/themes.html.erb index f43d4509..061be9aa 100644 --- a/app/views/desktop/settings/themes.html.erb +++ b/app/views/desktop/settings/themes.html.erb @@ -1,4 +1,3 @@ -
    • Select Theme
    • @@ -11,21 +10,13 @@
        -
      • default
      • +
      • default
      • snake
      • sexy
      • vintage
      • natural
      • chris
      • Wood
      • -
      • Wood
      • -
      • Wood
      • -
      • Wood
      • -
      • Wood
      • -
      • Wood
      • -
      • Wood
      • -
      • Wood
      • -
      • Wood
      @@ -66,12 +57,11 @@
    - \ No newline at end of file diff --git a/app/views/layouts/_orbit_bar.html.erb b/app/views/layouts/_orbit_bar.html.erb index 2322b62f..0ab9af1a 100644 --- a/app/views/layouts/_orbit_bar.html.erb +++ b/app/views/layouts/_orbit_bar.html.erb @@ -15,7 +15,7 @@