edit.jsp 4.3 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!DOCTYPE html>

<%@include file="/WEB-INF/jsp/init.jsp" %>

<html>
    <head>
        <title><spring:message code="admin.page.title"/></title>
    </head>
    <body>
        <div class="row">
            <div class="col-md-offset-1 col-md-4">
                <a href="<c:url value="/admin/repository/files" />?repositoryPath=${currentPath}" class="btn btn-default">Back</a>
                <h4>Updating metadata for file '${file.originalFilename}'</h4><br/>
                <form action="<c:out value="/admin/repository/update" />?${_csrf.parameterName}=${_csrf.token}" method="post">
                    <input type="hidden" name="uuid" value="${file.uuid}">
                    <input type="hidden" name="repositoryPath" value="${currentPath}">

                    <div class="form-group">
                        <label for="title">Title</label>
                        <input type="text" id="title" name="title" value="${file.title}" class="form-control">
                    </div>

                    <div class="form-group">
                        <label for="subject">Subject</label>
                        <input type="text" id="subject" name="subject" value="${file.subject}" class="form-control">
                    </div>

                    <div class="form-group">
                        <label for="description">Description</label>
                        <input type="text" id="description" name="description" value="${file.description}" class="form-control">
                    </div>

                    <div class="form-group">
                        <label for="creator">Creator</label>
                        <input type="text" id="creator" name="creator" value="${file.creator}" class="form-control">
                    </div>

                    <div class="form-group">
                        <label for="created">Created</label>
                        <input type="text" id="created" name="created" value="${file.created}" class="form-control">
                    </div>

                    <div class="form-group">
                        <label for="rightsHolder">Rights Holder</label>
                        <input type="text" id="rightsHolder" name="rightsHolder" value="${file.rightsHolder}" class="form-control">
                    </div>

                    <div class="form-group">
                        <label for="accessRights">Access Rights</label>
                        <input type="text" id="accessRights" name="accessRights" value="${file.accessRights}" class="form-control">
                    </div>

                    <div class="form-group">
                        <label for="license">License</label>
                        <input type="text" id="license" name="license" value="${file.license}" class="form-control">
                    </div>

                    <div class="form-group">
                        <label for="format">Format</label>
                        <input type="text" id="format" name="mimeType" value="${file.format}" class="form-control">
                    </div>

                    <div class="form-group">
                        <label for="extent">Extent</label>
                        <input type="text" id="extent" name="extent" value="${file.extent}" class="form-control">
                    </div>

                    <div class="form-group">
                        <label for="bibliographicCitation">Bibliographic Citation</label>
                        <input type="text" id="bibliographicCitation" name="bibliographicCitation"
                               value="${file.bibliographicCitation}" class="form-control">
                    </div>

                    <div class="form-group">
                        <label for="dateSubmitted">Date Submitted</label>
                        <input type="text" id="dateSubmitted" name="createdDate" value="${file.dateSubmitted}"
                               class="form-control">
                    </div>

                    <div class="form-group">
                        <label for="modified">Modified</label>
                        <input type="text" id="modified" name="lastModifiedDate" value="${file.modified}" class="form-control">
                    </div>

                    <button type="submit" class="btn btn-default">Save</button>
                </form>
            </div>
        </div>
    </body>
</html>