109 lines
3.0 KiB
XML
109 lines
3.0 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:citem="urn:import:org.gcube.portlets.widgets.switchbutton.client">
|
|
<ui:style>
|
|
.textbox-width {
|
|
width: 200px;
|
|
}
|
|
|
|
.back-color-info {
|
|
background-color: #fafaff !important;
|
|
}
|
|
|
|
.margin-bottom-20 {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.padding-left-30 {
|
|
padding-left: 30px;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.text-bold {
|
|
font-weight: bold;
|
|
}
|
|
</ui:style>
|
|
<g:HTMLPanel>
|
|
<b:Form type="HORIZONTAL">
|
|
<b:Row ui:field="filedEnableDisableSharing"
|
|
addStyleNames="{style.margin-bottom-20}">
|
|
<b:Column size="1">
|
|
<b:Label type="INFO">Link Sharing</b:Label>
|
|
</b:Column>
|
|
<b:Column size="2">
|
|
<citem:SwitchButton ui:field="switchButton"></citem:SwitchButton>
|
|
</b:Column>
|
|
<b:Row>
|
|
<b:Column size="4" addStyleNames="{style.padding-left-30}">
|
|
<g:Label ui:field="labelLinkSharing"></g:Label>
|
|
</b:Column>
|
|
</b:Row>
|
|
</b:Row>
|
|
|
|
<b:Fieldset ui:field="fieldSet">
|
|
<!-- <b:Alert close="false" ui:field="actionAlert" type="ERROR" -->
|
|
<!-- visible="false"></b:Alert> -->
|
|
|
|
<b:Alert ui:field="actionAlert" close="false" type="INFO"
|
|
visible="false">
|
|
<b:Icon type="ROTATE_RIGHT" spin="true" />
|
|
</b:Alert>
|
|
<g:HTMLPanel ui:field="panelFieldsContainer">
|
|
<!-- <b:Legend>sharing....</b:Legend> -->
|
|
<b:ControlGroup ui:field="cgPublicLink">
|
|
<b:Well ui:field="alertFolderPublicLink" visible="false">By sharing
|
|
via Public
|
|
Link
|
|
to folder with
|
|
your coworkers you will
|
|
enact anyone
|
|
with the
|
|
link to
|
|
view the
|
|
content, no login will be
|
|
requested</b:Well>
|
|
<b:Well ui:field="alertFilePublicLink" visible="false">By sharing a
|
|
Public Link
|
|
to
|
|
file your coworkers can download it.
|
|
No login will be
|
|
requested.
|
|
The link will always point to the version
|
|
of file at the
|
|
time of
|
|
public link creation</b:Well>
|
|
<b:ControlLabel>Public Link</b:ControlLabel>
|
|
<b:Controls>
|
|
<b:InputAddOn prependIcon="GLOBE">
|
|
<b:TextBox ui:field="textPublicLink" readOnly="true">
|
|
</b:TextBox>
|
|
</b:InputAddOn>
|
|
</b:Controls>
|
|
</b:ControlGroup>
|
|
<b:ControlGroup ui:field="cgPrivateLink">
|
|
<b:Well>
|
|
By sharing via Private Link
|
|
with
|
|
your
|
|
coworkers you will
|
|
enact users (only the members belonging to the shared folder),
|
|
after login, to access
|
|
the
|
|
content</b:Well>
|
|
<b:ControlLabel>Private Link</b:ControlLabel>
|
|
<b:Controls>
|
|
<b:InputAddOn prependIcon="LINK">
|
|
<b:TextBox ui:field="textPrivateLink" readOnly="true">
|
|
</b:TextBox>
|
|
</b:InputAddOn>
|
|
</b:Controls>
|
|
</b:ControlGroup>
|
|
</g:HTMLPanel>
|
|
</b:Fieldset>
|
|
<b:Alert close="false" ui:field="errorAlert" type="ERROR"
|
|
visible="false"></b:Alert>
|
|
</b:Form>
|
|
</g:HTMLPanel>
|
|
</ui:UiBinder> |