workspace-tree-widget/src/main/java/org/gcube/portlets/user/workspace/client/view/windows/DialogShareableLink.ui.xml

149 lines
4.1 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-10 {
padding-left: 10px;
}
.margin-left-5 {
margin-left: 5px;
}
.text-bold {
font-weight: bold;
}
.not-active {
pointer-events: none;
cursor: default;
opacity: .5;
padding-left: 10px;
}
.font-size-14 {
font-size: 14px;
}
.to-top-alignment {
vertical-align: top;
padding-top: 0px !important;
}
</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>
<g:VerticalPanel ui:field="fieldPrivateSharing"
addStyleNames="{style.margin-bottom-20}">
<g:HorizontalPanel>
<b:Label type="INFO" addStyleNames="{style.font-size-14}">Link Sharing with
Coworkers</b:Label>
<citem:SwitchButton
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>
<b:Fieldset ui:field="fieldSetPrivate">
<g:HTMLPanel>
<!-- <b:Legend>sharing....</b:Legend> -->
<b:ControlGroup ui:field="cgPrivateLink">
<b:Well ui:field="wellPrivateLinkDescription">
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>
<g:VerticalPanel ui:field="filedEnableDisableSharing"
addStyleNames="{style.margin-bottom-20}">
<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>
<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>