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>
|
|
|
|
.textbox-width {
|
|
|
|
width: 200px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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-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>
|
|
|
|
<b:Label type="INFO" addStyleNames="{style.font-size-14}">Link Sharing 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>
|
|
|
|
<b:Button addStyleNames="{style.padding-left-10} {style.to-top-alignment}" type="LINK" ui:field="buttonShareSettings">Share settings</b:Button>
|
|
|
|
</g:HorizontalPanel>
|
|
|
|
<g:VerticalPanel
|
|
|
|
addStyleNames="{style.margin-left-5}">
|
|
|
|
<g:Label ui:field="labelLinkPrivateSharing">(Only the) Members belonging to the
|
|
|
|
share
|
|
|
|
can view</g:Label>
|
|
|
|
</g:VerticalPanel>
|
|
|
|
</g:VerticalPanel>
|
2019-09-20 17:13:25 +02:00
|
|
|
|
2019-09-20 16:03:05 +02:00
|
|
|
<b:Fieldset ui:field="fieldSetPrivate">
|
|
|
|
<g:HTMLPanel>
|
2019-09-20 14:54:21 +02:00
|
|
|
<!-- <b:Legend>sharing....</b:Legend> -->
|
|
|
|
<b:ControlGroup ui:field="cgPrivateLink">
|
2019-09-20 16:03:05 +02:00
|
|
|
|
2019-09-23 12:07:03 +02:00
|
|
|
<b:Well ui:field="wellPrivateLinkDescription">
|
2019-09-20 16:03:05 +02:00
|
|
|
By sharing the following Private Link
|
2019-09-20 17:13:25 +02:00
|
|
|
to folder with
|
2019-09-20 14:54:21 +02:00
|
|
|
your
|
2019-09-20 16:03:05 +02:00
|
|
|
coworkers,
|
|
|
|
you will
|
2019-09-20 17:30:20 +02:00
|
|
|
enact users (only the members belonging to the
|
|
|
|
shared
|
2019-09-20 16:03:05 +02:00
|
|
|
folder),
|
2019-09-20 14:54:21 +02:00
|
|
|
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>
|
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>
|
|
|
|
<b:Label type="INFO" addStyleNames="{style.font-size-14}">Link Sharing with
|
|
|
|
Everyone</b:Label>
|
|
|
|
<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">
|
|
|
|
<b:ControlGroup ui:field="cgPublicLink">
|
|
|
|
<b:Well ui:field="alertFolderPublicLink" visible="false">By sharing
|
|
|
|
the following Public
|
|
|
|
Link
|
2019-09-20 17:13:25 +02:00
|
|
|
to folder, you will
|
2019-09-20 16:03:05 +02:00
|
|
|
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
|
|
|
|
the following
|
|
|
|
Public Link to file, your coworkers can download it.
|
|
|
|
No login will be
|
|
|
|
requested.
|
|
|
|
The link will always point to the
|
|
|
|
version
|
|
|
|
of the file at the
|
|
|
|
time of 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: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>
|