/usr/share/rtpg-www/templates/default/index.tt.html is in rtpg-www 0.2.11-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | [%
# Set control variables
SET show_action = 1;
SET show_prop = 1;
SET hr = data.horizontal;
SET vr = data.vertical;
# Show/hide some frames by "layout"
SWITCH data.layout;
CASE 'default';
CASE 'list';
hr = '';
show_action = 0;
vr = '';
show_prop = 0;
CASE 'act_list';
vr = '';
show_prop = 0;
CASE 'list_prop';
hr = '';
show_action = 0;
END;
%]
<frameset id="frms_main" rows="32px,*" border="1px">
<frame src="index.cgi?show=panel" id="frm_panel" name="frm_panel" noresize="noresize" />
<frameset id="frms_middle" cols="[% hr %]" border="4px">
[% IF show_action %]
<frame src="index.cgi?show=action" id="frm_action" name="frm_action"/>
[% END %]
<frameset id="frms_content" rows="[% vr %]">
<frame src="index.cgi?show=list" id="frm_list" name="frm_list" />
[% IF show_prop %]
<frame src="index.cgi?show=prop" id="frm_prop" name="frm_prop" />
[% END %]
</frameset>
</frameset>
</frameset>
|