Changeset 51 in code for trunk/example


Ignore:
Timestamp:
Oct 20, 2021, 10:03:58 PM (4 years ago)
Author:
dev
Message:

Reuse index.html template for file upload

Location:
trunk/example/templates
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/example/templates/index.html

    r50 r51  
    3434        </form>
    3535        <p>File size limited to {{.Maxsize}}.</p>
    36         <div id="uploads"></div>
    37         <script src="/dz.js"></script>
     36        <div id="uploads">{{if .Links}}
     37                <ul>
     38                {{range .Links}}<li><a href="{{.}}">{{.}}</a></li>{{end}}
     39                </ul>
     40        {{end}}</div>
    3841</body>
    3942</html>
Note: See TracChangeset for help on using the changeset viewer.