web_backup_list.htm 2.83 KB
Newer Older
1
<tmpl_if name="msg">
2
    <div id="OKMsg"><p><tmpl_var name="msg"></p></div>
3
4
</tmpl_if>
<tmpl_if name="error">
5
    <div id="errorMsg"><h3>ERROR</h3><ol><tmpl_var name="error"></ol></div>
6
7
</tmpl_if>
<h3><tmpl_var name="list_head_txt"></h3>
8
9
10
11
12
13
14

<div class="panel panel_list_web_backup">
    
    <div class="pnl_listarea">
        <fieldset><legend><tmpl_var name="list_head_txt"></legend>
            <table class="list">
                <thead>
15
                    <tr class="caption">
tbrehm's avatar
tbrehm committed
16
17
18
19
20
21
22
                        <th class="tbl_col_date" scope="col"><tmpl_var name="date_txt"></th>
                        <th class="tbl_col_date" scope="col"><tmpl_var name="backup_type_txt"></th>
                        <th class="tbl_col_filename" scope="col"><tmpl_var name="filename_txt"></th>
                        <th class="tbl_col_filename" scope="col"><tmpl_var name="filesize_txt"></th>
                        <th class="tbl_col_limit" scope="col">{tmpl_var name='search_limit'}</th>
                    </tr>
                </thead>
23
24
25
                <tbody>
                    <tmpl_loop name="records">
                        <tr class="tbl_row_<tmpl_if name='__EVEN__'}even<tmpl_else>uneven</tmpl_if>">
tbrehm's avatar
tbrehm committed
26
27
28
29
30
31
32
                            <td class="tbl_col_date">{tmpl_var name="date"}</td>
                            <td class="tbl_col_date">{tmpl_var name="backup_type"}</td>
                            <td class="tbl_col_filename">{tmpl_var name="filename"}</td>
                            <td class="tbl_col_filesize">{tmpl_var name="filesize"}</td>
                            <td class="tbl_col_buttons">
                                <div class="buttons">
                                    <button class="button iconstxt icoRestore" type="button" onclick="confirm_action('sites/web_domain_edit.php?id={tmpl_var name='parent_id'}&next_tab=backup&backup_action=restore&backup_id={tmpl_var name='backup_id'}','{tmpl_var name='restore_confirm_txt'}');"><span>{tmpl_var name="restore_backup_txt"}</span></button>
33
                                    <button class="button iconstxt icoDownload" type="button" onclick="loadContent('sites/web_domain_edit.php?id={tmpl_var name='parent_id'}&next_tab=backup&backup_action=download&backup_id={tmpl_var name='backup_id'}');"><span>{tmpl_var name="download_backup_txt"}</span></button>
34
35
36
37
                                </div>
                            </td>
                        </tr>
                    </tmpl_loop>
38
39
40
41
42
                    <tmpl_unless name="records">
                        <tr class="tbl_row_noresults tbl_row_<tmpl_if name='__EVEN__'}even<tmpl_else>uneven</tmpl_if>">
                            <td colspan="4">{tmpl_var name='globalsearch_noresults_text_txt'}</td>
                        </tr>
                    </tmpl_unless>
43
44
                </tbody>
            </table>
tbrehm's avatar
tbrehm committed
45
46
47
48
        </fieldset>
    </div>
    
</div>