source: trunk/gsdl/macros/status.dm@ 2014

Last change on this file since 2014 was 1837, checked in by sjboddie, 23 years ago

Made a few cosmetic changes to the "Administration" pages and added the
ability to view the last 100 lines of the usage log. This meant making a
change to the file_tail() function to allow for the very long lines that
occur in the log file.

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 4.7 KB
Line 
1package status
2
3_header_ {<html>
4<head>
5<title>_1_</title>
6</head>
7<body bgcolor="\#90c098" text="\#000000" link="\#006666"
8 alink="\#cc9900" vlink="\#666633">
9}
10
11_footer_ {</body>
12</html>
13}
14
15_infoheader_ {<html>
16<head>
17<title>_1_</title>
18</head>
19<body bgcolor="\#ffffff" text="\#000000" link="\#006666"
20 alink="\#cc9900" vlink="\#666633">
21
22<table width=100%>
23 <tr>
24 <td><img src="_httpimg_/spacer.gif" width=2 height=77></td>
25 <td>_iconblankbar_
26 <center><h2>_1_</h2></center>
27 _iconblankbar_</td>
28 </tr>
29</table>
30<center>
31<table width=_pagewidth_><tr><td>
32}
33
34_infofooter_ {
35</td></tr></table>
36<p> _iconblankbar_
37</body>
38</html>
39}
40
41
42_frameset_ {
43<html>
44<head>
45<title>_titlewelcome_</title>
46</head>
47
48<frameset cols="180,*" border=0>
49 <noframes><body bgcolor="#ffffff">
50 <p>_textframebrowser_</p>
51 </body>
52 </noframes>
53 <frame src="_gwcgi_?e=_compressedoptions_&a=status&p=select" name=navframe>
54 <frame src="_gwcgi_?e=_compressedoptions_&a=status&p=welcome" name=infoframe>
55</frameset>
56
57</html>
58}
59
60_select_ {
61<a href="_httppagehome_" target=_top border=0><img src="_httpimg_/gsdl.gif"></a>
62<p>
63<a href="_gwcgi_?e=_compressedoptions_&a=status&p=welcome" target=infoframe>_textadminhome_</a><br>
64<a href="_httppagehome_" target=\_top>_textreturnhome_</a>
65
66<p><b>_textconfigfiles_</b><br>
67<a href="_gwcgi_?e=_compressedoptions_&a=status&p=gsdlsite" target=infoframe>_textgsdlsite_</a><br>
68<a href="_gwcgi_?e=_compressedoptions_&a=status&p=maincfg" target=infoframe>_textmaincfg_</a>
69
70<p><b>_textlogs_</b><br>
71<a href="_gwcgi_?e=_compressedoptions_&a=status&p=usagelog" target=infoframe>_textusagelog_</a><br>
72<a href="_gwcgi_?e=_compressedoptions_&a=status&p=initlog" target=infoframe>_textinitlog_</a><br>
73<a href="_gwcgi_?e=_compressedoptions_&a=status&p=errorlog" target=infoframe>_texterrorlog_</a>
74
75_If_("_cgiarguma_" ne "\_cgiarguma\_",
76<p><b>_textusermanage_</b><br>
77<a href="_gwcgi_?e=_compressedoptions_&a=um&uma=listusers" target=infoframe>_textlistusers_</a><br>
78<a href="_gwcgi_?e=_compressedoptions_&a=um&uma=adduser" target=infoframe>_textaddusers_</a><br>
79<a href="_gwcgi_?e=_compressedoptions_&a=um&uma=changepasswd" target=infoframe>_textchangepasswd_</a>
80)
81
82<p><b>_textinfo_</b><br>
83<a href="_gwcgi_?e=_compressedoptions_&a=status&p=generalinfo" target=infoframe>_textgeneral_</a><br>
84<a href="_gwcgi_?e=_compressedoptions_&a=status&p=argumentinfo" target=infoframe>_textarguments_</a><br>
85<a href="_gwcgi_?e=_compressedoptions_&a=status&p=actioninfo" target=infoframe>_textactions_</a><br>
86<a href="_gwcgi_?e=_compressedoptions_&a=status&p=browserinfo" target=infoframe>_textbrowsers_</a><br>
87<a href="_gwcgi_?e=_compressedoptions_&a=status&p=protocolinfo" target=infoframe>_textprotocols_</a>
88}
89
90
91_textframebrowser_ {You must have a frame enabled browser to view this.}
92_textusermanage_ {User management}
93_textlistusers_ {list users}
94_textaddusers_ {add a new user}
95_textchangepasswd_ {change password}
96
97_textinfo_ {Technical information}
98_textgeneral_ {general}
99_textarguments_ {arguments}
100_textactions_ {actions}
101_textbrowsers_ {browsers}
102_textprotocols_ {protocols}
103
104_textconfigfiles_ {Configuration files}
105_textgsdlsite_ {gsdlsite.cfg}
106_textmaincfg_ {main.cfg}_
107
108_textlogs_ {Logs}
109_textusagelog_ {usage log}
110_textinitlog_ {init log}
111_texterrorlog_ {error log}
112
113_textadminhome_ {admin home}
114_textreturnhome_ {Greenstone home}
115
116_titlewelcome_ { Administration }
117
118_welcome_ {
119
120<center>
121<table width=_pagewidth_><tr><td>
122Maintenance and administration services available include:
123<ul>
124<li>view on-line logs
125<li>create, maintain and update collections
126<li>access technical information such as CGI arguments
127</ul>
128These services are accessed using the side navigation bar on the
129lefthand side of the page.
130<p>
131_iconblankbar_
132</td></tr>
133<tr><th align=left><br>Collection Status</th></tr>
134<tr><td>
135<font color=gray>
136Collections will only appear as &quot;running&quot; if their build.cfg
137files exist, are readable, contain a valid builddate field (i.e. > 0),
138and are in the collection's index directory (i.e. NOT the building
139directory).
140<p>
141click <i>abbrev.</i> for information on a collection
142<br>
143click <i>collection</i> to view a collection
144</font>
145</td></tr>
146</table>
147</center>
148}
149
150_maincfg_ {
151<form name="maincfgform" method=post action="_gwcgi_">
152<input type=hidden name="p" value="changemaincfg">
153<input type=hidden name="e" value="_decodedcompressedoptions_">
154<p>_If_(_maincfgfile_,<textarea name="cfgfile" cols=72 rows=18 wrap=off>
155_maincfgfile_
156</textarea><input type=submit value="Submit Changes"><input type=reset>,
157Error opening main.cfg)
158</form>
159}
160
161_changemaincfgfail_ {
162<html>
163<body bgcolor="\#ffffff" text="\#000000">
164Failed to update main.cfg
165_footer_
166}
167
168_changemaincfgsuccess_ {
169<html>
170<body bgcolor="\#ffffff" text="\#000000">
171main.cfg updated successfully
172_footer_
173}
174
Note: See TracBrowser for help on using the repository browser.