ckan-content-moderator-widget/src/main/java/org/gcube/portlets/widgets/ckancontentmoderator/client/ui/DoActionCMSView.ui.xml

46 lines
1.5 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">
<ui:style>
.important {
font-weight: bold;
}
.fontsize-16 {
font-size: 16px;
}
.margin-top-15 {
margin-top: 15px;
}
.margin-left-10 {
margin-left: 10px;
}
.text-area-message{
max-width: 100%;
width: 100%;
margin-bottom: 2px;
}
</ui:style>
<g:HTMLPanel>
<b:AlertBlock ui:field="alertBlockDoAction">
<g:HTML ui:field="htmlDisplayMessage"
addStyleNames="{style.fontsize-16}"></g:HTML>
<b:Form type="VERTICAL" addStyleNames="{style.margin-top-15}">
<b:TextArea placeholder="Rejecting reason..." addStyleNames="{style.text-area-message}"
ui:field="txtMsgReason" />
<b:CheckBox ui:field="checkBoxPermDelete"
title="Permanently removes the selected item/s from Catalogue">Permanently Delete</b:CheckBox>
<b:HelpBlock ui:field="helpPermDelete" visible="false">This operation cannot be undone. The selected items will be permantently deleted from Catalogue</b:HelpBlock>
<b:Paragraph addStyleNames="{style.margin-top-15}">
<b:Button type="PRIMARY" ui:field="buttonActionConfirmYES"
addStyleNames="{style.margin-left-10}">YES</b:Button>
<b:Button ui:field="buttonActionConfirmNO"
addStyleNames="{style.margin-left-10}">NO</b:Button>
</b:Paragraph>
</b:Form>
</b:AlertBlock>
</g:HTMLPanel>
</ui:UiBinder>