have both sinatra and rails running.. just change the routes to use rails or sinatra.. tried using a lot of gems but failed to use devise variables
This commit is contained in:
parent
7488341836
commit
7f0267aedd
1
Gemfile
1
Gemfile
|
@ -22,6 +22,7 @@ gem 'rake'
|
||||||
gem 'ruby-debug19'
|
gem 'ruby-debug19'
|
||||||
gem 'rubyzip'
|
gem 'rubyzip'
|
||||||
gem 'sinatra'
|
gem 'sinatra'
|
||||||
|
gem 'sinatra-contrib'
|
||||||
gem 'sprockets'
|
gem 'sprockets'
|
||||||
gem 'tinymce-rails'
|
gem 'tinymce-rails'
|
||||||
gem 'therubyracer' if RUBY_PLATFORM.downcase.include?("linux")
|
gem 'therubyracer' if RUBY_PLATFORM.downcase.include?("linux")
|
||||||
|
|
11
Gemfile.lock
11
Gemfile.lock
|
@ -40,6 +40,7 @@ GEM
|
||||||
multi_json (~> 1.0)
|
multi_json (~> 1.0)
|
||||||
archive-tar-minitar (0.5.2)
|
archive-tar-minitar (0.5.2)
|
||||||
arel (2.2.3)
|
arel (2.2.3)
|
||||||
|
backports (2.5.3)
|
||||||
bcrypt-ruby (3.0.1)
|
bcrypt-ruby (3.0.1)
|
||||||
bcrypt-ruby (3.0.1-x86-mingw32)
|
bcrypt-ruby (3.0.1-x86-mingw32)
|
||||||
brakeman (1.5.1)
|
brakeman (1.5.1)
|
||||||
|
@ -79,6 +80,7 @@ GEM
|
||||||
diff-lcs (1.1.3)
|
diff-lcs (1.1.3)
|
||||||
encrypted_strings (0.3.3)
|
encrypted_strings (0.3.3)
|
||||||
erubis (2.7.0)
|
erubis (2.7.0)
|
||||||
|
eventmachine (0.12.10)
|
||||||
exception_notification (2.5.2)
|
exception_notification (2.5.2)
|
||||||
actionmailer (>= 3.0.4)
|
actionmailer (>= 3.0.4)
|
||||||
execjs (1.3.0)
|
execjs (1.3.0)
|
||||||
|
@ -206,6 +208,13 @@ GEM
|
||||||
rack (~> 1.3, >= 1.3.6)
|
rack (~> 1.3, >= 1.3.6)
|
||||||
rack-protection (~> 1.2)
|
rack-protection (~> 1.2)
|
||||||
tilt (~> 1.3, >= 1.3.3)
|
tilt (~> 1.3, >= 1.3.3)
|
||||||
|
sinatra-contrib (1.3.1)
|
||||||
|
backports (>= 2.0)
|
||||||
|
eventmachine
|
||||||
|
rack-protection
|
||||||
|
rack-test
|
||||||
|
sinatra (~> 1.3.0)
|
||||||
|
tilt (~> 1.3)
|
||||||
spork (0.9.0)
|
spork (0.9.0)
|
||||||
spork (0.9.0-x86-mingw32)
|
spork (0.9.0-x86-mingw32)
|
||||||
win32-process
|
win32-process
|
||||||
|
@ -273,8 +282,10 @@ DEPENDENCIES
|
||||||
shoulda-matchers
|
shoulda-matchers
|
||||||
simplecov
|
simplecov
|
||||||
sinatra
|
sinatra
|
||||||
|
sinatra-contrib
|
||||||
spork
|
spork
|
||||||
sprockets
|
sprockets
|
||||||
tinymce-rails
|
tinymce-rails
|
||||||
uglifier
|
uglifier
|
||||||
|
warden
|
||||||
watchr
|
watchr
|
||||||
|
|
|
@ -35,6 +35,7 @@ module Orbit
|
||||||
config.autoload_paths += %W(#{config.root}/app/models/purchase)
|
config.autoload_paths += %W(#{config.root}/app/models/purchase)
|
||||||
config.autoload_paths += %W(#{config.root}/app/models/user)
|
config.autoload_paths += %W(#{config.root}/app/models/user)
|
||||||
|
|
||||||
|
|
||||||
# Only load the plugins named here, in the order given (default is alphabetical).
|
# 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.
|
# :all can be used as a placeholder for all plugins not explicitly named.
|
||||||
# config.plugins = [ :exception_notification, :ssl_requirement, :all ]
|
# config.plugins = [ :exception_notification, :ssl_requirement, :all ]
|
||||||
|
|
|
@ -101,36 +101,71 @@ Orbit::Application.routes.draw do
|
||||||
namespace :panel do
|
namespace :panel do
|
||||||
resources :users
|
resources :users
|
||||||
end
|
end
|
||||||
|
|
||||||
match '/desktop/'=>'desktop#index'
|
match '/desktop/'=>'desktop#index'
|
||||||
match '/desktop/desktop'=>'desktop#desktop'
|
|
||||||
match '/desktop/app_manager'=>'desktop#app_manager'
|
# Sinatra Routes start
|
||||||
match '/desktop/sections'=>'desktop#sections'
|
|
||||||
match '/desktop/settings'=>'desktop#settings'
|
match '/desktop/desktop', :to => Desktopapp::DesktopApp
|
||||||
match '/desktop/get_desktop_settings/'=>'desktop#get_desktop_settings'
|
match '/desktop/app_manager', :to => Desktopapp::DesktopApp
|
||||||
match '/desktop/save_desktop_settings/'=>'desktop#save_desktop_settings'
|
match '/desktop/sections', :to => Desktopapp::DesktopApp
|
||||||
match '/desktop/getgroups/'=>'desktop#getgroups'
|
match '/desktop/settings', :to => Desktopapp::DesktopApp
|
||||||
match '/desktop/getsectionlist/'=>'desktop#getsectionlist'
|
match '/desktop/get_desktop_settings/', :to => Desktopapp::DesktopApp
|
||||||
match '/desktop/settingthemes/'=>'desktop#settingthemes'
|
match '/desktop/save_desktop_settings/', :to => Desktopapp::DesktopApp
|
||||||
match '/desktop/settingsections/'=>'desktop#settingsections'
|
match '/desktop/getgroups/', :to => Desktopapp::DesktopApp
|
||||||
match '/desktop/getapplist/'=>'desktop#getapplist'
|
match '/desktop/getsectionlist/', :to => Desktopapp::DesktopApp
|
||||||
match '/desktop/newpositions/'=>'desktop#newpositions'
|
match '/desktop/settingthemes/', :to => Desktopapp::DesktopApp
|
||||||
match '/desktop/settingconnection/'=>'desktop#settingconnection'
|
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/'=>'desktop_publications#journal_p'
|
||||||
match '/desktop/journal_p_list/'=>'desktop_publications#journal_p_list'
|
# match '/desktop/journal_p_list/'=>'desktop_publications#journal_p_list'
|
||||||
match '/desktop/journal_p_add/'=>'desktop_publications#journal_p_add'
|
# match '/desktop/journal_p_add/'=>'desktop_publications#journal_p_add'
|
||||||
match '/desktop_publications/getjournals' => 'desktop_publications#getjournals'
|
# match '/desktop_publications/getjournals' => 'desktop_publications#getjournals'
|
||||||
|
|
||||||
match '/desktop/twitter/'=>'otheraccounts#twitter'
|
match '/desktop/twitter/'=>'otheraccounts#twitter'
|
||||||
match '/desktop/forgmail/'=>'otheraccounts#gmail'
|
match '/desktop/forgmail/'=>'otheraccounts#gmail'
|
||||||
match '/desktop/getaccounts'=>'otheraccounts#getaccounts'
|
match '/desktop/getaccounts'=>'otheraccounts#getaccounts'
|
||||||
match '/desktop/save_account_info/'=>'otheraccounts#saveaccountinfo'
|
match '/desktop/save_account_info/'=>'otheraccounts#saveaccountinfo'
|
||||||
|
|
||||||
match '/desktop_appstore/appstore'=>'desktop_appstore#appstore'
|
# match '/desktop_appstore/appstore'=>'desktop_appstore#appstore'
|
||||||
match '/desktop_appstore/widgets'=>'desktop_appstore#widgets'
|
# match '/desktop_appstore/widgets'=>'desktop_appstore#widgets'
|
||||||
match '/desktop_appstore/getuserwidgets'=>'desktop_appstore#getuserwidgets'
|
# match '/desktop_appstore/getuserwidgets'=>'desktop_appstore#getuserwidgets'
|
||||||
match '/desktop_appstore/widgets_settings'=>'desktop_appstore#widgets_settings'
|
# match '/desktop_appstore/widgets_settings'=>'desktop_appstore#widgets_settings'
|
||||||
|
|
||||||
|
|
||||||
match '/desktop/temp_func/'=>'desktop#temp_func'
|
match '/desktop/temp_func/'=>'desktop#temp_func'
|
||||||
|
|
|
@ -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
|
|
@ -0,0 +1,96 @@
|
||||||
|
class Desktopapp::DesktopAppAppstore < Sinatra::Base
|
||||||
|
register Sinatra::Warden
|
||||||
|
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
|
|
@ -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
|
|
@ -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 = "<HEAD><ERROR>true</ERROR><ERRORMSG>Account setting problem.</ERRORMSG></HEAD>"
|
||||||
|
# # 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
|
|
@ -0,0 +1,36 @@
|
||||||
|
<div id='app_manager'>
|
||||||
|
<div id="content">
|
||||||
|
<div id="header" class="hh3">
|
||||||
|
<div class="dtitle thmtxth w2 hh3 hp">Apps Manager</div>
|
||||||
|
<a href="" class="hfn w1 hh2 hp"><span class="tile thmc1 op06"></span><span class="thmtxt">Date</span></a>
|
||||||
|
<a href="ascending" class="hfn w1 hh2 hp" id="alphabet_sort_btn" ><span class="tile thmc2 op03"></span><span class="thmtxt">Alphabet [A-Z]</span></a>
|
||||||
|
<div id="search_app" class="hfn w2 hh2 hp thmc3">
|
||||||
|
<input type="text" class="ini_input form" value="Search" id="searchbox" />
|
||||||
|
<input type="submit" class="ini_input submit thmc1" value="Submit"/>
|
||||||
|
</div>
|
||||||
|
<div class="clear"></div>
|
||||||
|
</div>
|
||||||
|
<div class="search_result">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div id="holder">
|
||||||
|
<div class="tinycanvas">
|
||||||
|
<div class="scrollbar sb_h"><div class="track"><div class="thumb thmc2"><div class="end"></div></div></div></div>
|
||||||
|
<div class="viewport">
|
||||||
|
<div id="group_wrapper" class="overview">
|
||||||
|
|
||||||
|
<div class="group g_sep op03" id='seperator' style="height: 516px;display:none;"></div>
|
||||||
|
<div class="group_search" id="app_list">
|
||||||
|
<!--<div class="element w1 h1 hp vp thmc2" data-category="desktop">
|
||||||
|
<span class="tile thmc2"></span>
|
||||||
|
<a href="" class="appicon"><img src="" alt=""></a>
|
||||||
|
<h1 class="appname thmtxt">O-Music</h1>
|
||||||
|
</div>-->
|
||||||
|
</div>
|
||||||
|
<div class="clear"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -0,0 +1,12 @@
|
||||||
|
<div id="app_frame" class="thmc2">
|
||||||
|
<div id="content">
|
||||||
|
<div id="header" class="hh3">
|
||||||
|
<div class="dtitle w2 hh3 hp"><span class="thmtxth">Appname</span></div>
|
||||||
|
<span class="icon-remove hh3 hp thmtxt"></span>
|
||||||
|
</div>
|
||||||
|
<div id="holder">
|
||||||
|
<!-- app content -->
|
||||||
|
<div class="clear"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -0,0 +1,26 @@
|
||||||
|
<div id="apps_store">
|
||||||
|
<div id="content">
|
||||||
|
<div id="header" class="hh3">
|
||||||
|
<div class="dtitle w2 hh3 hp">
|
||||||
|
<span class="thmtxth">App Store</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="holder">
|
||||||
|
|
||||||
|
<div id="panel_l" class="ph">
|
||||||
|
<div class="s_menu sm_v">
|
||||||
|
<ul id='setting_left_nav'>
|
||||||
|
<li><a href="" class="admtxt hh2 w2 hp" onclick='return false;'>Online Store</a></li>
|
||||||
|
<li><a href="widgets" class="admtxt hh2 w2 hp" onclick='return false;'>Widgets</a></li>
|
||||||
|
<li><a href="" class="admtxt hh2 w2 hp" onclick='return false;'>Apps</a></li>
|
||||||
|
<li><a href="" class="admtxt hh2 w2 hp" onclick='return false;'>Registeration</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="panel_r" class="ph pw admbg hp">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="clear"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -0,0 +1,11 @@
|
||||||
|
<div class="s_title hh3">Your Widgets</div>
|
||||||
|
<div class="tinycanvas hp">
|
||||||
|
<div class="scrollbar sb_h vp"><div class="track"><div class="thumb thmc2"><div class="end"></div></div></div></div>
|
||||||
|
<div class="viewport">
|
||||||
|
<div class="overview vp">
|
||||||
|
<div class="overview" id="widget_list">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -0,0 +1,30 @@
|
||||||
|
<div id="desktop">
|
||||||
|
<div id="content">
|
||||||
|
<div id="header" class="hh3">
|
||||||
|
<div class="dtitle w2 hh3 hp sdm">
|
||||||
|
<div class="thmtxth sdm_t" id="section_heading">Loading...</div>
|
||||||
|
<div class="admbg sdm_o">
|
||||||
|
<ul id="section_list">
|
||||||
|
<!-- <li><a class="admtxt hp w2 hh2" href="">Campus</a></li>
|
||||||
|
<li><a class="admtxt hp w2 hh2" href="">Research</a></li>
|
||||||
|
<li><a class="admtxt hp w2 hh2" href="">Social</a></li>
|
||||||
|
<li><a class="admtxt hp w2 hh2" href="">Private</a></li> -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="holder">
|
||||||
|
<div class="tinycanvas">
|
||||||
|
<div class="scrollbar sb_h"><div class="track"><div class="thumb thmc2"><div class="end"></div></div></div></div>
|
||||||
|
<div class="viewport">
|
||||||
|
<div id="group_wrapper" class="overview">
|
||||||
|
|
||||||
|
<div class="clear"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="clear"></div>
|
||||||
|
</div>
|
|
@ -0,0 +1,100 @@
|
||||||
|
<div id="side">
|
||||||
|
<div id="rwidget" class="wh3 thmc4">
|
||||||
|
<ul class="docklist">
|
||||||
|
<li class="d_cate"><a href="desktop" class="widget_fn wh3 hh3" id='d_desktop' onclick="return false;"><span class="widget_icon"><img src="" alt="Home" id="home_icon" width="30" height="30"/></span></a>
|
||||||
|
<ul class="dock_child hh3 thmc4" style="width: 180px;">
|
||||||
|
<li class="dock_item"><a href="app_manager" class="widget_fn wh3 hh3" id="d_app_manager" onclick="return false;"><span class="widget_icon"><img src="" alt="App Manager" id="app_manager_icon" width="30" height="30"/></span></a></li>
|
||||||
|
<li class="dock_item"><a href="sections" class="widget_fn wh3 hh3" id="d_sections" onclick="return false;"><span class="widget_icon"><img src="" alt="All Sections" id="sections_icon" width="30" height="30"/></span></a></li>
|
||||||
|
<li class="dock_item"><a href="settings" class="widget_fn wh3 hh3" id="d_settings" onclick="return false;"><span class="widget_icon"><img src="" alt="Settings" id="settings_icon" width="30" height="30"/></span></a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="d_cate"><a href="" class="widget_fn wh3 hh3" id='d_publication' onclick="return false;"><span class="widget_icon"><img src="" alt="Publication" id="publication_icon" width="30" height="30"/></span></a>
|
||||||
|
<ul class="dock_child hh3 thmc4" style="width: 180px;">
|
||||||
|
<li class="dock_item"><a href="journal_p" class="widget_fn wh3 hh3" id='d_journal_p' onclick="return false;"><span class="widget_icon"><img src="" alt="Journal Papers" id="journal_p_icon" width="30" height="30"/></span></a></li>
|
||||||
|
<li class="dock_item"><a href="seminar_p" class="widget_fn wh3 hh3" id='d_seminar_p' onclick="return false;"><span class="widget_icon"><img src="" alt="Seminar Papers" id="seminar_p_icon" width="30" height="30"/></span></a></li>
|
||||||
|
<li class="dock_item"><a href="books" class="widget_fn wh3 hh3" id='d_books' onclick="return false;"><span class="widget_icon"><img src="" alt="Books" id="books_icon" width="30" height="30"/></span></a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="d_cate"><a href="" class="widget_fn wh3 hh3" id='d_research' onclick="return false;"><span class="widget_icon"><img src="" alt="Research" id="research_icon" width="30" height="30"/></span></a>
|
||||||
|
<ul class="dock_child hh3 thmc4" style="width: 240px;">
|
||||||
|
<li class="dock_item"><a href="research_d" class="widget_fn wh3 hh3" id='d_research_d' onclick="return false;"><span class="widget_icon"><img src="" alt="Research Domain" id="research_d_icon" width="30" height="30"/></span></a></li>
|
||||||
|
<li class="dock_item"><a href="research_p" class="widget_fn wh3 hh3" id='d_research_p' onclick="return false;"><span class="widget_icon"><img src="" alt="Research Project" id="research_p_icon" width="30" height="30"/></span></a></li>
|
||||||
|
<li class="dock_item"><a href="patents" class="widget_fn wh3 hh3" id='d_patents' onclick="return false;"><span class="widget_icon"><img src="" alt="Patents" id="patents_icon" width="30" height="30"/></span></a></li>
|
||||||
|
<li class="dock_item"><a href="labs" class="widget_fn wh3 hh3" id='d_labs' onclick="return false;"><span class="widget_icon"><img src="" alt="Labs" id="labs_icon" width="30" height="30"/></span></a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="d_cate"><a href="" class="widget_fn wh3 hh3" id='d_experience' onclick="return false;"><span class="widget_icon"><img src="" alt="Experience" id="experience_icon" width="30" height="30"/></span></a>
|
||||||
|
<ul class="dock_child hh3 thmc4" style="width: 300px;">
|
||||||
|
<li class="dock_item"><a href="working" class="widget_fn wh3 hh3" id='d_working' onclick="return false;"><span class="widget_icon"><img src="" alt="Working" id="working_icon" width="30" height="30"/></span></a></li>
|
||||||
|
<li class="dock_item"><a href="education" class="widget_fn wh3 hh3" id='d_education' onclick="return false;"><span class="widget_icon"><img src="" alt="Education" id="education_icon" width="30" height="30"/></span></a></li>
|
||||||
|
<li class="dock_item"><a href="honors" class="widget_fn wh3 hh3" id='d_honors' onclick="return false;"><span class="widget_icon"><img src="" alt="Honors" id="honors_icon" width="30" height="30"/></span></a></li>
|
||||||
|
<li class="dock_item"><a href="activities" class="widget_fn wh3 hh3" id='d_activities' onclick="return false;"><span class="widget_icon"><img src="" alt="Activities" id="activities_icon" width="30" height="30"/></span></a></li>
|
||||||
|
<li class="dock_item"><a href="clubs" class="widget_fn wh3 hh3" id='d_clubs' onclick="return false;"><span class="widget_icon"><img src="" alt="Clubs" id="clubs_icon" width="30" height="30"/></span></a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="d_cate"><a href="" class="widget_fn wh3 hh3" id='d_landt' onclick="return false;"><span class="widget_icon"><img src="" alt="Learning & Teaching" id="landt_icon" width="30" height="30"/></span></a>
|
||||||
|
<ul class="dock_child hh3 thmc4" style="width: 180px;">
|
||||||
|
<li class="dock_item"><a href="courses" class="widget_fn wh3 hh3" id='d_courses' onclick="return false;"><span class="widget_icon"><img src="" alt="Courses" id="courses_icon" width="30" height="30"/></span></a></li>
|
||||||
|
<li class="dock_item"><a href="homework" class="widget_fn wh3 hh3" id='d_homework' onclick="return false;"><span class="widget_icon"><img src="" alt="Homework" id="homework_icon" width="30" height="30"/></span></a></li>
|
||||||
|
<li class="dock_item"><a href="certification" class="widget_fn wh3 hh3" id='d_certification' onclick="return false;"><span class="widget_icon"><img src="" alt="Certification" id="certification_icon" width="30" height="30"/></span></a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="d_cate"><a href="" class="widget_fn wh3 hh3" id='d_personal' onclick="return false;"><span class="widget_icon"><img src="" alt="Personal" id="personal_icon" width="30" height="30"/></span></a>
|
||||||
|
<ul class="dock_child hh3 thmc4" style="width: 300px;">
|
||||||
|
<li class="dock_item"><a href="mypage" class="widget_fn wh3 hh3" id='d_mypage' onclick="return false;"><span class="widget_icon"><img src="" alt="myPage" id="mypage_icon" width="30" height="30"/></span></a></li>
|
||||||
|
<li class="dock_item"><a href="blog" class="widget_fn wh3 hh3" id='d_blog' onclick="return false;"><span class="widget_icon"><img src="" alt="Blog" id="blog_icon" width="30" height="30"/></span></a></li>
|
||||||
|
<li class="dock_item"><a href="album" class="widget_fn wh3 hh3" id='d_album' onclick="return false;"><span class="widget_icon"><img src="" alt="Album" id="album_icon" width="30" height="30"/></span></a></li>
|
||||||
|
<li class="dock_item"><a href="calendar" class="widget_fn wh3 hh3" id='d_calendar' onclick="return false;"><span class="widget_icon"><img src="" alt="Calendar" id="calendar_icon" width="30" height="30"/></span></a></li>
|
||||||
|
<li class="dock_item"><a href="files" class="widget_fn wh3 hh3" id='d_files' onclick="return false;"><span class="widget_icon"><img src="" alt="Files" id="files_icon" width="30" height="30"/></span></a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="d_cate"><a href="" class="widget_fn wh3 hh3" id='d_orbit' onclick="return false;"><span class="widget_icon"><img src="" alt="Orbit" id="orbit_icon" width="30" height="30"/></span></a>
|
||||||
|
<ul class="dock_child hh3 thmc4" style="width: 60px;">
|
||||||
|
<li class="dock_item"><a href="connection" class="widget_fn wh3 hh3" id='d_connection' onclick="return false;"><span class="widget_icon"><img src="" alt="Academia Connection" id="connection_icon" width="30" height="30"/></span></a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li class="d_cate"><a href="appstore" class="widget_fn wh3 hh3" id='d_appstore' onclick="return false;"><span class="widget_icon"><img src="" alt="AppStore" id="appstore_icon" width="30" height="30"/></span></a></li>
|
||||||
|
</ul>
|
||||||
|
<div class="fn_des hh3 admbg admtxt"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="container">
|
||||||
|
|
||||||
|
<div id='ajax_container'>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div id="orbitbar"></div>-->
|
||||||
|
|
||||||
|
<img src="" id="thmbackground" />
|
||||||
|
<div id="bgover" ></div>
|
||||||
|
<div id="orbitnote" style="display:none;">
|
||||||
|
<div class="note_holder">
|
||||||
|
<div class="note_type"><img id='note_img' alt=""/></div>
|
||||||
|
<div class="note_message">Check the Notifications section for more information.</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="orbitdiag" style="display: none;">
|
||||||
|
<div class="tile op07"></div>
|
||||||
|
<div class="diag_holder">
|
||||||
|
<div class="diag_holder_inner">
|
||||||
|
<div class="diag_message"></div>
|
||||||
|
<div class="diag_action">
|
||||||
|
<a href="" id="diag_confirm" class="diag_btn admbg admtxt w1 hh2 hp" onclick="return false;"></a>
|
||||||
|
<a href="" id="diag_cancel" class="diag_btn admbg admtxt w1 hh2 hp" onclick="return false;"></a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<script>
|
||||||
|
orbitDesktop.prototype.themefolder = "desktop_themes";
|
||||||
|
orbitDesktop.prototype.notifyImgPath = "/assets/";
|
||||||
|
orbitDesktop.prototype.desktopId = "<%= @desktop.id %>";
|
||||||
|
orbitDesktop.prototype.sectionId = "<%= @section.id %>";
|
||||||
|
orbitDesktop.prototype.currentLanguage = "<%= I18n.locale %>";
|
||||||
|
orbitDesktop.prototype.currentUsername = "<%= @currentusername %>";
|
||||||
|
//uselessfunction();
|
||||||
|
var od = new orbitDesktop("#ajax_container");
|
||||||
|
o.notify("Welcome "+o.currentUsername+"!!","alert",3);
|
||||||
|
</script>
|
|
@ -0,0 +1,33 @@
|
||||||
|
<div id="journal_p">
|
||||||
|
<div id="content">
|
||||||
|
<div id="header" class="hh3">
|
||||||
|
<div class="dtitle w2 hh3 hp">
|
||||||
|
<span class="thmtxth">Journal Papers</span>
|
||||||
|
</div>
|
||||||
|
<div id="search_app" class="hfn w2 hh2 hp thmc3">
|
||||||
|
<input type="text" class="ini_input form" value="Search" id="searchbox" />
|
||||||
|
<input type="submit" class="ini_input submit thmc1" value="Submit"/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="holder">
|
||||||
|
<div id="panel_l" class="ph">
|
||||||
|
<div class="s_menu sm_v">
|
||||||
|
<ul id='setting_left_nav'>
|
||||||
|
<li><a href="list" class="hh2 w2 hp active thmc1 thmtxt" onclick='return false;'>List</a></li>
|
||||||
|
<li><a href="addpaper" class="admtxt hh2 w2 hp" onclick='return false;'>Add/Edit</a></li>
|
||||||
|
<li><a href="" class="admtxt hh2 w2 hp" onclick='return false;'>Journals</a></li>
|
||||||
|
<li><a href="" class="admtxt hh2 w2 hp" onclick='return false;'>Co-Authors</a></li>
|
||||||
|
<li><a href="" class="admtxt hh2 w2 hp" onclick='return false;'>Tags & Keywords</a></li>
|
||||||
|
<li><a href="" class="admtxt hh2 w2 hp" onclick='return false;'>Analysis</a></li>
|
||||||
|
<li><a href="" class="admtxt hh2 w2 hp" onclick='return false;'>Import</a></li>
|
||||||
|
<li><a href="" class="admtxt hh2 w2 hp" onclick='return false;'>Export</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="panel_r" class="ph pw admbg hp">
|
||||||
|
</div>
|
||||||
|
<div class="clear"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -0,0 +1,109 @@
|
||||||
|
<div class="toolbar hh2">
|
||||||
|
<div class="fn_g hp">
|
||||||
|
<button class="fn_btn hh2 thmc2 thmtxt">Save</button>
|
||||||
|
<button class="fn_btn hh2 admbg2">Cancel</button>
|
||||||
|
</div>
|
||||||
|
<div class="hh2 hp sdm">
|
||||||
|
<div class="sdm_t hh2">Entry Year</div>
|
||||||
|
<div class="admbg sdm_o">
|
||||||
|
<ul>
|
||||||
|
<li><a class="hp hh2 admtxt" href="">2012</a></li>
|
||||||
|
<li><a class="hp hh2 admtxt" href="">2011</a></li>
|
||||||
|
<li><a class="hp hh2 admtxt" href="">2010</a></li>
|
||||||
|
<li><a class="hp hh2 admtxt" href="">2009</a></li>
|
||||||
|
<li><a class="hp hh2 admtxt" href="">2008</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="hh2 hp sdm">
|
||||||
|
<div class="sdm_t hh2">Language</div>
|
||||||
|
<div class="admbg sdm_o">
|
||||||
|
<ul>
|
||||||
|
<li><a class="hp hh2 admtxt" href="">English</a></li>
|
||||||
|
<li><a class="hp hh2 admtxt" href="">Chinese</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="hh2 hp sdm">
|
||||||
|
<div class="sdm_t hh2">Share</div>
|
||||||
|
<div class="admbg sdm_o">
|
||||||
|
<ul>
|
||||||
|
<li><a class="hp hh2 admtxt" href="">Full</a></li>
|
||||||
|
<li><a class="hp hh2 admtxt" href="">Abstract</a></li>
|
||||||
|
<li><a class="hp hh2 admtxt" href="">Friends</a></li>
|
||||||
|
<li><a class="hp hh2 admtxt" href="">Private</a></li>
|
||||||
|
<li><a class="hp hh2 admtxt" href="">Group</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="hh2 hp sdm">
|
||||||
|
<div class="sdm_t hh2"><span class="icon-question-sign"></span></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="paper_add" class="tinycanvas vp">
|
||||||
|
<div class="scrollbar sb_h vp"><div class="track"><div class="thumb thmc2"><div class="end"></div></div></div></div>
|
||||||
|
<div class="viewport">
|
||||||
|
<div class="overview">
|
||||||
|
<div class="s_grid_con s_form">
|
||||||
|
<ul>
|
||||||
|
<li class="s_grid_row"><textarea class="s_grid_6 s_grid" name="" id="">Paper Title</textarea></li>
|
||||||
|
<li class="s_grid_row"><input class="s_grid_6 s_grid" type="text" value="Journal Title"><span class="icon-plus input_append"></span></li>
|
||||||
|
<li class="s_grid_row">
|
||||||
|
<div class="check_box_g">
|
||||||
|
<label for="">Journal Level</label>
|
||||||
|
<ul>
|
||||||
|
<li><input type="checkbox"><label for="">SCI</label></li>
|
||||||
|
<li><input type="checkbox"><label for="">SCIE</label></li>
|
||||||
|
<li><input type="checkbox"><label for="">SSCI</label></li>
|
||||||
|
<li><input type="checkbox"><label for="">AH & HCI</label></li>
|
||||||
|
<li><input type="checkbox"><label for="">EI</label></li>
|
||||||
|
<li><input type="checkbox"><label for="">CSCI</label></li>
|
||||||
|
<li><input type="checkbox"><label for="">CSSCI</label></li>
|
||||||
|
<li><input type="checkbox"><label for="">TSCI</label></li>
|
||||||
|
<li><input type="checkbox"><label for="">TSSCI</label></li>
|
||||||
|
<li><input type="checkbox"><label for="">THCI</label></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li class="s_grid_row"><label class="s_grid_2 s_grid" for="">ISSN(ISBN)</label><input type="text" class="s_grid_4 s_grid" value="829872987"></li>
|
||||||
|
<li class="s_grid_row"><label class="s_grid_2 s_grid" for="">ISI No.</label><input type="text" class="s_grid_4 s_grid" value="829872987"></li>
|
||||||
|
<li class="s_grid_row"><label class="s_grid_2 s_grid" for="">Volume No.</label><input type="text" class="s_grid_4 s_grid" value="829872987"></li>
|
||||||
|
<li class="s_grid_row"><label class="s_grid_2 s_grid" for="">Issue No.</label><input type="text" class="s_grid_4 s_grid" value="829872987"></li>
|
||||||
|
<li class="s_grid_row"><label class="s_grid_2 s_grid" for="">Pages</label></li>
|
||||||
|
<li class="s_grid_row"><label class="s_grid_2 s_grid" for="">Reference URL</label><input class="s_grid_4 s_grid" type="text" value="www.sample.com"></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="s_grid_con s_form">
|
||||||
|
<ul>
|
||||||
|
<li class="s_grid_row"><textarea class="s_grid s_grid_6" name="" id="">Author</textarea><span class="icon-plus input_append"></span></li>
|
||||||
|
<li class="s_grid_row">
|
||||||
|
<select name="" id="" class="s_grid s_grid_4">
|
||||||
|
<option value="">Author Type</option>
|
||||||
|
<option value="">First Author</option>
|
||||||
|
<option value="">Corresponding Author</option>
|
||||||
|
<option value="">Second Author</option>
|
||||||
|
<option value="">Third Author</option>
|
||||||
|
<option value="">Fourth Author</option>
|
||||||
|
</select>
|
||||||
|
<select name="" id="" class="s_grid s_grid_2">
|
||||||
|
<option value="">Status</option>
|
||||||
|
<option value="">Published</option>
|
||||||
|
<option value="">Pending</option>
|
||||||
|
<option value="">Writing</option>
|
||||||
|
</select>
|
||||||
|
</li>
|
||||||
|
<li class="s_grid_row"><label class="s_grid s_grid_2" for="">Date of Publication</label><input class="s_grid s_grid_4" type="text" value="2012 / 05 / 01"></li>
|
||||||
|
<li class="s_grid_row"><textarea name="" id="" rows="10" class="s_grid s_grid_6"></textarea></li>
|
||||||
|
<li class="s_grid_row"><input class="s_grid s_grid_6" type="text" value="Associated Project"><span class="icon-plus input_append"></span></li>
|
||||||
|
<li class="s_grid_row"><label class="s_grid s_grid_2" for="">Abstract</label><input type="file"></li>
|
||||||
|
<li class="s_grid_row"><label class="s_grid s_grid_2" for="">Full Text</label><input type="file"></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="s_grid_con s_form">
|
||||||
|
<ul>
|
||||||
|
<li class="s_grid_row"><textarea name="" id="" rows="26" class="s_grid s_grid_6">Abstract</textarea></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -0,0 +1,75 @@
|
||||||
|
<div class="toolbar hh2">
|
||||||
|
<div class="hh2 hp sdm">
|
||||||
|
<div class="sdm_t hh2"><span class="icon-check"></span></div>
|
||||||
|
<div class="admbg sdm_o">
|
||||||
|
<ul id="journal_selection_options">
|
||||||
|
<li><a class="hp hh2 admtxt" href="all">All</a></li>
|
||||||
|
<li><a class="hp hh2 admtxt" href="none">None</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="hh2 hp sdm">
|
||||||
|
<div class="sdm_t hh2">More</div>
|
||||||
|
<div class="admbg sdm_o">
|
||||||
|
<ul>
|
||||||
|
<li><a class="hp hh2 admtxt" href="">Delete</a></li>
|
||||||
|
<li><a class="hp hh2 admtxt" href="">Tag</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="hh2 hp sdm">
|
||||||
|
<div class="sdm_t hh2">Tag</div>
|
||||||
|
<div class="admbg sdm_o">
|
||||||
|
<ul>
|
||||||
|
<li><a class="hp hh2 admtxt" href="">All</a></li>
|
||||||
|
<li><a class="hp hh2 admtxt" href="">Starred</a></li>
|
||||||
|
<li><a class="hp hh2 admtxt" href="">MIT</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="hh2 hp sdm">
|
||||||
|
<div class="sdm_t hh2">Status</div>
|
||||||
|
<div class="admbg sdm_o">
|
||||||
|
<ul>
|
||||||
|
<li><a class="hp hh2 admtxt" href="">All</a></li>
|
||||||
|
<li><a class="hp hh2 admtxt" href="">Published</a></li>
|
||||||
|
<li><a class="hp hh2 admtxt" href="">Pending</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="hh2 hp sdm">
|
||||||
|
<div class="sdm_t hh2">View</div>
|
||||||
|
<div class="admbg sdm_o">
|
||||||
|
<ul id="journal_view_selection">
|
||||||
|
<li><a class="hp hh2 admtxt" href="journal">Journal</a></li>
|
||||||
|
<li><a class="hp hh2 admtxt" href="title">Title</a></li>
|
||||||
|
<li><a class="hp hh2 admtxt" href="file">File</a></li>
|
||||||
|
<li><a class="hp hh2 admtxt" href="keywords">Keywords</a></li>
|
||||||
|
<li><a class="hp hh2 admtxt" href="abstract">Abstract</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="hh2 hp sdm">
|
||||||
|
<div class="sdm_t hh2">Share</div>
|
||||||
|
<div class="admbg sdm_o">
|
||||||
|
<ul>
|
||||||
|
<li><a class="hp hh2 admtxt" href="">Full</a></li>
|
||||||
|
<li><a class="hp hh2 admtxt" href="">Abstract</a></li>
|
||||||
|
<li><a class="hp hh2 admtxt" href="">Friends</a></li>
|
||||||
|
<li><a class="hp hh2 admtxt" href="">Private</a></li>
|
||||||
|
<li><a class="hp hh2 admtxt" href="">Group</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="hh2 hp sdm">
|
||||||
|
<div class="sdm_t hh2"><span class="icon-question-sign"></span></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="paper_list" class="tinycanvas vp">
|
||||||
|
<div class="scrollbar sb_h vp"><div class="track"><div class="thumb thmc2"><div class="end"></div></div></div></div>
|
||||||
|
<div class="viewport">
|
||||||
|
<div class="overview">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -0,0 +1,178 @@
|
||||||
|
<div id="sections">
|
||||||
|
<div id="content">
|
||||||
|
<div id="header" class="hh3">
|
||||||
|
<div class="dtitle w2 hh3 hp">
|
||||||
|
<span class="thmtxth">All Sections</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="holder">
|
||||||
|
<div class="tinycanvas">
|
||||||
|
<div class="scrollbar sb_h"><div class="track"><div class="thumb thmc2"><div class="end"></div></div></div></div>
|
||||||
|
<div class="viewport">
|
||||||
|
<div id="group_wrapper" class="overview">
|
||||||
|
<!-- <div class="group">
|
||||||
|
<div class="section_label" >
|
||||||
|
<ul>
|
||||||
|
<li class="element w1 h1 hp vp thmtxt"><span class="tile thmc1"></span><span class="thmtxt">section 1</span></li>
|
||||||
|
<li class="element w1 h1 hp vp thmtxt " style="display: none;" data-category="section2"><span class="tile thmc2 op06"></span><span class="thmtxt">section 2</span></li>
|
||||||
|
<li class="element w1 h1 hp vp thmtxt " style="display: none;" data-category="section3"><span class="tile thmc2 op06"></span><span class="thmtxt">section 3</span></li>
|
||||||
|
<li class="element w1 h1 hp vp thmtxt " style="display: none;" data-category="section4"><span class="tile thmc2 op06"></span><span class="thmtxt">section 4</span></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<ul class="grp" id="section1">
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="group">
|
||||||
|
<div class="section_label" >
|
||||||
|
<ul>
|
||||||
|
<li class="element w1 h1 hp vp thmtxt"><span class="tile thmc1"></span><span class="thmtxt">section 2</span></li>
|
||||||
|
<li class="element w1 h1 hp vp thmtxt " style="display: none;" data-category="section1"><span class="tile thmc2 op06"></span><span class="thmtxt">section 1</span></li>
|
||||||
|
<li class="element w1 h1 hp vp thmtxt " style="display: none;" data-category="section3"><span class="tile thmc2 op06"></span><span class="thmtxt">section 3</span></li>
|
||||||
|
<li class="element w1 h1 hp vp thmtxt " style="display: none;" data-category="section4"><span class="tile thmc2 op06"></span><span class="thmtxt">section 4</span></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<ul class="grp" id="section2">
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
<li class="element w1 hh2 hp vp" data-category="abc">
|
||||||
|
<h1 class="appname thmtxth">Garage Band</h1>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</div>-->
|
||||||
|
<div class="clear"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -0,0 +1,27 @@
|
||||||
|
<div id="settings">
|
||||||
|
<div id="content">
|
||||||
|
<div id="header" class="hh3">
|
||||||
|
<div class="dtitle w2 hh3 hp">
|
||||||
|
<span class="thmtxth">Settings</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="holder">
|
||||||
|
|
||||||
|
<div id="panel_l" class="ph">
|
||||||
|
<div class="s_menu sm_v">
|
||||||
|
<ul id='setting_left_nav'>
|
||||||
|
<li><a href="" class="admtxt hh2 w2 hp" onclick='return false;'>Overview</a></li>
|
||||||
|
<li><a href="" class="admtxt hh2 w2 hp" onclick='return false;'>Account</a></li>
|
||||||
|
<li><a href="sections" class="admtxt hh2 w2 hp" onclick='return false;'>Sections</a></li>
|
||||||
|
<li><a href="themes" class="admtxt hh2 w2 hp" onclick='return false;'>Theme</a></li>
|
||||||
|
<li><a href="connection" class="admtxt hh2 w2 hp" onclick='return false;'>Connection</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="panel_r" class="ph pw admbg hp">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="clear"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -0,0 +1,44 @@
|
||||||
|
<div class="tinycanvas hp">
|
||||||
|
<div class="scrollbar sb_h vp"><div class="track"><div class="thumb thmc2"><div class="end"></div></div></div></div>
|
||||||
|
<div class="viewport">
|
||||||
|
<div id="connection_setting" class="overview vp">
|
||||||
|
<ul class="s_form w2 hp" id="facebook_connection">
|
||||||
|
<li><span class="c_status">No Connection</span></li>
|
||||||
|
<li><img src="assets/connection/facebook.png" alt="" class="c_icon"><h1 class="c_name">Facebook</h1></li>
|
||||||
|
<li><label for="">Account</label><input type="text"></li>
|
||||||
|
<li><label for="">Password</label><input type="password"></li>
|
||||||
|
<li>
|
||||||
|
<div class="s_action">
|
||||||
|
<a href="facebook" class="setting_btn thmc1 thmtxt hp" onclick="return false;" for="new">Connect</a>
|
||||||
|
<a href="facebook" class="setting_btn thmc1 thmtxt hp" onclick="return false;" for="delete" style="display:none;">Remove</a>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<ul class="s_form w2 hp" id="twitter_connection">
|
||||||
|
<li><span class="c_status">No Connection</span></li>
|
||||||
|
<li><img src="assets/connection/twitter.png" alt="" class="c_icon"><h1 class="c_name">Twitter</h1></li>
|
||||||
|
<li><label for="">Account</label><input type="text"></li>
|
||||||
|
<li><label for="">Password</label><input type="password"></li>
|
||||||
|
<li>
|
||||||
|
<div class="s_action">
|
||||||
|
<a href="twitter" class="setting_btn thmc1 thmtxt hp" onclick="return false;" for="new">Connect</a>
|
||||||
|
<a href="twitter" class="setting_btn thmc1 thmtxt hp" onclick="return false;" for="delete" style="display:none;">Remove</a>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<ul class="s_form w2 hp" id="gmail_connection">
|
||||||
|
<li><span class="c_status">No Connection</span></li>
|
||||||
|
<li><img src="assets/connection/gmail.png" alt="" class="c_icon"><h1 class="c_name">Gmail</h1></li>
|
||||||
|
<li><label for="">Account</label><input type="text"></li>
|
||||||
|
<li><label for="">Password</label><input type="password"></li>
|
||||||
|
<li>
|
||||||
|
<div class="s_action">
|
||||||
|
<a href="gmail" class="setting_btn thmc1 thmtxt hp" onclick="return false;" for="new">Connect</a>
|
||||||
|
<a href="gmail" class="setting_btn thmc1 thmtxt hp" onclick="return false;" for="delete" style="display:none;">Remove</a>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<!-- <div style="z-index:999;position:relative;"><button onclick="o.tempFunc()">Twitter</button> -->
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -0,0 +1,18 @@
|
||||||
|
<div class="tinycanvas vp">
|
||||||
|
<div class="scrollbar sb_v hp"><div class="track"><div class="thumb thmc2"><div class="end"></div></div></div></div>
|
||||||
|
<div class="viewport">
|
||||||
|
<div class="overview">
|
||||||
|
<div class="s_title hh3">Section Names</div>
|
||||||
|
<ul class="s_form" id="desktop_names">
|
||||||
|
<li><label for="s_name1">Section 1</label><input id="s_name1" type="text" value=""></li>
|
||||||
|
<li><label for="s_name2">Section 2</label><input id="s_name2" type="text" value=""></li>
|
||||||
|
<li><label for="s_name3">Section 3</label><input id="s_name3" type="text" value=""></li>
|
||||||
|
<li><label for="s_name4">Section 4</label><input id="s_name4" type="text" value=""></li>
|
||||||
|
</ul>
|
||||||
|
<div class="s_subtitle">sample desciption</div>
|
||||||
|
<div class="s_action">
|
||||||
|
<a href="" id="name_save_btn" class="setting_btn thmc1 thmtxt w1 hh2 hp" onclick='return false;'>Confirm</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
|
@ -0,0 +1,86 @@
|
||||||
|
<div class="s_tab stb_h">
|
||||||
|
<ul>
|
||||||
|
<li><a href="#st1" class="hh2 hp thmtxt thmc2">Select Theme</a></li>
|
||||||
|
<li><a href="#st2" class="hh2 hp admtxt admbg">Custom Theme</a></li>
|
||||||
|
<li><a href="#st3" class="hh2 hp admtxt admbg">Wallpaper</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="tinycanvas vp">
|
||||||
|
<div class="scrollbar sb_v vp"><div class="track"><div class="thumb thmc2"><div class="end"></div></div></div></div>
|
||||||
|
<div class="viewport">
|
||||||
|
<div class="overview">
|
||||||
|
<div id="st1" class="st_c">
|
||||||
|
<div class="theme_list ssl">
|
||||||
|
<% @themes.each do |theme| %>
|
||||||
|
<div id="<%= theme.id %>" class="ssl_item"><div class="theme_thumb"><img src="assets/sample_theme.jpg" alt="" width="120" height="96"></div><span class="theme_name ssl_des"><%= theme.name %></span></div>
|
||||||
|
<% end %>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div id="st2" class="st_c">
|
||||||
|
<div class="s_title hh3">Preview</div>
|
||||||
|
<div class="theme_preview vp thmbgc" style="background-color: #000;" id="theme_preview_area">
|
||||||
|
<div class="thmtxth hh2 hp" style="margin-left:108px;">Theme Text1</div>
|
||||||
|
<div class="theme_plate">
|
||||||
|
<div class="thmc4 h1 wh3"></div>
|
||||||
|
<div class="thmc1 h1 w1"><div class="thmtxt hp">Theme Text2</div></div>
|
||||||
|
<div class="g_sep h1 op07"></div>
|
||||||
|
<div class="thmc2 h1 w1"><div class="thmtxt hp">Theme Text</div></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<table id="color_input" cellpadding="0" cellspacing="0" border="0" width="528" >
|
||||||
|
<tr>
|
||||||
|
<th class="s_title hh3" width="190px">Theme Color</th>
|
||||||
|
<th class="s_title hh3">Line Color</th>
|
||||||
|
<th class="s_title hh3" width="120px">Text Color</th>
|
||||||
|
<th class="s_title hh3" width="120px">Background Color</th>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<input type="hidden" class="color-picker black" value="" for="thmc4">
|
||||||
|
<input type="hidden" class="color-picker black" value="" for="thmc1">
|
||||||
|
<input type="hidden" class="color-picker black" value="" for="thmc2">
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<input type="hidden" class="color-picker black" value="" for="g_sep">
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<input type="hidden" class="color-picker black" value="" for="thmtxth">
|
||||||
|
<input type="hidden" class="color-picker black" value="" for="thmtxt">
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<input type="hidden" class="color-picker black" value="" for="background">
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<div class="s_action">
|
||||||
|
<a href="" id="theme_submit" class="setting_btn thmc1 thmtxt w1 hh2 hp" onclick="return false;">Confirm</a>
|
||||||
|
</div>
|
||||||
|
<div class="clear"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="st3" class="st_c">
|
||||||
|
<div class="stock_wallpaper ssl">
|
||||||
|
<div class="sb1 ssl_item"><img src="assets/stockBackground/thumb/1.jpg" alt="1.jpg"></div>
|
||||||
|
<div class="sb2 ssl_item"><img src="assets/stockBackground/thumb/2.jpg" alt="2.jpg"></div>
|
||||||
|
<div class="sb3 ssl_item"><img src="assets/stockBackground/thumb/3.jpg" alt="3.jpg"></div>
|
||||||
|
<div class="sb4 ssl_item"><img src="assets/stockBackground/thumb/4.jpg" alt="4.jpg"></div>
|
||||||
|
<div class="sb5 ssl_item"><img src="assets/stockBackground/thumb/5.jpg" alt="5.jpg"></div>
|
||||||
|
<div class="sb6 ssl_item"><img src="assets/stockBackground/thumb/6.jpg" alt="6.jpg"></div>
|
||||||
|
<div class="sb7 ssl_item"><img src="assets/stockBackground/thumb/7.jpg" alt="7.jpg"></div>
|
||||||
|
<div class="sb8 ssl_item"><img src="assets/stockBackground/thumb/8.jpg" alt="8.jpg"></div>
|
||||||
|
<div class="sb9 ssl_item"><img src="assets/stockBackground/thumb/9.jpg" alt="9.jpg"></div>
|
||||||
|
<div class="sb10 ssl_item"><img src="assets/stockBackground/thumb/10.jpg" alt="10.jpg"></div>
|
||||||
|
<div class="sb11 ssl_item"><img src="assets/stockBackground/thumb/11.jpg" alt="11.jpg"></div>
|
||||||
|
<div class="sb12 ssl_item"><img src="assets/stockBackground/thumb/12.jpg" alt="12.jpg"></div>
|
||||||
|
</div>
|
||||||
|
<!-- <div class="s_action">
|
||||||
|
<div href="" class="setting_btn thmc1 thmtxt w1 hh2 hp" onclick="o.tempFunc();return false;">Confirm</a>
|
||||||
|
</div> -->
|
||||||
|
<div class="clear"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
Loading…
Reference in New Issue