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
</head>
13

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

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

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

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

    
47

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

    
55

    
(10-10/20)