2019-09-20 14:54:21 +02:00
|
|
|
<!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>
|
|
|
|
.back-color-info {
|
|
|
|
background-color: #fafaff !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.margin-bottom-20 {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
2019-09-23 12:07:03 +02:00
|
|
|
.padding-left-10 {
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.margin-left-5 {
|
|
|
|
margin-left: 5px;
|
2019-09-20 14:54:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.text-bold {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2019-09-20 16:03:05 +02:00
|
|
|
|
|
|
|
.not-active {
|
|
|
|
pointer-events: none;
|
|
|
|
cursor: default;
|
|
|
|
opacity: .5;
|
2019-09-23 12:07:03 +02:00
|
|
|
padding-left: 10px;
|
2019-09-20 16:03:05 +02:00
|
|
|
}
|
2019-09-20 17:30:20 +02:00
|
|
|
|
2019-09-23 12:07:03 +02:00
|
|
|
.font-size-14 {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.to-top-alignment {
|
|
|
|
vertical-align: top;
|
|
|
|
padding-top: 0px !important;
|
2019-09-20 17:30:20 +02:00
|
|
|
}
|
2019-09-24 11:28:28 +02:00
|
|
|
|
|
|
|
.no-border {
|
|
|
|
border: 0px;
|
|
|
|
}
|
2019-09-20 14:54:21 +02:00
|
|
|
</ui:style>
|
|
|
|
<g:HTMLPanel>
|
|
|
|
<b:Form type="HORIZONTAL">
|
2019-09-20 16:03:05 +02:00
|
|
|
<b:Alert ui:field="actionAlert" close="false" type="INFO"
|
|
|
|
visible="false">
|
|
|
|
<b:Icon type="ROTATE_RIGHT" spin="true" />
|
|
|
|
</b:Alert>
|
2019-09-20 17:13:25 +02:00
|
|
|
|
2019-09-23 12:07:03 +02:00
|
|
|
<g:VerticalPanel ui:field="fieldPrivateSharing"
|
2019-09-20 14:54:21 +02:00
|
|
|
addStyleNames="{style.margin-bottom-20}">
|
2019-09-23 12:07:03 +02:00
|
|
|
<g:HorizontalPanel>
|
2019-09-24 11:28:28 +02:00
|
|
|
<b:Label type="INFO" addStyleNames="{style.font-size-14}">Link shareable with
|
|
|
|
coworkers</b:Label>
|
2019-09-20 16:03:05 +02:00
|
|
|
<citem:SwitchButton
|
2019-09-23 12:07:03 +02:00
|
|
|
ui:field="switchButtonPrivate" addStyleNames="{style.not-active}"
|
|
|
|
visible="false"></citem:SwitchButton>
|
2019-09-24 11:28:28 +02:00
|
|
|
<b:Button
|
|
|
|
addStyleNames="{style.padding-left-10} {style.to-top-alignment}"
|
|
|
|
type="LINK" ui:field="buttonShareSettings">Share settings</b:Button>
|
2019-09-23 12:07:03 +02:00
|
|
|
</g:HorizontalPanel>
|
|
|
|
<g:VerticalPanel
|
|
|
|
addStyleNames="{style.margin-left-5}">
|
2019-09-24 11:28:28 +02:00
|
|
|
<g:Label ui:field="labelLinkPrivateSharing">(Only the) Members of the group the
|
|
|
|
folder is shared with are enacted to view</g:Label>
|
2019-09-23 12:07:03 +02:00
|
|
|
</g:VerticalPanel>
|
|
|
|
</g:VerticalPanel>
|
2019-09-20 17:13:25 +02:00
|
|
|
|
2019-09-24 11:28:28 +02:00
|
|
|
<b:Fieldset ui:field="fieldSetPrivate"
|
|
|
|
styleName="{style.noBorder}">
|
2019-09-20 16:03:05 +02:00
|
|
|
<g:HTMLPanel>
|
2019-09-20 14:54:21 +02:00
|
|
|
<!-- <b:Legend>sharing....</b:Legend> -->
|
2019-09-24 11:28:28 +02:00
|
|
|
<b:ControlGroup ui:field="cgPrivateLink"
|
|
|
|
addStyleNames="my-control-group">
|
2019-09-20 16:03:05 +02:00
|
|
|
|
2019-09-23 12:07:03 +02:00
|
|
|
<b:Well ui:field="wellPrivateLinkDescription">
|
2019-09-24 15:13:37 +02:00
|
|
|
By sharing the following Private Link with
|
2019-09-20 14:54:21 +02:00
|
|
|
your
|
2019-09-20 16:03:05 +02:00
|
|
|
coworkers,
|
2019-09-24 11:28:28 +02:00
|
|
|
you will enact the users of the group
|
2020-02-07 15:04:12 +01:00
|
|
|
the folder is
|
|
|
|
shared with to access the shared
|
2019-09-24 15:13:37 +02:00
|
|
|
folder content. Login required</b:Well>
|
2019-09-20 14:54:21 +02:00
|
|
|
<b:ControlLabel>Private Link</b:ControlLabel>
|
|
|
|
<b:Controls>
|
2019-09-24 11:28:28 +02:00
|
|
|
<b:InputAddOn prependIcon="LINK"
|
|
|
|
addStyleNames="my-prepend-width">
|
2019-09-20 14:54:21 +02:00
|
|
|
<b:TextBox ui:field="textPrivateLink" readOnly="true">
|
|
|
|
</b:TextBox>
|
2020-02-07 15:04:12 +01:00
|
|
|
<b:Tooltip text='Copied to clipboard' trigger="MANUAL">
|
|
|
|
<b:Button icon="COPY" ui:field="privateLinkCopyButton"
|
2020-02-10 11:47:28 +01:00
|
|
|
type="PRIMARY"></b:Button>
|
2020-02-07 15:04:12 +01:00
|
|
|
</b:Tooltip>
|
|
|
|
</b:InputAddOn>
|
|
|
|
<b:Button ui:field="showPrivateLongLinkButton"
|
|
|
|
type="LINK" addStyleNames="margin-left-5">Show as Long URL</b:Button>
|
|
|
|
</b:Controls>
|
|
|
|
|
|
|
|
</b:ControlGroup>
|
|
|
|
|
|
|
|
<b:ControlGroup addStyleNames="my-control-group"
|
|
|
|
ui:field="cgPrivateLongLink" visible="false">
|
2020-02-10 11:47:28 +01:00
|
|
|
<b:ControlLabel></b:ControlLabel>
|
2020-02-07 15:04:12 +01:00
|
|
|
<b:Controls>
|
|
|
|
<b:InputAddOn prependIcon="LINK"
|
|
|
|
addStyleNames="my-prepend-width">
|
|
|
|
<b:TextBox ui:field="textPrivateLongLink"
|
|
|
|
readOnly="true">
|
|
|
|
</b:TextBox>
|
|
|
|
<b:Tooltip text='Copied to clipboard' trigger="MANUAL">
|
|
|
|
<b:Button icon="COPY"
|
2020-02-10 11:47:28 +01:00
|
|
|
ui:field="privateLongLinkCopyButton" type="PRIMARY"></b:Button>
|
2020-02-07 15:04:12 +01:00
|
|
|
</b:Tooltip>
|
2019-09-20 14:54:21 +02:00
|
|
|
</b:InputAddOn>
|
|
|
|
</b:Controls>
|
|
|
|
</b:ControlGroup>
|
|
|
|
</g:HTMLPanel>
|
|
|
|
</b:Fieldset>
|
2019-09-20 16:03:05 +02:00
|
|
|
|
2019-09-23 12:07:03 +02:00
|
|
|
<g:VerticalPanel ui:field="filedEnableDisableSharing"
|
2019-09-20 16:03:05 +02:00
|
|
|
addStyleNames="{style.margin-bottom-20}">
|
2019-09-23 12:07:03 +02:00
|
|
|
<g:HorizontalPanel>
|
2019-09-24 11:28:28 +02:00
|
|
|
<b:Label type="INFO" addStyleNames="{style.font-size-14}">Link shareable with
|
|
|
|
everyone</b:Label>
|
2019-09-23 12:07:03 +02:00
|
|
|
<citem:SwitchButton ui:field="switchButton"
|
|
|
|
addStyleNames="{style.padding-left-10}"></citem:SwitchButton>
|
|
|
|
</g:HorizontalPanel>
|
|
|
|
<g:VerticalPanel
|
|
|
|
addStyleNames="{style.margin-left-5}">
|
|
|
|
<g:Label ui:field="labelLinkSharing"></g:Label>
|
|
|
|
</g:VerticalPanel>
|
|
|
|
</g:VerticalPanel>
|
|
|
|
|
2019-09-20 16:03:05 +02:00
|
|
|
|
|
|
|
<b:Fieldset ui:field="fieldSetPublic">
|
2020-02-07 15:04:12 +01:00
|
|
|
<b:ControlGroup ui:field="cgPublicLink"
|
|
|
|
addStyleNames="my-control-group">
|
2019-09-20 16:03:05 +02:00
|
|
|
<b:Well ui:field="alertFolderPublicLink" visible="false">By sharing
|
|
|
|
the following Public
|
2019-09-24 15:13:37 +02:00
|
|
|
Link, you will
|
2019-09-20 16:03:05 +02:00
|
|
|
enact anyone
|
|
|
|
with the
|
|
|
|
link to
|
2020-02-07 15:04:12 +01:00
|
|
|
view
|
|
|
|
the
|
2019-09-24 15:13:37 +02:00
|
|
|
content. No login required</b:Well>
|
2020-02-14 11:53:15 +01:00
|
|
|
<b:Well ui:field="alertFilePublicLink" visible="false">Anyone with
|
|
|
|
this link can download it, no login is required. This link will
|
|
|
|
always point to the latest version of the file</b:Well>
|
|
|
|
<b:Well ui:field="alertVersionedFilePublicLink"
|
|
|
|
visible="false">By sharing
|
2019-09-20 16:03:05 +02:00
|
|
|
the following
|
2020-02-14 11:53:15 +01:00
|
|
|
Public Link, anyone with link can
|
|
|
|
download it.
|
2020-02-07 15:04:12 +01:00
|
|
|
The
|
|
|
|
link will always point to the
|
2019-09-20 16:03:05 +02:00
|
|
|
version
|
2020-02-14 11:53:15 +01:00
|
|
|
of the file at
|
|
|
|
the
|
2020-02-07 15:04:12 +01:00
|
|
|
time of link
|
|
|
|
creation. No login required</b:Well>
|
2019-09-20 16:03:05 +02:00
|
|
|
<b:ControlLabel>Public Link</b:ControlLabel>
|
|
|
|
<b:Controls>
|
2019-09-24 11:28:28 +02:00
|
|
|
<b:InputAddOn prependIcon="GLOBE"
|
|
|
|
addStyleNames="my-prepend-width">
|
2019-09-20 16:03:05 +02:00
|
|
|
<b:TextBox ui:field="textPublicLink" readOnly="true">
|
|
|
|
</b:TextBox>
|
2020-02-10 15:36:40 +01:00
|
|
|
<b:Tooltip text='Copied to clipboard' trigger="MANUAL">
|
2020-02-14 11:53:15 +01:00
|
|
|
<b:Button icon="COPY" ui:field="publicLinkCopyButton"
|
|
|
|
type="PRIMARY"></b:Button>
|
2020-02-10 15:36:40 +01:00
|
|
|
</b:Tooltip>
|
2019-09-20 16:03:05 +02:00
|
|
|
</b:InputAddOn>
|
2020-02-10 15:36:40 +01:00
|
|
|
<b:Button ui:field="showPublicLongLinkButton" type="LINK"
|
|
|
|
addStyleNames="margin-left-5">Show as Long URL</b:Button>
|
2020-02-07 15:04:12 +01:00
|
|
|
</b:Controls>
|
|
|
|
</b:ControlGroup>
|
2020-02-10 15:36:40 +01:00
|
|
|
|
2020-02-07 15:04:12 +01:00
|
|
|
<b:ControlGroup addStyleNames="my-control-group"
|
|
|
|
ui:field="cgPublicLongLink" visible="false">
|
2020-02-10 11:47:28 +01:00
|
|
|
<b:ControlLabel></b:ControlLabel>
|
2020-02-07 15:04:12 +01:00
|
|
|
<b:Controls>
|
2020-02-14 12:07:32 +01:00
|
|
|
<b:InputAddOn prependIcon="GLOBE"
|
2020-02-07 15:04:12 +01:00
|
|
|
addStyleNames="my-prepend-width">
|
|
|
|
<b:TextBox ui:field="textPublicLongLink"
|
|
|
|
readOnly="true">
|
|
|
|
</b:TextBox>
|
|
|
|
<b:Tooltip text='Copied to clipboard' trigger="MANUAL">
|
|
|
|
<b:Button icon="COPY"
|
2020-02-10 11:47:28 +01:00
|
|
|
ui:field="publicLongLinkCopyButton" type="PRIMARY"></b:Button>
|
2020-02-07 15:04:12 +01:00
|
|
|
</b:Tooltip>
|
|
|
|
</b:InputAddOn>
|
2019-09-20 16:03:05 +02:00
|
|
|
</b:Controls>
|
|
|
|
</b:ControlGroup>
|
|
|
|
</b:Fieldset>
|
2019-09-20 14:54:21 +02:00
|
|
|
<b:Alert close="false" ui:field="errorAlert" type="ERROR"
|
|
|
|
visible="false"></b:Alert>
|
|
|
|
</b:Form>
|
|
|
|
</g:HTMLPanel>
|
|
|
|
</ui:UiBinder>
|