/**
  * Renders the delete confirmation dialog
  */
 protected function renderModals()
 {
     parent::renderModals();
     /* Delete confirmation modal */
     $this->pLine('<!-- Delete confirmation -->');
     $this->pLine('<div id="confirmDeleteModal" class="modal fade" tabindex="-2" role="dialog" aria-hidden="true">');
     $this->pLine('<div class="modal-dialog">', 1);
     $this->pLine('<div class="modal-content">', 1);
     $this->pLine('<div class="modal-body text-justify">', 1);
     $this->pLine(_('Selected capture will be permanently deleted, are you sure you want to delete it?'), 1);
     $this->pLine('</div>', -1);
     $this->pLine('<div class="modal-footer">');
     $this->pLine('<button type="button" data-dismiss="modal" class="btn btn-danger" id="confirmDelete">' . _('Delete') . '</button>', 1);
     $this->pLine('<button type="button" data-dismiss="modal" class="btn btn-default">' . _('Cancel') . '</button>');
     $this->pLine('</div>', -1);
     $this->pLine('</div>', -1);
     $this->pLine('</div>', -1);
     $this->pLine('</div>', -1);
 }
 /**
  * Renders the format RAID confirmation dialog
  */
 protected function renderModals()
 {
     parent::renderModals();
     /* Format RAID confirmation modal */
     $this->pLine('<!-- Format RAID confirmation -->');
     $this->pLine('<div id="confirmFormatRaid" class="modal fade" tabindex="-2" role="dialog" aria-hidden="true">');
     $this->pLine('<div class="modal-dialog">', 1);
     $this->pLine('<div class="modal-content">', 1);
     $this->pLine('<div class="modal-body text-justify">', 1);
     $this->pLine('<strong class="text-danger">' . _('All data will be lost, are you sure you want to format the RAID?') . '</strong>', 1);
     $this->pLine('</div>', -1);
     $this->pLine('<div class="modal-footer">');
     $this->pLine('<button type="button" data-dismiss="modal" data-toggle="modal" data-target="#formatRaidModal" class="btn btn-danger">' . _('Format') . '</button>', 1);
     $this->pLine('<button type="button" data-dismiss="modal" class="btn btn-default">' . _('Cancel') . '</button>');
     $this->pLine('</div>', -1);
     $this->pLine('</div>', -1);
     $this->pLine('</div>', -1);
     $this->pLine('</div>', -1);
 }
 /**
  * Constructor for the settingsView class.
  * Sets the page title
  *
  * @param SettingsModel $model
  *            Data model of the Settings page
  */
 public function __construct(SettingsModel $model)
 {
     parent::__construct($model);
     $this->title = _('Settings');
 }
 /**
  * Constructor for the statusView class.
  * Sets the page title
  *
  * @param StatusModel $model
  *            Data model of the Status page
  */
 public function __construct(StatusModel $model)
 {
     parent::__construct($model);
     $this->title = _('Status');
 }
 /**
  * Constructor for the managerView class.
  * Sets the page title
  *
  * @param ManagerModel $model
  *            Data model of the Manager page
  */
 public function __construct(ManagerModel $model)
 {
     parent::__construct($model);
     $this->title = _('Manager');
 }