list_backup_exclusions.html 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <table class="submenu">
  2. <tr>
  3. <td style="padding: 14px 10px">
  4. <div class="submenu-button-block">
  5. <button class="submenu-button-main" onclick="location.href='/edit/backup/exclusions/'"> <?php print __('Configure');?> </button>
  6. </div>
  7. <div class="submenu-search-block">
  8. <form action="/search/" method="get">
  9. <input type="text" name="q" class="submenu-search-field">
  10. <input type="submit" value="<?php print __('Search');?>" class="submenu-button-search">
  11. </form>
  12. </div>
  13. <div class="submenu-select-block">
  14. <form action="/bulk/backup/exclusions/" method="post" id="objects">
  15. <a class="submenu-select-link" href='javascript:checkedAll("objects");'> <?php print __('toggle all');?> </a>
  16. <select class="submenu-select-dropdown" name="action">
  17. <option value=""><?php print __('apply to selected');?></option>
  18. <option value="delete"><?php print __('delete');?></option>
  19. </select>
  20. <input type="submit" name="ok" value="›" class="submenu-button-select">
  21. </div>
  22. <?php display_error_block(); ?>
  23. </td>
  24. </tr>
  25. </table>
  26. </div>
  27. <div id="vstobjects">
  28. <table class="data">
  29. <?php
  30. foreach ($data as $key => $value) {
  31. ?>
  32. <tr class="data-row">
  33. <td class="data-dotted">
  34. <table class="data-col1">
  35. <tr><td><input type="checkbox" class="ch-toggle" name="system[]" value="<?php echo $key ?>" ></td></tr>
  36. </table>
  37. </td>
  38. <td class="data-dotted" width="830px">
  39. <a id="delete_link_<?php echo $i ?>" class="data-controls do_delete">
  40. <span class="do_delete">
  41. <img src="/images/delete.png" width="7px" height="7px">
  42. <?php print __('delete');?>
  43. <input type="hidden" name="delete_url" value="/delete/backup/exclusion/?system=<?php echo "$key" ?>" />
  44. <div id="delete_dialog_<?php echo $i ?>" class="confirmation-text-delete hidden" title="<?php print __('Confirmation');?>">
  45. <p class="counter-value"><?php print __('DELETE_EXCLUSION_CONFIRMATION',$key);?></p>
  46. </div>
  47. </span>
  48. </a>
  49. <table class="data-col5">
  50. <tr>
  51. <td class="cron" width="116px" style="vertical-align:top;">
  52. <b><?php echo $key ?></b>
  53. </td>
  54. <td style="vertical-align:top;" class="counter-value">
  55. <?php if (empty($value)) print __('no exclusions'); ?>
  56. <table>
  57. <?php
  58. foreach ($value as $ex_key => $ex_value) {
  59. ?>
  60. <tr>
  61. <td class="counter-value"><b><?php echo $ex_key ?></b></td>
  62. <td class="counter-value" style="padding-left:12px;"><?php echo $ex_value ?></td>
  63. </tr>
  64. <?php
  65. }
  66. ?>
  67. </table>
  68. </td>
  69. </tr>
  70. </table>
  71. </td>
  72. </tr>
  73. <?php
  74. }
  75. ?>
  76. </table>
  77. </form>
  78. <table class="data-count">
  79. <tr>
  80. <td width="174px"></td>
  81. <td>
  82. ...
  83. </td>
  84. </tr>
  85. </table>
  86. </div>