Improved Intro Page
This commit is contained in:
parent
11f751e96c
commit
53114d699f
|
@ -25,6 +25,8 @@ import org.gcube.portlets.user.geoportaldataentry.client.ui.utils.LoaderIcon;
|
|||
import com.github.gwtbootstrap.client.ui.Alert;
|
||||
import com.github.gwtbootstrap.client.ui.Button;
|
||||
import com.github.gwtbootstrap.client.ui.Dropdown;
|
||||
import com.github.gwtbootstrap.client.ui.Heading;
|
||||
import com.github.gwtbootstrap.client.ui.Hero;
|
||||
import com.github.gwtbootstrap.client.ui.NavLink;
|
||||
import com.github.gwtbootstrap.client.ui.PageHeader;
|
||||
import com.github.gwtbootstrap.client.ui.Tab;
|
||||
|
@ -148,6 +150,9 @@ public class GeonaMainTabPanel extends Composite {
|
|||
|
||||
@UiField
|
||||
PageHeader pageHeaderDataEntry;
|
||||
|
||||
@UiField
|
||||
Hero introGNAHero;
|
||||
|
||||
private HandlerManager appManagerBus;
|
||||
|
||||
|
@ -532,6 +537,8 @@ public class GeonaMainTabPanel extends Composite {
|
|||
}
|
||||
|
||||
public void setPageHeader(DocumentConfigDV dcDV) {
|
||||
introGNAHero.setVisible(false);
|
||||
this.pageHeaderDataEntry.setVisible(true);
|
||||
this.pageHeaderDataEntry.setText("");
|
||||
this.pageHeaderDataEntry.setSubtext("New: "+dcDV.getItemType());
|
||||
}
|
||||
|
|
|
@ -36,6 +36,10 @@
|
|||
float: right;
|
||||
}
|
||||
|
||||
.align-center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.max-height-300 {
|
||||
max-height: auto;
|
||||
}
|
||||
|
@ -71,7 +75,17 @@
|
|||
<div id="topPage"></div>
|
||||
<a href="#bottomPage">Go to bottom</a>
|
||||
</g:HTMLPanel>
|
||||
<b:PageHeader subtext='select "Create New Project"' ui:field="pageHeaderDataEntry">Welcome to GNA Data Entry</b:PageHeader>
|
||||
|
||||
<g:HTMLPanel ui:field="introGNA">
|
||||
<b:Hero ui:field="introGNAHero">
|
||||
<b:Heading size="2">Welcome
|
||||
to GNA Data Entry</b:Heading>
|
||||
<b:Paragraph>select "Create New Project"</b:Paragraph>
|
||||
</b:Hero>
|
||||
<b:PageHeader subtext=" "
|
||||
ui:field="pageHeaderDataEntry" visible="false"> </b:PageHeader>
|
||||
</g:HTMLPanel>
|
||||
|
||||
<r:LoaderIcon ui:field="loader"></r:LoaderIcon>
|
||||
<g:HTMLPanel ui:field="geonaMainFormPanel">
|
||||
</g:HTMLPanel>
|
||||
|
|
|
@ -205,7 +205,7 @@ public class MetadataFormCard {
|
|||
tabContainer.remove(buttonRemoveLatestForm);
|
||||
|
||||
AlertClosable alertCloasable = new AlertClosable();
|
||||
alertCloasable.setHTML("Data Entry form removed");
|
||||
alertCloasable.setHTML("Data Entry form removed!");
|
||||
alertCloasable.setAnimation(true);
|
||||
alertCloasable.setType(AlertType.DEFAULT);
|
||||
alertCloasable.setClose(true);
|
||||
|
|
|
@ -14,6 +14,5 @@
|
|||
<b:FormActions ui:field="formActions" visible="false">
|
||||
<b:Button type="PRIMARY" icon="SAVE" ui:field="buttonSave">Save</b:Button>
|
||||
</b:FormActions>
|
||||
<!-- </b:AlertBlock> -->
|
||||
</g:HTMLPanel>
|
||||
</ui:UiBinder>
|
Loading…
Reference in New Issue