Orbit/app/views/desktop/index.html.erb

105 lines
10 KiB
Plaintext
Raw Normal View History

2012-03-28 10:53:30 +00:00
<div id="side">
<div id="rwidget" class="wh3 thmc4">
2012-04-03 10:06:16 +00:00
<ul class="docklist">
2012-11-20 09:20:05 +00:00
<li class="d_cate"><a callback-method='initializeDesktop' 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>
2012-04-03 21:53:49 +00:00
<ul class="dock_child hh3 thmc4" style="width: 180px;">
2012-11-20 09:20:05 +00:00
<li class="dock_item"><a callback-method='initializeAppSearch' href="<%= desktop_app_manager_path %>" 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>
2012-12-07 02:10:38 +00:00
<li class="dock_item"><a callback-method='initializeSectionsManager' href="<%= desktop_allsections_path %>" 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 callback-method='initializeSettings' href="<%= desktop_settings_path %>" custom-load="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>
2012-04-03 10:06:16 +00:00
</ul>
</li>
2012-11-20 09:20:05 +00:00
<li class="d_cate"><a callback-method='' 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>
2012-04-03 21:53:49 +00:00
<ul class="dock_child hh3 thmc4" style="width: 180px;">
2012-11-08 09:01:59 +00:00
<li class="dock_item"><a callback-method='initializeJournalPapers' href="<%= desktop_publications_journal_p_path %>" class="widget_fn wh3 hh3" id='d_journal_p' custom-load="journal" onclick="return false;"><span class="widget_icon"><img src="" alt="Journal Papers" id="journal_p_icon" width="30" height="30"/></span></a></li>
2012-11-08 09:01:59 +00:00
2012-12-27 10:25:54 +00:00
<li class="dock_item"><a callback-method='initializeSeminar' href="<%= desktop_publications_seminar_p_path %>" class="widget_fn wh3 hh3" id='d_seminar_p' custom-load="seminar" onclick="return false;"><span class="widget_icon"><img src="" alt="Seminar Papers" id="seminar_p_icon" width="30" height="30"/></span></a></li>
2012-11-08 09:01:59 +00:00
2012-12-27 10:25:54 +00:00
<li class="dock_item"><a callback-method='initializeBooks' href="<%= desktop_publications_books_path %>" 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>
2012-11-08 09:01:59 +00:00
2012-04-03 10:06:16 +00:00
</ul>
</li>
2012-11-20 09:20:05 +00:00
<li class="d_cate"><a callback-method='' 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>
2012-04-03 21:53:49 +00:00
<ul class="dock_child hh3 thmc4" style="width: 240px;">
2012-11-20 09:20:05 +00:00
<li class="dock_item"><a callback-method='initializeResearchDomain' href="<%= desktop_research_research_d_path %>" 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 callback-method='initializeResearchProject' href="<%= desktop_research_research_p_path %>" 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 callback-method='' href="" 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 callback-method='' 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>
2012-04-03 10:06:16 +00:00
</ul>
</li>
2012-11-20 09:20:05 +00:00
<li class="d_cate"><a callback-method='' 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>
2012-04-03 21:53:49 +00:00
<ul class="dock_child hh3 thmc4" style="width: 300px;">
2012-11-20 09:20:05 +00:00
<li class="dock_item"><a callback-method='' 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 callback-method='' 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 callback-method='' 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 callback-method='' 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 callback-method='' 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>
2012-04-03 10:06:16 +00:00
</ul>
</li>
2012-11-20 09:20:05 +00:00
<li class="d_cate"><a callback-method='' 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>
2012-04-03 21:53:49 +00:00
<ul class="dock_child hh3 thmc4" style="width: 180px;">
2012-11-20 09:20:05 +00:00
<li class="dock_item"><a callback-method='' 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 callback-method='' 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 callback-method='' 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>
2012-04-03 10:06:16 +00:00
</ul>
</li>
2012-11-20 09:20:05 +00:00
<li class="d_cate"><a callback-method='' 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>
2012-04-03 21:53:49 +00:00
<ul class="dock_child hh3 thmc4" style="width: 300px;">
2012-11-20 09:20:05 +00:00
<li class="dock_item"><a callback-method='' 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 callback-method='' 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 callback-method='' 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 callback-method='' 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 callback-method='' 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>
2012-04-03 10:06:16 +00:00
</ul>
</li>
2012-11-20 09:20:05 +00:00
<li class="d_cate"><a callback-method='initializeOrbitTimeline' href="<%= desktop_orbit_orbit_path %>" 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>
2012-04-03 21:53:49 +00:00
<ul class="dock_child hh3 thmc4" style="width: 60px;">
2012-11-20 09:20:05 +00:00
<li class="dock_item"><a callback-method='' href="" 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>
2012-04-03 10:06:16 +00:00
</ul>
</li>
2012-11-20 09:20:05 +00:00
<li class="d_cate"><a callback-method='initializeAppstore' href="<%= desktop_appstore_appstore_path %>" 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>
2012-04-03 10:06:16 +00:00
</ul>
2012-04-04 18:31:32 +00:00
<div class="fn_des hh3 admbg admtxt"></div>
2012-03-28 10:53:30 +00:00
</div>
</div>
<div id="container">
2012-04-12 14:18:58 +00:00
2012-04-17 08:32:11 +00:00
<div id='ajax_container'>
2012-03-28 10:53:30 +00:00
</div>
</div>
<!--<div id="orbitbar"></div>-->
2012-03-28 10:53:30 +00:00
<img src="" id="thmbackground" />
<div id="bgover" ></div>
2012-03-29 11:50:23 +00:00
<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>
2012-04-17 08:32:11 +00:00
<div id="orbitdiag" style="display: none;">
<div class="tile op07"></div>
<div class="diag_holder">
<div class="diag_holder_inner">
2012-04-24 08:45:26 +00:00
<div class="diag_message"></div>
2012-04-17 08:32:11 +00:00
<div class="diag_action">
2012-04-24 08:45:26 +00:00
<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>
2012-04-17 08:32:11 +00:00
</div>
</div>
</div>
</div>
2012-04-05 12:32:56 +00:00
<script>
orbitDesktop.prototype.themefolder = "desktop_themes";
orbitDesktop.prototype.notifyImgPath = "/assets/";
orbitDesktop.prototype.desktopId = "<%= @desktop.id %>";
2012-04-11 07:31:10 +00:00
orbitDesktop.prototype.sectionId = "<%= @section.id %>";
2012-04-12 14:18:58 +00:00
orbitDesktop.prototype.currentLanguage = "<%= I18n.locale %>";
2012-04-19 12:26:21 +00:00
orbitDesktop.prototype.currentUsername = "<%= @currentusername %>";
2012-04-11 07:31:10 +00:00
//uselessfunction();
2012-04-05 12:32:56 +00:00
var od = new orbitDesktop("#ajax_container");
2012-04-19 12:26:21 +00:00
o.notify("Welcome "+o.currentUsername+"!!","alert",3);
2012-04-09 09:55:03 +00:00
</script>