|
3 | 3 | <client_settings icon="plugins/access.ajxp_home/share.png">
|
4 | 4 | <resources>
|
5 | 5 | <i18n namespace="user_home" path="plugins/access.ajxp_home/i18n" />
|
6 |
| - <!--<js className="UserDashboardHome" file="plugins/access.ajxp_home/class.UserDashboardHome.js"/>--> |
7 |
| - <js className="WelcomeComponents" file="plugins/access.ajxp_home/build/WelcomeComponents.js"/> |
| 6 | + <!--<js className="WelcomeComponents" file="plugins/access.ajxp_home/build/WelcomeComponents.js" depends="React"/>--> |
| 7 | + <js className="UserDashboardHome" file="plugins/access.ajxp_home/class.UserDashboardHome.js"/> |
8 | 8 | <css file="plugins/access.ajxp_home/home.css" autoload="true"/>
|
9 | 9 | </resources>
|
10 | 10 | <node_provider ajxpClass="EmptyNodeProvider" ajxpOptions="{}"/>
|
|
111 | 111 | <template_part ajxpId="orbit_content" ajxpClass="AjxpPane" ajxpOptions='{"fit":"height","fitParent":"ajxp_desktop", "imageBackgroundFromConfigs":"access.ajxp_home/WELCOME_PAGE_BACKGROUND_","messageBoxReference":true}' theme="orbit"><![CDATA[
|
112 | 112 | <style>
|
113 | 113 | #global_toolbar{
|
114 |
| - position: absolute;display: block;width:99%;background: none !important; |
| 114 | + position: absolute; |
| 115 | + display: block; |
| 116 | + width:99%; |
| 117 | + background: none !important; |
115 | 118 | }
|
116 | 119 | #clickable_home, div.custom_top_title, img.custom_logo_image.linked {
|
117 | 120 | display:none;
|
118 | 121 | }
|
119 | 122 | </style>
|
120 |
| - <div id="home_account_pane" ajxpClass="AjxpReactComponent" ajxpOptions='{"fit":"height", "componentNamespace":"WelcomeComponents", "componentName":"UserDashboard"}' class="horizontal_layout"></div> |
| 123 | + <div id="home_account_pane" ajxpClass="UserDashboardHome" class="horizontal_layout"> |
| 124 | + <div id="home_left_bar" ajxpClass="AjxpPane" ajxpOptions='{"fit":"height", "fitParent":"orbit_content"}' style="width:420px;"> |
| 125 | + <div id="welcome" style="min-height:94px;"></div> |
| 126 | + <div id="workspaces_center" ajxpClass="AjxpPane" ajxpOptions='{"fit":"height", "fitParent":"home_left_bar"}'> |
| 127 | + <div id="list_cont" ajxpClass="AjxpPane" ajxpOptions='{"fit":"height", "fitParent":"workspaces_center"}'> |
| 128 | + <ul id="workspaces_list"></ul> |
| 129 | + </div> |
| 130 | + <div id="workspaces_button" style="display:none;"> |
| 131 | + <input type="button" name="go_to_ws" id="go_to_ws" value="AJXP_MESSAGE[user_home.42]" class="disabled"> |
| 132 | + </div> |
| 133 | + </div> |
| 134 | + </div> |
| 135 | + <div id="home_center_panel" ajxpClass="AjxpPane" ajxpOptions='{"fit":"height", "fitParent":"orbit_content","flexTo":"orbit_content"}'> |
| 136 | + <div id="logo_div"><img src=""></div> |
| 137 | + <div id="ws_legend"></div> |
| 138 | + </div> |
| 139 | + </div> |
121 | 140 | ]]></template_part>
|
122 | 141 | </client_configs>
|
123 | 142 | <actions>
|
|
126 | 145 | <context dir="true" recycle="true" selection="false"/>
|
127 | 146 | </gui>
|
128 | 147 | <processing>
|
129 |
| - <clientCallback components="true"> |
130 |
| - <component type="react" namespace="WelcomeComponents" name="TutorialPane" element="tutorial_panel"/> |
131 |
| - </clientCallback> |
| 148 | + <clientCallback><![CDATA[ |
| 149 | + $('videos_pane').setStyle({display:'block'}); |
| 150 | + if(!$('videos_pane')._OBSERVER_SET){ |
| 151 | + $('videos_pane').select('div.tutorial_load_button').invoke("observe", "click", function(e){ |
| 152 | + var t = Event.findElement(e, 'div.tutorial_load_button'); |
| 153 | + try{ |
| 154 | + var main = t.up('div.tutorial_legend'); |
| 155 | + main.next('iframe').src = main.readAttribute('data-videoSrc'); |
| 156 | + }catch(e){} |
| 157 | + }); |
| 158 | + var configs = ajaxplorer.getPluginConfigs('access.ajxp_home'); |
| 159 | + $A(['URL_APP_IOSAPPSTORE', 'URL_APP_ANDROID', 'URL_APP_SYNC_WIN', 'URL_APP_SYNC_MAC']).each(function(p){ |
| 160 | + $('videos_pane').select('a[href="'+p+'"]').invoke('writeAttribute', 'href', configs.get(p)); |
| 161 | + }); |
| 162 | + $('videos_pane')._OBSERVER_SET = true; |
| 163 | + } |
| 164 | + ]]></clientCallback> |
| 165 | + <clientForm id="videos_pane"><![CDATA[ |
| 166 | + <div id="videos_pane" style="display:none;" class="skipSibling" ajxpClass="AjxpPane" ajxpOptions='{}' style="overflow-y: scroll;"> |
| 167 | + <div style="float: left;font-size: 1.5em;margin-left: 16px;margin-top: 16px;cursor: pointer;" onclick="$('videos_pane').hide();" class="icon-remove-sign"></div> |
| 168 | + <div style="clear:left; font-size: 25px; text-align:center; margin: 40px 0 30px;">AJXP_MESSAGE[user_home.56]</div> |
| 169 | + <div id="tutorial_dl_apps_pane"> |
| 170 | + <div style="width: 750px; margin: 0 auto;" id="dl_pydio_cont"> |
| 171 | + <div style="float: left;margin: 44px 18px;font-size: 21px;" id="dl_pydio_for">AJXP_MESSAGE[user_home.57]</div> |
| 172 | + <div style="width: 81px; float:left;"> |
| 173 | + <a href="URL_APP_ANDROID" target="_blank" class="icon-mobile-phone" style="font-size: 96px;"></a><a href="URL_APP_ANDROID" target="_blank" class="icon-android" style="font-size: 30px;position: relative;top: -26px;left: -32px;color: rgb(86, 190, 86);"></a><div style="font-size: 11px;top: -15px;position: relative;left: -13px;">AJXP_MESSAGE[user_home.58]</div> |
| 174 | + </div> |
| 175 | + <div style="width: 91px; float:left;"> |
| 176 | + <a href="URL_APP_IOSAPPSTORE" target="_blank" class="icon-tablet" style="font-size: 96px;"></a><a href="URL_APP_IOSAPPSTORE" target="_blank" class="icon-apple" style="font-size: 26px;position: relative;top: -33px;left: -40px;color: white;text-shadow: 0px 0px 20px rgba(0,0,0,0.4);"></a><div style="font-size: 11px;top: -15px;position: relative;left: 2px;">AJXP_MESSAGE[user_home.59]</div> |
| 177 | + </div> <div style="width: 110px; float:left;padding-top: 14px;"> |
| 178 | + <a href="URL_APP_SYNC_MAC" target="_blank" class="icon-desktop" style="font-size: 74px;"></a><a href="URL_APP_SYNC_MAC" target="_blank" class="icon-apple" style="font-size: 26px;position: relative;top: -30px;left: -51px;color: rgb(148, 148, 148);"></a><div style="font-size: 11px;top: -6px;position: relative;left: 6px;">AJXP_MESSAGE[user_home.60]</div> |
| 179 | + </div> |
| 180 | + <div style="width: 100px; float:left;padding-top: 8px;"> |
| 181 | + <a href="URL_APP_SYNC_WIN" target="_blank" class="icon-laptop" style="font-size: 87px;"></a><a href="URL_APP_SYNC_WIN" target="_blank" class="icon-windows" style="font-size: 26px;position: relative;top: -66px;left: 34px;color: rgb(56, 122, 173);"></a><div style="font-size: 11px;top: -40px;position: relative;left: 12px;">AJXP_MESSAGE[user_home.61]</div> |
| 182 | + </div> |
| 183 | + </div> |
| 184 | + </div> |
| 185 | + <div class="tutorial_legend" data-videoSrc="//www.youtube.com/embed/80kq-T6bQO4?list=PLxzQJCqzktEYnIChsR5h3idjAxgBssnt5"> |
| 186 | + AJXP_MESSAGE[user_home.62] |
| 187 | + <div class="tutorial_load_button"><i class="icon-youtube-play"></i> Play Video</div> |
| 188 | + </div> |
| 189 | + <img class="tutorial_video" src="https://img.youtube.com/vi/80kq-T6bQO4/0.jpg"> |
| 190 | +
|
| 191 | + <div class="tutorial_legend" data-videoSrc="//www.youtube.com/embed/ZuVKsIa4XdU?list=PLxzQJCqzktEYnIChsR5h3idjAxgBssnt5"> |
| 192 | + AJXP_MESSAGE[user_home.63] |
| 193 | + <div class="tutorial_load_button"><i class="icon-youtube-play"></i> Play Video</div> |
| 194 | + </div> |
| 195 | + <img class="tutorial_video" src="https://img.youtube.com/vi/ZuVKsIa4XdU/0.jpg"> |
| 196 | +
|
| 197 | + <div class="tutorial_legend" data-videoSrc="//www.youtube.com/embed/MEHCN64RoTY?list=PLxzQJCqzktEYnIChsR5h3idjAxgBssnt5"> |
| 198 | + AJXP_MESSAGE[user_home.64] |
| 199 | + <div class="tutorial_load_button"><i class="icon-youtube-play"></i> Play Video</div> |
| 200 | + </div> |
| 201 | + <img class="tutorial_video" src="https://img.youtube.com/vi/MEHCN64RoTY/0.jpg"> |
| 202 | +
|
| 203 | + <div class="tutorial_legend" data-videoSrc="//www.youtube.com/embed/ot2Nq-RAnYE?list=PLxzQJCqzktEYnIChsR5h3idjAxgBssnt5"> |
| 204 | + AJXP_MESSAGE[user_home.66] |
| 205 | + <div class="tutorial_load_button"><i class="icon-youtube-play"></i> Play Video</div> |
| 206 | + </div> |
| 207 | + <img class="tutorial_video" src="https://img.youtube.com/vi/ot2Nq-RAnYE/0.jpg"> |
| 208 | +
|
| 209 | + <div style="clear:left; text-align:center;"> |
| 210 | + <a href="http://pyd.io/end-user-tutorials/" target="_blank" style="text-align: center;font-size: 25px;background-color: #e35d52;padding: 10px;border-radius: 5px;color: white;display: inline-block;margin: 40px 0;"><i class="icon-youtube-play"></i> AJXP_MESSAGE[user_home.65]</a></div> |
| 211 | + </div> |
| 212 | + ]]></clientForm> |
132 | 213 | </processing>
|
133 | 214 | </action>
|
134 | 215 | </actions>
|
|
0 commit comments