comparison views/Extractapp/EditWordlist.php @ 118:3bca624e4ac2 extractapp

include maintemplate.php
author Calvin Yeh <cyeh@mpiwg-berlin.mpg.de>
date Thu, 28 Sep 2017 17:46:20 +0200
parents f1f849d31272
children
comparison
equal deleted inserted replaced
117:e6b516fa7b60 118:3bca624e4ac2
14 * GNU General Public License for more details. 14 * GNU General Public License for more details.
15 * 15 *
16 * You should have received a copy of the GNU General Public License 16 * You should have received a copy of the GNU General Public License
17 * along with Extraction-interface. If not, see <http://www.gnu.org/licenses/>. 17 * along with Extraction-interface. If not, see <http://www.gnu.org/licenses/>.
18 */ 18 */
19 /*! \file 19 /*! \file
20 * This is the view for EditWordlist. 20 * This is the view for EditWordlist.
21 * It shows the wordlist and allows user to view or edit it. 21 * It shows the wordlist and allows user to view or edit it.
22 * User can create new wordlist here. 22 * User can create new wordlist here.
23 */ 23 */
24 24
27 ?> 27 ?>
28 28
29 <html> 29 <html>
30 <head> 30 <head>
31 <title></title> 31 <title></title>
32 <?php include 'views/maintemplate.php'; ?>
32 <style> 33 <style>
33 dynasty 34 dynasty
34 { 35 {
35 color:red; 36 color:red;
36 } 37 }
52 <body> 53 <body>
53 54
54 <table width="98%" border="1"> 55 <table width="98%" border="1">
55 <tr> 56 <tr>
56 <td width="20%" valign="top"> 57 <td width="20%" valign="top">
57 <?php 58 <?php
58 foreach ( $wordlistArray as $nameId => $nameValue ) { 59 foreach ( $wordlistArray as $nameId => $nameValue ) {
59 echo "&nbsp;&nbsp;<a onclick=\"showListContent(".$nameId.")\" href=\"#\">".$nameValue."</a></br>"; 60 echo "&nbsp;&nbsp;<a onclick=\"showListContent(".$nameId.")\" href=\"#\">".$nameValue."</a></br>";
60 } 61 }
61 ?> 62 ?>
62 <form action="javascript:void(0);"> 63 <form action="javascript:void(0);">
63 <fieldset> 64 <fieldset>
64 <legend>Add List:</legend> 65 <legend>Add List:</legend>
65 List name: <input type="text" size="30" id="listNameText"><br> 66 List name: <input type="text" size="30" id="listNameText"><br>
66 <button onclick="addNewList()">Add</button> 67 <button onclick="addNewList()">Add</button>
67 </fieldset> 68 </fieldset>