WIP EGroupware Tutorial:

- Improve some styling in popup
- Fix sorting list in sidebar
This commit is contained in:
Hadi Nategh 2015-10-16 10:00:17 +00:00
parent c33b041d23
commit 45668446bf
5 changed files with 8 additions and 12 deletions

View File

@ -4,8 +4,8 @@
<overlay>
<template id="home.tutorial" template="" lang="" group="0" version="15.1">
<hbox height="90%" class="tutorial_popup">
<hbox class="tutorial_videoList">
<grid id="list" classs="egwGridView_grid" resize_ratio="0" width="190px">
<hbox class="tutorial_videoList" width="200px">
<grid id="list" classs="egwGridView_grid" resize_ratio="0" width="200px">
<columns>
<column/>
</columns>
@ -17,7 +17,7 @@
</row>
<row>
<vbox onclick="$row_cont[onclick]" align="center" statustext="$row_cont[title]">
<hbox background="$row_cont[thumbnail]" height="130px" width="98%" class="egw_tutorial_thumb">
<hbox background="$row_cont[thumbnail]" height="130px" width="190px" class="egw_tutorial_thumb">
<description value = "$row_cont[title]" class="egw_tutorial_title"/>
<hbox id="play" class="egw_tutorial_playBtn">
<hbox></hbox>
@ -28,7 +28,7 @@
</rows>
</grid>
</hbox>
<iframe id="src" height="100%" seamless="true" width="73%" fullscreen="true"/>
<iframe id="src" height="100%" seamless="true" width="70%" fullscreen="true"/>
</hbox>
<hbox class="dialogFooterToolbar">
<button align="left" statustext="Close this window" label="Close" id="button[close]" onclick="window.close()" image="close" background_image="1"/>

View File

@ -1032,10 +1032,6 @@ var AppJS = Class.extend(
_data[egw.app_name()][lang][i]['onclick'] = 'app.'+egw.app_name()+'.egwTutorialPopup("'+tuid+'")';
}
content.content.list = _data[egw.app_name()][lang];
// Get the video with top property into the top of the list
content.content.list.sort(function(a){
if (!a.top) return 1;
});
if (template.indexOf('.xet') >0)
{

View File

@ -5126,7 +5126,7 @@ td.message span.message {
}
.egw_fw_ui_category_content .egwTutorial div#list_grid_wrapper {
border-bottom-left-radius: 10px;
overflow-x: hidden;
overflow-x: hidden !important;
}
.egw_fw_ui_category_content .egwTutorial div#list_grid_wrapper .et2_label {
padding-bottom: 5px;

View File

@ -5115,7 +5115,7 @@ td.message span.message {
}
.egw_fw_ui_category_content .egwTutorial div#list_grid_wrapper {
border-bottom-left-radius: 10px;
overflow-x: hidden;
overflow-x: hidden !important;
}
.egw_fw_ui_category_content .egwTutorial div#list_grid_wrapper .et2_label {
padding-bottom: 5px;

View File

@ -523,7 +523,7 @@
.egwTutorial div#list_grid_wrapper {
border-bottom-left-radius: 10px;
overflow-x:hidden;
overflow-x:hidden !important;
.et2_label {
padding-bottom: 5px;
}