source: DASISH/t5.6/backend/annotator-backend/trunk/annotator-backend/src/main/webapp/changePermissions.html @ 5661

Last change on this file since 5661 was 5661, checked in by olhsha@mpi.nl, 10 years ago

adding two html forms and two services for updating user-annotation access and public access of an annotation

File size: 2.7 KB
Line 
1<!--
2Copyright (C) 2013 DASISH
3
4This program is free software; you can redistribute it and/or
5modify it under the terms of the GNU General Public License
6as published by the Free Software Foundation; either version 2
7of the License, or (at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program; if not, write to the Free Software
16Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
17-->
18<!DOCTYPE html>
19<html>
20    <head>
21        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
22    </head>
23    <body onload='document.changePermissionsForm.name.focus();'>
24
25        <h3>Update user's access mode (read/write) for annotation</h3>
26
27            <div id="create-box">
28                <form name="changePermissionsForm"
29                      action="api/annotations/permissionform" method="POST">
30
31                    <table>                       
32                        <tr>
33                            <td>User login:</td>
34                            <td><input type="text" name="login" id="login"/></td>
35                        </tr> 
36                        <tr>
37                            <td>or full user name (e.g. name-surname):</td>
38                            <td><input type="text" name="fullName" id="fullName"/></td>
39                        </tr>
40                         <tr>
41                            <td>or user database ID:</td>
42                            <td><input type="text" name="userId" id="userId"/></td>
43                        </tr> 
44                        <tr>
45                            <td>Annotation ID:</td>
46                            <td><input type='text' name='annotationId' id="annotationId"/></td>
47                        </tr>
48                        <tr>
49                            <td>or annotation headline :</td>
50                            <td><input type='text' name='annotationHeadline' id="annotationHeadline" /></td>
51                        </tr>
52                        <tr>
53                            <td>Access:</td>
54                            <td><input type='text' name='access' id="access"/></td>
55                        </tr>
56                        <tr>
57                            <td colspan='2'><input name="submit" type="submit"
58                                                   value="submit" /></td>
59                        </tr>
60                    </table>
61
62                </form>
63            </div>
64
65    </body>
66</html>
Note: See TracBrowser for help on using the repository browser.