diff --git a/.gitignore b/.gitignore index b57fdb65e..412920612 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,5 @@ public/assets config/application.rb .rvmrc + +app/assets/javascripts/.DS_Store diff --git a/Gemfile b/Gemfile index 7e63e3530..abf87c594 100644 --- a/Gemfile +++ b/Gemfile @@ -27,9 +27,12 @@ gem 'resque-restriction' gem 'ruby-debug19' gem 'rubyzip' gem 'sinatra' +#gem 'sinatra-contrib' gem 'sprockets' gem 'tinymce-rails' gem 'therubyracer' if RUBY_PLATFORM.downcase.include?("linux") +gem 'mongoid-encryptor', :require => 'mongoid/encryptor' +#gem 'contacts' gem "impressionist", :require => "impressionist", :path => "vendor/impressionist" diff --git a/Gemfile.lock b/Gemfile.lock index f6bc8bfd8..afec15c8c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,11 +1,10 @@ GIT remote: git://github.com/amatsuda/kaminari.git - revision: 118927a42e57d6608c10d85b8a62acfc7c175974 + revision: 82a38e07db1ca1598c8daf073a8f6be22ae714d6 specs: kaminari (0.13.0) actionpack (>= 3.0.0) activesupport (>= 3.0.0) - railties (>= 3.0.0) PATH remote: vendor/impressionist @@ -84,6 +83,7 @@ GEM orm_adapter (~> 0.0.3) warden (~> 1.1) diff-lcs (1.1.3) + encrypted_strings (0.3.3) erubis (2.7.0) exception_notification (2.5.2) actionmailer (>= 3.0.4) @@ -126,6 +126,10 @@ GEM activemodel (~> 3.1) mongo (~> 1.3) tzinfo (~> 0.3.22) + mongoid-encryptor (0.0.5) + activesupport (~> 3.0) + encrypted_strings (~> 0.3.3) + mongoid (~> 2) mongoid-tree (0.7.0) mongoid (~> 2.0) multi_json (1.1.0) @@ -288,6 +292,7 @@ DEPENDENCIES mini_magick mongo_session_store-rails3 mongoid + mongoid-encryptor mongoid-tree nokogiri radius diff --git a/app/assets/fonts/desktop/fontawesome-webfont.eot b/app/assets/fonts/desktop/fontawesome-webfont.eot new file mode 100755 index 000000000..89070c1e6 Binary files /dev/null and b/app/assets/fonts/desktop/fontawesome-webfont.eot differ diff --git a/app/assets/fonts/desktop/fontawesome-webfont.svg b/app/assets/fonts/desktop/fontawesome-webfont.svg new file mode 100755 index 000000000..1245f92c2 --- /dev/null +++ b/app/assets/fonts/desktop/fontawesome-webfont.svg @@ -0,0 +1,255 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/assets/fonts/desktop/fontawesome-webfont.ttf b/app/assets/fonts/desktop/fontawesome-webfont.ttf new file mode 100755 index 000000000..c17e9f8d1 Binary files /dev/null and b/app/assets/fonts/desktop/fontawesome-webfont.ttf differ diff --git a/app/assets/fonts/desktop/fontawesome-webfont.woff b/app/assets/fonts/desktop/fontawesome-webfont.woff new file mode 100755 index 000000000..09f2469a1 Binary files /dev/null and b/app/assets/fonts/desktop/fontawesome-webfont.woff differ diff --git a/app/assets/images/connection/Thumbs.db b/app/assets/images/connection/Thumbs.db new file mode 100755 index 000000000..47897e3f3 Binary files /dev/null and b/app/assets/images/connection/Thumbs.db differ diff --git a/app/assets/images/connection/facebook.png b/app/assets/images/connection/facebook.png new file mode 100755 index 000000000..f8c4f2190 Binary files /dev/null and b/app/assets/images/connection/facebook.png differ diff --git a/app/assets/images/connection/gmail.png b/app/assets/images/connection/gmail.png new file mode 100755 index 000000000..ec897f23f Binary files /dev/null and b/app/assets/images/connection/gmail.png differ diff --git a/app/assets/images/connection/twitter.png b/app/assets/images/connection/twitter.png new file mode 100755 index 000000000..a8071eea1 Binary files /dev/null and b/app/assets/images/connection/twitter.png differ diff --git a/app/assets/images/facebook.png b/app/assets/images/facebook.png new file mode 100644 index 000000000..3bfe4bac2 Binary files /dev/null and b/app/assets/images/facebook.png differ diff --git a/app/assets/images/gmail.png b/app/assets/images/gmail.png new file mode 100644 index 000000000..dd2d70a82 Binary files /dev/null and b/app/assets/images/gmail.png differ diff --git a/app/assets/images/icons/bookkeeper.png b/app/assets/images/icons/bookkeeper.png new file mode 100755 index 000000000..41b3bf260 Binary files /dev/null and b/app/assets/images/icons/bookkeeper.png differ diff --git a/app/assets/images/icons/calendar.png b/app/assets/images/icons/calendar.png new file mode 100755 index 000000000..a2f6ae714 Binary files /dev/null and b/app/assets/images/icons/calendar.png differ diff --git a/app/assets/images/icons/dailyenglish.png b/app/assets/images/icons/dailyenglish.png new file mode 100644 index 000000000..c820bd610 Binary files /dev/null and b/app/assets/images/icons/dailyenglish.png differ diff --git a/app/assets/images/icons/diary.png b/app/assets/images/icons/diary.png new file mode 100755 index 000000000..38bfa20ca Binary files /dev/null and b/app/assets/images/icons/diary.png differ diff --git a/app/assets/images/icons/doc.png b/app/assets/images/icons/doc.png new file mode 100755 index 000000000..36cb273b8 Binary files /dev/null and b/app/assets/images/icons/doc.png differ diff --git a/app/assets/images/icons/facebook.png b/app/assets/images/icons/facebook.png new file mode 100755 index 000000000..03c3ddd51 Binary files /dev/null and b/app/assets/images/icons/facebook.png differ diff --git a/app/assets/images/icons/gmail.png b/app/assets/images/icons/gmail.png new file mode 100755 index 000000000..44ff25b73 Binary files /dev/null and b/app/assets/images/icons/gmail.png differ diff --git a/app/assets/images/icons/iclock.png b/app/assets/images/icons/iclock.png new file mode 100755 index 000000000..4200755e5 Binary files /dev/null and b/app/assets/images/icons/iclock.png differ diff --git a/app/assets/images/icons/movies.png b/app/assets/images/icons/movies.png new file mode 100755 index 000000000..6e75b450e Binary files /dev/null and b/app/assets/images/icons/movies.png differ diff --git a/app/assets/images/icons/musicbox.png b/app/assets/images/icons/musicbox.png new file mode 100755 index 000000000..6071215f4 Binary files /dev/null and b/app/assets/images/icons/musicbox.png differ diff --git a/app/assets/images/icons/newsfeed.png b/app/assets/images/icons/newsfeed.png new file mode 100755 index 000000000..cb20cd921 Binary files /dev/null and b/app/assets/images/icons/newsfeed.png differ diff --git a/app/assets/images/icons/quotes.png b/app/assets/images/icons/quotes.png new file mode 100644 index 000000000..d22866fd4 Binary files /dev/null and b/app/assets/images/icons/quotes.png differ diff --git a/app/assets/images/icons/talk.png b/app/assets/images/icons/talk.png new file mode 100755 index 000000000..6f498870c Binary files /dev/null and b/app/assets/images/icons/talk.png differ diff --git a/app/assets/images/icons/ted.png b/app/assets/images/icons/ted.png new file mode 100755 index 000000000..d9063ce07 Binary files /dev/null and b/app/assets/images/icons/ted.png differ diff --git a/app/assets/images/icons/weather.png b/app/assets/images/icons/weather.png new file mode 100755 index 000000000..d70334399 Binary files /dev/null and b/app/assets/images/icons/weather.png differ diff --git a/app/assets/images/icons/youtube.png b/app/assets/images/icons/youtube.png new file mode 100755 index 000000000..400ce4c1e Binary files /dev/null and b/app/assets/images/icons/youtube.png differ diff --git a/app/assets/images/linkedin.png b/app/assets/images/linkedin.png new file mode 100644 index 000000000..3c9898027 Binary files /dev/null and b/app/assets/images/linkedin.png differ diff --git a/app/assets/images/miniColors/circle.gif b/app/assets/images/miniColors/circle.gif new file mode 100755 index 000000000..599f7f13a Binary files /dev/null and b/app/assets/images/miniColors/circle.gif differ diff --git a/app/assets/images/miniColors/gradient.png b/app/assets/images/miniColors/gradient.png new file mode 100755 index 000000000..561cdd9c5 Binary files /dev/null and b/app/assets/images/miniColors/gradient.png differ diff --git a/app/assets/images/miniColors/line.gif b/app/assets/images/miniColors/line.gif new file mode 100755 index 000000000..9eb198378 Binary files /dev/null and b/app/assets/images/miniColors/line.gif differ diff --git a/app/assets/images/miniColors/rainbow.png b/app/assets/images/miniColors/rainbow.png new file mode 100755 index 000000000..8d6c71bf9 Binary files /dev/null and b/app/assets/images/miniColors/rainbow.png differ diff --git a/app/assets/images/miniColors/trigger.png b/app/assets/images/miniColors/trigger.png new file mode 100755 index 000000000..8c169fd60 Binary files /dev/null and b/app/assets/images/miniColors/trigger.png differ diff --git a/app/assets/images/note_alert.png b/app/assets/images/note_alert.png new file mode 100644 index 000000000..6ebda48e6 Binary files /dev/null and b/app/assets/images/note_alert.png differ diff --git a/app/assets/images/note_imp.png b/app/assets/images/note_imp.png new file mode 100644 index 000000000..eb1306a98 Binary files /dev/null and b/app/assets/images/note_imp.png differ diff --git a/app/assets/images/note_success.png b/app/assets/images/note_success.png new file mode 100644 index 000000000..5d5ae2ad1 Binary files /dev/null and b/app/assets/images/note_success.png differ diff --git a/app/assets/images/sample_theme.jpg b/app/assets/images/sample_theme.jpg new file mode 100755 index 000000000..03945979e Binary files /dev/null and b/app/assets/images/sample_theme.jpg differ diff --git a/app/assets/images/stockBackground/1.jpg b/app/assets/images/stockBackground/1.jpg new file mode 100755 index 000000000..5981dcf28 Binary files /dev/null and b/app/assets/images/stockBackground/1.jpg differ diff --git a/app/assets/images/stockBackground/10.jpg b/app/assets/images/stockBackground/10.jpg new file mode 100755 index 000000000..3b1faa7f3 Binary files /dev/null and b/app/assets/images/stockBackground/10.jpg differ diff --git a/app/assets/images/stockBackground/11.jpg b/app/assets/images/stockBackground/11.jpg new file mode 100755 index 000000000..88ab7bdfb Binary files /dev/null and b/app/assets/images/stockBackground/11.jpg differ diff --git a/app/assets/images/stockBackground/12.jpg b/app/assets/images/stockBackground/12.jpg new file mode 100755 index 000000000..e93851317 Binary files /dev/null and b/app/assets/images/stockBackground/12.jpg differ diff --git a/app/assets/images/stockBackground/2.jpg b/app/assets/images/stockBackground/2.jpg new file mode 100755 index 000000000..9fed12fc8 Binary files /dev/null and b/app/assets/images/stockBackground/2.jpg differ diff --git a/app/assets/images/stockBackground/3.jpg b/app/assets/images/stockBackground/3.jpg new file mode 100755 index 000000000..7a2cf18aa Binary files /dev/null and b/app/assets/images/stockBackground/3.jpg differ diff --git a/app/assets/images/stockBackground/4.jpg b/app/assets/images/stockBackground/4.jpg new file mode 100755 index 000000000..c2bfc14e7 Binary files /dev/null and b/app/assets/images/stockBackground/4.jpg differ diff --git a/app/assets/images/stockBackground/5.jpg b/app/assets/images/stockBackground/5.jpg new file mode 100755 index 000000000..0db9de938 Binary files /dev/null and b/app/assets/images/stockBackground/5.jpg differ diff --git a/app/assets/images/stockBackground/6.jpg b/app/assets/images/stockBackground/6.jpg new file mode 100755 index 000000000..867ad0f94 Binary files /dev/null and b/app/assets/images/stockBackground/6.jpg differ diff --git a/app/assets/images/stockBackground/7.jpg b/app/assets/images/stockBackground/7.jpg new file mode 100755 index 000000000..370313a28 Binary files /dev/null and b/app/assets/images/stockBackground/7.jpg differ diff --git a/app/assets/images/stockBackground/8.jpg b/app/assets/images/stockBackground/8.jpg new file mode 100755 index 000000000..919fabf47 Binary files /dev/null and b/app/assets/images/stockBackground/8.jpg differ diff --git a/app/assets/images/stockBackground/9.jpg b/app/assets/images/stockBackground/9.jpg new file mode 100755 index 000000000..3bba544eb Binary files /dev/null and b/app/assets/images/stockBackground/9.jpg differ diff --git a/app/assets/images/stockBackground/thumb/1.jpg b/app/assets/images/stockBackground/thumb/1.jpg new file mode 100755 index 000000000..38b235866 Binary files /dev/null and b/app/assets/images/stockBackground/thumb/1.jpg differ diff --git a/app/assets/images/stockBackground/thumb/10.jpg b/app/assets/images/stockBackground/thumb/10.jpg new file mode 100755 index 000000000..481bc866c Binary files /dev/null and b/app/assets/images/stockBackground/thumb/10.jpg differ diff --git a/app/assets/images/stockBackground/thumb/11.jpg b/app/assets/images/stockBackground/thumb/11.jpg new file mode 100755 index 000000000..ca304dede Binary files /dev/null and b/app/assets/images/stockBackground/thumb/11.jpg differ diff --git a/app/assets/images/stockBackground/thumb/12.jpg b/app/assets/images/stockBackground/thumb/12.jpg new file mode 100755 index 000000000..83cd444ab Binary files /dev/null and b/app/assets/images/stockBackground/thumb/12.jpg differ diff --git a/app/assets/images/stockBackground/thumb/2.jpg b/app/assets/images/stockBackground/thumb/2.jpg new file mode 100755 index 000000000..14254a1e9 Binary files /dev/null and b/app/assets/images/stockBackground/thumb/2.jpg differ diff --git a/app/assets/images/stockBackground/thumb/3.jpg b/app/assets/images/stockBackground/thumb/3.jpg new file mode 100755 index 000000000..cc2047e68 Binary files /dev/null and b/app/assets/images/stockBackground/thumb/3.jpg differ diff --git a/app/assets/images/stockBackground/thumb/4.jpg b/app/assets/images/stockBackground/thumb/4.jpg new file mode 100755 index 000000000..2fbe5929e Binary files /dev/null and b/app/assets/images/stockBackground/thumb/4.jpg differ diff --git a/app/assets/images/stockBackground/thumb/5.jpg b/app/assets/images/stockBackground/thumb/5.jpg new file mode 100755 index 000000000..d93957379 Binary files /dev/null and b/app/assets/images/stockBackground/thumb/5.jpg differ diff --git a/app/assets/images/stockBackground/thumb/6.jpg b/app/assets/images/stockBackground/thumb/6.jpg new file mode 100755 index 000000000..9661a8c7e Binary files /dev/null and b/app/assets/images/stockBackground/thumb/6.jpg differ diff --git a/app/assets/images/stockBackground/thumb/7.jpg b/app/assets/images/stockBackground/thumb/7.jpg new file mode 100755 index 000000000..697ae27a1 Binary files /dev/null and b/app/assets/images/stockBackground/thumb/7.jpg differ diff --git a/app/assets/images/stockBackground/thumb/8.jpg b/app/assets/images/stockBackground/thumb/8.jpg new file mode 100755 index 000000000..25a479799 Binary files /dev/null and b/app/assets/images/stockBackground/thumb/8.jpg differ diff --git a/app/assets/images/stockBackground/thumb/9.jpg b/app/assets/images/stockBackground/thumb/9.jpg new file mode 100755 index 000000000..e7dd60e0d Binary files /dev/null and b/app/assets/images/stockBackground/thumb/9.jpg differ diff --git a/app/assets/images/timeline/date_connector.png b/app/assets/images/timeline/date_connector.png new file mode 100644 index 000000000..66ee903b6 Binary files /dev/null and b/app/assets/images/timeline/date_connector.png differ diff --git a/app/assets/images/timeline/pp.png b/app/assets/images/timeline/pp.png new file mode 100644 index 000000000..029c483b4 Binary files /dev/null and b/app/assets/images/timeline/pp.png differ diff --git a/app/assets/images/timeline/ruler.png b/app/assets/images/timeline/ruler.png new file mode 100644 index 000000000..35f38afa6 Binary files /dev/null and b/app/assets/images/timeline/ruler.png differ diff --git a/app/assets/images/twitter.png b/app/assets/images/twitter.png new file mode 100644 index 000000000..8b8fac07a Binary files /dev/null and b/app/assets/images/twitter.png differ diff --git a/app/assets/javascripts/.DS_Store b/app/assets/javascripts/.DS_Store deleted file mode 100644 index 9134f2a58..000000000 Binary files a/app/assets/javascripts/.DS_Store and /dev/null differ diff --git a/app/assets/javascripts/desktop.js b/app/assets/javascripts/desktop.js new file mode 100644 index 000000000..7bfcb0b58 --- /dev/null +++ b/app/assets/javascripts/desktop.js @@ -0,0 +1,15 @@ +// This is a manifest file that'll be compiled into including all the files listed below. +// Add new JavaScript/Coffee code in separate files in this directory and they'll automatically +// be included in the compiled file accessible from http://example.com/assets/application.js +// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the +// the compiled file. +// +//= require jquery +//= require jquery_ujs +//= require jquery-ui +//= require jquery.tinyscrollbar +//= require jquery.miniColors.min +//= require bootstrap +//= require orbitdesktopAPI +//= require orbitTimeline +//= require orbitdesktop \ No newline at end of file diff --git a/app/assets/javascripts/desktopload.js.erb b/app/assets/javascripts/desktopload.js.erb new file mode 100644 index 000000000..c4e9d1e7a --- /dev/null +++ b/app/assets/javascripts/desktopload.js.erb @@ -0,0 +1,6 @@ + +orbitDesktop.prototype.themefolder = "desktop_themes"; +orbitDesktopAPI.prototype.notifyImgPath = "/assets/"; +alert("<%= @desktop.inspect %>") +var od = new orbitDesktop("#ajax_container"); + diff --git a/app/assets/javascripts/jquery.miniColors.min.js b/app/assets/javascripts/jquery.miniColors.min.js new file mode 100755 index 000000000..25dcfa0e0 --- /dev/null +++ b/app/assets/javascripts/jquery.miniColors.min.js @@ -0,0 +1,9 @@ +/* + * jQuery miniColors: A small color selector + * + * Copyright 2011 Cory LaViska for A Beautiful Site, LLC. (http://abeautifulsite.net/) + * + * Dual licensed under the MIT or GPL Version 2 licenses + * +*/ +if(jQuery)(function($){$.extend($.fn,{miniColors:function(o,data){var create=function(input,o,data){var color=expandHex(input.val());if(!color)color='ffffff';var hsb=hex2hsb(color);var trigger=$('');trigger.insertAfter(input);input.addClass('miniColors').data('original-maxlength',input.attr('maxlength')||null).data('original-autocomplete',input.attr('autocomplete')||null).data('letterCase','uppercase').data('trigger',trigger).data('hsb',hsb).data('change',o.change?o.change:null).attr('maxlength',7).attr('autocomplete','off').val('#'+convertCase(color,o.letterCase));if(o.readonly)input.prop('readonly',true);if(o.disabled)disable(input);trigger.bind('click.miniColors',function(event){event.preventDefault();if(input.val()==='')input.val('#');show(input)});input.bind('focus.miniColors',function(event){if(input.val()==='')input.val('#');show(input)});input.bind('blur.miniColors',function(event){var hex=expandHex(input.val());input.val(hex?'#'+convertCase(hex,input.data('letterCase')):'')});input.bind('keydown.miniColors',function(event){if(event.keyCode===9)hide(input)});input.bind('keyup.miniColors',function(event){setColorFromInput(input)});input.bind('paste.miniColors',function(event){setTimeout(function(){setColorFromInput(input)},5)})};var destroy=function(input){hide();input=$(input);input.data('trigger').remove();input.attr('autocomplete',input.data('original-autocomplete')).attr('maxlength',input.data('original-maxlength')).removeData().removeClass('miniColors').unbind('.miniColors');$(document).unbind('.miniColors')};var enable=function(input){input.prop('disabled',false).data('trigger').css('opacity',1)};var disable=function(input){hide(input);input.prop('disabled',true).data('trigger').css('opacity',0.5)};var show=function(input){if(input.prop('disabled'))return false;hide();var selector=$('
');selector.append('
').append('
').css({top:input.is(':visible')?input.offset().top+input.outerHeight():input.data('trigger').offset().top+input.data('trigger').outerHeight(),left:input.is(':visible')?input.offset().left:input.data('trigger').offset().left,display:'none'}).addClass(input.attr('class'));var hsb=input.data('hsb');selector.find('.miniColors-colors').css('backgroundColor','#'+hsb2hex({h:hsb.h,s:100,b:100}));var colorPosition=input.data('colorPosition');if(!colorPosition)colorPosition=getColorPositionFromHSB(hsb);selector.find('.miniColors-colorPicker').css('top',colorPosition.y+'px').css('left',colorPosition.x+'px');var huePosition=input.data('huePosition');if(!huePosition)huePosition=getHuePositionFromHSB(hsb);selector.find('.miniColors-huePicker').css('top',huePosition.y+'px');input.data('selector',selector).data('huePicker',selector.find('.miniColors-huePicker')).data('colorPicker',selector.find('.miniColors-colorPicker')).data('mousebutton',0);$('BODY').append(selector);selector.fadeIn(100);selector.bind('selectstart',function(){return false});$(document).bind('mousedown.miniColors touchstart.miniColors',function(event){input.data('mousebutton',1);if($(event.target).parents().andSelf().hasClass('miniColors-colors')){event.preventDefault();input.data('moving','colors');moveColor(input,event)}if($(event.target).parents().andSelf().hasClass('miniColors-hues')){event.preventDefault();input.data('moving','hues');moveHue(input,event)}if($(event.target).parents().andSelf().hasClass('miniColors-selector')){event.preventDefault();return}if($(event.target).parents().andSelf().hasClass('miniColors'))return;hide(input)});$(document).bind('mouseup.miniColors touchend.miniColors',function(event){event.preventDefault();input.data('mousebutton',0).removeData('moving')}).bind('mousemove.miniColors touchmove.miniColors',function(event){event.preventDefault();if(input.data('mousebutton')===1){if(input.data('moving')==='colors')moveColor(input,event);if(input.data('moving')==='hues')moveHue(input,event)}})};var hide=function(input){if(!input)input='.miniColors';$(input).each(function(){var selector=$(this).data('selector');$(this).removeData('selector');$(selector).fadeOut(100,function(){$(this).remove()})});$(document).unbind('.miniColors')};var moveColor=function(input,event){var colorPicker=input.data('colorPicker');colorPicker.hide();var position={x:event.pageX,y:event.pageY};if(event.originalEvent.changedTouches){position.x=event.originalEvent.changedTouches[0].pageX;position.y=event.originalEvent.changedTouches[0].pageY}position.x=position.x-input.data('selector').find('.miniColors-colors').offset().left-5;position.y=position.y-input.data('selector').find('.miniColors-colors').offset().top-5;if(position.x<=-5)position.x=-5;if(position.x>=144)position.x=144;if(position.y<=-5)position.y=-5;if(position.y>=144)position.y=144;input.data('colorPosition',position);colorPicker.css('left',position.x).css('top',position.y).show();var s=Math.round((position.x+5)*0.67);if(s<0)s=0;if(s>100)s=100;var b=100-Math.round((position.y+5)*0.67);if(b<0)b=0;if(b>100)b=100;var hsb=input.data('hsb');hsb.s=s;hsb.b=b;setColor(input,hsb,true)};var moveHue=function(input,event){var huePicker=input.data('huePicker');huePicker.hide();var position={y:event.pageY};if(event.originalEvent.changedTouches){position.y=event.originalEvent.changedTouches[0].pageY}position.y=position.y-input.data('selector').find('.miniColors-colors').offset().top-1;if(position.y<=-1)position.y=-1;if(position.y>=149)position.y=149;input.data('huePosition',position);huePicker.css('top',position.y).show();var h=Math.round((150-position.y-1)*2.4);if(h<0)h=0;if(h>360)h=360;var hsb=input.data('hsb');hsb.h=h;setColor(input,hsb,true)};var setColor=function(input,hsb,updateInput){input.data('hsb',hsb);var hex=hsb2hex(hsb);if(updateInput)input.val('#'+convertCase(hex,input.data('letterCase')));input.data('trigger').css('backgroundColor','#'+hex);if(input.data('selector'))input.data('selector').find('.miniColors-colors').css('backgroundColor','#'+hsb2hex({h:hsb.h,s:100,b:100}));if(input.data('change')){if(hex===input.data('lastChange'))return;input.data('change').call(input.get(0),'#'+hex,hsb2rgb(hsb));input.data('lastChange',hex)}};var setColorFromInput=function(input){input.val('#'+cleanHex(input.val()));var hex=expandHex(input.val());if(!hex)return false;var hsb=hex2hsb(hex);var currentHSB=input.data('hsb');if(hsb.h===currentHSB.h&&hsb.s===currentHSB.s&&hsb.b===currentHSB.b)return true;var colorPosition=getColorPositionFromHSB(hsb);var colorPicker=$(input.data('colorPicker'));colorPicker.css('top',colorPosition.y+'px').css('left',colorPosition.x+'px');input.data('colorPosition',colorPosition);var huePosition=getHuePositionFromHSB(hsb);var huePicker=$(input.data('huePicker'));huePicker.css('top',huePosition.y+'px');input.data('huePosition',huePosition);setColor(input,hsb);return true};var convertCase=function(string,letterCase){if(letterCase==='lowercase')return string.toLowerCase();if(letterCase==='uppercase')return string.toUpperCase();return string};var getColorPositionFromHSB=function(hsb){var x=Math.ceil(hsb.s/0.67);if(x<0)x=0;if(x>150)x=150;var y=150-Math.ceil(hsb.b/0.67);if(y<0)y=0;if(y>150)y=150;return{x:x-5,y:y-5}};var getHuePositionFromHSB=function(hsb){var y=150-(hsb.h/2.4);if(y<0)h=0;if(y>150)h=150;return{y:y-1}};var cleanHex=function(hex){return hex.replace(/[^A-F0-9]/ig,'')};var expandHex=function(hex){hex=cleanHex(hex);if(!hex)return null;if(hex.length===3)hex=hex[0]+hex[0]+hex[1]+hex[1]+hex[2]+hex[2];return hex.length===6?hex:null};var hsb2rgb=function(hsb){var rgb={};var h=Math.round(hsb.h);var s=Math.round(hsb.s*255/100);var v=Math.round(hsb.b*255/100);if(s===0){rgb.r=rgb.g=rgb.b=v}else{var t1=v;var t2=(255-s)*v/255;var t3=(t1-t2)*(h%60)/60;if(h===360)h=0;if(h<60){rgb.r=t1;rgb.b=t2;rgb.g=t2+t3}else if(h<120){rgb.g=t1;rgb.b=t2;rgb.r=t1-t3}else if(h<180){rgb.g=t1;rgb.r=t2;rgb.b=t2+t3}else if(h<240){rgb.b=t1;rgb.r=t2;rgb.g=t1-t3}else if(h<300){rgb.b=t1;rgb.g=t2;rgb.r=t2+t3}else if(h<360){rgb.r=t1;rgb.g=t2;rgb.b=t1-t3}else{rgb.r=0;rgb.g=0;rgb.b=0}}return{r:Math.round(rgb.r),g:Math.round(rgb.g),b:Math.round(rgb.b)}};var rgb2hex=function(rgb){var hex=[rgb.r.toString(16),rgb.g.toString(16),rgb.b.toString(16)];$.each(hex,function(nr,val){if(val.length===1)hex[nr]='0'+val});return hex.join('')};var hex2rgb=function(hex){hex=parseInt(((hex.indexOf('#')>-1)?hex.substring(1):hex),16);return{r:hex>>16,g:(hex&0x00FF00)>>8,b:(hex&0x0000FF)}};var rgb2hsb=function(rgb){var hsb={h:0,s:0,b:0};var min=Math.min(rgb.r,rgb.g,rgb.b);var max=Math.max(rgb.r,rgb.g,rgb.b);var delta=max-min;hsb.b=max;hsb.s=max!==0?255*delta/max:0;if(hsb.s!==0){if(rgb.r===max){hsb.h=(rgb.g-rgb.b)/delta}else if(rgb.g===max){hsb.h=2+(rgb.b-rgb.r)/delta}else{hsb.h=4+(rgb.r-rgb.g)/delta}}else{hsb.h=-1}hsb.h*=60;if(hsb.h<0){hsb.h+=360}hsb.s*=100/255;hsb.b*=100/255;return hsb};var hex2hsb=function(hex){var hsb=rgb2hsb(hex2rgb(hex));if(hsb.s===0)hsb.h=360;return hsb};var hsb2hex=function(hsb){return rgb2hex(hsb2rgb(hsb))};switch(o){case'readonly':$(this).each(function(){if(!$(this).hasClass('miniColors'))return;$(this).prop('readonly',data)});return $(this);case'disabled':$(this).each(function(){if(!$(this).hasClass('miniColors'))return;if(data){disable($(this))}else{enable($(this))}});return $(this);case'value':if(data===undefined){if(!$(this).hasClass('miniColors'))return;var input=$(this),hex=expandHex(input.val());return hex?'#'+convertCase(hex,input.data('letterCase')):null}$(this).each(function(){if(!$(this).hasClass('miniColors'))return;$(this).val(data);setColorFromInput($(this))});return $(this);case'destroy':$(this).each(function(){if(!$(this).hasClass('miniColors'))return;destroy($(this))});return $(this);default:if(!o)o={};$(this).each(function(){if($(this)[0].tagName.toLowerCase()!=='input')return;if($(this).data('trigger'))return;create($(this),o,data)});return $(this)}}})})(jQuery); \ No newline at end of file diff --git a/app/assets/javascripts/jquery.tinyscrollbar.js b/app/assets/javascripts/jquery.tinyscrollbar.js new file mode 100644 index 000000000..e9aeffdea --- /dev/null +++ b/app/assets/javascripts/jquery.tinyscrollbar.js @@ -0,0 +1,211 @@ +/* + * Tiny Scrollbar 1.8 + * http://www.baijs.nl/tinyscrollbar/ + * + * Copyright 2012, Maarten Baijs + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://www.opensource.org/licenses/mit-license.php + * http://www.opensource.org/licenses/gpl-2.0.php + * + * Date: 26 / 07 / 2012 + * Depends on library: jQuery + * + */ +( function( $ ) +{ + $.tiny = $.tiny || { }; + + $.tiny.scrollbar = { + options: { + axis : 'y' // vertical or horizontal scrollbar? ( x || y ). + , wheel : 40 // how many pixels must the mouswheel scroll at a time. + , scroll : true // enable or disable the mousewheel. + , lockscroll : true // return scrollwheel to browser if there is no more content. + , size : 'auto' // set the size of the scrollbar to auto or a fixed number. + , sizethumb : 'auto' // set the size of the thumb to auto or a fixed number. + , onMove : function(){} + } + }; + + $.fn.tinyscrollbar = function( params ) + { + var options = $.extend( {}, $.tiny.scrollbar.options, params ); + + this.each( function() + { + $( this ).data('tsb', new Scrollbar( $( this ), options ) ); + }); + + return this; + }; + + $.fn.tinyscrollbar_update = function(sScroll) + { + return $( this ).data( 'tsb' ).update( sScroll ); + }; + + function Scrollbar( root, options ) + { + var oSelf = this + , oWrapper = root + , oViewport = { obj: $( '.viewport', root ) } + , oContent = { obj: $( '.overview', root ) } + , oScrollbar = { obj: $( '.scrollbar', root ) } + , oTrack = { obj: $( '.track', oScrollbar.obj ) } + , oThumb = { obj: $( '.thumb', oScrollbar.obj ) } + , sAxis = options.axis === 'x' + , sDirection = sAxis ? 'left' : 'top' + , sSize = sAxis ? 'Width' : 'Height' + , iScroll = 0 + , iPosition = { start: 0, now: 0 } + , iMouse = {} + , touchEvents = ( 'ontouchstart' in document.documentElement ) ? true : false + ; + + function initialize() + { + oSelf.update(); + setEvents(); + + return oSelf; + } + + this.update = function( sScroll ) + { + oViewport[ options.axis ] = oViewport.obj[0][ 'offset'+ sSize ]; + oContent[ options.axis ] = oContent.obj[0][ 'scroll'+ sSize ]; + oContent.ratio = oViewport[ options.axis ] / oContent[ options.axis ]; + + oScrollbar.obj.toggleClass( 'disable', oContent.ratio >= 1 ); + + oTrack[ options.axis ] = options.size === 'auto' ? oViewport[ options.axis ] : options.size; + oThumb[ options.axis ] = Math.min( oTrack[ options.axis ], Math.max( 0, ( options.sizethumb === 'auto' ? ( oTrack[ options.axis ] * oContent.ratio ) : options.sizethumb ) ) ); + + oScrollbar.ratio = options.sizethumb === 'auto' ? ( oContent[ options.axis ] / oTrack[ options.axis ] ) : ( oContent[ options.axis ] - oViewport[ options.axis ] ) / ( oTrack[ options.axis ] - oThumb[ options.axis ] ); + + iScroll = ( sScroll === 'relative' && oContent.ratio <= 1 ) ? Math.min( ( oContent[ options.axis ] - oViewport[ options.axis ] ), Math.max( 0, iScroll )) : 0; + iScroll = ( sScroll === 'bottom' && oContent.ratio <= 1 ) ? ( oContent[ options.axis ] - oViewport[ options.axis ] ) : isNaN( parseInt( sScroll, 10 ) ) ? iScroll : parseInt( sScroll, 10 ); + + setSize(); + }; + + function setSize() + { + var sCssSize = sSize.toLowerCase(); + + oThumb.obj.css( sDirection, iScroll / oScrollbar.ratio ); + oContent.obj.css( sDirection, -iScroll ); + iMouse.start = oThumb.obj.offset()[ sDirection ]; + + oScrollbar.obj.css( sCssSize, oTrack[ options.axis ] ); + oTrack.obj.css( sCssSize, oTrack[ options.axis ] ); + oThumb.obj.css( sCssSize, oThumb[ options.axis ] ); + } + + function setEvents() + { + if( ! touchEvents ) + { + oThumb.obj.bind( 'mousedown', start ); + oTrack.obj.bind( 'mouseup', drag ); + } + else + { + oViewport.obj[0].ontouchstart = function( event ) + { + if( 1 === event.touches.length ) + { + start( event.touches[ 0 ] ); + event.stopPropagation(); + } + }; + } + + if( options.scroll && window.addEventListener ) + { + oWrapper[0].addEventListener( 'DOMMouseScroll', wheel, false ); + oWrapper[0].addEventListener( 'mousewheel', wheel, false ); + } + else if( options.scroll ) + { + oWrapper[0].onmousewheel = wheel; + } + } + + function start( event ) + { + var oThumbDir = parseInt( oThumb.obj.css( sDirection ), 10 ); + iMouse.start = sAxis ? event.pageX : event.pageY; + iPosition.start = oThumbDir == 'auto' ? 0 : oThumbDir; + + if( ! touchEvents ) + { + $( document ).bind( 'mousemove', drag ); + $( document ).bind( 'mouseup', end ); + oThumb.obj.bind( 'mouseup', end ); + } + else + { + document.ontouchmove = function( event ) + { + event.preventDefault(); + drag( event.touches[ 0 ] ); + }; + document.ontouchend = end; + } + } + + function wheel( event ) + { + if( oContent.ratio < 1 ) + { + var oEvent = event || window.event + , iDelta = oEvent.wheelDelta ? oEvent.wheelDelta / 120 : -oEvent.detail / 3 + ; + + iScroll -= iDelta * options.wheel; + iScroll = Math.min( ( oContent[ options.axis ] - oViewport[ options.axis ] ), Math.max( 0, iScroll )); + + oThumb.obj.css( sDirection, iScroll / oScrollbar.ratio ); + oContent.obj.css( sDirection, -iScroll ); + + if( options.lockscroll || ( iScroll !== ( oContent[ options.axis ] - oViewport[ options.axis ] ) && iScroll !== 0 ) ) + { + oEvent = $.event.fix( oEvent ); + oEvent.preventDefault(); + } + } + options.onMove.call(this,iScroll); + } + + function drag( event ) + { + if( oContent.ratio < 1 ) + { + if( ! touchEvents ) + { + iPosition.now = Math.min( ( oTrack[ options.axis ] - oThumb[ options.axis ] ), Math.max( 0, ( iPosition.start + ( ( sAxis ? event.pageX : event.pageY ) - iMouse.start)))); + } + else + { + iPosition.now = Math.min( ( oTrack[ options.axis ] - oThumb[ options.axis ] ), Math.max( 0, ( iPosition.start + ( iMouse.start - ( sAxis ? event.pageX : event.pageY ) )))); + } + + iScroll = iPosition.now * oScrollbar.ratio; + oContent.obj.css( sDirection, -iScroll ); + oThumb.obj.css( sDirection, iPosition.now ); + } + } + + function end() + { + $( document ).unbind( 'mousemove', drag ); + $( document ).unbind( 'mouseup', end ); + oThumb.obj.unbind( 'mouseup', end ); + document.ontouchmove = document.ontouchend = null; + } + + return initialize(); + } + +}(jQuery)); \ No newline at end of file diff --git a/app/assets/javascripts/orbitTimeline.js b/app/assets/javascripts/orbitTimeline.js new file mode 100644 index 000000000..a8b5c663f --- /dev/null +++ b/app/assets/javascripts/orbitTimeline.js @@ -0,0 +1,235 @@ +//for timeline parent library, will be accessable by main library and API library for other people to use.. default inherits orbitDesktopAPI +// Harry Bomrah + +var orbitTimeline = function(dom){ + t = this; + this.dom = $(dom); + this.timelineHtml = $("
"); + //this.marker = t.timelineHtml.find("#timline_marker"); + this.scale = ""; + //this.container = t.timelineHtml.find("#t_container"); + this.events = new Array; + this.monthList = ["","January","February","March","April","May","June","July","August","September","October","November","December"]; + this.dt = new Date(); + this.fromdate = [t.dt.getFullYear(),t.dt.getMonth()+1]; + this.ajaxload = true; + this.halfline = $(window).width()/2 + 200; + this.initialize = function(){ + t.dom.html(t.timelineHtml); + $("div.scrollbar").hide(); + t.constructTimeScale(function(timelineScale){ + $("#timeline_scale").html(timelineScale); + var totalyearwidth =timelineScale.find(".year").length * timelineScale.find(".year").outerWidth(); + var totalul = 0; + $(".t_scale").css({"min-width":$(".tinycanvas .viewport").width()+500 + "px"}) + for(eve in t.events){ + t.makeBubble(t.events[eve]); + totalul = $("#scale_wrapper ul").length + $(".t_scale").width((totalul*350) + totalyearwidth); + } + t.bubble_fx(); + var scrollvalue = 0; + $('.tinycanvas').tinyscrollbar({ + axis: 'x', + onMove: function(x){ + if(x > scrollvalue) + t.timeScaleForward(); + // else + // t.timeScaleBackward(); + scrollvalue = x; + var limit = $("#timeline_scale").outerWidth() - $(".tinycanvas .scrollbar").outerWidth(); + if(t.ajaxload){ + if((limit - x) < 10){ + t.eventAjaxLoad(function(){ + var totalul = 0; + for(eve in t.events){ + t.makeBubble(t.events[eve]); + totalul = $("#scale_wrapper ul").length + $(".t_scale").width((totalul*360) + totalyearwidth + 314); + } + $('.tinycanvas').tinyscrollbar_update(x); + t.bubble_fx(); + }); + } + } + } + }); + }); + } + this.constructTimeScale = function(callbackFn){ + var mon ="",year="",formname; + var scale = $("
"); + $.getJSON("desktop_orbit/gettimelinespan",{"get":"papers"},function(years){ + var $ul = $(""); + var startyear = years.startyear, endyear = years.endyear,year = years.startyear; + $ul.append('
  • '+startyear+'
  • '); + while(year > endyear){ + year--; + $ul.append('
  • '+year+'
  • '); + } + $("div#orbit div#year_navigation").html($ul); + }) + $.getJSON("desktop_orbit/eventajaxload",{"event":"papers","from":t.fromdate},function(papersArray){ + $.each(papersArray,function(i,pa){ + $.each(pa.papers,function(i,paper){ + var dt = new Date(paper.created_at); + var cur_mon = paper.created_at.substr(5,2); + var cur_year = dt.getFullYear(); + var cdt = paper.created_at.substr(0,7).replace("-",""); + formname = (cur_mon.charAt(0) == "0"?cur_mon.charAt(1) : cur_mon) + var bubbleData = {"fulldate" : t.monthList[parseInt(formname)] +", " + dt.getDate() + ", " + cur_year,"title":paper.title,"jtitle":"Harry","coauthors":paper.coauthors,"abstract":paper.abstract,"timestamp":cdt} + t.events.push(bubbleData); + if(cur_year != year){ + year = cur_year; + scale.append($("
    "+year+"
    ")); + } + if(cur_mon != mon){ + mon = cur_mon; + var yr = scale.find("div[data-content="+year+"]"); + yr.append($("
    "+t.monthList[parseInt(formname)]+"
    ")) + } + }); + }); + //scale.append($("
    "+year+"
    ")); + t.fromdate = [year,formname-1]; + if(typeof callbackFn == "function"){ + callbackFn.call(this,scale); + } + }) + + } + this.makeBubble = function(bubbleData){ + var totalul = $("#scale_wrapper").find("div[data-content="+bubbleData.timestamp+"] ul").length; + var targetul = $("#scale_wrapper div[data-content="+bubbleData.timestamp+"] div.bubble_list ul").eq(totalul-1); + if(totalul == 0){ + var ul = $(""); + $("#scale_wrapper").find("div[data-content="+bubbleData.timestamp+"] div.bubble_list").append(ul); + targetul = ul; + }else{ + var totalli = targetul.find("li").length; + if(totalli >= 5){ + var ul = $(""); + $("#scale_wrapper").find("div[data-content="+bubbleData.timestamp+"] div.bubble_list").append(ul); + targetul = ul; + } + } + var bt = (bubbleData.title.length > 70? bubbleData.title.substr(0,70) + "..." : bubbleData.title); + var bubble = $("
  • "+bt+""+bubbleData.fulldate+"
  • "); + targetul.prepend(bubble); + bubble.show(); + bubble.click(function(){ + var thisbubble = $(this); + $(this).parents(dom) + .find('.bubble, .date') + .removeClass('thmc1 thmtxt'); + + o.toolPopup({ + parent: $(this).parent(), + html : "

    "+bubbleData.jtitle+"

    Co-Authors

    "+bubbleData.coauthors+"

    Abstract

    "+bubbleData.abstract+"
    ", + height: "392px", + width:"310px", + beforeClose : function(){ + $("div.bubble_arrow").remove(); + thisbubble.parents(dom) + .find('.bubble, .date') + .removeClass('thmc1 thmtxt'); + }, + onOpen : function(){ + thisbubble.append('
    '); + }, + beforeOpen : function(){ + thisbubble.addClass('thmc1 thmtxt'); + thisbubble.find('.date').addClass('thmtxt'); + } + }); + }) + } + this.eventAjaxLoad = function(callbackFn){ + t.events = []; + var mon ="",year="",formname; + var scale = $("#scale_wrapper"); + + t.ajaxload = false; + $.getJSON("desktop_orbit/eventajaxload",{"from":t.fromdate},function(papersArray){ + $.each(papersArray,function(i,pa){ + $.each(pa.papers,function(i,paper){ + var dt = new Date(paper.created_at); + var cur_mon = paper.created_at.substr(5,2); + var cur_year = dt.getFullYear(); + var cdt = paper.created_at.substr(0,7).replace("-",""); + formname = (cur_mon.charAt(0) == "0"?cur_mon.charAt(1) : cur_mon) + var bubbleData = {"fulldate" : t.monthList[parseInt(formname)] +", " + dt.getDate() + ", " + cur_year,"title":paper.title,"jtitle":"Harry","coauthors":paper.coauthors,"abstract":paper.abstract,"timestamp":cdt} + t.events.push(bubbleData); + if(cur_year != year){ + year = cur_year; + if(scale.find("div[data-content="+year+"]").length == 0){ + scale.append($("
    "+year+"
    ")); + } + } + if(cur_mon != mon){ + mon = cur_mon; + var yr = scale.find("div[data-content="+year+"]"); + yr.append($("
    "+t.monthList[parseInt(formname)]+"
    ")) + } + }); + }); + if(papersArray.length != 0){ + // if(scale.find("div[data-content="+(year-1)+"]").length == 0) + // scale.append($("
    "+year+"
    ")); + t.ajaxload = true; + t.fromdate = [year,formname-1]; + } + if(typeof callbackFn == "function"){ + callbackFn.call(this,scale); + } + }) + + } + this.bubble_fx = function(){ + $('.bubble').on({ + mouseover: function(){ + $(this) + .addClass('hover') + .append(''); + }, + mouseout: function(){ + $(this) + .removeClass('hover') + .find('.icon-chevron-right').remove(); + }, + }); + } + this.timeScaleForward = function(){ + + // var lastregion = regions.eq(regions.length-1); + // if(lastregion.offset().left < halfline){ + // var year = lastregion.attr("data-content"); + // $("div#orbit div#year_navigation ul a").removeClass("active"); + // $("div#orbit div#year_navigation ul a[href="+year+"]").addClass("active"); + // } + var regions = $("div.region_year"); + regions.each(function(){ + var offset = $(this).offset().left; + if(offset < t.halfline){ + if(offset > 156){ + var year = $(this).attr("data-content"); + $("div#orbit div#year_navigation ul a").removeClass("active"); + $("div#orbit div#year_navigation ul a[href="+year+"]").addClass("active"); + } + } + }) + } + this.timeScaleBackward = function(){ + var regions = $("div.region_year"); + regions.each(function(){ + var offset = $(this).offset().left * -1 + if(offset > t.halfline){ + if(offset > 156){ + var year = $(this).attr("data-content"); + $("div#orbit div#year_navigation ul a").removeClass("active"); + $("div#orbit div#year_navigation ul a[href="+year+"]").addClass("active"); + } + } + }) + } +} \ No newline at end of file diff --git a/app/assets/javascripts/orbitdesktop.js b/app/assets/javascripts/orbitdesktop.js new file mode 100755 index 000000000..86b68c9fb --- /dev/null +++ b/app/assets/javascripts/orbitdesktop.js @@ -0,0 +1,1600 @@ +// JavaScript Document +//harry +//Inititialize function will initialize desktop +$.extend($.expr[':'], { + 'containsi': function (elem, i, match, array) { + return (elem.textContent || elem.innerText || '').toLowerCase().indexOf((match[3] || "").toLowerCase()) >= 0; + } +}); +$.fn.sort = function(c) { + return this.pushStack([].sort.apply(this, arguments), []); + }; +var sortAscending = function(a, b) { + return $(a).find("h1").text() > $(b).find("h1").text() ? 1 : -1; +}; +var sortDescending = function(a, b) { + return $(a).find("h1").text() < $(b).find("h1").text() ? 1 : -1; +}; +var orbitDesktop = function(dom){ + orbitDesktopAPI.apply(this); + o = this; + this.contentHolder = dom; + this.themesettings = ""; + this.theme = "4f8d3f493b67fcd05f086359"; + this.transitionTime = 500; + this.currenthtml = "desktop.html"; + this.currentface = "home"; + this.desktopData = {"home":"","settings":"","work":"","favorite":"","apps_manager":"","sections":"","journal_p":"","appstore":"","orbit":"","books":"","seminar_p":""}; + this.tp = ""; + this.sectionList; + this.initialize = function(){ + var theme = o.theme; + var custom = false; + $.getJSON("/desktop/get_desktop_settings",{"get":"desktop","desktopid":o.desktopId},function(desktopSettings){ + if(desktopSettings){ + if(desktopSettings.theme!="custom"){ + theme = desktopSettings.theme; + }else{ + theme = "4f8d3f493b67fcd05f086359"; + custom = true; + } + o.theme = theme; + loadTheme(desktopSettings.customtheme,desktopSettings.wallpaper); + }else{loadTheme();} + }) + var loadTheme = function(customtheme,customwallpaper){ //This function will load the theme from database + $.getJSON("/"+o.themefolder+"/"+theme+"/settings/"+theme+".json",function(ts){ + o.themesettings = eval(ts); + $('head').append( $('').attr('href', "/"+o.themefolder+"/"+theme+"/css/"+ts.css)); + if(custom){ + $("head").find("#dyn_css").remove(); + $("head").append(customtheme); + } + $(document).ready(function(){o.loadWallpaper(customwallpaper);o.bindDesktopEvents();o.loadIconCache();o.initializeDesktop();}); + }) + } + } + this.changeTheme = function(theme){ // this function is used for changing theme + o.theme = theme; + $.getJSON("/"+o.themefolder+"/"+theme+"/settings/"+theme+".json",function(ts){ + o.themesettings = eval(ts); + $('head').find("#dyn_css").remove(); + $('head').append( $('').attr('href', "/"+o.themefolder+"/"+theme+"/css/"+ts.css)); + o.loadWallpaper(); + o.loadIconCache(); + }) + }; + this.bindDesktopEvents = function(){ //this function will bind the global handlers to thd desktop, for example doc + $("a#d_app_manager").click(function(){ + var target = $(this).attr("href"); + if(o.currenthtml!=target){ + o.desktopData[o.currentface] = $(o.contentHolder).html(); + $("#content").hide("drop",o.transitionTime,function(){ + o.initializeAppSearch(target); + }); + } + }); + $("a#d_desktop").click(function(){ + var target = $(this).attr("href"); + if(o.currenthtml!=target){ + o.desktopData[o.currentface] = $(o.contentHolder).html(); + $("#content").hide("drop",o.transitionTime,function(){ + o.initializeDesktop(target); + }); + } + }); + $("a#d_sections").click(function(){ + var target = $(this).attr("href"); + if(o.currenthtml!=target){ + o.desktopData[o.currentface] = $(o.contentHolder).html(); + $("#content").hide("drop",o.transitionTime,function(){ + o.initializeSectionsManager(target); + }); + } + }); + $("#d_journal_p").click(function(){ + var target = $(this).attr("href"); + if(o.currenthtml!=target){ + o.desktopData[o.currentface] = $(o.contentHolder).html(); + $("#content").hide("drop",o.transitionTime,function(){ + o.initializeJournalPapers(target); + }); + } + }); + $("a#d_settings").click(function(){ + var target = $(this).attr("href"); + if(o.currenthtml!=target){ + o.desktopData[o.currentface] = $(o.contentHolder).html(); + $("#content").hide("drop",o.transitionTime,function(){ + o.initializeSettings(target); + }); + } + }); + $("a#d_appstore").click(function(){ + var target = $(this).attr("href"); + if(o.currenthtml!=target){ + o.desktopData[o.currentface] = $(o.contentHolder).html(); + $("#content").hide("drop",o.transitionTime,function(){ + o.initializeAppstore(target); + }); + } + }); + $("a#d_orbit").click(function(){ + var target = $(this).attr("href"); + if(o.currenthtml!=target){ + o.desktopData[o.currentface] = $(o.contentHolder).html(); + $("#content").hide("drop",o.transitionTime,function(){ + o.initializeOrbitTimeline(target); + }); + } + }); + $("a#d_books").click(function(){ + var target = $(this).attr("href"); + if(o.currenthtml!=target){ + o.desktopData[o.currentface] = $(o.contentHolder).html(); + $("#content").hide("drop",o.transitionTime,function(){ + o.initializeBooks(target); + }); + } + }); + $("a#d_seminar_p").click(function(){ + var target = $(this).attr("href"); + if(o.currenthtml!=target){ + o.desktopData[o.currentface] = $(o.contentHolder).html(); + $("#content").hide("drop",o.transitionTime,function(){ + o.initializeSeminar(target); + }); + } + }); + $(window).resize(function(){ + var ww = $(window).width(); + $("img#thmbackground").attr({"width":ww}); + if( $('.tinycanvas').length > 0 ){ $('.tinycanvas').tinyscrollbar_update(); } + if($(o.contentHolder).find("div.app_frame").length > 0){ + $(o.contentHolder).find("div.app_frame").each(function(){ + var app_holder_height = $(this).height() - 72; + var app_holder_width = $(this).width(); + $(this).find("div.app_holder").height(app_holder_height); + $(this).find("div.app_holder iframe").attr({"height":app_holder_height,"width":app_holder_width}); + }) + } + }); + var $widget_fn = $('.widget_fn'),$fn_des = $('.fn_des'); + $widget_fn.hover(function(){ + var fn_name = $(this).find('img').attr('alt'),nth = $(this).parents('.d_cate').index(),des_left = $('.dock_child').eq(nth).width(); + $(this).addClass('thmc1'); + $fn_des.text(fn_name).css({'top':nth * 60,'left': des_left + 60}).stop(true, true).fadeIn(); + },function(){ + $(this).removeClass('thmc1'); + $fn_des.stop(true, true).fadeOut(); + }); + }; + + this.initializeDesktop = function(target){ //this is for initializing main desktops that are sections and tiles + if(!target)target = "desktop"; + o.currenthtml = target; + o.currentface = "home"; + + var bindHandlers = function(){ // this function will bind all the handlers in the desktop + var groupWrapperWidth = 0; + $("div#desktop .group").each(function(){groupWrapperWidth+=$(this).outerWidth(true);}); + var grps = new Array; + $("div#desktop #group_wrapper").css("width",groupWrapperWidth); + var first = true; + $("div#desktop .g_col").sortable({ + connectWith: ".g_col", + tolerance: 'pointer' , + revert: 300, + containment: '#group_wrapper', + helper: 'clone', + stop:function(){ + first = true; + var grpwidth = 0; + for(i in grps){ + var grp = grps[i]; + if(grp.find(".element").length == 0){ + grp.animate({"width":"0px"},500,function(){$(this).remove();}); + grpwidth+=225; + } + } + grps = []; + $("#group_wrapper").width($("#group_wrapper").width()-grpwidth); + }, + start:function(){ + $("#group_wrapper").find("div.group").each(function(i,par){ + var nextnumber = $(this).find("ul").length; + $newcol = $('
    \ No newline at end of file diff --git a/config/application.rb b/config/application.rb index 8460d1365..00dad7e82 100644 --- a/config/application.rb +++ b/config/application.rb @@ -35,6 +35,7 @@ module Orbit config.autoload_paths += %W(#{config.root}/app/models/purchase) config.autoload_paths += %W(#{config.root}/app/models/user) + # Only load the plugins named here, in the order given (default is alphabetical). # :all can be used as a placeholder for all plugins not explicitly named. # config.plugins = [ :exception_notification, :ssl_requirement, :all ] diff --git a/config/routes.rb b/config/routes.rb index 6faccb278..60e8a205f 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -129,6 +129,90 @@ Orbit::Application.routes.draw do namespace :panel do resources :users end + + match '/desktop/'=>'desktop#index' + + # Sinatra Routes start + + # match '/desktop/desktop', :to => Desktopapp::DesktopApp + # match '/desktop/app_manager', :to => Desktopapp::DesktopApp + # match '/desktop/sections', :to => Desktopapp::DesktopApp + # match '/desktop/settings', :to => Desktopapp::DesktopApp + # match '/desktop/get_desktop_settings/', :to => Desktopapp::DesktopApp + # match '/desktop/save_desktop_settings/', :to => Desktopapp::DesktopApp + # match '/desktop/getgroups/', :to => Desktopapp::DesktopApp + # match '/desktop/getsectionlist/', :to => Desktopapp::DesktopApp + # match '/desktop/settingthemes/', :to => Desktopapp::DesktopApp + # match '/desktop/settingsections/', :to => Desktopapp::DesktopApp + # match '/desktop/getapplist/', :to => Desktopapp::DesktopApp + # match '/desktop/newpositions/', :to => Desktopapp::DesktopApp + # match '/desktop/settingconnection/', :to => Desktopapp::DesktopApp + + # match '/desktop/journal_p/', :to => Desktopapp::DesktopAppPublications + # match '/desktop/journal_p_list/', :to => Desktopapp::DesktopAppPublications + # match '/desktop/journal_p_add/', :to => Desktopapp::DesktopAppPublications + # match '/desktop_publications/getjournals', :to => Desktopapp::DesktopAppPublications + + # match '/desktop/twitter/', :to => Desktopapp::Otheraccounts + # match '/desktop/forgmail/', :to => Desktopapp::Otheraccounts + # match '/desktop/getaccounts', :to => Desktopapp::Otheraccounts + # match '/desktop/save_account_info/', :to => Desktopapp::Otheraccounts + + # match '/desktop_appstore/appstore', :to => Desktopapp::DesktopAppAppstore + # match '/desktop_appstore/widgets', :to => Desktopapp::DesktopAppAppstore + # match '/desktop_appstore/getuserwidgets', :to => Desktopapp::DesktopAppAppstore + # match '/desktop_appstore/widgets_settings', :to => Desktopapp::DesktopAppAppstore + + # Sinatra Routes end + + match '/desktop/desktop'=>'desktop#desktop' + match '/desktop/app_manager'=>'desktop#app_manager' + match '/desktop/sections'=>'desktop#sections' + match '/desktop/settings'=>'desktop#settings' + match '/desktop/get_desktop_settings/'=>'desktop#get_desktop_settings' + match '/desktop/save_desktop_settings/'=>'desktop#save_desktop_settings' + match '/desktop/getgroups/'=>'desktop#getgroups' + match '/desktop/getsectionlist/'=>'desktop#getsectionlist' + match '/desktop/settingthemes/'=>'desktop#settingthemes' + match '/desktop/settingsections/'=>'desktop#settingsections' + match '/desktop/getapplist/'=>'desktop#getapplist' + match '/desktop/newpositions/'=>'desktop#newpositions' + match '/desktop/settingconnection/'=>'desktop#settingconnection' + + + match '/desktop/journal_p/'=>'desktop_publications#journal_p' + match '/desktop/journal_p_list/'=>'desktop_publications#journal_p_list' + match '/desktop/journal_p_add/'=>'desktop_publications#journal_p_add' + match '/desktop_publications/getjournals' => 'desktop_publications#getjournals' + match '/desktop/books' => 'desktop_publications#books' + match '/desktop/books_list/'=>'desktop_publications#books_list' + match '/desktop/books_add/'=>'desktop_publications#books_add' + + match '/desktop/seminar_p' => 'desktop_publications#seminar_p' + match '/desktop/seminar_p_list/'=>'desktop_publications#seminar_p_list' + match '/desktop/seminar_p_add/'=>'desktop_publications#seminar_p_add' + + + match '/desktop/twitter/'=>'otheraccounts#twitter' + match '/desktop/forgmail/'=>'otheraccounts#gmail' + match '/desktop/getaccounts'=>'otheraccounts#getaccounts' + match '/desktop/save_account_info/'=>'otheraccounts#saveaccountinfo' + + match '/desktop_appstore/appstore'=>'desktop_appstore#appstore' + match '/desktop_appstore/widgets'=>'desktop_appstore#widgets' + match '/desktop_appstore/getuserwidgets'=>'desktop_appstore#getuserwidgets' + match '/desktop_appstore/widgets_settings'=>'desktop_appstore#widgets_settings' + + match '/desktop_orbit/orbit' => 'desktop_orbit#orbit' + match '/desktop_orbit/eventajaxload'=> 'desktop_orbit#eventajaxload' + match '/desktop_orbit/gettimelinespan' => 'desktop_orbit#gettimelinespan' + + #match '/desktop_orbit/eventajaxload' => 'desktop_publications#create_journal' + #match '/desktop_orbit/eventajaxload' => 'desktop_publications#delete_journal' + # match '/desktop_orbit/eventajaxload' => 'desktop_publications#update_journal' + + + match '/desktop/temp_func/'=>'desktop#temp_func' match '/panel/:app_name/front_end/:app_action/:id' => 'pages#show_from_link', :constraints => lambda { |request| !request.query_string.include?("inner=true") diff --git a/lib/desktopapp/desktop_app.rb b/lib/desktopapp/desktop_app.rb new file mode 100644 index 000000000..c626849fd --- /dev/null +++ b/lib/desktopapp/desktop_app.rb @@ -0,0 +1,148 @@ +class Desktopapp::DesktopApp < Sinatra::Base + + #set :views, settings.root+'/desktop/' + + get "/desktop/desktop" do + erb :desktop + end + + get "/desktop/app_manager" do + erb :app_manager + end + + get "/desktop/sections" do + erb :sections + end + + get "/desktop/settings" do + erb :settings + end + + post "/desktop/save_desktop_settings" do + @desktop = Desktop.find(params["desktopid"]) + @savewhat = params["save"] + case @savewhat + when "theme" + @desktop.update_attributes(:theme => params["theme"]) + @desktop.update_attributes(:wallpaper => nil) + when "desktopnames" + @sections = @desktop.sections + x = 0; + @sections.each do |section| + @desktopnewnames = params["desktopnms"] + section.update_attributes(:name => @desktopnewnames[x] ) + x = x+1 + end + when "appnewsection" + @section = Section.find(params["newsectionid"]) + @groups = @section.groups + @app = Tile.find(params["appid"]) + @groups.each do |group| + @tiles = group.tiles.where(:data_category.all => ["app"]) + if @tiles.length < 12 + @app.update_attributes(:group_id => group.id) + break + end + end + when "customtheme" + @desktop.update_attributes(:theme => "custom") + @desktop.update_attributes(:customtheme => params['theme']) + when "wallpaper" + @desktop.update_attributes(:wallpaper => params["wallpapernm"]) + end + a = Array.new + a << {"success"=>"true"} + a.to_json + end + + get "/desktop/get_desktop_settings" do + @desktop = Desktop.find(params["desktopid"]) + @getwhat = params["get"] + case @getwhat + when "desktop" + @desktop.to_json + when "sectionnames" + secnames = Array.new + @sections = @desktop.sections + @sections.each do |section| + secnames << section.name + end + secnames.to_json + when "theme" + @theme = @desktop.theme + @theme.to_json + end + end + + get "/desktop/getgroups" do + @section = Section.find(params["sectionid"]) + @groups = @section.groups + a = Array.new + @groups.each do |group| + a << group.tiles + end + a.to_json + end + + get "/desktop/getsectionlist" do + @desktop = Desktop.find(params["desktopid"]) + @sections = @desktop.sections + @sections.to_json + end + + get "/desktop/settingthemes" do + @themes = DesktopTheme.all + erb :'settings/themes' + end + + get "/desktop/settingsections" do + erb :'settings/sections' + end + + get "/desktop/getapplist" do + @desktop = Desktop.find(params["desktopid"]) + @sections = @desktop.sections + a = Array.new + @sections.each do |section| + @groups = section.groups + @groups.each do |group| + @tiles = group.tiles.where(:data_category.all => ["app"]) + a << @tiles + end + end + a.to_json + end + + post "/desktop/newpositions" do + @newpositions = params["newpos"] + @section = Section.find(params["sectionid"]) + @groupids = params["groupids"] + @groups = @section.groups + z = 0 + @newpositions.each do |grp| + x = 1 + grp.each do |tileid| + if x != 1 + y = 1 + tileid.each do |id| + @tile = Tile.find(id) + @tile.update_attributes({:position => y}) + if @tile.group_id != @groupids[z] + @tile.update_attributes({:group_id => @groupids[z]}) + end + y = y + 1 + end + z = z + 1 + end + x = x + 1 + end + end + b = Array.new + b << {"success"=>"true"} + b.to_json + end + + get "/desktop/settingconnection" do + erb :'settings/connections' + end +end \ No newline at end of file diff --git a/lib/desktopapp/desktop_app_appstore.rb b/lib/desktopapp/desktop_app_appstore.rb new file mode 100644 index 000000000..5ad72f77c --- /dev/null +++ b/lib/desktopapp/desktop_app_appstore.rb @@ -0,0 +1,96 @@ +class Desktopapp::DesktopAppAppstore < Sinatra::Base + + get '/desktop_appstore/appstore' do + erb :appstore + end + + get '/desktop_appstore/widgets' do + erb :'appstore/widgets' + end + + get '/desktop_appstore/getuserwidgets' do + # @widgets = current_user.desktop.desktop_widgets + # @groups = Array.new + # @sections = current_user.desktop.sections + + # @sections.each do |section| + # @groups << section.groups + # end + + # @widgets.each do |widget| + # @count = 0; + # @sectionids = Array.new + # @groups.each do |group| + # group.each do |grp| + # @widge = 0 + # @gid = widget.id.to_s + # @widge = grp.tiles.where(:data_content.all => [@gid]).count + # @count = @count + @widge + # if @widge > 0 + # @sectionids << grp.section_id + # end + # end + # end + # if @count > 0 + # widget.status = "Installed" + # widget.section = @sectionids + # else + # widget.status = "Downloaded" + # end + # end + # @widgets.to_json + current_user.to_json + end + + get '/desktop_appstore/widgets_settings' do + what = params["what"] + @widgetid = params["widget"] + @sectionid = params["section"] + @msg = Array.new + case what + when "remove" + @section = Section.find(@sectionid) + @groups = @section.groups + @groups.each do |group| + @tile = group.tiles.where(:data_content.all => [@widgetid]) + if @tile.count > 0 + @thistile = @tile + end + end + @t = Tile.find(@thistile.first.id) + @t.delete + @msg << {"success"=>true} + when "add" + @widget = current_user.desktop.desktop_widgets.find(@widgetid) + @section = Section.find(@sectionid) + @groups = @section.groups + @totalwidgets = 0 + @groups.each do |group| + @tile = group.tiles.where(:data_content.all => [@widgetid]).count + if @tile > 0 + @msg << {"success"=>false,"error"=>"Duplicate widget"} + else + no_of_widgets = group.tiles.where(:data_category.all => ["widget"]).count + @totalwidgets = @totalwidgets + no_of_widgets + end + end + if @totalwidgets >= 12 + @msg << {"success"=>false,"error"=>"Section full"} + else + wshape = @widget.shape + wdata_content = @widgetid + wdata_category = "widget" + wname = @widget.name + if @groups.first.tiles.where(:data_category.all => ["widget"]).count >= 6 + groupid = @groups.last.id + else + groupid = @groups.first.id + end + Tile.create(data_category: wdata_category,data_content: wdata_content, group_id: groupid, position: 10, title: wname, shape: wshape) + @msg << {"success"=>true} + end + end + @msg.to_json + end + +end \ No newline at end of file diff --git a/lib/desktopapp/desktop_app_publications.rb b/lib/desktopapp/desktop_app_publications.rb new file mode 100644 index 000000000..e88d78fad --- /dev/null +++ b/lib/desktopapp/desktop_app_publications.rb @@ -0,0 +1,25 @@ +class Desktopapp::DesktopAppPublications < Sinatra::Base + + get "/desktop/journal_p" do + erb :journal_p + end + + get "/desktop/journal_p_list" do + erb :'journal_pages/list' + end + + get '/desktop/journal_p_add' do + erb :'journal_pages/add' + end + + get '/desktop_publications/getjournals' do + @journals = Journal.all + data = Array.new + @journals.each do |journal| + @papers = journal.papers.all + data << {"title" => journal.title, "papers" => @papers} + end + data.to_json + end + +end \ No newline at end of file diff --git a/lib/desktopapp/otheraccounts.rb b/lib/desktopapp/otheraccounts.rb new file mode 100644 index 000000000..65a24a18a --- /dev/null +++ b/lib/desktopapp/otheraccounts.rb @@ -0,0 +1,61 @@ +class Desktopapp::Otheraccounts < Sinatra::Base + require 'open-uri' + require 'rexml/document' + require 'net/http' + require 'net/https' + # require 'twitter' + include REXML + + + get '/desktop/save_account_info' do + @dowhat = params['dowhat'] + @email = params['email'] + @password = params['password'] + @account = params['account'] + case @dowhat + when "new" + OtherAccount.create(user_id: current_user.id, email: @email, encrypted_password: @password, type: @account) + when "edit" + @otheraccount = OtherAccount.where(:type.all => [@account],:user_id.all => [current_user.id]) rescue nil + @otheraccount.first.update_attributes(:email => @email, :encrypted_password => @password) + when "delete" + @otheraccount = OtherAccount.where(:type.all => [@account], :user_id.all => [current_user.id]) rescue nil + @otheraccount.destroy_all + end + a = Array.new + a << {"success"=>"true"} + a.to_json + end + + get '/desktop/forgmail' do + @gmailaccount = OtherAccount.where(:type.all => ["gmail"],:user_id.all => [current_user.id]) rescue nil + + # if @gmailaccount.first != nil + # @decrypted_password = @gmailaccount.first.encrypted_password.decrypt + # @email = @gmailaccount.first.email + # url = URI.parse("https://mail.google.com/mail/feed/atom") + # #url = URI.parse("https://www.google.com/m8/feeds/contacts/default/full") + # req = Net::HTTP::Get.new(url.path) + # req.basic_auth @email, @decrypted_password + # req.content_type = 'text/xml' + + # http = Net::HTTP.new(url.host, url.port) + # http.use_ssl = true + # response = http.start { |http| http.request(req) } + + # root = Document.new(response.read_body).root + # root + # else + # msg = "trueAccount setting problem." + # # respond_to do |m| + # # m.xml {render :xml=>msg} + # # end + # msg.to_xml + # end + end + + get '/desktop/getaccounts' do + @accounts = OtherAccount.where(:user_id.all => [current_user.id]).without(:encrypted_password) + @accounts.to_json + end +end \ No newline at end of file diff --git a/lib/desktopapp/views/app_manager.erb b/lib/desktopapp/views/app_manager.erb new file mode 100755 index 000000000..b6a54fe3b --- /dev/null +++ b/lib/desktopapp/views/app_manager.erb @@ -0,0 +1,36 @@ +
    +
    + +
    + +
    +
    +
    +
    +
    +
    + + + +
    +
    +
    +
    +
    +
    +
    \ No newline at end of file diff --git a/lib/desktopapp/views/app_view1.html.erb b/lib/desktopapp/views/app_view1.html.erb new file mode 100644 index 000000000..795c9ab00 --- /dev/null +++ b/lib/desktopapp/views/app_view1.html.erb @@ -0,0 +1,12 @@ +
    +
    + +
    + +
    +
    +
    +
    \ No newline at end of file diff --git a/lib/desktopapp/views/appstore.erb b/lib/desktopapp/views/appstore.erb new file mode 100644 index 000000000..c92ac427b --- /dev/null +++ b/lib/desktopapp/views/appstore.erb @@ -0,0 +1,26 @@ +
    +
    + +
    + + +
    + +
    +
    +
    +
    +
    \ No newline at end of file diff --git a/lib/desktopapp/views/appstore/widgets.erb b/lib/desktopapp/views/appstore/widgets.erb new file mode 100644 index 000000000..4fd150c43 --- /dev/null +++ b/lib/desktopapp/views/appstore/widgets.erb @@ -0,0 +1,11 @@ +
    Your Widgets
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    \ No newline at end of file diff --git a/lib/desktopapp/views/desktop.erb b/lib/desktopapp/views/desktop.erb new file mode 100755 index 000000000..938275066 --- /dev/null +++ b/lib/desktopapp/views/desktop.erb @@ -0,0 +1,30 @@ +
    +
    + +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    + +
    +
    +
    \ No newline at end of file diff --git a/lib/desktopapp/views/index.html.erb b/lib/desktopapp/views/index.html.erb new file mode 100755 index 000000000..98ac23e33 --- /dev/null +++ b/lib/desktopapp/views/index.html.erb @@ -0,0 +1,100 @@ +
    +
    + +
    +
    +
    +
    + +
    + + +
    +
    + + + +
    + + + diff --git a/lib/desktopapp/views/journal_p.erb b/lib/desktopapp/views/journal_p.erb new file mode 100644 index 000000000..6dddb734f --- /dev/null +++ b/lib/desktopapp/views/journal_p.erb @@ -0,0 +1,33 @@ +
    +
    + +
    + +
    +
    +
    +
    +
    +
    + \ No newline at end of file diff --git a/lib/desktopapp/views/journal_pages/add.erb b/lib/desktopapp/views/journal_pages/add.erb new file mode 100644 index 000000000..324432b61 --- /dev/null +++ b/lib/desktopapp/views/journal_pages/add.erb @@ -0,0 +1,109 @@ +
    +
    + + +
    +
    +
    Entry Year
    +
    + +
    +
    +
    +
    Language
    +
    + +
    +
    +
    +
    Share
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
      +
    • +
    • +
    • +
      + +
        +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      +
      +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    +
    +
    +
      +
    • +
    • + + +
    • +
    • +
    • +
    • +
    • +
    • +
    +
    +
    +
      +
    • +
    +
    +
    +
    +
    \ No newline at end of file diff --git a/lib/desktopapp/views/journal_pages/list.erb b/lib/desktopapp/views/journal_pages/list.erb new file mode 100644 index 000000000..e32e4d6c5 --- /dev/null +++ b/lib/desktopapp/views/journal_pages/list.erb @@ -0,0 +1,75 @@ +
    +
    +
    +
    + +
    +
    +
    +
    More
    +
    + +
    +
    +
    +
    Tag
    +
    + +
    +
    +
    +
    Status
    +
    + +
    +
    +
    +
    View
    +
    + +
    +
    +
    +
    Share
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    \ No newline at end of file diff --git a/lib/desktopapp/views/sections.erb b/lib/desktopapp/views/sections.erb new file mode 100644 index 000000000..d8e8208e4 --- /dev/null +++ b/lib/desktopapp/views/sections.erb @@ -0,0 +1,178 @@ +
    +
    + +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    \ No newline at end of file diff --git a/lib/desktopapp/views/settings.erb b/lib/desktopapp/views/settings.erb new file mode 100644 index 000000000..8b7ad2d1f --- /dev/null +++ b/lib/desktopapp/views/settings.erb @@ -0,0 +1,27 @@ +
    +
    + +
    + +
    + +
    +
    + +
    +
    +
    +
    +
    \ No newline at end of file diff --git a/lib/desktopapp/views/settings/connections.erb b/lib/desktopapp/views/settings/connections.erb new file mode 100644 index 000000000..148762da5 --- /dev/null +++ b/lib/desktopapp/views/settings/connections.erb @@ -0,0 +1,44 @@ +
    +
    +
    +
    +
      +
    • No Connection
    • +
    • Facebook

    • +
    • +
    • +
    • +
      + Connect + +
      +
    • +
    +
      +
    • No Connection
    • +
    • Twitter

    • +
    • +
    • +
    • +
      + Connect + +
      +
    • +
    +
      +
    • No Connection
    • +
    • Gmail

    • +
    • +
    • +
    • +
      + Connect + +
      +
    • +
    +
    + +
    +
    diff --git a/lib/desktopapp/views/settings/sections.erb b/lib/desktopapp/views/settings/sections.erb new file mode 100644 index 000000000..dcb922379 --- /dev/null +++ b/lib/desktopapp/views/settings/sections.erb @@ -0,0 +1,18 @@ +
    +
    +
    +
    +
    Section Names
    +
      +
    • +
    • +
    • +
    • +
    +
    sample desciption
    +
    + Confirm +
    +
    +
    +
    \ No newline at end of file diff --git a/lib/desktopapp/views/settings/themes.erb b/lib/desktopapp/views/settings/themes.erb new file mode 100644 index 000000000..6a3c34f83 --- /dev/null +++ b/lib/desktopapp/views/settings/themes.erb @@ -0,0 +1,86 @@ +
    + +
    +
    +
    +
    +
    +
    +
    + <% @themes.each do |theme| %> +
    <%= theme.name %>
    + <% end %> +
    +
    + + +
    +
    Preview
    +
    +
    Theme Text1
    +
    +
    +
    Theme Text2
    +
    +
    Theme Text
    +
    +
    +
    + + + + + + + + + + + + + +
    Theme ColorLine ColorText ColorBackground Color
    + + + + + + + + + + +
    +
    + Confirm +
    +
    +
    +
    +
    +
    +
    1.jpg
    +
    2.jpg
    +
    3.jpg
    +
    4.jpg
    +
    5.jpg
    +
    6.jpg
    +
    7.jpg
    +
    8.jpg
    +
    9.jpg
    +
    10.jpg
    +
    11.jpg
    +
    12.jpg
    +
    + +
    +
    +
    +
    +
    \ No newline at end of file diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/css/default.css b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/css/default.css new file mode 100755 index 000000000..9e01a1408 --- /dev/null +++ b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/css/default.css @@ -0,0 +1,45 @@ +/* +Theme Color + +random apply to: +.widget_fn - on hover status +#search_app .submit +.tile + +*/ +.thmc1 { background: #6F0; } +.thmc2 { background: #C09; } + +/* +sub1 Theme Color + +apply to: +#search_app + +*/ +.thmc3 { background: #FFFFFF; } + +/* +sub1 Theme Color + +apply to: +#rwidget + +*/ +.thmc4 { background: #000000; } + + +/* Theme Text Color */ +.thmtxt { color: #fff; } +.thmtxth { color: #000; } + +/* Group Seprate Color */ +.g_sep { border-color: #fff; } + +/* +theme bg image + +#thmbackground img - background +#bgover - upon #thmbackground + +*/ \ No newline at end of file diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/apps.png b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/apps.png new file mode 100644 index 000000000..67b69c89f Binary files /dev/null and b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/apps.png differ diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/background.jpg b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/background.jpg new file mode 100755 index 000000000..f45c73a7b Binary files /dev/null and b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/background.jpg differ diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/chris.jpeg b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/chris.jpeg new file mode 100644 index 000000000..e0c669d43 Binary files /dev/null and b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/chris.jpeg differ diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_activities.png b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_activities.png new file mode 100644 index 000000000..b481e6768 Binary files /dev/null and b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_activities.png differ diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_album.png b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_album.png new file mode 100644 index 000000000..6f0e4a171 Binary files /dev/null and b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_album.png differ diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_app_manager.png b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_app_manager.png new file mode 100644 index 000000000..da09e5a4a Binary files /dev/null and b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_app_manager.png differ diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_appstore.png b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_appstore.png new file mode 100644 index 000000000..e82e745dc Binary files /dev/null and b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_appstore.png differ diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_blog.png b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_blog.png new file mode 100644 index 000000000..0bb552512 Binary files /dev/null and b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_blog.png differ diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_books.png b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_books.png new file mode 100644 index 000000000..49ec0fba7 Binary files /dev/null and b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_books.png differ diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_calendar.png b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_calendar.png new file mode 100644 index 000000000..26520f73a Binary files /dev/null and b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_calendar.png differ diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_certification.png b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_certification.png new file mode 100644 index 000000000..a695edce9 Binary files /dev/null and b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_certification.png differ diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_clubs.png b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_clubs.png new file mode 100644 index 000000000..f22aa6dde Binary files /dev/null and b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_clubs.png differ diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_connection.png b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_connection.png new file mode 100644 index 000000000..ac6978eb3 Binary files /dev/null and b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_connection.png differ diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_courses.png b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_courses.png new file mode 100644 index 000000000..3d521ddf5 Binary files /dev/null and b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_courses.png differ diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_education.png b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_education.png new file mode 100755 index 000000000..fa366a174 Binary files /dev/null and b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_education.png differ diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_experience.png b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_experience.png new file mode 100644 index 000000000..f182981bc Binary files /dev/null and b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_experience.png differ diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_files.png b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_files.png new file mode 100644 index 000000000..99299d80c Binary files /dev/null and b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_files.png differ diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_home.png b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_home.png new file mode 100644 index 000000000..67f4a2272 Binary files /dev/null and b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_home.png differ diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_homework.png b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_homework.png new file mode 100644 index 000000000..28f1b2666 Binary files /dev/null and b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_homework.png differ diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_honors.png b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_honors.png new file mode 100755 index 000000000..778cfa842 Binary files /dev/null and b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_honors.png differ diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_journal_p.png b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_journal_p.png new file mode 100644 index 000000000..5f0e27576 Binary files /dev/null and b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_journal_p.png differ diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_labs.png b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_labs.png new file mode 100644 index 000000000..fcb929e6b Binary files /dev/null and b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_labs.png differ diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_landt.png b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_landt.png new file mode 100644 index 000000000..c003ec8d5 Binary files /dev/null and b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_landt.png differ diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_mypage.png b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_mypage.png new file mode 100644 index 000000000..9d466a959 Binary files /dev/null and b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_mypage.png differ diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_orbit.png b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_orbit.png new file mode 100755 index 000000000..e5852979e Binary files /dev/null and b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_orbit.png differ diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_patents.png b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_patents.png new file mode 100644 index 000000000..5b08a5293 Binary files /dev/null and b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_patents.png differ diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_personal.png b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_personal.png new file mode 100644 index 000000000..a0a2140bf Binary files /dev/null and b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_personal.png differ diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_publication.png b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_publication.png new file mode 100644 index 000000000..a3220b864 Binary files /dev/null and b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_publication.png differ diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_research.png b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_research.png new file mode 100644 index 000000000..691ebe255 Binary files /dev/null and b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_research.png differ diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_research_d.png b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_research_d.png new file mode 100644 index 000000000..4301e5731 Binary files /dev/null and b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_research_d.png differ diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_research_p.png b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_research_p.png new file mode 100644 index 000000000..d3ba06cdb Binary files /dev/null and b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_research_p.png differ diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_sections.png b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_sections.png new file mode 100644 index 000000000..6832e3d0f Binary files /dev/null and b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_sections.png differ diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_seminar_p.png b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_seminar_p.png new file mode 100644 index 000000000..36cfb59ad Binary files /dev/null and b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_seminar_p.png differ diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_settings.png b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_settings.png new file mode 100644 index 000000000..0ca9b18de Binary files /dev/null and b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_settings.png differ diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_working.png b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_working.png new file mode 100644 index 000000000..9bc389819 Binary files /dev/null and b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/d_working.png differ diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/home.png b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/home.png new file mode 100644 index 000000000..56efebb54 Binary files /dev/null and b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/home.png differ diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/sections.png b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/sections.png new file mode 100644 index 000000000..7b6a039f4 Binary files /dev/null and b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/images/sections.png differ diff --git a/public/desktop_themes/4f8d3f3c3b67fcd05f086358/settings/4f8d3f3c3b67fcd05f086358.json b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/settings/4f8d3f3c3b67fcd05f086358.json new file mode 100755 index 000000000..64701e64d --- /dev/null +++ b/public/desktop_themes/4f8d3f3c3b67fcd05f086358/settings/4f8d3f3c3b67fcd05f086358.json @@ -0,0 +1,39 @@ +{ + "css":"default.css", + "background":"background.jpg", + "tilecolor":["thmc1","thmc2"], + "icons":{ + "home":"d_home.png", + "app_manager":"d_app_manager.png", + "sections":"d_sections.png", + "settings":"d_settings.png", + "publication":"d_publication.png", + "journal_p":"d_journal_p.png", + "seminar_p":"d_seminar_p.png", + "books":"d_books.png", + "research":"d_research.png", + "research_d":"d_research_d.png", + "research_p":"d_research_p.png", + "patents":"d_patents.png", + "labs":"d_labs.png", + "experience":"d_experience.png", + "working":"d_working.png", + "education":"d_education.png", + "honors":"d_honors.png", + "activities":"d_activities.png", + "clubs":"d_clubs.png", + "landt":"d_landt.png", + "courses":"d_courses.png", + "homework":"d_homework.png", + "certification":"d_certification.png", + "personal":"d_personal.png", + "mypage":"d_mypage.png", + "blog":"d_blog.png", + "album":"d_album.png", + "calendar":"d_calendar.png", + "files":"d_files.png", + "orbit":"d_orbit.png", + "connection":"d_connection.png", + "appstore":"d_appstore.png" + } + } \ No newline at end of file diff --git a/public/desktop_themes/4f8d3f493b67fcd05f086359/css/default.css b/public/desktop_themes/4f8d3f493b67fcd05f086359/css/default.css new file mode 100755 index 000000000..cfbd430da --- /dev/null +++ b/public/desktop_themes/4f8d3f493b67fcd05f086359/css/default.css @@ -0,0 +1,45 @@ +/* +Theme Color + +random apply to: +.widget_fn - on hover status +#search_app .submit +.tile + +*/ +.thmc1 { background: #0099CC; } +.thmc2 { background: #3366CC; } + +/* +sub1 Theme Color + +apply to: +#search_app + +*/ +.thmc3 { background: #FFFFFF; } + +/* +sub1 Theme Color + +apply to: +#rwidget + +*/ +.thmc4 { background: #000000; } + + +/* Theme Text Color */ +.thmtxt, .thmtxt:hover { color: #fff; } +.thmtxth { color: #fff; } + +/* Group Seprate Color */ +.g_sep { border-color: #fff; } + +/* +theme bg image + +#thmbackground img - background +#bgover - upon #thmbackground + +*/ \ No newline at end of file diff --git a/public/desktop_themes/4f8d3f493b67fcd05f086359/images/background.jpg b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/background.jpg new file mode 100755 index 000000000..f45c73a7b Binary files /dev/null and b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/background.jpg differ diff --git a/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_activities.png b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_activities.png new file mode 100644 index 000000000..b481e6768 Binary files /dev/null and b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_activities.png differ diff --git a/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_album.png b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_album.png new file mode 100644 index 000000000..6f0e4a171 Binary files /dev/null and b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_album.png differ diff --git a/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_app_manager.png b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_app_manager.png new file mode 100644 index 000000000..da09e5a4a Binary files /dev/null and b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_app_manager.png differ diff --git a/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_appstore.png b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_appstore.png new file mode 100644 index 000000000..e82e745dc Binary files /dev/null and b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_appstore.png differ diff --git a/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_blog.png b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_blog.png new file mode 100644 index 000000000..0bb552512 Binary files /dev/null and b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_blog.png differ diff --git a/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_books.png b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_books.png new file mode 100644 index 000000000..49ec0fba7 Binary files /dev/null and b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_books.png differ diff --git a/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_calendar.png b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_calendar.png new file mode 100644 index 000000000..26520f73a Binary files /dev/null and b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_calendar.png differ diff --git a/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_certification.png b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_certification.png new file mode 100644 index 000000000..a695edce9 Binary files /dev/null and b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_certification.png differ diff --git a/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_clubs.png b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_clubs.png new file mode 100644 index 000000000..f22aa6dde Binary files /dev/null and b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_clubs.png differ diff --git a/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_connection.png b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_connection.png new file mode 100644 index 000000000..ac6978eb3 Binary files /dev/null and b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_connection.png differ diff --git a/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_courses.png b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_courses.png new file mode 100644 index 000000000..3d521ddf5 Binary files /dev/null and b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_courses.png differ diff --git a/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_education.png b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_education.png new file mode 100755 index 000000000..fa366a174 Binary files /dev/null and b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_education.png differ diff --git a/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_experience.png b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_experience.png new file mode 100644 index 000000000..f182981bc Binary files /dev/null and b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_experience.png differ diff --git a/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_files.png b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_files.png new file mode 100644 index 000000000..99299d80c Binary files /dev/null and b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_files.png differ diff --git a/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_home.png b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_home.png new file mode 100644 index 000000000..67f4a2272 Binary files /dev/null and b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_home.png differ diff --git a/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_homework.png b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_homework.png new file mode 100644 index 000000000..28f1b2666 Binary files /dev/null and b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_homework.png differ diff --git a/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_honors.png b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_honors.png new file mode 100755 index 000000000..778cfa842 Binary files /dev/null and b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_honors.png differ diff --git a/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_journal_p.png b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_journal_p.png new file mode 100644 index 000000000..5f0e27576 Binary files /dev/null and b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_journal_p.png differ diff --git a/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_labs.png b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_labs.png new file mode 100644 index 000000000..fcb929e6b Binary files /dev/null and b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_labs.png differ diff --git a/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_landt.png b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_landt.png new file mode 100644 index 000000000..c003ec8d5 Binary files /dev/null and b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_landt.png differ diff --git a/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_mypage.png b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_mypage.png new file mode 100644 index 000000000..9d466a959 Binary files /dev/null and b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_mypage.png differ diff --git a/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_orbit.png b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_orbit.png new file mode 100755 index 000000000..e5852979e Binary files /dev/null and b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_orbit.png differ diff --git a/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_patents.png b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_patents.png new file mode 100644 index 000000000..5b08a5293 Binary files /dev/null and b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_patents.png differ diff --git a/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_personal.png b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_personal.png new file mode 100644 index 000000000..a0a2140bf Binary files /dev/null and b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_personal.png differ diff --git a/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_publication.png b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_publication.png new file mode 100644 index 000000000..a3220b864 Binary files /dev/null and b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_publication.png differ diff --git a/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_research.png b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_research.png new file mode 100644 index 000000000..691ebe255 Binary files /dev/null and b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_research.png differ diff --git a/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_research_d.png b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_research_d.png new file mode 100644 index 000000000..4301e5731 Binary files /dev/null and b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_research_d.png differ diff --git a/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_research_p.png b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_research_p.png new file mode 100644 index 000000000..d3ba06cdb Binary files /dev/null and b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_research_p.png differ diff --git a/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_sections.png b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_sections.png new file mode 100644 index 000000000..6832e3d0f Binary files /dev/null and b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_sections.png differ diff --git a/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_seminar_p.png b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_seminar_p.png new file mode 100644 index 000000000..36cfb59ad Binary files /dev/null and b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_seminar_p.png differ diff --git a/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_settings.png b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_settings.png new file mode 100644 index 000000000..0ca9b18de Binary files /dev/null and b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_settings.png differ diff --git a/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_working.png b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_working.png new file mode 100644 index 000000000..9bc389819 Binary files /dev/null and b/public/desktop_themes/4f8d3f493b67fcd05f086359/images/d_working.png differ diff --git a/public/desktop_themes/4f8d3f493b67fcd05f086359/settings/4f8d3f493b67fcd05f086359.json b/public/desktop_themes/4f8d3f493b67fcd05f086359/settings/4f8d3f493b67fcd05f086359.json new file mode 100755 index 000000000..64701e64d --- /dev/null +++ b/public/desktop_themes/4f8d3f493b67fcd05f086359/settings/4f8d3f493b67fcd05f086359.json @@ -0,0 +1,39 @@ +{ + "css":"default.css", + "background":"background.jpg", + "tilecolor":["thmc1","thmc2"], + "icons":{ + "home":"d_home.png", + "app_manager":"d_app_manager.png", + "sections":"d_sections.png", + "settings":"d_settings.png", + "publication":"d_publication.png", + "journal_p":"d_journal_p.png", + "seminar_p":"d_seminar_p.png", + "books":"d_books.png", + "research":"d_research.png", + "research_d":"d_research_d.png", + "research_p":"d_research_p.png", + "patents":"d_patents.png", + "labs":"d_labs.png", + "experience":"d_experience.png", + "working":"d_working.png", + "education":"d_education.png", + "honors":"d_honors.png", + "activities":"d_activities.png", + "clubs":"d_clubs.png", + "landt":"d_landt.png", + "courses":"d_courses.png", + "homework":"d_homework.png", + "certification":"d_certification.png", + "personal":"d_personal.png", + "mypage":"d_mypage.png", + "blog":"d_blog.png", + "album":"d_album.png", + "calendar":"d_calendar.png", + "files":"d_files.png", + "orbit":"d_orbit.png", + "connection":"d_connection.png", + "appstore":"d_appstore.png" + } + } \ No newline at end of file diff --git a/public/desktop_themes/4f8d3f533b67fcd05f08635a/css/natural.css b/public/desktop_themes/4f8d3f533b67fcd05f08635a/css/natural.css new file mode 100755 index 000000000..1a1d57660 --- /dev/null +++ b/public/desktop_themes/4f8d3f533b67fcd05f08635a/css/natural.css @@ -0,0 +1,46 @@ +/* +Theme Color + +random apply to: +.widget_fn - on hover status +#search_app .submit +.tile + +*/ +.thmc1 { background: #B6662C; } +.thmc2 { background: #34520C; } + +/* +sub1 Theme Color + +apply to: +#search_app + +*/ +.thmc3 { background: #FFFFFF; } + +/* +sub1 Theme Color + +apply to: +#rwidget + +first one +*/ +.thmc4 { background: #5CA360; } + + +/* Theme Text Color */ +.thmtxt, .thmtxt:hover { color: #fff; } +.thmtxth { color: #fff; } + +/* Group Seprate Color */ +.g_sep { border-color: #fff; } + +/* +theme bg image + +#thmbackground img - background +#bgover - upon #thmbackground + +*/ \ No newline at end of file diff --git a/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/background.jpg b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/background.jpg new file mode 100755 index 000000000..520df56c9 Binary files /dev/null and b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/background.jpg differ diff --git a/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_activities.png b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_activities.png new file mode 100755 index 000000000..b481e6768 Binary files /dev/null and b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_activities.png differ diff --git a/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_album.png b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_album.png new file mode 100755 index 000000000..6f0e4a171 Binary files /dev/null and b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_album.png differ diff --git a/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_app_manager.png b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_app_manager.png new file mode 100755 index 000000000..da09e5a4a Binary files /dev/null and b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_app_manager.png differ diff --git a/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_appstore.png b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_appstore.png new file mode 100755 index 000000000..e82e745dc Binary files /dev/null and b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_appstore.png differ diff --git a/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_blog.png b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_blog.png new file mode 100755 index 000000000..0bb552512 Binary files /dev/null and b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_blog.png differ diff --git a/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_books.png b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_books.png new file mode 100755 index 000000000..49ec0fba7 Binary files /dev/null and b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_books.png differ diff --git a/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_calendar.png b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_calendar.png new file mode 100755 index 000000000..26520f73a Binary files /dev/null and b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_calendar.png differ diff --git a/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_certification.png b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_certification.png new file mode 100755 index 000000000..a695edce9 Binary files /dev/null and b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_certification.png differ diff --git a/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_clubs.png b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_clubs.png new file mode 100755 index 000000000..f22aa6dde Binary files /dev/null and b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_clubs.png differ diff --git a/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_connection.png b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_connection.png new file mode 100755 index 000000000..ac6978eb3 Binary files /dev/null and b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_connection.png differ diff --git a/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_courses.png b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_courses.png new file mode 100755 index 000000000..3d521ddf5 Binary files /dev/null and b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_courses.png differ diff --git a/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_education.png b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_education.png new file mode 100755 index 000000000..fa366a174 Binary files /dev/null and b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_education.png differ diff --git a/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_experience.png b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_experience.png new file mode 100755 index 000000000..f182981bc Binary files /dev/null and b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_experience.png differ diff --git a/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_files.png b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_files.png new file mode 100755 index 000000000..99299d80c Binary files /dev/null and b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_files.png differ diff --git a/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_home.png b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_home.png new file mode 100755 index 000000000..67f4a2272 Binary files /dev/null and b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_home.png differ diff --git a/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_homework.png b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_homework.png new file mode 100755 index 000000000..28f1b2666 Binary files /dev/null and b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_homework.png differ diff --git a/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_honors.png b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_honors.png new file mode 100755 index 000000000..778cfa842 Binary files /dev/null and b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_honors.png differ diff --git a/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_journal_p.png b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_journal_p.png new file mode 100755 index 000000000..5f0e27576 Binary files /dev/null and b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_journal_p.png differ diff --git a/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_labs.png b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_labs.png new file mode 100755 index 000000000..fcb929e6b Binary files /dev/null and b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_labs.png differ diff --git a/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_landt.png b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_landt.png new file mode 100755 index 000000000..c003ec8d5 Binary files /dev/null and b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_landt.png differ diff --git a/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_mypage.png b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_mypage.png new file mode 100755 index 000000000..9d466a959 Binary files /dev/null and b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_mypage.png differ diff --git a/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_orbit.png b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_orbit.png new file mode 100755 index 000000000..e5852979e Binary files /dev/null and b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_orbit.png differ diff --git a/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_patents.png b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_patents.png new file mode 100755 index 000000000..5b08a5293 Binary files /dev/null and b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_patents.png differ diff --git a/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_personal.png b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_personal.png new file mode 100755 index 000000000..a0a2140bf Binary files /dev/null and b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_personal.png differ diff --git a/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_publication.png b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_publication.png new file mode 100755 index 000000000..a3220b864 Binary files /dev/null and b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_publication.png differ diff --git a/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_research.png b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_research.png new file mode 100755 index 000000000..691ebe255 Binary files /dev/null and b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_research.png differ diff --git a/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_research_d.png b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_research_d.png new file mode 100755 index 000000000..4301e5731 Binary files /dev/null and b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_research_d.png differ diff --git a/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_research_p.png b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_research_p.png new file mode 100755 index 000000000..d3ba06cdb Binary files /dev/null and b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_research_p.png differ diff --git a/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_sections.png b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_sections.png new file mode 100755 index 000000000..6832e3d0f Binary files /dev/null and b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_sections.png differ diff --git a/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_seminar_p.png b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_seminar_p.png new file mode 100755 index 000000000..36cfb59ad Binary files /dev/null and b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_seminar_p.png differ diff --git a/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_settings.png b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_settings.png new file mode 100755 index 000000000..0ca9b18de Binary files /dev/null and b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_settings.png differ diff --git a/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_working.png b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_working.png new file mode 100755 index 000000000..9bc389819 Binary files /dev/null and b/public/desktop_themes/4f8d3f533b67fcd05f08635a/images/d_working.png differ diff --git a/public/desktop_themes/4f8d3f533b67fcd05f08635a/settings/4f8d3f533b67fcd05f08635a.json b/public/desktop_themes/4f8d3f533b67fcd05f08635a/settings/4f8d3f533b67fcd05f08635a.json new file mode 100755 index 000000000..21c4eee1e --- /dev/null +++ b/public/desktop_themes/4f8d3f533b67fcd05f08635a/settings/4f8d3f533b67fcd05f08635a.json @@ -0,0 +1,39 @@ +{ + "css":"natural.css", + "background":"background.jpg", + "tilecolor":["thmc1","thmc2"], + "icons":{ + "home":"d_home.png", + "app_manager":"d_app_manager.png", + "sections":"d_sections.png", + "settings":"d_settings.png", + "publication":"d_publication.png", + "journal_p":"d_journal_p.png", + "seminar_p":"d_seminar_p.png", + "books":"d_books.png", + "research":"d_research.png", + "research_d":"d_research_d.png", + "research_p":"d_research_p.png", + "patents":"d_patents.png", + "labs":"d_labs.png", + "experience":"d_experience.png", + "working":"d_working.png", + "education":"d_education.png", + "honors":"d_honors.png", + "activities":"d_activities.png", + "clubs":"d_clubs.png", + "landt":"d_landt.png", + "courses":"d_courses.png", + "homework":"d_homework.png", + "certification":"d_certification.png", + "personal":"d_personal.png", + "mypage":"d_mypage.png", + "blog":"d_blog.png", + "album":"d_album.png", + "calendar":"d_calendar.png", + "files":"d_files.png", + "orbit":"d_orbit.png", + "connection":"d_connection.png", + "appstore":"d_appstore.png" + } + } \ No newline at end of file diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/css/default.css b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/css/default.css new file mode 100755 index 000000000..535227b07 --- /dev/null +++ b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/css/default.css @@ -0,0 +1,45 @@ +/* +Theme Color + +random apply to: +.widget_fn - on hover status +#search_app .submit +.tile + +*/ +.thmc1 { background: #F0F; } +.thmc2 { background: #FF0; } + +/* +sub1 Theme Color + +apply to: +#search_app + +*/ +.thmc3 { background: #000000; } + +/* +sub1 Theme Color + +apply to: +#rwidget + +*/ +.thmc4 { background: #C6F; } + + +/* Theme Text Color */ +.thmtxt { color: #000; } +.thmtxth { color: #F00; } + +/* Group Seprate Color */ +.g_sep { border-color: #fff; } + +/* +theme bg image + +#thmbackground img - background +#bgover - upon #thmbackground + +*/ \ No newline at end of file diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/apps.png b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/apps.png new file mode 100644 index 000000000..67b69c89f Binary files /dev/null and b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/apps.png differ diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/background.jpg b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/background.jpg new file mode 100644 index 000000000..2df405f51 Binary files /dev/null and b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/background.jpg differ diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_activities.png b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_activities.png new file mode 100644 index 000000000..b481e6768 Binary files /dev/null and b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_activities.png differ diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_album.png b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_album.png new file mode 100644 index 000000000..6f0e4a171 Binary files /dev/null and b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_album.png differ diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_app_manager.png b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_app_manager.png new file mode 100644 index 000000000..da09e5a4a Binary files /dev/null and b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_app_manager.png differ diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_appstore.png b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_appstore.png new file mode 100644 index 000000000..e82e745dc Binary files /dev/null and b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_appstore.png differ diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_blog.png b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_blog.png new file mode 100644 index 000000000..0bb552512 Binary files /dev/null and b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_blog.png differ diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_books.png b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_books.png new file mode 100644 index 000000000..49ec0fba7 Binary files /dev/null and b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_books.png differ diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_calendar.png b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_calendar.png new file mode 100644 index 000000000..26520f73a Binary files /dev/null and b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_calendar.png differ diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_certification.png b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_certification.png new file mode 100644 index 000000000..a695edce9 Binary files /dev/null and b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_certification.png differ diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_clubs.png b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_clubs.png new file mode 100644 index 000000000..f22aa6dde Binary files /dev/null and b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_clubs.png differ diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_connection.png b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_connection.png new file mode 100644 index 000000000..ac6978eb3 Binary files /dev/null and b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_connection.png differ diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_courses.png b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_courses.png new file mode 100644 index 000000000..3d521ddf5 Binary files /dev/null and b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_courses.png differ diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_education.png b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_education.png new file mode 100755 index 000000000..fa366a174 Binary files /dev/null and b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_education.png differ diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_experience.png b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_experience.png new file mode 100644 index 000000000..f182981bc Binary files /dev/null and b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_experience.png differ diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_files.png b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_files.png new file mode 100644 index 000000000..99299d80c Binary files /dev/null and b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_files.png differ diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_home.png b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_home.png new file mode 100644 index 000000000..67f4a2272 Binary files /dev/null and b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_home.png differ diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_homework.png b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_homework.png new file mode 100644 index 000000000..28f1b2666 Binary files /dev/null and b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_homework.png differ diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_honors.png b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_honors.png new file mode 100755 index 000000000..778cfa842 Binary files /dev/null and b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_honors.png differ diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_journal_p.png b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_journal_p.png new file mode 100644 index 000000000..5f0e27576 Binary files /dev/null and b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_journal_p.png differ diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_labs.png b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_labs.png new file mode 100644 index 000000000..fcb929e6b Binary files /dev/null and b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_labs.png differ diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_landt.png b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_landt.png new file mode 100644 index 000000000..c003ec8d5 Binary files /dev/null and b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_landt.png differ diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_mypage.png b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_mypage.png new file mode 100644 index 000000000..9d466a959 Binary files /dev/null and b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_mypage.png differ diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_orbit.png b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_orbit.png new file mode 100755 index 000000000..e5852979e Binary files /dev/null and b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_orbit.png differ diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_patents.png b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_patents.png new file mode 100644 index 000000000..5b08a5293 Binary files /dev/null and b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_patents.png differ diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_personal.png b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_personal.png new file mode 100644 index 000000000..a0a2140bf Binary files /dev/null and b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_personal.png differ diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_publication.png b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_publication.png new file mode 100644 index 000000000..a3220b864 Binary files /dev/null and b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_publication.png differ diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_research.png b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_research.png new file mode 100644 index 000000000..691ebe255 Binary files /dev/null and b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_research.png differ diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_research_d.png b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_research_d.png new file mode 100644 index 000000000..4301e5731 Binary files /dev/null and b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_research_d.png differ diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_research_p.png b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_research_p.png new file mode 100644 index 000000000..d3ba06cdb Binary files /dev/null and b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_research_p.png differ diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_sections.png b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_sections.png new file mode 100644 index 000000000..6832e3d0f Binary files /dev/null and b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_sections.png differ diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_seminar_p.png b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_seminar_p.png new file mode 100644 index 000000000..36cfb59ad Binary files /dev/null and b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_seminar_p.png differ diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_settings.png b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_settings.png new file mode 100644 index 000000000..0ca9b18de Binary files /dev/null and b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_settings.png differ diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_working.png b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_working.png new file mode 100644 index 000000000..9bc389819 Binary files /dev/null and b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/d_working.png differ diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/home.png b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/home.png new file mode 100644 index 000000000..56efebb54 Binary files /dev/null and b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/home.png differ diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/sections.png b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/sections.png new file mode 100644 index 000000000..7b6a039f4 Binary files /dev/null and b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/images/sections.png differ diff --git a/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/settings/4f8d3f5d3b67fcd05f08635b.json b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/settings/4f8d3f5d3b67fcd05f08635b.json new file mode 100755 index 000000000..64701e64d --- /dev/null +++ b/public/desktop_themes/4f8d3f5d3b67fcd05f08635b/settings/4f8d3f5d3b67fcd05f08635b.json @@ -0,0 +1,39 @@ +{ + "css":"default.css", + "background":"background.jpg", + "tilecolor":["thmc1","thmc2"], + "icons":{ + "home":"d_home.png", + "app_manager":"d_app_manager.png", + "sections":"d_sections.png", + "settings":"d_settings.png", + "publication":"d_publication.png", + "journal_p":"d_journal_p.png", + "seminar_p":"d_seminar_p.png", + "books":"d_books.png", + "research":"d_research.png", + "research_d":"d_research_d.png", + "research_p":"d_research_p.png", + "patents":"d_patents.png", + "labs":"d_labs.png", + "experience":"d_experience.png", + "working":"d_working.png", + "education":"d_education.png", + "honors":"d_honors.png", + "activities":"d_activities.png", + "clubs":"d_clubs.png", + "landt":"d_landt.png", + "courses":"d_courses.png", + "homework":"d_homework.png", + "certification":"d_certification.png", + "personal":"d_personal.png", + "mypage":"d_mypage.png", + "blog":"d_blog.png", + "album":"d_album.png", + "calendar":"d_calendar.png", + "files":"d_files.png", + "orbit":"d_orbit.png", + "connection":"d_connection.png", + "appstore":"d_appstore.png" + } + } \ No newline at end of file diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/css/default.css b/public/desktop_themes/4f8d3f673b67fcd05f08635c/css/default.css new file mode 100755 index 000000000..05b25eb1b --- /dev/null +++ b/public/desktop_themes/4f8d3f673b67fcd05f08635c/css/default.css @@ -0,0 +1,45 @@ +/* +Theme Color + +random apply to: +.widget_fn - on hover status +#search_app .submit +.tile + +*/ +.thmc1 { background: #CC9; } +.thmc2 { background: #CC0; } + +/* +sub1 Theme Color + +apply to: +#search_app + +*/ +.thmc3 { background: #FFFFFF; } + +/* +sub1 Theme Color + +apply to: +#rwidget + +*/ +.thmc4 { background: #000000; } + + +/* Theme Text Color */ +.thmtxt { color: #000; } +.thmtxth { color: #fff; } + +/* Group Seprate Color */ +.g_sep { border-color: #fff; } + +/* +theme bg image + +#thmbackground img - background +#bgover - upon #thmbackground + +*/ \ No newline at end of file diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/apps.png b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/apps.png new file mode 100644 index 000000000..67b69c89f Binary files /dev/null and b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/apps.png differ diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/background.jpg b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/background.jpg new file mode 100644 index 000000000..5eb4d999e Binary files /dev/null and b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/background.jpg differ diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_activities.png b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_activities.png new file mode 100644 index 000000000..b481e6768 Binary files /dev/null and b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_activities.png differ diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_album.png b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_album.png new file mode 100644 index 000000000..6f0e4a171 Binary files /dev/null and b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_album.png differ diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_app_manager.png b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_app_manager.png new file mode 100644 index 000000000..da09e5a4a Binary files /dev/null and b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_app_manager.png differ diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_appstore.png b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_appstore.png new file mode 100644 index 000000000..e82e745dc Binary files /dev/null and b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_appstore.png differ diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_blog.png b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_blog.png new file mode 100644 index 000000000..0bb552512 Binary files /dev/null and b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_blog.png differ diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_books.png b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_books.png new file mode 100644 index 000000000..49ec0fba7 Binary files /dev/null and b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_books.png differ diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_calendar.png b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_calendar.png new file mode 100644 index 000000000..26520f73a Binary files /dev/null and b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_calendar.png differ diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_certification.png b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_certification.png new file mode 100644 index 000000000..a695edce9 Binary files /dev/null and b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_certification.png differ diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_clubs.png b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_clubs.png new file mode 100644 index 000000000..f22aa6dde Binary files /dev/null and b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_clubs.png differ diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_connection.png b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_connection.png new file mode 100644 index 000000000..ac6978eb3 Binary files /dev/null and b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_connection.png differ diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_courses.png b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_courses.png new file mode 100644 index 000000000..3d521ddf5 Binary files /dev/null and b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_courses.png differ diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_education.png b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_education.png new file mode 100755 index 000000000..fa366a174 Binary files /dev/null and b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_education.png differ diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_experience.png b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_experience.png new file mode 100644 index 000000000..f182981bc Binary files /dev/null and b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_experience.png differ diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_files.png b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_files.png new file mode 100644 index 000000000..99299d80c Binary files /dev/null and b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_files.png differ diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_home.png b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_home.png new file mode 100644 index 000000000..67f4a2272 Binary files /dev/null and b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_home.png differ diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_homework.png b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_homework.png new file mode 100644 index 000000000..28f1b2666 Binary files /dev/null and b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_homework.png differ diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_honors.png b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_honors.png new file mode 100755 index 000000000..778cfa842 Binary files /dev/null and b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_honors.png differ diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_journal_p.png b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_journal_p.png new file mode 100644 index 000000000..5f0e27576 Binary files /dev/null and b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_journal_p.png differ diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_labs.png b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_labs.png new file mode 100644 index 000000000..fcb929e6b Binary files /dev/null and b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_labs.png differ diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_landt.png b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_landt.png new file mode 100644 index 000000000..c003ec8d5 Binary files /dev/null and b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_landt.png differ diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_mypage.png b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_mypage.png new file mode 100644 index 000000000..9d466a959 Binary files /dev/null and b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_mypage.png differ diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_orbit.png b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_orbit.png new file mode 100755 index 000000000..e5852979e Binary files /dev/null and b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_orbit.png differ diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_patents.png b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_patents.png new file mode 100644 index 000000000..5b08a5293 Binary files /dev/null and b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_patents.png differ diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_personal.png b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_personal.png new file mode 100644 index 000000000..a0a2140bf Binary files /dev/null and b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_personal.png differ diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_publication.png b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_publication.png new file mode 100644 index 000000000..a3220b864 Binary files /dev/null and b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_publication.png differ diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_research.png b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_research.png new file mode 100644 index 000000000..691ebe255 Binary files /dev/null and b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_research.png differ diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_research_d.png b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_research_d.png new file mode 100644 index 000000000..4301e5731 Binary files /dev/null and b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_research_d.png differ diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_research_p.png b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_research_p.png new file mode 100644 index 000000000..d3ba06cdb Binary files /dev/null and b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_research_p.png differ diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_sections.png b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_sections.png new file mode 100644 index 000000000..6832e3d0f Binary files /dev/null and b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_sections.png differ diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_seminar_p.png b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_seminar_p.png new file mode 100644 index 000000000..36cfb59ad Binary files /dev/null and b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_seminar_p.png differ diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_settings.png b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_settings.png new file mode 100644 index 000000000..0ca9b18de Binary files /dev/null and b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_settings.png differ diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_working.png b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_working.png new file mode 100644 index 000000000..9bc389819 Binary files /dev/null and b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/d_working.png differ diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/home.png b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/home.png new file mode 100644 index 000000000..56efebb54 Binary files /dev/null and b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/home.png differ diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/sections.png b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/sections.png new file mode 100644 index 000000000..7b6a039f4 Binary files /dev/null and b/public/desktop_themes/4f8d3f673b67fcd05f08635c/images/sections.png differ diff --git a/public/desktop_themes/4f8d3f673b67fcd05f08635c/settings/4f8d3f673b67fcd05f08635c.json b/public/desktop_themes/4f8d3f673b67fcd05f08635c/settings/4f8d3f673b67fcd05f08635c.json new file mode 100755 index 000000000..64701e64d --- /dev/null +++ b/public/desktop_themes/4f8d3f673b67fcd05f08635c/settings/4f8d3f673b67fcd05f08635c.json @@ -0,0 +1,39 @@ +{ + "css":"default.css", + "background":"background.jpg", + "tilecolor":["thmc1","thmc2"], + "icons":{ + "home":"d_home.png", + "app_manager":"d_app_manager.png", + "sections":"d_sections.png", + "settings":"d_settings.png", + "publication":"d_publication.png", + "journal_p":"d_journal_p.png", + "seminar_p":"d_seminar_p.png", + "books":"d_books.png", + "research":"d_research.png", + "research_d":"d_research_d.png", + "research_p":"d_research_p.png", + "patents":"d_patents.png", + "labs":"d_labs.png", + "experience":"d_experience.png", + "working":"d_working.png", + "education":"d_education.png", + "honors":"d_honors.png", + "activities":"d_activities.png", + "clubs":"d_clubs.png", + "landt":"d_landt.png", + "courses":"d_courses.png", + "homework":"d_homework.png", + "certification":"d_certification.png", + "personal":"d_personal.png", + "mypage":"d_mypage.png", + "blog":"d_blog.png", + "album":"d_album.png", + "calendar":"d_calendar.png", + "files":"d_files.png", + "orbit":"d_orbit.png", + "connection":"d_connection.png", + "appstore":"d_appstore.png" + } + } \ No newline at end of file diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/css/default.css b/public/desktop_themes/4f8d3f783b67fcd05f08635d/css/default.css new file mode 100644 index 000000000..d1fe39161 --- /dev/null +++ b/public/desktop_themes/4f8d3f783b67fcd05f08635d/css/default.css @@ -0,0 +1,44 @@ +/* +Theme Color + +random apply to: +.widget_fn - on hover status +#search_app .submit +.tile + +*/ +.thmc1 { background: #271D13; } +.thmc2 { background: #967957; } + +/* +sub1 Theme Color + +apply to: +#search_app + +*/ +.thmc3 { background: #FFFFFF; } + +/* +sub1 Theme Color + +apply to: +#rwidget + +*/ +.thmc4 { background: #000; } + + +/* Theme Text Color */ +.thmtxt { color: #fff; } +.thmtxth { color: #fff; } +/* Group Seprate Color */ +.g_sep { border-color: #fff; } + +/* +theme bg image + +#thmbackground img - background +#bgover - upon #thmbackground + +*/ \ No newline at end of file diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/Home-icon.png b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/Home-icon.png new file mode 100644 index 000000000..97cef9859 Binary files /dev/null and b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/Home-icon.png differ diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/apps.png b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/apps.png new file mode 100644 index 000000000..67b69c89f Binary files /dev/null and b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/apps.png differ diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/background.jpg b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/background.jpg new file mode 100644 index 000000000..0589fd94a Binary files /dev/null and b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/background.jpg differ diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_activities.png b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_activities.png new file mode 100644 index 000000000..b481e6768 Binary files /dev/null and b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_activities.png differ diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_album.png b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_album.png new file mode 100644 index 000000000..6f0e4a171 Binary files /dev/null and b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_album.png differ diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_app_manager.png b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_app_manager.png new file mode 100644 index 000000000..da09e5a4a Binary files /dev/null and b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_app_manager.png differ diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_appstore.png b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_appstore.png new file mode 100644 index 000000000..e82e745dc Binary files /dev/null and b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_appstore.png differ diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_blog.png b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_blog.png new file mode 100644 index 000000000..0bb552512 Binary files /dev/null and b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_blog.png differ diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_books.png b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_books.png new file mode 100644 index 000000000..49ec0fba7 Binary files /dev/null and b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_books.png differ diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_calendar.png b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_calendar.png new file mode 100644 index 000000000..26520f73a Binary files /dev/null and b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_calendar.png differ diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_certification.png b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_certification.png new file mode 100644 index 000000000..a695edce9 Binary files /dev/null and b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_certification.png differ diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_clubs.png b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_clubs.png new file mode 100644 index 000000000..f22aa6dde Binary files /dev/null and b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_clubs.png differ diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_connection.png b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_connection.png new file mode 100644 index 000000000..ac6978eb3 Binary files /dev/null and b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_connection.png differ diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_courses.png b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_courses.png new file mode 100644 index 000000000..3d521ddf5 Binary files /dev/null and b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_courses.png differ diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_education.png b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_education.png new file mode 100755 index 000000000..fa366a174 Binary files /dev/null and b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_education.png differ diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_experience.png b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_experience.png new file mode 100644 index 000000000..f182981bc Binary files /dev/null and b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_experience.png differ diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_files.png b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_files.png new file mode 100644 index 000000000..99299d80c Binary files /dev/null and b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_files.png differ diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_home.png b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_home.png new file mode 100644 index 000000000..67f4a2272 Binary files /dev/null and b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_home.png differ diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_homework.png b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_homework.png new file mode 100644 index 000000000..28f1b2666 Binary files /dev/null and b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_homework.png differ diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_honors.png b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_honors.png new file mode 100755 index 000000000..778cfa842 Binary files /dev/null and b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_honors.png differ diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_journal_p.png b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_journal_p.png new file mode 100644 index 000000000..5f0e27576 Binary files /dev/null and b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_journal_p.png differ diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_labs.png b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_labs.png new file mode 100644 index 000000000..fcb929e6b Binary files /dev/null and b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_labs.png differ diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_landt.png b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_landt.png new file mode 100644 index 000000000..c003ec8d5 Binary files /dev/null and b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_landt.png differ diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_mypage.png b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_mypage.png new file mode 100644 index 000000000..9d466a959 Binary files /dev/null and b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_mypage.png differ diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_orbit.png b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_orbit.png new file mode 100755 index 000000000..e5852979e Binary files /dev/null and b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_orbit.png differ diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_patents.png b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_patents.png new file mode 100644 index 000000000..5b08a5293 Binary files /dev/null and b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_patents.png differ diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_personal.png b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_personal.png new file mode 100644 index 000000000..a0a2140bf Binary files /dev/null and b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_personal.png differ diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_publication.png b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_publication.png new file mode 100644 index 000000000..a3220b864 Binary files /dev/null and b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_publication.png differ diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_research.png b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_research.png new file mode 100644 index 000000000..691ebe255 Binary files /dev/null and b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_research.png differ diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_research_d.png b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_research_d.png new file mode 100644 index 000000000..4301e5731 Binary files /dev/null and b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_research_d.png differ diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_research_p.png b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_research_p.png new file mode 100644 index 000000000..d3ba06cdb Binary files /dev/null and b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_research_p.png differ diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_sections.png b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_sections.png new file mode 100644 index 000000000..6832e3d0f Binary files /dev/null and b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_sections.png differ diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_seminar_p.png b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_seminar_p.png new file mode 100644 index 000000000..36cfb59ad Binary files /dev/null and b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_seminar_p.png differ diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_settings.png b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_settings.png new file mode 100644 index 000000000..0ca9b18de Binary files /dev/null and b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_settings.png differ diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_working.png b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_working.png new file mode 100644 index 000000000..9bc389819 Binary files /dev/null and b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/d_working.png differ diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/home.png b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/home.png new file mode 100644 index 000000000..56efebb54 Binary files /dev/null and b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/home.png differ diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/sections.png b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/sections.png new file mode 100644 index 000000000..7b6a039f4 Binary files /dev/null and b/public/desktop_themes/4f8d3f783b67fcd05f08635d/images/sections.png differ diff --git a/public/desktop_themes/4f8d3f783b67fcd05f08635d/settings/4f8d3f783b67fcd05f08635d.json b/public/desktop_themes/4f8d3f783b67fcd05f08635d/settings/4f8d3f783b67fcd05f08635d.json new file mode 100755 index 000000000..64701e64d --- /dev/null +++ b/public/desktop_themes/4f8d3f783b67fcd05f08635d/settings/4f8d3f783b67fcd05f08635d.json @@ -0,0 +1,39 @@ +{ + "css":"default.css", + "background":"background.jpg", + "tilecolor":["thmc1","thmc2"], + "icons":{ + "home":"d_home.png", + "app_manager":"d_app_manager.png", + "sections":"d_sections.png", + "settings":"d_settings.png", + "publication":"d_publication.png", + "journal_p":"d_journal_p.png", + "seminar_p":"d_seminar_p.png", + "books":"d_books.png", + "research":"d_research.png", + "research_d":"d_research_d.png", + "research_p":"d_research_p.png", + "patents":"d_patents.png", + "labs":"d_labs.png", + "experience":"d_experience.png", + "working":"d_working.png", + "education":"d_education.png", + "honors":"d_honors.png", + "activities":"d_activities.png", + "clubs":"d_clubs.png", + "landt":"d_landt.png", + "courses":"d_courses.png", + "homework":"d_homework.png", + "certification":"d_certification.png", + "personal":"d_personal.png", + "mypage":"d_mypage.png", + "blog":"d_blog.png", + "album":"d_album.png", + "calendar":"d_calendar.png", + "files":"d_files.png", + "orbit":"d_orbit.png", + "connection":"d_connection.png", + "appstore":"d_appstore.png" + } + } \ No newline at end of file diff --git a/public/desktop_widgets/4fa7810ac88514014d7c59bc/4fa7810ac88514014d7c59bc.js b/public/desktop_widgets/4fa7810ac88514014d7c59bc/4fa7810ac88514014d7c59bc.js new file mode 100755 index 000000000..d4237c012 --- /dev/null +++ b/public/desktop_widgets/4fa7810ac88514014d7c59bc/4fa7810ac88514014d7c59bc.js @@ -0,0 +1,171 @@ +/*! + * jquery.tzineClock.js - Tutorialzine Colorful Clock Plugin + * + * Copyright (c) 2009 Martin Angelov + * http://tutorialzine.com/ + * + * Licensed under MIT + * http://www.opensource.org/licenses/mit-license.php + * + * Launch : December 2009 + * Version : 1.0 + * Released: Monday 28th December, 2009 - 00:00 + */ + +(function($){ + + // A global array used by the functions of the plug-in: + var gVars = {}; + + // Extending the jQuery core: + $.fn.tzineClock = function(opts){ + + // "this" contains the elements that were selected when calling the plugin: $('elements').tzineClock(); + // If the selector returned more than one element, use the first one: + + var container = this.eq(0); + + if(!container) + { + try{ + console.log("Invalid selector!"); + } catch(e){} + + return false; + } + + if(!opts) opts = {}; + + var defaults = { + /* Additional options will be added in future versions of the plugin. */ + }; + + /* Merging the provided options with the default ones (will be used in future versions of the plugin): */ + $.each(defaults,function(k,v){ + opts[k] = opts[k] || defaults[k]; + }) + + // Calling the setUp function and passing the container, + // will be available to the setUp function as "this": + setUp.call(container); + + return this; + } + + function setUp() + { + // The colors of the dials: + var colors = ['orange','blue','green']; + + var tmp; + + for(var i=0;i<3;i++) + { + // Creating a new element and setting the color as a class name: + + tmp = $('
    ').attr('class',colors[i]+' clock').html( + '
    '+ + + '
    '+ + + '
    '+ + '
    '+ + '
    '+ + + '
    '+ + '
    '+ + '
    ' + ); + + // Appending to the container: + $(this).append(tmp); + + // Assigning some of the elements as variables for speed: + tmp.rotateLeft = tmp.find('.rotate.left'); + tmp.rotateRight = tmp.find('.rotate.right'); + tmp.display = tmp.find('.display'); + + // Adding the dial as a global variable. Will be available as gVars.colorName + gVars[colors[i]] = tmp; + } + + // Setting up a interval, executed every 1000 milliseconds: + setInterval(function(){ + + var currentTime = new Date(); + var h = currentTime.getHours(); + var m = currentTime.getMinutes(); + var s = currentTime.getSeconds(); + + animation(gVars.green, s, 60); + animation(gVars.blue, m, 60); + animation(gVars.orange, h, 24); + + },1000); + } + + function animation(clock, current, total) + { + // Calculating the current angle: + var angle = (360/total)*(current+1); + + var element; + + if(current==0) + { + // Hiding the right half of the background: + clock.rotateRight.hide(); + + // Resetting the rotation of the left part: + rotateElement(clock.rotateLeft,0); + } + + if(angle<=180) + { + // The left part is rotated, and the right is currently hidden: + element = clock.rotateLeft; + } + else + { + // The first part of the rotation has completed, so we start rotating the right part: + clock.rotateRight.show(); + clock.rotateLeft.show(); + + rotateElement(clock.rotateLeft,180); + + element = clock.rotateRight; + angle = angle-180; + } + + rotateElement(element,angle); + + // Setting the text inside of the display element, inserting a leading zero if needed: + clock.display.html(current<10?'0'+current:current); + } + + function rotateElement(element,angle) + { + // Rotating the element, depending on the browser: + var rotate = 'rotate('+angle+'deg)'; + + if(element.css('MozTransform')!=undefined) + element.css('MozTransform',rotate); + + else if(element.css('WebkitTransform')!=undefined) + element.css('WebkitTransform',rotate); + + // A version for internet explorer using filters, works but is a bit buggy (no surprise here): + else if(element.css("filter")!=undefined) + { + var cos = Math.cos(Math.PI * 2 / 360 * angle); + var sin = Math.sin(Math.PI * 2 / 360 * angle); + + element.css("filter","progid:DXImageTransform.Microsoft.Matrix(M11="+cos+",M12=-"+sin+",M21="+sin+",M22="+cos+",SizingMethod='auto expand',FilterType='nearest neighbor')"); + + element.css("left",-Math.floor((element.width()-200)/2)); + element.css("top",-Math.floor((element.height()-200)/2)); + } + + } + +})(jQuery) \ No newline at end of file diff --git a/public/desktop_widgets/4fa7810ac88514014d7c59bc/img/bg_blue.png b/public/desktop_widgets/4fa7810ac88514014d7c59bc/img/bg_blue.png new file mode 100644 index 000000000..7f53ed5c1 Binary files /dev/null and b/public/desktop_widgets/4fa7810ac88514014d7c59bc/img/bg_blue.png differ diff --git a/public/desktop_widgets/4fa7810ac88514014d7c59bc/img/bg_green.png b/public/desktop_widgets/4fa7810ac88514014d7c59bc/img/bg_green.png new file mode 100644 index 000000000..ce092cfc9 Binary files /dev/null and b/public/desktop_widgets/4fa7810ac88514014d7c59bc/img/bg_green.png differ diff --git a/public/desktop_widgets/4fa7810ac88514014d7c59bc/img/bg_orange.png b/public/desktop_widgets/4fa7810ac88514014d7c59bc/img/bg_orange.png new file mode 100644 index 000000000..f13fdc7c6 Binary files /dev/null and b/public/desktop_widgets/4fa7810ac88514014d7c59bc/img/bg_orange.png differ diff --git a/public/desktop_widgets/4fa7810ac88514014d7c59bc/index.html.erb b/public/desktop_widgets/4fa7810ac88514014d7c59bc/index.html.erb new file mode 100755 index 000000000..2a69e24cd --- /dev/null +++ b/public/desktop_widgets/4fa7810ac88514014d7c59bc/index.html.erb @@ -0,0 +1,81 @@ + + +
    + \ No newline at end of file diff --git a/public/desktop_widgets/4fa7810ac88514014d7c59bc/temp/bg_blue.png b/public/desktop_widgets/4fa7810ac88514014d7c59bc/temp/bg_blue.png new file mode 100755 index 000000000..ea275d1b4 Binary files /dev/null and b/public/desktop_widgets/4fa7810ac88514014d7c59bc/temp/bg_blue.png differ diff --git a/public/desktop_widgets/4fa7810ac88514014d7c59bc/temp/bg_green.png b/public/desktop_widgets/4fa7810ac88514014d7c59bc/temp/bg_green.png new file mode 100755 index 000000000..393618c27 Binary files /dev/null and b/public/desktop_widgets/4fa7810ac88514014d7c59bc/temp/bg_green.png differ diff --git a/public/desktop_widgets/4fa7810ac88514014d7c59bc/temp/bg_orange.png b/public/desktop_widgets/4fa7810ac88514014d7c59bc/temp/bg_orange.png new file mode 100755 index 000000000..84d322073 Binary files /dev/null and b/public/desktop_widgets/4fa7810ac88514014d7c59bc/temp/bg_orange.png differ diff --git a/public/desktop_widgets/4fa7810ac88514014d7c59bc/temp/clock.css b/public/desktop_widgets/4fa7810ac88514014d7c59bc/temp/clock.css new file mode 100755 index 000000000..8790b137b --- /dev/null +++ b/public/desktop_widgets/4fa7810ac88514014d7c59bc/temp/clock.css @@ -0,0 +1,69 @@ +.clock{ + /* The .clock div. Created dynamically by jQuery */ + /*background-color:#252525;*/ + height:200px; + width:200px; + position:relative; + overflow:hidden; + float:left; +} + +.clock .rotate{ + /* There are two .rotate divs - one for each half of the background */ + position:absolute; + width:200px; + height:200px; + top:0; + left:0; +} + +.rotate.right{ + display:none; + z-index:11; +} + +.clock .bg, .clock .front{ + width:100px; + height:200px; + /*background-color:#252525;*/ + position:absolute; + top:0; +} + +.clock .display{ + /* Holds the number of seconds, minutes or hours respectfully */ + position:absolute; + width:200px; + font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif; + z-index:20; + color:#F5F5F5; + font-size:60px; + text-align:center; + top:65px; + left:0; + + /* CSS3 text shadow: */ + text-shadow:4px 4px 5px #333333; +} + +/* The left part of the background: */ + +.clock .bg.left{ left:0; } + +/* Individual styles for each color: */ +.orange .bg.left{ background:url(bg_orange.png) no-repeat left top; } +.green .bg.left{ background:url(bg_green.png) no-repeat left top; } +.blue .bg.left{ background:url(bg_blue.png) no-repeat left top; } + +/* The right part of the background: */ +.clock .bg.right{ left:100px; } + +.orange .bg.right{ background:url(bg_orange.png) no-repeat right top; } +.green .bg.right{ background:url(bg_green.png) no-repeat right top; } +.blue .bg.right{ background:url(bg_blue.png) no-repeat right top; } + + +.clock .front.left{ + left:0; + z-index:10; +} diff --git a/public/desktop_widgets/4fa7812ec88514014d7c59bd/4fa7812ec88514014d7c59bd.js b/public/desktop_widgets/4fa7812ec88514014d7c59bd/4fa7812ec88514014d7c59bd.js new file mode 100644 index 000000000..f68298d53 --- /dev/null +++ b/public/desktop_widgets/4fa7812ec88514014d7c59bd/4fa7812ec88514014d7c59bd.js @@ -0,0 +1,40 @@ +var gmail = function(){ + $.ajax({ + url: "/desktop/forgmail", + dataType : "xml", + success:function(data){ + if($(data).find("HEAD").find("ERROR").text()=="true"){ + $("#gmail #content #msgbody").text($(data).find("HEAD").find("ERRORMSG").text()); + }else{ + if($(data).find("HEAD").find("TITLE").text()=="Unauthorized"){ + $("#gmail #forerror").text($(data).find("HEAD").find("TITLE").text()).show(); + }else{ + if($(data).find("fullcount").text()=="0"){ + $("#gmail #forerror").hide(); + $("#gmail #content #msgbody").text("No new mails"); + }else{ + var msg; + if($(data).find("fullcount").text()=="1") + msg = $(data).find("fullcount").text()+" unread message in your inbox."; + else + msg = $(data).find("fullcount").text()+" unread messages in your inbox."; + o.notify(msg,"alert",2); + $(data).find("entry").each(function(i,val){ + if(i==0){ + $("#gmail #forerror").hide(); + var atag = $(""+$(this).find("title").text()+""); + $("#gmail #content #subject").html($(this).find("title").text()); + $("#gmail #content #date").text($(this).find("issued").text()); + $("#gmail #content #msgbody").text($(this).find("summary").text()); + } + }) + } + } + } + $("#gmail #loading").hide(); + $("#gmail #content").show(); + + } + }); +} + diff --git a/public/desktop_widgets/4fa7812ec88514014d7c59bd/date.js b/public/desktop_widgets/4fa7812ec88514014d7c59bd/date.js new file mode 100644 index 000000000..77f498645 --- /dev/null +++ b/public/desktop_widgets/4fa7812ec88514014d7c59bd/date.js @@ -0,0 +1,104 @@ +/** + * Version: 1.0 Alpha-1 + * Build Date: 13-Nov-2007 + * Copyright (c) 2006-2007, Coolite Inc. (http://www.coolite.com/). All rights reserved. + * License: Licensed under The MIT License. See license.txt and http://www.datejs.com/license/. + * Website: http://www.datejs.com/ or http://www.coolite.com/datejs/ + */ +Date.CultureInfo={name:"en-US",englishName:"English (United States)",nativeName:"English (United States)",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],abbreviatedDayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],shortestDayNames:["Su","Mo","Tu","We","Th","Fr","Sa"],firstLetterDayNames:["S","M","T","W","T","F","S"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],abbreviatedMonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],amDesignator:"AM",pmDesignator:"PM",firstDayOfWeek:0,twoDigitYearMax:2029,dateElementOrder:"mdy",formatPatterns:{shortDate:"M/d/yyyy",longDate:"dddd, MMMM dd, yyyy",shortTime:"h:mm tt",longTime:"h:mm:ss tt",fullDateTime:"dddd, MMMM dd, yyyy h:mm:ss tt",sortableDateTime:"yyyy-MM-ddTHH:mm:ss",universalSortableDateTime:"yyyy-MM-dd HH:mm:ssZ",rfc1123:"ddd, dd MMM yyyy HH:mm:ss GMT",monthDay:"MMMM dd",yearMonth:"MMMM, yyyy"},regexPatterns:{jan:/^jan(uary)?/i,feb:/^feb(ruary)?/i,mar:/^mar(ch)?/i,apr:/^apr(il)?/i,may:/^may/i,jun:/^jun(e)?/i,jul:/^jul(y)?/i,aug:/^aug(ust)?/i,sep:/^sep(t(ember)?)?/i,oct:/^oct(ober)?/i,nov:/^nov(ember)?/i,dec:/^dec(ember)?/i,sun:/^su(n(day)?)?/i,mon:/^mo(n(day)?)?/i,tue:/^tu(e(s(day)?)?)?/i,wed:/^we(d(nesday)?)?/i,thu:/^th(u(r(s(day)?)?)?)?/i,fri:/^fr(i(day)?)?/i,sat:/^sa(t(urday)?)?/i,future:/^next/i,past:/^last|past|prev(ious)?/i,add:/^(\+|after|from)/i,subtract:/^(\-|before|ago)/i,yesterday:/^yesterday/i,today:/^t(oday)?/i,tomorrow:/^tomorrow/i,now:/^n(ow)?/i,millisecond:/^ms|milli(second)?s?/i,second:/^sec(ond)?s?/i,minute:/^min(ute)?s?/i,hour:/^h(ou)?rs?/i,week:/^w(ee)?k/i,month:/^m(o(nth)?s?)?/i,day:/^d(ays?)?/i,year:/^y((ea)?rs?)?/i,shortMeridian:/^(a|p)/i,longMeridian:/^(a\.?m?\.?|p\.?m?\.?)/i,timezone:/^((e(s|d)t|c(s|d)t|m(s|d)t|p(s|d)t)|((gmt)?\s*(\+|\-)\s*\d\d\d\d?)|gmt)/i,ordinalSuffix:/^\s*(st|nd|rd|th)/i,timeContext:/^\s*(\:|a|p)/i},abbreviatedTimeZoneStandard:{GMT:"-000",EST:"-0400",CST:"-0500",MST:"-0600",PST:"-0700"},abbreviatedTimeZoneDST:{GMT:"-000",EDT:"-0500",CDT:"-0600",MDT:"-0700",PDT:"-0800"}}; +Date.getMonthNumberFromName=function(name){var n=Date.CultureInfo.monthNames,m=Date.CultureInfo.abbreviatedMonthNames,s=name.toLowerCase();for(var i=0;idate)?1:(this=start.getTime()&&t<=end.getTime();};Date.prototype.addMilliseconds=function(value){this.setMilliseconds(this.getMilliseconds()+value);return this;};Date.prototype.addSeconds=function(value){return this.addMilliseconds(value*1000);};Date.prototype.addMinutes=function(value){return this.addMilliseconds(value*60000);};Date.prototype.addHours=function(value){return this.addMilliseconds(value*3600000);};Date.prototype.addDays=function(value){return this.addMilliseconds(value*86400000);};Date.prototype.addWeeks=function(value){return this.addMilliseconds(value*604800000);};Date.prototype.addMonths=function(value){var n=this.getDate();this.setDate(1);this.setMonth(this.getMonth()+value);this.setDate(Math.min(n,this.getDaysInMonth()));return this;};Date.prototype.addYears=function(value){return this.addMonths(value*12);};Date.prototype.add=function(config){if(typeof config=="number"){this._orient=config;return this;} +var x=config;if(x.millisecond||x.milliseconds){this.addMilliseconds(x.millisecond||x.milliseconds);} +if(x.second||x.seconds){this.addSeconds(x.second||x.seconds);} +if(x.minute||x.minutes){this.addMinutes(x.minute||x.minutes);} +if(x.hour||x.hours){this.addHours(x.hour||x.hours);} +if(x.month||x.months){this.addMonths(x.month||x.months);} +if(x.year||x.years){this.addYears(x.year||x.years);} +if(x.day||x.days){this.addDays(x.day||x.days);} +return this;};Date._validate=function(value,min,max,name){if(typeof value!="number"){throw new TypeError(value+" is not a Number.");}else if(valuemax){throw new RangeError(value+" is not a valid value for "+name+".");} +return true;};Date.validateMillisecond=function(n){return Date._validate(n,0,999,"milliseconds");};Date.validateSecond=function(n){return Date._validate(n,0,59,"seconds");};Date.validateMinute=function(n){return Date._validate(n,0,59,"minutes");};Date.validateHour=function(n){return Date._validate(n,0,23,"hours");};Date.validateDay=function(n,year,month){return Date._validate(n,1,Date.getDaysInMonth(year,month),"days");};Date.validateMonth=function(n){return Date._validate(n,0,11,"months");};Date.validateYear=function(n){return Date._validate(n,1,9999,"seconds");};Date.prototype.set=function(config){var x=config;if(!x.millisecond&&x.millisecond!==0){x.millisecond=-1;} +if(!x.second&&x.second!==0){x.second=-1;} +if(!x.minute&&x.minute!==0){x.minute=-1;} +if(!x.hour&&x.hour!==0){x.hour=-1;} +if(!x.day&&x.day!==0){x.day=-1;} +if(!x.month&&x.month!==0){x.month=-1;} +if(!x.year&&x.year!==0){x.year=-1;} +if(x.millisecond!=-1&&Date.validateMillisecond(x.millisecond)){this.addMilliseconds(x.millisecond-this.getMilliseconds());} +if(x.second!=-1&&Date.validateSecond(x.second)){this.addSeconds(x.second-this.getSeconds());} +if(x.minute!=-1&&Date.validateMinute(x.minute)){this.addMinutes(x.minute-this.getMinutes());} +if(x.hour!=-1&&Date.validateHour(x.hour)){this.addHours(x.hour-this.getHours());} +if(x.month!==-1&&Date.validateMonth(x.month)){this.addMonths(x.month-this.getMonth());} +if(x.year!=-1&&Date.validateYear(x.year)){this.addYears(x.year-this.getFullYear());} +if(x.day!=-1&&Date.validateDay(x.day,this.getFullYear(),this.getMonth())){this.addDays(x.day-this.getDate());} +if(x.timezone){this.setTimezone(x.timezone);} +if(x.timezoneOffset){this.setTimezoneOffset(x.timezoneOffset);} +return this;};Date.prototype.clearTime=function(){this.setHours(0);this.setMinutes(0);this.setSeconds(0);this.setMilliseconds(0);return this;};Date.prototype.isLeapYear=function(){var y=this.getFullYear();return(((y%4===0)&&(y%100!==0))||(y%400===0));};Date.prototype.isWeekday=function(){return!(this.is().sat()||this.is().sun());};Date.prototype.getDaysInMonth=function(){return Date.getDaysInMonth(this.getFullYear(),this.getMonth());};Date.prototype.moveToFirstDayOfMonth=function(){return this.set({day:1});};Date.prototype.moveToLastDayOfMonth=function(){return this.set({day:this.getDaysInMonth()});};Date.prototype.moveToDayOfWeek=function(day,orient){var diff=(day-this.getDay()+7*(orient||+1))%7;return this.addDays((diff===0)?diff+=7*(orient||+1):diff);};Date.prototype.moveToMonth=function(month,orient){var diff=(month-this.getMonth()+12*(orient||+1))%12;return this.addMonths((diff===0)?diff+=12*(orient||+1):diff);};Date.prototype.getDayOfYear=function(){return Math.floor((this-new Date(this.getFullYear(),0,1))/86400000);};Date.prototype.getWeekOfYear=function(firstDayOfWeek){var y=this.getFullYear(),m=this.getMonth(),d=this.getDate();var dow=firstDayOfWeek||Date.CultureInfo.firstDayOfWeek;var offset=7+1-new Date(y,0,1).getDay();if(offset==8){offset=1;} +var daynum=((Date.UTC(y,m,d,0,0,0)-Date.UTC(y,0,1,0,0,0))/86400000)+1;var w=Math.floor((daynum-offset+7)/7);if(w===dow){y--;var prevOffset=7+1-new Date(y,0,1).getDay();if(prevOffset==2||prevOffset==8){w=53;}else{w=52;}} +return w;};Date.prototype.isDST=function(){console.log('isDST');return this.toString().match(/(E|C|M|P)(S|D)T/)[2]=="D";};Date.prototype.getTimezone=function(){return Date.getTimezoneAbbreviation(this.getUTCOffset,this.isDST());};Date.prototype.setTimezoneOffset=function(s){var here=this.getTimezoneOffset(),there=Number(s)*-6/10;this.addMinutes(there-here);return this;};Date.prototype.setTimezone=function(s){return this.setTimezoneOffset(Date.getTimezoneOffset(s));};Date.prototype.getUTCOffset=function(){var n=this.getTimezoneOffset()*-10/6,r;if(n<0){r=(n-10000).toString();return r[0]+r.substr(2);}else{r=(n+10000).toString();return"+"+r.substr(1);}};Date.prototype.getDayName=function(abbrev){return abbrev?Date.CultureInfo.abbreviatedDayNames[this.getDay()]:Date.CultureInfo.dayNames[this.getDay()];};Date.prototype.getMonthName=function(abbrev){return abbrev?Date.CultureInfo.abbreviatedMonthNames[this.getMonth()]:Date.CultureInfo.monthNames[this.getMonth()];};Date.prototype._toString=Date.prototype.toString;Date.prototype.toString=function(format){var self=this;var p=function p(s){return(s.toString().length==1)?"0"+s:s;};return format?format.replace(/dd?d?d?|MM?M?M?|yy?y?y?|hh?|HH?|mm?|ss?|tt?|zz?z?/g,function(format){switch(format){case"hh":return p(self.getHours()<13?self.getHours():(self.getHours()-12));case"h":return self.getHours()<13?self.getHours():(self.getHours()-12);case"HH":return p(self.getHours());case"H":return self.getHours();case"mm":return p(self.getMinutes());case"m":return self.getMinutes();case"ss":return p(self.getSeconds());case"s":return self.getSeconds();case"yyyy":return self.getFullYear();case"yy":return self.getFullYear().toString().substring(2,4);case"dddd":return self.getDayName();case"ddd":return self.getDayName(true);case"dd":return p(self.getDate());case"d":return self.getDate().toString();case"MMMM":return self.getMonthName();case"MMM":return self.getMonthName(true);case"MM":return p((self.getMonth()+1));case"M":return self.getMonth()+1;case"t":return self.getHours()<12?Date.CultureInfo.amDesignator.substring(0,1):Date.CultureInfo.pmDesignator.substring(0,1);case"tt":return self.getHours()<12?Date.CultureInfo.amDesignator:Date.CultureInfo.pmDesignator;case"zzz":case"zz":case"z":return"";}}):this._toString();}; +Date.now=function(){return new Date();};Date.today=function(){return Date.now().clearTime();};Date.prototype._orient=+1;Date.prototype.next=function(){this._orient=+1;return this;};Date.prototype.last=Date.prototype.prev=Date.prototype.previous=function(){this._orient=-1;return this;};Date.prototype._is=false;Date.prototype.is=function(){this._is=true;return this;};Number.prototype._dateElement="day";Number.prototype.fromNow=function(){var c={};c[this._dateElement]=this;return Date.now().add(c);};Number.prototype.ago=function(){var c={};c[this._dateElement]=this*-1;return Date.now().add(c);};(function(){var $D=Date.prototype,$N=Number.prototype;var dx=("sunday monday tuesday wednesday thursday friday saturday").split(/\s/),mx=("january february march april may june july august september october november december").split(/\s/),px=("Millisecond Second Minute Hour Day Week Month Year").split(/\s/),de;var df=function(n){return function(){if(this._is){this._is=false;return this.getDay()==n;} +return this.moveToDayOfWeek(n,this._orient);};};for(var i=0;i0&&!last){try{q=d.call(this,r[1]);}catch(ex){last=true;}}else{last=true;} +if(!last&&q[1].length===0){last=true;} +if(!last){var qx=[];for(var j=0;j0){rx[0]=rx[0].concat(p[0]);rx[1]=p[1];}} +if(rx[1].length1){args=Array.prototype.slice.call(arguments);}else if(arguments[0]instanceof Array){args=arguments[0];} +if(args){for(var i=0,px=args.shift();i2)?n:(n+(((n+2000)Date.getDaysInMonth(this.year,this.month)){throw new RangeError(this.day+" is not a valid value for days.");} +var r=new Date(this.year,this.month,this.day,this.hour,this.minute,this.second);if(this.timezone){r.set({timezone:this.timezone});}else if(this.timezoneOffset){r.set({timezoneOffset:this.timezoneOffset});} +return r;},finish:function(x){x=(x instanceof Array)?flattenAndCompact(x):[x];if(x.length===0){return null;} +for(var i=0;i + +
    Retrieving new emails...
    + +
    + \ No newline at end of file diff --git a/public/desktop_widgets/4fa78140c88514014d7c59be/4fa78140c88514014d7c59be.js b/public/desktop_widgets/4fa78140c88514014d7c59be/4fa78140c88514014d7c59be.js new file mode 100644 index 000000000..c10b1e3ba --- /dev/null +++ b/public/desktop_widgets/4fa78140c88514014d7c59be/4fa78140c88514014d7c59be.js @@ -0,0 +1,10 @@ +var search = function(){ + $("#search").submit(function(){ + var val=$("#googlesearch").val(); + if(val=="") return false; + val.replace(" ", "+"); + //replace the zh-tw to something + window.open("https://www.google.com.tw/#hl="+o.currentLanguage+"&q="+val); + return false; + }); +} \ No newline at end of file diff --git a/public/desktop_widgets/4fa78140c88514014d7c59be/img/google_64.png b/public/desktop_widgets/4fa78140c88514014d7c59be/img/google_64.png new file mode 100644 index 000000000..af3a23305 Binary files /dev/null and b/public/desktop_widgets/4fa78140c88514014d7c59be/img/google_64.png differ diff --git a/public/desktop_widgets/4fa78140c88514014d7c59be/index.html.erb b/public/desktop_widgets/4fa78140c88514014d7c59be/index.html.erb new file mode 100644 index 000000000..341b8d81b --- /dev/null +++ b/public/desktop_widgets/4fa78140c88514014d7c59be/index.html.erb @@ -0,0 +1,34 @@ + +
    + +
    + \ No newline at end of file diff --git a/public/desktop_widgets/4fa78153c88514014d7c59bf/4fa78153c88514014d7c59bf.js b/public/desktop_widgets/4fa78153c88514014d7c59bf/4fa78153c88514014d7c59bf.js new file mode 100644 index 000000000..5fd732f23 --- /dev/null +++ b/public/desktop_widgets/4fa78153c88514014d7c59bf/4fa78153c88514014d7c59bf.js @@ -0,0 +1,21 @@ +var eventsjson = new Array; +var loadEvents = function(){ + $.getJSON(o.widgetfolder+"/4fa78153c88514014d7c59bf/events.json",function(events){ + $.each(events,function(i,event){ + eventsjson.push(event); + }) + + displayevents(); + }) +} +var i = 0; +var displayevents = function(){ + // $("#school_events").fadeOut(1000); + $("#s_date").text(eventsjson[i].date); + $("#s_event").text(eventsjson[i].event); + $("#s_timings").text(eventsjson[i].timing); + // $("#school_events").fadeIn(1000); + if(i==eventsjson.length-1)i=0; + i++ + setTimeout(displayevents,2000); +} \ No newline at end of file diff --git a/public/desktop_widgets/4fa78153c88514014d7c59bf/events.json b/public/desktop_widgets/4fa78153c88514014d7c59bf/events.json new file mode 100644 index 000000000..58a32614e --- /dev/null +++ b/public/desktop_widgets/4fa78153c88514014d7c59bf/events.json @@ -0,0 +1,12 @@ +{ + "first":{ + "date":"25 Feb", + "event":"國立政治大學101學年度碩士班暨…", + "timing":"時間:07:00-17:00" + }, + "second":{ + "date":"26 Feb", + "event":"try", + "timing":"時間:07:00-17:00" + } +} \ No newline at end of file diff --git a/public/desktop_widgets/4fa78153c88514014d7c59bf/index.html.erb b/public/desktop_widgets/4fa78153c88514014d7c59bf/index.html.erb new file mode 100644 index 000000000..a2665b99e --- /dev/null +++ b/public/desktop_widgets/4fa78153c88514014d7c59bf/index.html.erb @@ -0,0 +1,11 @@ +
    +
    +
    +
    +
    +
    +
    + + \ No newline at end of file diff --git a/public/desktop_widgets/4fa78161c88514014d7c59c0/4fa78161c88514014d7c59c0.js b/public/desktop_widgets/4fa78161c88514014d7c59c0/4fa78161c88514014d7c59c0.js new file mode 100644 index 000000000..c4421d8e2 --- /dev/null +++ b/public/desktop_widgets/4fa78161c88514014d7c59c0/4fa78161c88514014d7c59c0.js @@ -0,0 +1,9 @@ +function timetable(){ + var d = new Date(); + var n = d.getHours(); + $('#tt_timetable .tt_time div').each(function(){ + if($(this).data('tthour') == n ){ + $(this).parents('tr').addClass('timenow'); + } + }); +} \ No newline at end of file diff --git a/public/desktop_widgets/4fa78161c88514014d7c59c0/index.html.erb b/public/desktop_widgets/4fa78161c88514014d7c59c0/index.html.erb new file mode 100644 index 000000000..88d83735d --- /dev/null +++ b/public/desktop_widgets/4fa78161c88514014d7c59c0/index.html.erb @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    09:00
    Computer Science
    10:00
    Computer Science
    11:00
    12:00
    Lunch Time
    13:00
    Art History
    14:00
    Art History
    15:00
    16:00
    Sport ( Basketball )
    17:00
    + \ No newline at end of file diff --git a/public/desktop_widgets/4fa78170c88514014d7c59c1/4fa78170c88514014d7c59c1.js b/public/desktop_widgets/4fa78170c88514014d7c59c1/4fa78170c88514014d7c59c1.js new file mode 100644 index 000000000..e69de29bb diff --git a/public/desktop_widgets/4fa78170c88514014d7c59c1/index.html b/public/desktop_widgets/4fa78170c88514014d7c59c1/index.html new file mode 100644 index 000000000..efaddf3c8 --- /dev/null +++ b/public/desktop_widgets/4fa78170c88514014d7c59c1/index.html @@ -0,0 +1,32 @@ + +
    + +
    \ No newline at end of file diff --git a/public/desktop_widgets/4fa78170c88514014d7c59c1/index.html.erb b/public/desktop_widgets/4fa78170c88514014d7c59c1/index.html.erb new file mode 100644 index 000000000..efaddf3c8 --- /dev/null +++ b/public/desktop_widgets/4fa78170c88514014d7c59c1/index.html.erb @@ -0,0 +1,32 @@ + +
    + +
    \ No newline at end of file diff --git a/public/desktop_widgets/4fa7817cc88514014d7c59c2/4fa7817cc88514014d7c59c2.js b/public/desktop_widgets/4fa7817cc88514014d7c59c2/4fa7817cc88514014d7c59c2.js new file mode 100644 index 000000000..42419bf56 --- /dev/null +++ b/public/desktop_widgets/4fa7817cc88514014d7c59c2/4fa7817cc88514014d7c59c2.js @@ -0,0 +1,7 @@ +function g_weather(){ + $('.gw_forecast').click(function(){ + $('.gw_recent').toggle(); + $('.gw_weekly').toggle(); + return false; + }); +} diff --git a/public/desktop_widgets/4fa7817cc88514014d7c59c2/img/sunny.png b/public/desktop_widgets/4fa7817cc88514014d7c59c2/img/sunny.png new file mode 100755 index 000000000..a12bb8a6b Binary files /dev/null and b/public/desktop_widgets/4fa7817cc88514014d7c59c2/img/sunny.png differ diff --git a/public/desktop_widgets/4fa7817cc88514014d7c59c2/index.html.erb b/public/desktop_widgets/4fa7817cc88514014d7c59c2/index.html.erb new file mode 100644 index 000000000..9862a5052 --- /dev/null +++ b/public/desktop_widgets/4fa7817cc88514014d7c59c2/index.html.erb @@ -0,0 +1,45 @@ + +
    +
    + sunny +
    + 29°C +
    +
    Sunny
    +
    +
    + weekly report +
    +
    Hsin-Chu
    + > Weekly Report +
    + \ No newline at end of file diff --git a/public/desktop_widgets/4fa7818cc88514014d7c59c3/4fa7818cc88514014d7c59c3.js b/public/desktop_widgets/4fa7818cc88514014d7c59c3/4fa7818cc88514014d7c59c3.js new file mode 100644 index 000000000..e69de29bb diff --git a/public/desktop_widgets/4fa7818cc88514014d7c59c3/index.html.erb b/public/desktop_widgets/4fa7818cc88514014d7c59c3/index.html.erb new file mode 100644 index 000000000..168c05c97 --- /dev/null +++ b/public/desktop_widgets/4fa7818cc88514014d7c59c3/index.html.erb @@ -0,0 +1,5 @@ +
    \ No newline at end of file diff --git a/public/desktop_widgets/4fa78197c88514014d7c59c4/4fa78197c88514014d7c59c4.js b/public/desktop_widgets/4fa78197c88514014d7c59c4/4fa78197c88514014d7c59c4.js new file mode 100644 index 000000000..e69de29bb diff --git a/public/desktop_widgets/4fa78197c88514014d7c59c4/index.html.erb b/public/desktop_widgets/4fa78197c88514014d7c59c4/index.html.erb new file mode 100644 index 000000000..26a3bbe45 --- /dev/null +++ b/public/desktop_widgets/4fa78197c88514014d7c59c4/index.html.erb @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/desktop_widgets/4fba4bf36f4fea8095e389eb/4fba4bf36f4fea8095e389eb.js b/public/desktop_widgets/4fba4bf36f4fea8095e389eb/4fba4bf36f4fea8095e389eb.js new file mode 100644 index 000000000..726eee239 --- /dev/null +++ b/public/desktop_widgets/4fba4bf36f4fea8095e389eb/4fba4bf36f4fea8095e389eb.js @@ -0,0 +1,11 @@ +var openURL = function(){ + $("div[data-content=4fba4bf36f4fea8095e389eb] form#browse_url_4fba4bf36f4fea8095e389eb").submit(function(){ + var urlToOpen = $(this).find("input").val(); + o.appWindow({ + title: "Browser", + appid: "extURL", + url: urlToOpen + }); + return false; + }) +} \ No newline at end of file diff --git a/public/desktop_widgets/4fba4bf36f4fea8095e389eb/index.html.erb b/public/desktop_widgets/4fba4bf36f4fea8095e389eb/index.html.erb new file mode 100644 index 000000000..cc1c1c701 --- /dev/null +++ b/public/desktop_widgets/4fba4bf36f4fea8095e389eb/index.html.erb @@ -0,0 +1,9 @@ +
    +
    +
    + +
    +
    + \ No newline at end of file diff --git a/public/test.json b/public/test.json new file mode 100644 index 000000000..aebcb6a5c --- /dev/null +++ b/public/test.json @@ -0,0 +1,12 @@ +{ + "timeline":{ + "heading" : "Title1", + "date" : "10012012", + "text" : "Think it's just another laptop? Think again. Designed to outperform standard laptops, the W520 PC is actually a mobile workstation — lightning-fast, heroically powerful and surprisingly portable. The work starts with the processor — from 2nd generation Intel® Core™ i5, up to Core™ i7 Quad Core™ Extreme, to keep your heavy-duty applications running flawlessly and boost your multi-tasking by 20 percent. Supplement that with the NVIDIA® Quadro® 1000M or 2000M graphics card with 2GB VRAM, professional-class graphics cards designed for up to 5x faster 3D performance and 8x faster computational simulation. Choose up to 16GB DDR3 RAM and you have one serious workstation — tested and certified by leading ISVs for more than 120 applications, including some of the most stringent in the industry." + }, + { + "heading" : "Title2", + "date" : "15012012", + "text" : "Performance like this should include the most advanced features — and it does. Powerful graphics require a display that lives up to what they have to show; feast your eyes on our 95-percent color gamut LED display in HD, HD+ or FHD. For the most accurate color workflow, opt for the industry's first embedded X-Rite Color Calibrator. Transfer files 10x faster with USB 3.0, depend on the 34mm ExpressCard and MMC slot or optional Smart Card reader, avail yourself of the multiburner combo drive and enjoy our best-in-class, ergonomic keyboard and Ultranav™ with our TrackPoint and touchpad. And when you're ready to talk about all the work you've done, you'll get superior Web conferencing and VoIP, thanks to full-duplex voice transmission support, dual digital microphone modes with advanced noise-cancellation technology, optimized speakers and a light-adaptive, 720p, HD webcam." + } +} \ No newline at end of file