2013-01-26 20:02:51 +01:00
|
|
|
<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
|
|
|
|
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
|
2014-03-05 00:38:20 +01:00
|
|
|
xmlns:g="urn:import:com.google.gwt.user.client.ui" xmlns:m="urn:import:org.gcube.portlets.user.shareupdates.client.view"
|
2018-02-11 10:12:25 +01:00
|
|
|
xmlns:b="urn:import:com.github.gwtbootstrap.client.ui" xmlns:s="urn:import:org.gcube.portlets.widgets.switchbutton.client"
|
|
|
|
xmlns:j="urn:import:org.gcube.portlets.widgets.fileupload.client.view">
|
2016-01-19 17:24:53 +01:00
|
|
|
<ui:style>
|
|
|
|
.attachment-container {
|
2016-04-28 19:06:17 +02:00
|
|
|
width: 100%;
|
2016-01-19 17:24:53 +01:00
|
|
|
}
|
2016-05-23 17:59:46 +02:00
|
|
|
|
|
|
|
.paragraph-inline {
|
|
|
|
display: inline-block;
|
|
|
|
width: 25%;
|
|
|
|
vertical-align: middle;
|
2017-12-07 15:30:51 +01:00
|
|
|
float: right;
|
2016-05-23 17:59:46 +02:00
|
|
|
}
|
2016-01-19 17:24:53 +01:00
|
|
|
</ui:style>
|
2013-04-11 18:46:58 +02:00
|
|
|
<g:HTMLPanel ui:field="mainPanel">
|
2015-12-21 19:18:37 +01:00
|
|
|
<table class="share-updates-table">
|
|
|
|
<tr>
|
|
|
|
<td class="share-updates-photo-cell">
|
2016-01-19 17:24:53 +01:00
|
|
|
<g:Image styleName="share-updates-member-photo" url=""
|
|
|
|
ui:field="avatarImage" />
|
2015-12-21 19:18:37 +01:00
|
|
|
</td>
|
|
|
|
<td class="share-updates-cell">
|
2013-06-02 16:26:58 +02:00
|
|
|
<div id="supercontainer">
|
|
|
|
<div id="highlighterContainer">
|
|
|
|
<div id="highlighter">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="inputContainer">
|
2014-03-05 00:38:20 +01:00
|
|
|
<m:SuperPosedTextArea styleName="postTextArea"
|
|
|
|
ui:field="shareTextArea" />
|
2013-06-02 16:26:58 +02:00
|
|
|
</div>
|
2013-01-26 20:02:51 +01:00
|
|
|
</div>
|
2015-12-21 19:18:37 +01:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
2014-01-17 19:21:35 +01:00
|
|
|
<j:UploadProgressPanel ui:field="uploadProgress"></j:UploadProgressPanel>
|
2016-01-19 17:24:53 +01:00
|
|
|
<m:Placeholder ui:field="preview" styleName="{style.attachment-container}"></m:Placeholder>
|
2016-01-15 18:24:52 +01:00
|
|
|
<m:SaveInWorkspaceBox ui:field="saveInWorkspaceCheckbox"></m:SaveInWorkspaceBox>
|
2015-12-30 14:19:18 +01:00
|
|
|
<table class="share-updates-table">
|
2013-01-26 20:02:51 +01:00
|
|
|
<tr>
|
2015-12-30 14:19:18 +01:00
|
|
|
<td class="share-updates-photo-cell">
|
2013-01-26 20:02:51 +01:00
|
|
|
</td>
|
2015-12-30 14:19:18 +01:00
|
|
|
<td class="share-updates-cell">
|
|
|
|
<b:Form>
|
2016-04-28 19:06:17 +02:00
|
|
|
<b:ListBox styleName="wizardListbox" ui:field="privacyLevel"
|
|
|
|
visible="false" />
|
2018-02-11 10:12:25 +01:00
|
|
|
<g:SimplePanel styleName="checkbox-inline">
|
|
|
|
<g:HorizontalPanel>
|
|
|
|
<g:HTML>Notify members: </g:HTML>
|
|
|
|
<s:SwitchButton ui:field="sb"></s:SwitchButton>
|
|
|
|
</g:HorizontalPanel>
|
|
|
|
|
2017-12-07 15:30:51 +01:00
|
|
|
</g:SimplePanel>
|
2016-05-23 17:59:46 +02:00
|
|
|
<g:HorizontalPanel styleName="{style.paragraph-inline}">
|
|
|
|
<b:Button ui:field="attachButtonScreen" icon="UPLOAD_ALT"
|
|
|
|
visible="false" />
|
|
|
|
<b:Button ui:field="submitButtonScreen" type="PRIMARY"
|
|
|
|
text="Share" visible="false" />
|
2016-04-28 19:06:17 +02:00
|
|
|
|
2016-05-23 17:59:46 +02:00
|
|
|
</g:HorizontalPanel>
|
|
|
|
|
|
|
|
<!-- Other devices are smartphones and tablet -->
|
2016-04-28 19:06:17 +02:00
|
|
|
<b:Button ui:field="attachButtonPhoneTablet" icon="UPLOAD_ALT"
|
|
|
|
visible="false" />
|
|
|
|
<b:Button ui:field="submitButtonPhoneTablet" type="PRIMARY"
|
|
|
|
text="Share" visible="false" />
|
2017-12-07 15:30:51 +01:00
|
|
|
<b:CheckBox styleName="wizardListbox" ui:field="notifyViaEmail"
|
|
|
|
visible="false">Notify</b:CheckBox>
|
2015-12-30 14:19:18 +01:00
|
|
|
</b:Form>
|
2013-01-26 20:02:51 +01:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</g:HTMLPanel>
|
|
|
|
</ui:UiBinder>
|