126 lines
3.9 KiB
XML
126 lines
3.9 KiB
XML
<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
|
|
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
|
|
xmlns:g="urn:import:com.google.gwt.user.client.ui"
|
|
xmlns:b="urn:import:com.github.gwtbootstrap.client.ui"
|
|
xmlns:m="urn:import:org.gcube.portlets.user.geoportaldataentry.client.ui"
|
|
xmlns:r="urn:import:org.gcube.portlets.user.geoportaldataentry.client.ui.utils">
|
|
|
|
<ui:style>
|
|
.important {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.custom-page-header {
|
|
background-color: #f5f5f5;
|
|
margin-bottom: 10px;
|
|
border: 1px solid #eee;
|
|
}
|
|
|
|
.custom-page-header h1 {
|
|
font-size: 32px;
|
|
}
|
|
|
|
.margin-top-5 {
|
|
margin-top: 5px !important;
|
|
}
|
|
|
|
.float-right {
|
|
display: block;
|
|
width: 100%;
|
|
font-size: 12px;
|
|
text-align: right;
|
|
}
|
|
|
|
.display-right {
|
|
float: right;
|
|
margin-right: 20px;
|
|
}
|
|
|
|
.sub-page-header {
|
|
height: 25px;
|
|
margin: 0 !important;
|
|
position: relative;
|
|
top: -20px;
|
|
}
|
|
|
|
.divider-border-right {
|
|
border-left: 1px solid #ccc !important;
|
|
height: 35px !important;
|
|
}
|
|
</ui:style>
|
|
<g:HTMLPanel>
|
|
<b:PageHeader subtext="data entry facility"
|
|
styleName="{style.custom-page-header}" ui:field="pageHeader">GeoPortal</b:PageHeader>
|
|
<g:Label ui:field="roleLabel"
|
|
addStyleNames="{style.display-right}"></g:Label>
|
|
<b:TabPanel tabPosition="above" ui:field="tabPanel">
|
|
<b:Tab icon="FILE_TEXT" heading="New Project" active="true"
|
|
ui:field="tabNewProject">
|
|
<g:ScrollPanel>
|
|
<g:HTMLPanel ui:field="contTabNewProject">
|
|
<b:Navbar addStyleNames="nav-toolbar-style">
|
|
<b:Brand addStyleNames="{style.margin-top-5}">New Project</b:Brand>
|
|
<b:Nav>
|
|
<b:Dropdown text="Create New Project"
|
|
ui:field="ddCreateNewProject" icon="FILE">
|
|
</b:Dropdown>
|
|
</b:Nav>
|
|
</b:Navbar>
|
|
<g:HTMLPanel addStyleNames="{style.float-right}">
|
|
<div id="topPage"></div>
|
|
<a href="#bottomPage">Go to bottom</a>
|
|
</g:HTMLPanel>
|
|
|
|
<g:HTMLPanel ui:field="introGNA">
|
|
<b:Hero ui:field="introGNAHero">
|
|
<b:Heading size="2" ui:field="welcomeTitle">Welcome
|
|
to GeoPortal Data Entry</b:Heading>
|
|
<b:Paragraph ui:field="welcomeDescription"></b:Paragraph>
|
|
<b:Paragraph>select "Create New Project"</b:Paragraph>
|
|
</b:Hero>
|
|
<b:PageHeader subtext=" "
|
|
ui:field="pageHeaderDataEntry"
|
|
addStyleNames="{style.sub-page-header}" visible="false">
|
|
</b:PageHeader>
|
|
</g:HTMLPanel>
|
|
|
|
<r:LoaderIcon ui:field="loader"></r:LoaderIcon>
|
|
<g:HTMLPanel ui:field="geonaMainFormPanel">
|
|
</g:HTMLPanel>
|
|
<g:HTMLPanel addStyleNames="{style.float-right}">
|
|
<div id="bottomPage"></div>
|
|
<a href="#topPage">Go to top</a>
|
|
</g:HTMLPanel>
|
|
</g:HTMLPanel>
|
|
</g:ScrollPanel>
|
|
</b:Tab>
|
|
<b:Tab icon="TABLE" heading="List of Projects"
|
|
ui:field="tabGetListOfProjects">
|
|
<g:FlowPanel>
|
|
<g:FlowPanel addStyleNames="move-sticky">
|
|
<b:NavPills>
|
|
<b:NavLink ui:field="navShowOnMap" title="Show on Map"
|
|
icon="MAP_MARKER">Show on Map</b:NavLink>
|
|
<b:NavLink ui:field="navShowReport"
|
|
title="Show Publication Report" icon="FILE_TEXT_ALT">Publication Report</b:NavLink>
|
|
<b:NavLink ui:field="navEditMode" title="Edit"
|
|
icon="PENCIL">Edit</b:NavLink>
|
|
<b:NavLink ui:field="navDelete" title="Delete Project"
|
|
icon="TRASH">Delete Project</b:NavLink>
|
|
<b:Divider addStyleNames="{style.divider-border-right}" />
|
|
<b:NavLink ui:field="navCreateRelation"
|
|
title="Create Relation between two Projects" icon="LINK">Create
|
|
Relation</b:NavLink>
|
|
<b:NavLink ui:field="navViewRelations"
|
|
title="View the relations created for a Project" icon="LIST_ALT">View
|
|
Relations</b:NavLink>
|
|
</b:NavPills>
|
|
</g:FlowPanel>
|
|
<g:DockLayoutPanel ui:field="theDockLayoutPanel">
|
|
</g:DockLayoutPanel>
|
|
</g:FlowPanel>
|
|
</b:Tab>
|
|
</b:TabPanel>
|
|
</g:HTMLPanel>
|
|
</ui:UiBinder>
|