|
|
@@ -14,6 +14,12 @@
|
|
|
## See the License for the specific language governing permissions and
|
|
|
## limitations under the License.
|
|
|
<%namespace name="edit" file="editor_components.mako" />
|
|
|
+<style>
|
|
|
+.table-margin {
|
|
|
+ padding-left:20px;
|
|
|
+ padding-right:20px;
|
|
|
+}
|
|
|
+</style>
|
|
|
|
|
|
<form action="/filebrowser/chmod?next=${next|u}" method="POST" enctype="multipart/form-data"
|
|
|
class="form-inline form-padding-fix">
|
|
|
@@ -21,35 +27,39 @@
|
|
|
<a href="#" class="close" data-dismiss="modal">×</a>
|
|
|
<h3>Change Permissions: ${path}</h3>
|
|
|
</div>
|
|
|
- <div class="change-owner-modal-body clearfix" >
|
|
|
+ <div class="table-margin">
|
|
|
${edit.render_field(form["path"], hidden=True)}
|
|
|
<table class="table table-striped">
|
|
|
<thead>
|
|
|
<tr>
|
|
|
- <th></th>
|
|
|
- <th>User</th>
|
|
|
- <th>Group</th>
|
|
|
- <th>Other</th>
|
|
|
+ <th> </th>
|
|
|
+ <th class="center">User</th>
|
|
|
+ <th class="center">Group</th>
|
|
|
+ <th class="center">Other</th>
|
|
|
+ <th width="120"> </th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
<tr>
|
|
|
- <td>Read</td>
|
|
|
- <td>${edit.render_field(form["user_read"], tag="checkbox", button_text=" ", nolabel=True)}</td>
|
|
|
- <td>${edit.render_field(form["group_read"], tag="checkbox", button_text=" ", nolabel=True)}</td>
|
|
|
- <td>${edit.render_field(form["other_read"], tag="checkbox", button_text=" ", nolabel=True)}</td>
|
|
|
+ <td><strong>Read</strong></td>
|
|
|
+ <td class="center">${edit.render_field(form["user_read"], tag="checkbox", button_text=" ", nolabel=True)}</td>
|
|
|
+ <td class="center">${edit.render_field(form["group_read"], tag="checkbox", button_text=" ", nolabel=True)}</td>
|
|
|
+ <td class="center">${edit.render_field(form["other_read"], tag="checkbox", button_text=" ", nolabel=True)}</td>
|
|
|
+ <td> </td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <td>Write</td>
|
|
|
- <td>${edit.render_field(form["user_write"], tag="checkbox", button_text=" ", nolabel=True)}</td>
|
|
|
- <td>${edit.render_field(form["group_write"], tag="checkbox", button_text=" ", nolabel=True)}</td>
|
|
|
- <td>${edit.render_field(form["other_write"], tag="checkbox", button_text=" ", nolabel=True)}</td>
|
|
|
+ <td><strong>Write</strong></td>
|
|
|
+ <td class="center">${edit.render_field(form["user_write"], tag="checkbox", button_text=" ", nolabel=True)}</td>
|
|
|
+ <td class="center">${edit.render_field(form["group_write"], tag="checkbox", button_text=" ", nolabel=True)}</td>
|
|
|
+ <td class="center">${edit.render_field(form["other_write"], tag="checkbox", button_text=" ", nolabel=True)}</td>
|
|
|
+ <td> </td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <td>Execute</td>
|
|
|
- <td>${edit.render_field(form["user_execute"], tag="checkbox", button_text=" ", nolabel=True)}</td>
|
|
|
- <td>${edit.render_field(form["group_execute"], tag="checkbox", button_text=" ", nolabel=True)}</td>
|
|
|
- <td>${edit.render_field(form["other_execute"], tag="checkbox", button_text=" ", nolabel=True)}</td>
|
|
|
+ <td><strong>Execute</strong></td>
|
|
|
+ <td class="center">${edit.render_field(form["user_execute"], tag="checkbox", button_text=" ", nolabel=True)}</td>
|
|
|
+ <td class="center">${edit.render_field(form["group_execute"], tag="checkbox", button_text=" ", nolabel=True)}</td>
|
|
|
+ <td class="center">${edit.render_field(form["other_execute"], tag="checkbox", button_text=" ", nolabel=True)}</td>
|
|
|
+ <td> </td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|