nx-web / nxweb / apps / admin / html / partials / user-list.html

<div class="k-content">
    <div class="k-grid k-widget" tabindex="0" style="height: 540px;">
        <div class="k-toolbar k-grid-toolbar">
            <!-- <a href="/#/user" class="k-button k-button-icontext k-grid-add"> -->
            <a ng-click="showCreateUserWindow()" class="k-button k-button-icontext k-grid-add">
                <span class="k-icon k-add"></span>
                Create new user
            </a>
        </div>
        <div class="k-grid-header" style="padding-right: 16px;">
            <div class="k-grid-header-wrap">
                <table cellspacing="0">
                    <colgroup><col><col><col></colgroup>
                    <thead>
                        <tr>
                            <th class="k-header">Users</th>
                            <th class="k-header">Groups</th>
                            <th class="k-header"></th>
                        </tr>
                    </thead>
                </table>
            </div>
        </div>

        <div class="k-grid-content" style="height: 468px;">
            <table cellspacing="0" id="grid" style="height: auto;" class="k-focusable">
                <colgroup><col><col><col></colgroup>
                <tbody>
                    <tr ng-repeat="(key, data) in users | orderBy:'uid'" ng-class-even="'k-alt'">
                        <td>
                            {{key}}
                        </td>
                        <td>
                            {{data['groups'].join()}}
                        </td>
                        <td>
                            <a ng-href="#/user/{{key}}" class="k-button k-button-icontext k-grid-edit">
                                <span class="k-icon k-edit"></span>
                                Edit
                            </a>
                            <a ng-click="delete(key)" class="k-button k-button-icontext k-grid-delete">
                                <span class="k-icon k-delete"></span>
                                Delete
                            </a>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
</div>

<div id="window">
</div>

<script type="text/javascript">
    $(document).ready(function() {
        $("#window").kendoWindow({
            content: "/window.html#/user",
            iframe: true,
            modal: true,
            height: "400px",
            width: "600px",
            visible: false
        });
    });
</script>
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.