256: Workspace explorer

Task-Url: https://support.d4science.org/issues/256

Updated css and gwt.xml configurations

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-explorer@117543 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2015-07-29 15:41:23 +00:00
parent 04d7b97146
commit 67c5a22c4b
6 changed files with 116 additions and 23 deletions

43
pom.xml
View File

@ -89,18 +89,18 @@
</dependency>
<!-- HOME LIBRARY -->
<!-- <dependency> -->
<!-- <groupId>org.gcube.common</groupId> -->
<!-- <artifactId>home-library-model</artifactId> -->
<!-- <version>[1.0.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version> -->
<!-- <scope>provided</scope> -->
<!-- </dependency> -->
<!-- <dependency> -->
<!-- <groupId>org.gcube.common</groupId> -->
<!-- <artifactId>home-library-jcr</artifactId> -->
<!-- <version>[2.0.0-SNAPSHOT, 3.0.0-SNAPSHOT)</version> -->
<!-- <scope>provided</scope> -->
<!-- </dependency> -->
<!-- <dependency> -->
<!-- <groupId>org.gcube.common</groupId> -->
<!-- <artifactId>home-library-model</artifactId> -->
<!-- <version>[1.0.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version> -->
<!-- <scope>provided</scope> -->
<!-- </dependency> -->
<!-- <dependency> -->
<!-- <groupId>org.gcube.common</groupId> -->
<!-- <artifactId>home-library-jcr</artifactId> -->
<!-- <version>[2.0.0-SNAPSHOT, 3.0.0-SNAPSHOT)</version> -->
<!-- <scope>provided</scope> -->
<!-- </dependency> -->
<dependency>
<groupId>org.gcube.common</groupId>
<artifactId>home-library</artifactId>
@ -173,6 +173,25 @@
<goal>test-jar</goal>
</goals>
</execution>
<!-- <execution> -->
<!-- <id>copy-css</id> -->
<!-- <phase>install</phase> -->
<!-- <goals> -->
<!-- <goal>copy-resources</goal> -->
<!-- </goals> -->
<!-- <configuration> -->
<!-- <outputDirectory>target/public</outputDirectory> -->
<!-- <resources> -->
<!-- <resource> -->
<!-- <directory>src/main/java/org/gcube/portlets/user/workspace/public</directory> -->
<!-- <filtering>true</filtering> -->
<!-- <includes> -->
<!-- <include>*.css</include> -->
<!-- </includes> -->
<!-- </resource> -->
<!-- </resources> -->
<!-- </configuration> -->
<!-- </execution> -->
</executions>
</plugin>

View File

@ -4,17 +4,18 @@
<inherits name='com.google.gwt.user.User' />
<!-- UNCOMMNET TO USE GWT 2.7 SUPER DEV MODE -->
<set-configuration-property name='xsiframe.failIfScriptTag' value='FALSE' />
<set-configuration-property name='xsiframe.failIfScriptTag'
value='FALSE' />
<script src="jquery-1.10.1.min.js"></script>
<script src="bootstrap.min.js"></script>
<stylesheet src='workspaceExplorer.css' />
<!-- Inherit the default GWT style sheet. You can change -->
<inherits name="com.github.gwtbootstrap.Bootstrap" />
<inherits name='com.google.gwt.user.theme.standard.Standard' />
<stylesheet src='workspaceExplorer.css' />
<!-- Specify the app entry point class. -->
<!-- <entry-point class='org.gcube.portlets.widgets.wsexplorer.client.WorkspaceExplorer'/> -->
@ -22,14 +23,14 @@
<source path='client' />
<source path='shared' />
<!--Override Bootstrap Css-->
<!--Override Bootstrap Css -->
<source path='resources' />
<replace-with class="org.gcube.portlets.widgets.wsexplorer.resources.BootstrapConfigurator">
<replace-with
class="org.gcube.portlets.widgets.wsexplorer.resources.BootstrapConfigurator">
<when-type-is class="com.github.gwtbootstrap.client.ui.config.Configurator" />
</replace-with>
<public path="resources">
<exclude name="** /*.java" />
<exclude name="** /*.class" />
</public>
</module>

View File

@ -1,3 +1,9 @@
/*************************************************
*
* SPECIFIC CSS FOR WORKSPACE EXPLORER
*
**************************************************/
.margin-auto {
margin: 0 auto;
/* width: 50%; */

View File

@ -9,6 +9,6 @@ import com.github.gwtbootstrap.client.ui.resources.Resources;
import com.google.gwt.resources.client.TextResource;
public interface BootstrapOverrideResources extends Resources {
@Source("css/bootstrap.min.css")
TextResource bootstrapCss();
@Source("css/bootstrap.min.css")
TextResource bootstrapCss();
}

View File

@ -1,3 +1,9 @@
/*************************************************
*
* BOOTSTRAP MINIMAL CSS FOR WORKSPACE EXPLORE
*
**************************************************/
/*MODAL FOOTER*/
.modal-footer {
background-color: #F5F5F5;
@ -957,4 +963,65 @@ a {
a:hover, a:focus {
color: #005580;
text-decoration: underline;
}
}
/*************************************************
*
* SPECIFIC CSS FOR WORKSPACE EXPLORER
*
**************************************************/
/* .margin-auto { */
/* margin: 0 auto; */
/* } */
/* .table-overflow td, th { */
/* overflow: hidden !important; */
/* } */
/* .table-overflow th{ */
/* text-align: center !important; */
/* } */
/* .breadcrumbs-navigator .breadcrumb { */
/* margin-bottom: 5px !important; */
/* margin-left: 0px !important; */
/* } */
/* .moreinfo{ */
/* margin-top: 60%; */
/* } */
/* .alert-custom { */
/* margin-top: 10px; */
/* margin-bottom: 0 !important; */
/* padding: 4px !important; */
/* } */
/* .fileNameTextBox{ */
/* vertical-align: top !important; */
/* margin-right: 10px; */
/* margin-left: 5px; */
/* width: 550px; */
/* font-size: 12px !important; */
/* } */
/* .footerHP{ */
/* margin-top: 20px !important; */
/* float: right; */
/* } */
/* .htmlSaveName { */
/* display: inline; */
/* font-size: 14px; */
/* margin-right: 5px; */
/* vertical-align: middle; */
/* } */
/* .savePanel{ */
/* border: 1px solid; */
/* padding-left: 25px; */
/* } */

View File

@ -10,12 +10,12 @@
<script src="jquery-1.10.1.min.js"></script>
<script src="bootstrap.min.js"></script>
<stylesheet src='workspaceExplorer.css' />
<!-- Inherit the default GWT style sheet. You can change -->
<inherits name="com.github.gwtbootstrap.Bootstrap" />
<inherits name='com.google.gwt.user.theme.standard.Standard' />
<stylesheet src='workspaceExplorer.css' />
<!-- Specify the app entry point class. -->
<!-- <entry-point class='org.gcube.portlets.widgets.wsexplorer.client.WorkspaceExplorer'/> -->