Skip to content

Commit

Permalink
#8191 remove unused dialogs
Browse files Browse the repository at this point in the history
  • Loading branch information
sekmiller committed Mar 29, 2022
1 parent 8ce5c88 commit ab57f63
Showing 1 changed file with 0 additions and 53 deletions.
53 changes: 0 additions & 53 deletions src/main/webapp/editFilesFragment.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -600,59 +600,6 @@
</div>
</p:dialog>

<p:dialog id="editDeleteFileConfirmation" styleClass="smallPopUp" header="#{bundle['file.deleteFileDialog.header']}" widgetVar="editDeleteFileConfirmation" modal="true">
<p class="text-warning"><span class="glyphicon glyphicon-warning-sign"/> #{bundle['file.deleteFileDialog.tip']}</p>
<ui:fragment rendered="#{EditDatafilesPage.dataset.released}">
<p class="text-warning"><span class="glyphicon glyphicon-warning-sign"/> #{bundle['file.deleteFileDialog.failed.tip']}</p>
</ui:fragment>
<div class="button-block">
<p:commandButton styleClass="btn btn-default" value="#{bundle.continue}" onclick="PF('editDeleteFileConfirmation').hide()" oncomplete="window.scrollTo(0, 0);deleteFinished();bind_bsui_components();"
update=":#{p:resolveClientId('datasetForm:filesTable', view)},:messagePanel,:#{p:resolveClientId('datasetForm:fileUpload', view)},uploadMessage" action="#{EditDatafilesPage.deleteFiles()}"/>
<button class="btn btn-link" onclick="PF('editDeleteFileConfirmation').hide();bind_bsui_components();" type="button">
#{bundle.cancel}
</button>
</div>
</p:dialog>
<p:dialog id="editFileAccessPopup" header="#{bundle['dataset.access.accessHeader']}" widgetVar="editFileAccessPopup" modal="true">
<p:focus context="editFileAccessPopup"/>
<p class="help-block">
#{bundle['dataset.access.description']}
</p>
<div class="form-horizontal">
<div class="form-group">
<label jsf:for="popup_TermsAccess" class="col-sm-3 control-label">
#{bundle['file.dataFilesTab.terms.list.termsOfAccess.termsOfsAccess']}
<span class="glyphicon glyphicon-question-sign tooltip-icon"
data-toggle="tooltip" data-placement="auto top" data-original-title="#{bundle['file.dataFilesTab.terms.list.termsOfAccess.termsOfsAccess.title']}"></span>
</label>
<div class="col-sm-9">
<p:inputTextarea id="popup_TermsAccess" styleClass="form-control"
value="#{EditDatafilesPage.termsOfAccess}" autoResize="false" rows="5"/>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">
#{bundle['file.dataFilesTab.terms.list.termsOfAccess.requestAccess']}
<span class="glyphicon glyphicon-question-sign tooltip-icon"
data-toggle="tooltip" data-placement="auto top" data-original-title="#{bundle['file.dataFilesTab.terms.list.termsOfAccess.requestAccess.title']}"></span>
</label>
<div class="col-sm-9">
<p:selectBooleanCheckbox id="editFileRequestAccess" itemLabel="#{bundle['file.dataFilesTab.terms.list.termsOfAccess.requestAccess.enableBtn']}"
value="#{EditDatafilesPage.fileAccessRequest}"/>
</div>
</div>
</div>
<div class="button-block">
<p:commandButton styleClass="btn btn-default" value="#{bundle.continue}"
onclick="PF('editFileAccessPopup').hide()"
action="#{EditDatafilesPage.restrictFiles(true)}"
update="filesTable,:messagePanel"
oncomplete="javascript:bind_bsui_components();" />
<button class="btn btn-link" onclick="PF('editFileAccessPopup').hide()" type="button">
#{bundle.cancel}
</button>
</div>
</p:dialog>
<p:dialog id="fileAdvancedOptions" styleClass="dialog-submenu smallPopUp" header="#{bundle['file.advancedIngestOptions']}" widgetVar="fileAdvancedOptions" modal="true">
<p:focus context="fileAdvancedOptions"/>
<div class="form-horizontal">
Expand Down

0 comments on commit ab57f63

Please sign in to comment.