14
|
1 <!DOCTYPE html>
|
15
|
2 <!-- editing page for tags -->
|
14
|
3 <html tal:define="projectID
|
|
4 python:here.REQUEST.get('project','') ">
|
|
5 <head>
|
|
6 <meta http-equiv="Content-Type" content="text/html;
|
|
7 charset=iso-8859-1" />
|
|
8 <base tal:attributes="href python:here.MPIWGrootURL()+'/thesaurus/'"/>
|
|
9 <title>Project tagger</title>
|
|
10 <link type="text/css" href="./jquery-ui/css/ui-lightness/jquery-ui-1.8.11.custom.css" rel="stylesheet" />
|
|
11 <script type="text/javascript" src="./jquery-ui/js/jquery-1.5.1.min.js"></script>
|
|
12 <script type="text/javascript" src="./jquery-ui/js/jquery-ui-1.8.11.custom.min.js"></script>
|
|
13 <script type="text/javascript" src="./thesaurus.js"></script>
|
|
14 <link type="text/css" href="./tagging.css" rel="stylesheet" />
|
|
15 </head>
|
|
16 <body>
|
|
17 <h3> The MPIWG's tagger - BETA - Version </h3>
|
|
18 <form method="get" action="changeTags">
|
|
19 <input type="hidden" name="projectID" id="projectID" tal:attributes="value python:projectID"/>
|
|
20 <h1>Tagging:<tal:x content="python:projectID"/></h1>
|
|
21 <div id="tagView"> You have selected <span id="numberOfTags">0</span>
|
|
22 of <span id="maximumNumberOfTags">8</span>
|
|
23
|
|
24 <div id="tagText">You have selected toomany tags!</div>
|
|
25 <br/><br/>
|
|
26 <div>Selected Tags: <span id="showTags"></span></div>
|
|
27 <input id="saveTags" type="submit" value="save tags"/>
|
|
28 </div>
|
|
29 <!-- Accordion -->
|
|
30 <h2 class="demoHeaders">Project Categories</h2>
|
|
31
|
|
32 <div id="accordion">
|
|
33 <div>
|
|
34 <h3><a href="#">Approches</a></h3>
|
|
35 <div>
|
|
36 <p><a href="#" id="approachesHelp_link" class="helpLink ui-state-default
|
|
37 ui-corner-all"><span class="ui-icon
|
|
38 ui-icon-help"></span>Help</a></p>
|
|
39 <div class="level1" tal:repeat="level1
|
|
40 python:here.getApproaches()"><input class="tags approache" type="checkbox"
|
|
41 tal:attributes="value
|
|
42 python:here.getTitle(level1)" name="approaches"/><tal:x tal:content="python:here.getTitle(level1)">Lorem</tal:x>
|
|
43 <tal:y condition="python:len(here.getEntries(level1))>0">
|
|
44 <div class="level2" tal:repeat="level2
|
|
45 python:here.getEntries(level1)"><input class="tags" type="checkbox"
|
|
46 tal:attributes="value
|
|
47 python:here.getTitle(level1)+'_'+here.getTitle(level2)" name="approaches"/><tal:x tal:content="python:here.getTitle(level2)">Lor</tal:x></div>
|
|
48 </tal:y>
|
|
49 </div>
|
|
50 <!-- Dialog approaches -->
|
|
51 <p><a href="#" id="dialog_link_approaches" class="ui-state-default
|
|
52 ui-corner-all dialog_link"><span class="ui-icon
|
|
53 ui-icon-newwin"></span>Suggest new tag</a></p>
|
|
54 </div>
|
|
55 </div>
|
|
56 <div>
|
|
57 <div>
|
|
58 <h3><a href="#">Disciplines</a></h3>
|
|
59
|
|
60 <div>
|
|
61 <div class="level1" tal:repeat="level1
|
|
62 python:here.getDisciplines()"><input class="tags"
|
|
63 type="checkbox"
|
|
64 tal:attributes="value
|
|
65 python:here.getTitle(level1)" name="disciplines"/><tal:x tal:content="python:here.getTitle(level1)">Lorem</tal:x>
|
|
66 <tal:y condition="python:len(here.getEntries(level1))>0">
|
|
67 <div class="level2" tal:repeat="level2
|
|
68 python:here.getEntries(level1)"><input type="checkbox"
|
|
69 tal:attributes="value
|
|
70 python:here.getTitle(level1)+'_'+here.getTitle(level2)" name="disciplines"/><tal:x tal:content="python:here.getTitle(level2)">Lor</tal:x></div>
|
|
71 </tal:y>
|
|
72 <!-- Dialog approaches -->
|
|
73
|
|
74 </div>
|
|
75 <p><a href="#" id="dialog_link_disciplines" class="ui-state-default
|
|
76 ui-corner-all dialog_link"><span class="ui-icon
|
|
77 ui-icon-newwin"></span>Suggest new tag</a></p>
|
|
78 </div>
|
|
79 <div>
|
|
80
|
|
81 <h3><a href="#">Periods</a></h3>
|
|
82
|
|
83 <div>
|
|
84
|
|
85 <div class="level1" tal:repeat="level1
|
|
86 python:here.getPeriods()"><input type="checkbox"
|
|
87 tal:attributes="value
|
|
88 python:here.getTitle(level1)" name="periods"/><tal:x tal:content="python:here.getTitle(level1)">Lorem</tal:x>
|
|
89 <tal:y condition="python:len(here.getEntries(level1))>0">
|
|
90 <div class="level2" tal:repeat="level2
|
|
91 python:here.getEntries(level1)"><input class="tags"
|
|
92 type="checkbox"
|
|
93 tal:attributes="value
|
|
94 python:here.getTitle(level1)+'_'+here.getTitle(level2)" name="periods"/><tal:x tal:content="python:here.getTitle(level2)">Lor</tal:x></div>
|
|
95 </tal:y>
|
|
96 </div>
|
|
97 <p><a href="#" id="dialog_link_periods" class="ui-state-default
|
|
98 ui-corner-all dialog_link"><span class="ui-icon
|
|
99 ui-icon-newwin"></span>Suggest new tag</a></p>
|
|
100 </div>
|
|
101 <div>
|
|
102 <h3><a href="#">People</a></h3>
|
|
103 <div>
|
|
104 <p>Currently attached to the project</p>
|
|
105 <div id="persons">replace</div>
|
|
106 <div class="ui-widget">
|
|
107 <label for="personAdd">Add person to the project: </label>
|
|
108 <input id="personAdd"/>
|
|
109 <input type="button" id="personSearchButton" value="search">
|
|
110 <div id="personInfo"/>
|
|
111 </div>
|
|
112 </div>
|
|
113 </div>
|
|
114 <div>
|
|
115
|
|
116 <h3><a href="#">Spaces</a></h3>
|
|
117 <div>
|
|
118 <p><a href="#" id="spacesHelp_link" class="helpLink ui-state-default
|
|
119 ui-corner-all"><span class="ui-icon
|
|
120 ui-icon-help"></span>Help</a></p>
|
|
121
|
|
122 <div class="level1" tal:repeat="level1
|
|
123 python:here.getSpaces()"><input type="checkbox" class="tags"
|
|
124 tal:attributes="value
|
|
125 python:here.getTitle(level1)" name="spaces"/><tal:x tal:content="python:here.getTitle(level1)">Lorem</tal:x>
|
|
126 <tal:y condition="python:len(here.getEntries(level1))>0">
|
|
127 <div class="level2" tal:repeat="level2
|
|
128 python:here.getEntries(level1)"><input type="checkbox" class="tags"
|
|
129 tal:attributes="value
|
|
130 python:here.getTitle(level1)+'_'+here.getTitle(level2)" name="spaces"/><tal:x tal:content="python:here.getTitle(level2)">Lor</tal:x></div>
|
|
131 </tal:y>
|
|
132 </div>
|
|
133 <p><a href="#" id="dialog_link_spaces" class="ui-state-default
|
|
134 ui-corner-all dialog_link"><span class="ui-icon
|
|
135 ui-icon-newwin"></span>Suggest
|
|
136 new
|
|
137 tag</a></p>
|
|
138
|
|
139 <div>
|
|
140 <p>Free Text for <em>Historical places</em> (only
|
|
141 displayed if the tag <em>Historical terms</em> above
|
|
142 is set.</p>
|
|
143 <p>Currently attached to the project</p>
|
|
144 <div id="historicalPlaces">replace</div>
|
|
145 <div class="ui-widget">
|
|
146 <label for="Add">Add place to the project: </label>
|
|
147 <input id="historicalPlaceAdd"/>
|
|
148 <input type="button" id="historicalPlaceAddButton" value="add">
|
|
149 </div>
|
|
150 </div>
|
|
151 </div>
|
|
152 <div>
|
|
153 <h3><a href="#">Objects</a></h3>
|
|
154 <div>
|
|
155 <p><a href="#" id="objectsHelp_link" class="helpLink ui-state-default
|
|
156 ui-corner-all"><span class="ui-icon
|
|
157 ui-icon-help"></span>Help</a></p>
|
|
158
|
|
159 <p>Currently attached to the project</p>
|
|
160 <div id="objects">replace</div>
|
|
161 <div class="ui-widget">
|
|
162 <label for="objectAdd">Add object to the project: </label>
|
|
163 <input id="objectAdd"/>
|
|
164 <input type="button" id="objectAddButton" value="add">
|
|
165 </div>
|
|
166 </div>
|
|
167 </div>
|
|
168
|
|
169 <div>
|
|
170
|
|
171 <h3><a href="#">Technologies</a></h3>
|
|
172
|
|
173 <div>
|
|
174 <div class="level1" tal:repeat="level1
|
|
175 python:here.getTechnologies()"><input type="checkbox" class="tags"
|
|
176 tal:attributes="value
|
|
177 python:here.getTitle(level1)" name="technologies"/><tal:x tal:content="python:here.getTitle(level1)">Lorem</tal:x>
|
|
178 <tal:y condition="python:len(here.getEntries(level1))>0">
|
|
179 <div class="level2" tal:repeat="level2
|
|
180 python:here.getEntries(level1)"><input type="checkbox" class="tags"
|
|
181 tal:attributes="value
|
|
182 python:here.getTitle(level1)+'_'+here.getTitle(level2)" name="technologies"/><tal:x tal:content="python:here.getTitle(level2)">Lor</tal:x></div>
|
|
183 </tal:y>
|
|
184 </div>
|
|
185 <p><a href="#" id="dialog_link_technologies" class="ui-state-default
|
|
186 ui-corner-all dialog_link"><span class="ui-icon
|
|
187 ui-icon-newwin"></span>Suggest new tag</a></p>
|
|
188 </div>
|
|
189 <div>
|
|
190
|
|
191 <h3><a href="#">Knowledge Transfers</a></h3>
|
|
192 <div>
|
|
193 <p><a href="#" id="transfersHelp_link" class="helpLink ui-state-default
|
|
194 ui-corner-all"><span class="ui-icon
|
|
195 ui-icon-help"></span>Help</a></p>
|
|
196
|
|
197 <div class="level1" tal:repeat="level1
|
|
198 python:here.getKnowledgeTransfers()"><input type="checkbox" class="tags"
|
|
199 tal:attributes="value
|
|
200 python:here.getTitle(level1)" name="transfers"/><tal:x tal:content="python:here.getTitle(level1)">Lorem</tal:x>
|
|
201 <tal:y condition="python:len(here.getEntries(level1))>0">
|
|
202 <div class="level2" tal:repeat="level2
|
|
203 python:here.getEntries(level1)"><input type="checkbox" class="tags"
|
|
204 tal:attributes="value
|
|
205 python:here.getTitle(level1)+'_'+here.getTitle(level2)" name="transfers"/><tal:x tal:content="python:here.getTitle(level2)">Lor</tal:x></div>
|
|
206 </tal:y>
|
|
207 </div>
|
|
208 <p><a href="#" id="dialog_link_transfers" class="ui-state-default
|
|
209 ui-corner-all dialog_link"><span class="ui-icon
|
|
210 ui-icon-newwin"></span>Suggest new tag</a></p>
|
|
211 </div>
|
|
212 </div>
|
|
213
|
|
214 <!-- ui-dialog tags-->
|
|
215 <div id="dialog" title="New Tag">
|
|
216 <p>Suggest a new tag</p>
|
|
217 <input type="hidden" id="suggest_newTag_type"/>
|
|
218 <table>
|
|
219 <tr>
|
|
220 <td>TagName:</td><td> <input size="30"
|
|
221 id="suggest_newTag"/></td>
|
|
222 </tr>
|
|
223 <tr>
|
|
224 <td>Comment:</td><td> <textarea rows="10" cols="30" id="suggest_newTag_comment"></textarea></td>
|
|
225 </tr>
|
|
226 <tr>
|
|
227 <td>Entered by:</td><td><input type="text" id="suggest_newTag_userName"
|
|
228 tal:attributes="value
|
|
229 user/getUserName"/></td><td>Your MPIWG
|
|
230 username (will not be published
|
|
231 anywhere)</td>
|
|
232 </tr>
|
|
233 </table>
|
|
234 </div>
|
|
235
|
|
236 <!-- ui-dialog persons-->
|
|
237 <div id="dialogPersons" title="New Person">
|
|
238 <p>Create a new person</p>
|
|
239 <table>
|
|
240 <tr>
|
|
241 <td>Name of the Person:</td><td> <input size="30"
|
|
242 id="suggest_newPerson"/></td>
|
|
243 <td> Write the name in the way it
|
|
244 should be displayed</td>
|
|
245 <tr>
|
|
246 <td>Comment:</td><td> <textarea rows="10"
|
|
247 cols="30"
|
|
248 id="suggest_newPerson_comment"></textarea></td><td>Some
|
|
249 remarks to identify the person or a link to
|
|
250 a website describing the person.</td>
|
|
251 </tr>
|
|
252 <tr>
|
|
253 <td>Entered by:</td><td><input type="text" id="suggest_newPerson_userName"
|
|
254 tal:attributes="value
|
|
255 user/getUserName"/></td><td>Your MPIWG
|
|
256 username (will not be published
|
|
257 anywhere)</td>
|
|
258 </tr>
|
|
259 </table>
|
|
260 </div>
|
|
261
|
|
262 <div id="approachesHelp" title="Help Approaches" class="helpWindow">
|
|
263 <h5>Methodological approaches</h5>
|
|
264 <p>Others than History of Science</p>
|
|
265 <h5>Historical epistemology approaches</h5>
|
|
266 <p>This category reflects the main MPIWG-themes of the past and current research</p>
|
|
267 </div>
|
|
268
|
|
269 <div id="spacesHelp" title="Help Space" class="helpWindow">
|
|
270 <p>Is the geographical area important to your project, does it deal with specific sites, institutions or spaces of knowledge? </p>
|
|
271 </div>
|
|
272
|
|
273 <div id="objectsHelp" title="Help Objects" class="helpWindow">
|
|
274 <p>Are specific natural or artificial objects important to your research project? </p>
|
|
275 </div>
|
|
276
|
|
277 <div id="transfersHelp" title="Help Objects" class="helpWindow">
|
|
278 <p>How are scientific findings recorded, how is knowledge conveyed
|
|
279 how does it circulate? Are these aspects important to your
|
|
280 research topic? </p>
|
|
281 <h5>Modes of communication</h5>
|
|
282 <p>e.g. language, braille, etc.</p>
|
|
283 <h5>Science education </h5>
|
|
284 <p>e.g. academic and non-academic</p>
|
|
285 </div>
|
|
286 </form>
|
|
287 </body>
|
|
288 </html> |