146 lines
3.8 KiB
XML
146 lines
3.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: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;
|
|
}
|
|
|
|
.not-active {
|
|
pointer-events: none;
|
|
cursor: default;
|
|
opacity: .5;
|
|
}
|
|
|
|
<!--
|
|
@external .form-horizontal .input-large;
|
|
-->
|
|
<!--
|
|
.form-horizontal .input-large {--><!--
|
|
width: 95%;
|
|
-->
|
|
<!--
|
|
}
|
|
-->
|
|
</ui:style>
|
|
<g:HTMLPanel>
|
|
<b:Form type="HORIZONTAL">
|
|
<b:Alert ui:field="actionAlert" close="false" type="INFO"
|
|
visible="false">
|
|
<b:Icon type="ROTATE_RIGHT" spin="true" />
|
|
</b:Alert>
|
|
|
|
<b:Row ui:field="fieldPrivateSharing"
|
|
addStyleNames="{style.margin-bottom-20}">
|
|
<b:Column size="2">
|
|
<b:Label type="INFO">Link Sharing with Coworkers</b:Label>
|
|
</b:Column>
|
|
<b:Column size="2">
|
|
<citem:SwitchButton
|
|
ui:field="switchButtonPrivate" addStyleNames="{style.not-active}"></citem:SwitchButton>
|
|
</b:Column>
|
|
<b:Row>
|
|
<b:Column size="4" addStyleNames="{style.padding-left-30}">
|
|
<g:Label ui:field="labelLinkPrivateSharing">(Only the) Members belonging to the
|
|
share can view</g:Label>
|
|
</b:Column>
|
|
</b:Row>
|
|
</b:Row>
|
|
|
|
<b:Fieldset ui:field="fieldSetPrivate">
|
|
<g:HTMLPanel>
|
|
<!-- <b:Legend>sharing....</b:Legend> -->
|
|
<b:ControlGroup ui:field="cgPrivateLink">
|
|
|
|
<b:Well>
|
|
By sharing the following Private Link
|
|
to folder 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:Row ui:field="filedEnableDisableSharing"
|
|
addStyleNames="{style.margin-bottom-20}">
|
|
<b:Column size="2">
|
|
<b:Label type="INFO">Link Sharing with Everyone</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="fieldSetPublic">
|
|
<b:ControlGroup ui:field="cgPublicLink">
|
|
<b:Well ui:field="alertFolderPublicLink" visible="false">By sharing
|
|
the following Public
|
|
Link
|
|
to folder, 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
|
|
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>
|
|
<b:Alert close="false" ui:field="errorAlert" type="ERROR"
|
|
visible="false"></b:Alert>
|
|
</b:Form>
|
|
</g:HTMLPanel>
|
|
</ui:UiBinder> |