Mercurial > hg > extraction-interface
comparison interface/check_sections_details.php @ 8:da10158c6d0a
add toc_correction status in books table. On TOC correction list page, providing the status checking box for users.
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Mon, 09 Feb 2015 12:28:09 +0100 |
parents | 0e9a7c69f22c |
children |
comparison
equal
deleted
inserted
replaced
7:0e9a7c69f22c | 8:da10158c6d0a |
---|---|
111 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js" type="text/javascript"></script> | 111 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js" type="text/javascript"></script> |
112 <script src="js/check_sections_details.js" type="text/javascript"></script> | 112 <script src="js/check_sections_details.js" type="text/javascript"></script> |
113 <script src="https://code.jquery.com/ui/1.10.4/jquery-ui.js" type="text/javascript"></script> | 113 <script src="https://code.jquery.com/ui/1.10.4/jquery-ui.js" type="text/javascript"></script> |
114 <!--<script src="js/check_sections.js" charset="utf-8"></script>!--> | 114 <!--<script src="js/check_sections.js" charset="utf-8"></script>!--> |
115 | 115 |
116 | 116 |
117 | |
118 </head> | 117 </head> |
119 <body> | 118 <body> |
120 <div id="loading">...</div> | 119 <div id="loading">...</div> |
121 <div id="container"> | 120 <div id="container"> |
122 <?php | 121 <?php |
137 //echo "version: ".$version."<br>last editor: ".$editor; | 136 //echo "version: ".$version."<br>last editor: ".$editor; |
138 $missingPageArray=checkMissingPage($bookInfo,$info); | 137 $missingPageArray=checkMissingPage($bookInfo,$info); |
139 | 138 |
140 ?> | 139 ?> |
141 <table> | 140 <table> |
142 <thead>Show editing record: | 141 <thead>Show editing records: |
143 <button id="show_all">Show all</button> | 142 <button id="show_all">Show all</button> |
144 <button id="close">Close</button> | 143 <button id="close">Close</button> |
145 </thead> | 144 </thead> |
146 <tbody> | 145 <tbody> |
147 <tr> | 146 <tr> |
148 <td>Editor(version)</td> | 147 <td id="editor_th"></td> |
149 <td>Date/Time</td> | 148 <td id="date_th"></td> |
150 </tr> | 149 </tr> |
151 <tr> | 150 <tr> |
152 <td><div id="editor"></div></td> | 151 <td><div id="editor"></div></td> |
153 <td><div id="date"></div></td> | 152 <td><div id="date"></div></td> |
154 </tr> | 153 </tr> |
185 } | 184 } |
186 */ | 185 */ |
187 document.getElementById("show_all").onclick = function(){showAll()}; | 186 document.getElementById("show_all").onclick = function(){showAll()}; |
188 | 187 |
189 function showAll() { | 188 function showAll() { |
189 document.getElementById("editor_th").innerHTML = "Editor(version)"; | |
190 document.getElementById("date_th").innerHTML = "Date/Time"; | |
190 | 191 |
191 <?php | 192 <?php |
192 $editors = ""; | 193 $editors = ""; |
193 $editing_time = ""; | 194 $editing_time = ""; |
194 | 195 |
210 } | 211 } |
211 | 212 |
212 document.getElementById("close").onclick = function(){closeAll()}; | 213 document.getElementById("close").onclick = function(){closeAll()}; |
213 | 214 |
214 function closeAll() { | 215 function closeAll() { |
216 document.getElementById("editor_th").innerHTML = ""; | |
217 document.getElementById("date_th").innerHTML = ""; | |
215 document.getElementById("editor").innerHTML = ""; | 218 document.getElementById("editor").innerHTML = ""; |
216 document.getElementById("date").innerHTML = ""; | 219 document.getElementById("date").innerHTML = ""; |
217 } | 220 } |
218 </script> | 221 </script> |
219 | 222 |