PHP Classes

File: SmallServerAdmin/files/dialogs/confirmToDeleteItem.php

Recommend this page to a friend!
  Classes of Aleksey Nemiro  >  PHP Small Server Administrator  >  SmallServerAdmin/files/dialogs/confirmToDeleteItem.php  >  Download  
File: SmallServerAdmin/files/dialogs/confirmToDeleteItem.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Small Server Administrator
Web panel for small Debian and Ubuntu servers
Author: By
Last change:
Date: 6 years ago
Size: 1,268 bytes


Class file image Download
<div id="confirmToDeleteItem" class="modal" role="dialog" data-not-restore="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
      <div class="modal-body">
        ${Are you sure you want to delete the} <strong>{{SelectedItemToDelete.Path}}</strong>?<br /><br />
        <div ng-show="SelectedItemToDelete.Type == 'Folder'">
          ${All child files and folders will be deleted.}
        ${Recover data after deletion will not be possible.}
        <br /><br />
        <div class="form-group">
          <input type="text" class="form-control" ng-model="ConfirmItemNameToRemove" placeholder="${Enter}: {{SelectedItemToDelete.Name}}" />
      <div class="modal-footer">
        <button class="btn btn-danger" ng-click="Delete()" ng-disabled="ConfirmItemNameToRemove == '' || ConfirmItemNameToRemove != SelectedItemToDelete.Name">${Delete}</button>
        <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">${Cancel}</button>