source: main/tags/2.30/gsdl/macros/status.dm@ 24143

Last change on this file since 24143 was 1796, checked in by sjboddie, 23 years ago

Removed the "cp" and "sp" cgi arguments and used the "p" argument instead
(i.e. the "p" argument is now used in the page, status and collector
actions). I'd like to do this type of thing in lots of places where
different actions are using different cgi arguments to perform very
similar tasks. Fewer arguments are becoming more of a priority with our
ever expanding URLs, I'll leave it for a while though and make sure this
change doesn't cause any problems.

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 4.6 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_If_("_cgiarguma_" ne "\_cgiarguma\_",
67<p><b>_textusermanage_</b><br>
68<a href="_gwcgi_?e=_compressedoptions_&a=um&uma=listusers" target=infoframe>_textlistusers_</a><br>
69<a href="_gwcgi_?e=_compressedoptions_&a=um&uma=adduser" target=infoframe>_textaddusers_</a><br>
70<a href="_gwcgi_?e=_compressedoptions_&a=um&uma=changepasswd" target=infoframe>_textchangepasswd_</a>
71)
72
73<p><b>_textinfo_</b><br>
74<a href="_gwcgi_?e=_compressedoptions_&a=status&p=generalinfo" target=infoframe>_textgeneral_</a><br>
75<a href="_gwcgi_?e=_compressedoptions_&a=status&p=argumentinfo" target=infoframe>_textarguments_</a><br>
76<a href="_gwcgi_?e=_compressedoptions_&a=status&p=actioninfo" target=infoframe>_textactions_</a><br>
77<a href="_gwcgi_?e=_compressedoptions_&a=status&p=browserinfo" target=infoframe>_textbrowsers_</a><br>
78<a href="_gwcgi_?e=_compressedoptions_&a=status&p=protocolinfo" target=infoframe>_textprotocols_</a>
79
80<p><b>_textconfigfiles_</b><br>
81<a href="_gwcgi_?e=_compressedoptions_&a=status&p=gsdlsite" target=infoframe>_textgsdlsite_</a><br>
82<a href="_gwcgi_?e=_compressedoptions_&a=status&p=maincfg" target=infoframe>_textmaincfg_</a>
83
84<p><b>_textlogs_</b><br>
85<a href="_gwcgi_?e=_compressedoptions_&a=status&p=initlog" target=infoframe>_textinitlog_</a><br>
86<a href="_gwcgi_?e=_compressedoptions_&a=status&p=errorlog" target=infoframe>_texterrorlog_</a>
87}
88
89
90_textframebrowser_ {You must have a frame enabled browser to view this.}
91_textusermanage_ {User management}
92_textlistusers_ {list users}
93_textaddusers_ {add a new user}
94_textchangepasswd_ {change password}
95
96_textinfo_ {Information}
97_textgeneral_ {general}
98_textarguments_ {arguments}
99_textactions_ {actions}
100_textbrowsers_ {browsers}
101_textprotocols_ {protocols}
102
103_textconfigfiles_ {Configuration files}
104_textgsdlsite_ {gsdlsite.cfg}
105_textmaincfg_ {main.cfg}_
106
107_textlogs_ {Logs}
108_textinitlog_ {init log}
109_texterrorlog_ {error log}
110
111_textadminhome_ {admin home}
112_textreturnhome_ {Greenstone home}
113
114_titlewelcome_ { Maintenance and Administration }
115
116_welcome_ {
117
118<center>
119<table width=_pagewidth_><tr><td>
120Maintenance and administration services available include:
121<ul>
122<li>view on-line logs
123<li>create, maintain and update collections
124<li>access technical information such as CGI arguments
125</ul>
126These services are accessed using the side navigation bar on the
127lefthand side of the page.
128<p>
129_iconblankbar_
130</td></tr>
131<tr><th align=left><br>Collection Status</th></tr>
132<tr><td>
133<font color=gray>
134Collections will only appear as &quot;running&quot; if their build.cfg
135files exist, are readable, contain a valid builddate field (i.e. > 0),
136and are in the collection's index directory (i.e. NOT the building
137directory).
138<p>
139click <i>abbrev.</i> for information on a collection
140<br>
141click <i>collection</i> to view a collection
142</font>
143</td></tr>
144</table>
145</center>
146}
147
148_maincfg_ {
149<form name="maincfgform" method=post action="_gwcgi_">
150<input type=hidden name="p" value="changemaincfg">
151<input type=hidden name="e" value="_decodedcompressedoptions_">
152<p>_If_(_maincfgfile_,<textarea name="cfgfile" cols=72 rows=18 wrap=off>
153_maincfgfile_
154</textarea><input type=submit value="Submit Changes"><input type=reset>,
155Error opening main.cfg)
156</form>
157}
158
159_changemaincfgfail_ {
160<html>
161<body bgcolor="\#ffffff" text="\#000000">
162Failed to update main.cfg
163_footer_
164}
165
166_changemaincfgsuccess_ {
167<html>
168<body bgcolor="\#ffffff" text="\#000000">
169main.cfg updated successfully
170_footer_
171}
172
Note: See TracBrowser for help on using the repository browser.