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

Last change on this file since 10919 was 10919, checked in by jrm21, 16 years ago

move background-image: url() style elements into the macro file instead
of the stylesheet so that the _httpimg_ path is correct at runtime.

Also moved all css-related stuff into a new macro to make it easier to
override the css for a particular collection, by overriding the macro
_Style:cssheader_.

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 3.6 KB
Line 
1# this file must be UTF-8 encoded
2
3package status
4
5_header_ {<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
6<html>
7<head>
8<title>_1_</title>
9
10_Style:cssheader_
11</head>
12<body>
13}
14
15_footer_ {</body>
16</html>
17}
18
19# frames need to be transitional, not strict, for target=""
20_infoheader_ {<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
21
22<html>
23
24<head>
25<title>_1_</title>
26_Style:cssheader_
27</head>
28
29<body>
30
31<div id="content">
32
33<div class="divbar">&nbsp;</div>
34<h2 style="text-align: center">_1_</h2>
35<div class="divbar">&nbsp;</div>
36
37}
38
39_infofooter_ {
40<div class="divbar">&nbsp;</div>
41
42</div> <!-- content -->
43
44</body>
45</html>
46}
47
48
49_frameset_ {
50<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
51<html>
52<head>
53<title>_titlewelcome_</title>
54</head>
55
56<frameset cols="180,*" frameborder=0>
57 <noframes><body>
58 <p>_textframebrowser_</p>
59 </body>
60 </noframes>
61 <frame src="_gwcgi_?e=_compressedoptions_&amp;a=status&amp;p=select" name="navframe">
62 <frame src="_gwcgi_?e=_compressedoptions_&amp;a=status&amp;p=welcome" name="infoframe">
63</frameset>
64
65</html>
66}
67
68_select_ {
69<a href="_httppagehome_" target="_top"><img class="icon" src="_httpimg_/gsdl.gif" alt="_textdescrhome_" title="_textdescrhome_"></a>
70<p>
71<a href="_gwcgi_?e=_compressedoptions_&amp;a=status&amp;p=welcome" target=infoframe>_textadminhome_</a><br>
72<a href="_httppagehome_" target=\_top>_textreturnhome_</a>
73
74<p><b>_textconfigfiles_</b><br>
75<a href="_gwcgi_?e=_compressedoptions_&amp;a=status&amp;p=gsdlsite" target=infoframe>_textgsdlsite_</a><br>
76<a href="_gwcgi_?e=_compressedoptions_&amp;a=status&amp;p=maincfg" target=infoframe>_textmaincfg_</a>
77
78<p><b>_textlogs_</b><br>
79<a href="_gwcgi_?e=_compressedoptions_&amp;a=status&amp;p=usagelog" target=infoframe>_textusagelog_</a><br>
80<a href="_gwcgi_?e=_compressedoptions_&amp;a=status&amp;p=errorlog" target=infoframe>_texterrorlog_</a>
81
82_If_("_cgiarguma_" ne "\_cgiarguma\_",
83<p><b>_textusermanage_</b><br>
84<a href="_gwcgi_?e=_compressedoptions_&amp;a=um&amp;uma=listusers" target=infoframe>_textlistusers_</a><br>
85<a href="_gwcgi_?e=_compressedoptions_&amp;a=um&amp;uma=adduser" target=infoframe>_textaddusers_</a><br>
86<a href="_gwcgi_?e=_compressedoptions_&amp;a=um&amp;uma=changepasswd" target=infoframe>_textchangepasswd_</a>
87)
88
89<p><b>_textinfo_</b><br>
90<a href="_gwcgi_?e=_compressedoptions_&amp;a=status&amp;p=generalinfo" target=infoframe>_textgeneral_</a><br>
91<a href="_gwcgi_?e=_compressedoptions_&amp;a=status&amp;p=argumentinfo" target=infoframe>_textarguments_</a><br>
92<a href="_gwcgi_?e=_compressedoptions_&amp;a=status&amp;p=actioninfo" target=infoframe>_textactions_</a><br>
93<a href="_gwcgi_?e=_compressedoptions_&amp;a=status&amp;p=browserinfo" target=infoframe>_textbrowsers_</a><br>
94<a href="_gwcgi_?e=_compressedoptions_&amp;a=status&amp;p=protocolinfo" target=infoframe>_textprotocols_</a>
95}
96
97_textgsdlsite_ {gsdlsite.cfg}
98_textmaincfg_ {main.cfg}
99
100_welcome_ {
101<b>_textversion_: _versionnum_</b>
102
103<p>_textmaas_
104<ul>
105<li>_textvol_
106<li>_textcmuc_
107<li>_textati_
108</ul>
109_texttsaa_
110</p>
111<div class="divbar">&nbsp;</div>
112<b>_textcolstat_</b>
113<p>
114_textcwoa_
115<p>
116_textcafi_
117<br>
118_textcctv_
119</p>
120}
121
122_maincfg_ {
123<form name="maincfgform" method=post action="_gwcgi_">
124<input type=hidden name="p" value="changemaincfg">
125<input type=hidden name="e" value="_decodedcompressedoptions_">
126<p>_If_(_maincfgfile_,<textarea name="cfgfile" cols=72 rows=18 wrap=off>
127_maincfgfile_
128</textarea>
129<br><input type=submit value="_textsubc_"><input type=reset>,_texteom_)
130</form>
131}
132
133_changemaincfgfail_ {
134<html>
135<body>
136_textftum_
137_footer_
138}
139
140_changemaincfgsuccess_ {
141<html>
142<body>
143_textmus_
144_footer_
145}
Note: See TracBrowser for help on using the repository browser.