/usr/share/zentyal/templates/dns/index.mas is in zentyal-dns 2.3.10+quantal1.
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 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | <!-- vim: ts=4 sw=4 filetype=mason
-->
<%args>
$active
@domains
</%args>
<%init>
use EBox::Gettext;
</%init>
<div class='dns-cachenew'>
<& enable.mas, title => __('DNS service status'), active => $active &>
</div>
<div>
<h3><% __('Domain list') %></h3>
<table cellspacing='0' class='dataTable'>
<thead>
<tr>
<th width='66%' class='tleft'>
<% __('Name') %>
</th>
<th class='thOptions'>
<% __('Action') %>
</th>
</tr>
</thead>
<tbody>
<tr>
<form action='AddDomain' method='post'>
<td>
<input class='inputText' size="20" type="text" name="domain"/>
</td>
<td class='tcenter'>
<input class='inputButton' type='image' name='add'
src='/data/images/add.gif'
value="<% __('Add') %>"
title="<% __('Add') %>"
alt="<% __('Add') %>">
</td>
</form>
</tr>
% if(@domains != 0) {
% foreach my $dom (@domains) {
<tr class='border'>
<td><% $dom->{'name'} %></td>
<td class='tcenter'>
<a href="Edit?domain=<% $dom->{'id'} %>">
<img src='/data/images/edit.gif' alt="<% __('Edit') %>" title="<% __('Edit') %>" /></a>
<img src='/data/images/sep.gif' alt='-'/>
<a href='DelDomain?domain=<% $dom->{'id'} %>'>
<img src='/data/images/delete.gif'
title="<% __('Delete') %>"
alt="<% __('Delete') %>"/></a>
</td>
</tr>
% }
% }
</tbody>
</table>
<br />
<table class="legend">
<tr>
<td><img src="/data/images/edit.gif" alt=""/></td>
<td style="padding-right: 10px;"><%__('edit')%></td>
</tr>
<tr>
<td><img src="/data/images/delete.gif" alt=""/></td>
<td style="padding-right: 10px;"><%__('delete')%></td>
</tr>
</table>
</div>
<script type="text/javascript"><!--
setDefault();
//--></script>
|