153 lines
4.8 KiB
XML
153 lines
4.8 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 {
|
|
padding: 10px;
|
|
background-color: #f5f5f5;
|
|
margin-bottom: 10px;
|
|
border: 1px solid #eee;
|
|
}
|
|
|
|
.margin-top-8 {
|
|
margin-top: 8px !important;
|
|
}
|
|
|
|
.margin-top-5 {
|
|
margin-top: 5px !important;
|
|
}
|
|
|
|
.float-right {
|
|
display: block;
|
|
width: 100%;
|
|
font-size: 12px;
|
|
text-align: right;
|
|
}
|
|
|
|
.display-right {
|
|
float: right;
|
|
}
|
|
|
|
.max-height-300 {
|
|
max-height: auto;
|
|
}
|
|
|
|
.margin-bottom-5 {
|
|
margin-bottom: 5px !important;
|
|
}
|
|
|
|
.search-field {
|
|
padding-top: 6px;
|
|
margin-top: 2px;
|
|
}
|
|
</ui:style>
|
|
<g:HTMLPanel>
|
|
<b:PageHeader subtext="data entry facility"
|
|
styleName="{style.custom-page-header}">GNA</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="{style.margin-bottom-5}">
|
|
<b:Brand addStyleNames="{style.margin-top-5}">New Project</b:Brand>
|
|
<b:Nav>
|
|
<b:NavLink ui:field="buttCreateNewProject"
|
|
title="Create a new Project" icon="FILE">Create New Project</b:NavLink>
|
|
</b:Nav>
|
|
</b:Navbar>
|
|
<g:HTMLPanel addStyleNames="{style.float-right}">
|
|
<div id="topPage"></div>
|
|
<a href="#bottomPage">Go to bottom</a>
|
|
</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="navCloneProject"
|
|
title="Clone Project" icon="COPY">Clone Project</b:NavLink>
|
|
<b:NavLink ui:field="navPublishUnPublishProject"
|
|
title="Publish or UnPublish Project" icon="STACKEXCHANGE">Publish/UnPublish
|
|
Project</b:NavLink>
|
|
<b:NavLink ui:field="navDelete" title="Delete Project"
|
|
icon="TRASH">Delete Project</b:NavLink>
|
|
</b:NavPills>
|
|
</g:FlowPanel>
|
|
<g:ScrollPanel>
|
|
<g:HTMLPanel ui:field="contTabGetListOfProjects">
|
|
<b:Navbar addStyleNames="nav-toolbar-style">
|
|
<b:Brand>List of Projects</b:Brand>
|
|
<b:Nav>
|
|
<b:Dropdown text="Sort by" ui:field="dropdownSortBy">
|
|
</b:Dropdown>
|
|
</b:Nav>
|
|
<b:Nav>
|
|
<b:Alert ui:field="alertSortBy"
|
|
addStyleNames="alert_box_nav"></b:Alert>
|
|
</b:Nav>
|
|
<b:Nav>
|
|
<b:NavLink ui:field="buttonReloadConcessioni"
|
|
title="Create a new Project" icon="ROTATE_RIGHT">Reload Projects</b:NavLink>
|
|
</b:Nav>
|
|
|
|
<g:HTMLPanel addStyleNames="{style.display-right}">
|
|
<b:Nav>
|
|
<b:Dropdown text="Search for"
|
|
ui:field="dropdownSearchFor">
|
|
</b:Dropdown>
|
|
</b:Nav>
|
|
<b:Nav>
|
|
<b:Alert ui:field="alertSearchFor"
|
|
addStyleNames="alert_box_nav"></b:Alert>
|
|
</b:Nav>
|
|
|
|
<b:TextBox ui:field="searchField"
|
|
addStyleNames="search-textbox" placeholder="type a text..."></b:TextBox>
|
|
<b:Button icon="REMOVE_CIRCLE" ui:field="resetSearch"
|
|
title="Reset the search" visible="false"></b:Button>
|
|
</g:HTMLPanel>
|
|
</b:Navbar>
|
|
|
|
<g:HTMLPanel addStyleNames="{style.float-right}">
|
|
<div id="topPage2"></div>
|
|
<a href="#bottomPage2">Go to bottom</a>
|
|
</g:HTMLPanel>
|
|
<g:HTMLPanel ui:field="geonaListOfConcessioniPanel"></g:HTMLPanel>
|
|
<g:HTMLPanel addStyleNames="{style.float-right}">
|
|
<div id="bottomPage2"></div>
|
|
<a href="#topPage2">Go to top</a>
|
|
</g:HTMLPanel>
|
|
</g:HTMLPanel>
|
|
</g:ScrollPanel>
|
|
</g:FlowPanel>
|
|
</b:Tab>
|
|
</b:TabPanel>
|
|
</g:HTMLPanel>
|
|
</ui:UiBinder>
|