Mercurial > hg > extraction-interface
comparison develop/views/Extractapp/EditWordlist.php @ 36:e078e1500cc2 extractapp
config for localgazetteers-dev
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Fri, 06 Mar 2015 14:13:18 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
35:04736430d961 | 36:e078e1500cc2 |
---|---|
1 <?php | |
2 // --- initialize --- | |
3 $wordlistArray = $viewmodel['wordlistArray']; | |
4 ?> | |
5 | |
6 <html> | |
7 <head> | |
8 <title></title> | |
9 <style> | |
10 dynasty | |
11 { | |
12 color:red; | |
13 } | |
14 nianhao | |
15 { | |
16 color:blue; | |
17 } | |
18 name | |
19 { | |
20 color:orange; | |
21 } | |
22 #editable-area { | |
23 line-height:160%; | |
24 letter-spacing:1.5px; | |
25 font-size:21px; | |
26 } | |
27 </style> | |
28 </head> | |
29 <body> | |
30 | |
31 <table width="98%" border="1"> | |
32 <tr> | |
33 <td width="20%" valign="top"> | |
34 <?php | |
35 foreach ( $wordlistArray as $nameId => $nameValue ) { | |
36 echo " <a onclick=\"showListContent(".$nameId.")\" href=\"#\">".$nameValue."</a></br>"; | |
37 } | |
38 ?> | |
39 <form action="javascript:void(0);"> | |
40 <fieldset> | |
41 <legend>Add List:</legend> | |
42 List name: <input type="text" size="30" id="listNameText"><br> | |
43 <button onclick="addNewList()">Add</button> | |
44 </fieldset> | |
45 </form> | |
46 </td> | |
47 <td width="60%"> | |
48 <div id="editable-area"></div> | |
49 </td> | |
50 <td width="20%" valign="top" id="button-area"> </td> | |
51 </tr> | |
52 </table> | |
53 | |
54 </body> | |
55 </html> |