chmods.html 1.2 KB

1234567891011121314151617181920212223242526
  1. <div class="control-group" data-bind="attr: {'class': {{ ko.error_class }} }">
  2. <label class="control-label">{{ title }}</label>
  3. <div class="controls">
  4. <table class="table-condensed designTable" data-bind="visible: {{ ko.condition }}">
  5. <tbody>
  6. <thead>
  7. <tr>
  8. <th>Path</th>
  9. <th>Permissions</th>
  10. <th>Recursive</th>
  11. <th></th>
  12. </tr>
  13. </thead>
  14. <tbody data-bind="foreach: {{ ko.items }}">
  15. <tr>
  16. <td><input type="text" class="input span4 required pathFolderChooserKo" data-bind="fileChooser: $data, value: path, uniqueName: false" /></td>
  17. <td><input type="text" class="input span2 required propKey" data-bind="value: permissions, uniqueName: false" /></td>
  18. <td><input class="span1 required" type="checkbox" data-bind="checked: recursive, uniqueName: false"></td>
  19. <td><a class="btn" href="javascript:void(0);" data-bind="click: {{ delete.func }}">{{ delete.name }}</a></td>
  20. </tr>
  21. </tbody>
  22. </tbody>
  23. </table>
  24. <button class="btn" data-bind="click: {{ add.func }}">{{ add.name }}</button>
  25. </div>
  26. </div>