Add zonefile generation procedure

This commit is contained in:
Martin Lensment 2014-11-21 15:30:40 +02:00
parent f5ce88b548
commit ac4b63f390
23 changed files with 370 additions and 255 deletions

View file

@ -0,0 +1,20 @@
.row
.col-sm-12
%h2.text-center-xs= t('zonefile_settings')
%hr
.row
.col-md-12
.table-responsive
%table.table.table-hover.table-bordered.table-condensed
%thead
%tr
%th{class: 'col-xs-10'}
= t('origin')
%th{class: 'col-xs-2'}
= t('action')
%tbody
- @zonefile_settings.each do |x|
%tr
%td= link_to(x, edit_admin_zonefile_setting_path(x))
%td
= link_to(t('generate_zonefile'), admin_zonefiles_path, class: 'btn btn-xs btn-primary')