Project

General

Profile

1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml">
3
<head>
4
  <title>Reviews</title>
5
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
6

    
7
  <script src="@systemidserver@@style-common-path@/prototype.js"></script>
8
  <script src="@systemidserver@@style-common-path@/accordion.js"></script>
9
  <script src="@systemidserver@@style-common-path@/review_behaviors.js"></script>
10
  <link href="@systemidserver@@style-common-path@/reviews.css" media="all" rel="Stylesheet" type="text/css" />
11

    
12

    
13
</head>
14

    
15
[% IF reviewdocid != ''%]
16
	<body onload="get_reviews()">
17
[% ELSE %]
18
	<body>
19
[% END %]
20

    
21
[% IF isModerator == 'true' %]
22
	<div class="comment_form">
23
	<p class="sectionnames">Moderator Actions</p>
24
	<form target="_top" id="reviewForm" method="POST" action="@cgi-prefix@/register-dataset.cgi">
25
		<input value="mod_accept" name="stage" type="hidden">
26
		<input value="esa" name="cfg" type="hidden">
27
		<input name="docid" type="hidden" value="[%docid%]">
28
	<h3 style="margin-bottom: -18px;" class="review_emphasis">Please comment</h3>
29
	<ul>
30
	<li>
31
	<textarea name="review" rows="5" cols="25"></textarea>
32
	</li>
33
	<li>
34
	<input name="Accept" value=" Accept " type="SUBMIT" onClick="this.parentNode.stage.value='mod_accept';">
35
	<input name="Decline" value="Decline" type="SUBMIT" onClick="this.parentNode.stage.value='mod_decline';">
36
	<input name="Revise" value=" Revise " type="SUBMIT" onClick="this.parentNode.stage.value='mod_revise';">
37
	</form>
38
	</div>
39
[% END %]
40

    
41
[% IF reviewdocid != ''%]
42
        Reviews <img id="busy" src="@systemidserver@@html-path@/style/images/spinner.gif" style="display:none"/>
43

    
44
        <h3 style="margin-top:-8px" class="review_emphasis">Reviews <img id="busy" src="spinner.gif" style="display:none; margin-bottom: -3px;"/></h3>
45
        <!-- ajax will populate this node -->
46
        <div id="review_list_container"><div id="review_list"></div></div>
47

    
48

    
49
[% ELSE %]
50
        No reviews found.
51
[% END %]
52
 
53
<script>
54
</script>
55
</body>
56
</html>
57

    
58

    
(10-10/20)