| <!DOCTYPE html> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| <html xmlns="http://www.w3.org/1999/xhtml" xmlns:wicket="http://wicket.apache.org"> |
| <wicket:extend> |
| <wicket:enclosure child="field-label"> |
| <label wicket:id="field-label">[LABEL]</label><span wicket:id="required"/> |
| <span wicket:id="externalAction"/> |
| </wicket:enclosure> |
| <fieldset class="input-group"> |
| <input style="display: none;" wicket:id="textField"/> |
| <div> |
| <form wicket:id="uploadForm" encType="multipart/form-data" method="post" accept-charset="UTF-8"> |
| <span wicket:id="previewContainer"> |
| <span wicket:id="panelPreview">[panelPreview]</span> |
| <wicket:fragment wicket:id="previewFragment"> |
| <div wicket:id = "previewer"></div> |
| </wicket:fragment> |
| <wicket:fragment wicket:id="emptyFragment"> |
| </wicket:fragment> |
| </span> |
| <input wicket:id="fileUpload" type="file"/> |
| <div> |
| <a href="#" wicket:id="downloadLink"><i title="download" alt="file download icon" class="fa fa-arrow-alt-circle-down"></i></a> |
| <a href="#" wicket:id="resetLink"><i title="remove value" alt="remove value icon" class="fa fa-times"></i></a> |
| <span wicket:id="preview"/> |
| </div> |
| </form> |
| </div> |
| </fieldset> |
| </wicket:extend> |
| </html> |