Source

django-swingcms / swingcms / custodian / templates / custodian / edit_users.html

{% load i18n %}



<div id='custodian'>

    <h2>Users</h2>
    <br />

    <form enctype='multipart/form-data' method='post' action='' onsubmit="return js_single_submit(this.submit);">

        {% csrf_token %}

	    <table>
		    <tr>
			    <td><a href='/edit_users/by_id'>Id</a></td>
			    <td><a href='/edit_users/by_username'>Username</a></td>
                		<td></td>
                		<td></td>
                		<td></td>
		    </tr>
		    {% for u in users %}

		        <tr>
			        <td>{{u.id}}</td>
			        <td>{{u.username}}</td>
                    <td>
	            	<a href='/change_user/{{ u.id }}'>change</a> | 
	            	<a href='/delete_user/{{ u.id }}'>delete</a>
                    {% if not u.is_superuser %}
                         | <a href='/edit_global_and_model_perms/user/{{ u.id }}'>permissions</a>
                    {% endif %}
	            </td>
	            </tr>		

		    {% endfor %}
	    </table>
	    <br />
	    <br />

        <input type='hidden' name='order' value='{{ order }}'>

    </form>


    <table>
	    <tr>
		    <td>
		    - <a href='/add_user'>add user</a>
		    </td>
	    </tr>
	
    </table>

</div>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.