PHP Classes

File: templates/common/user_accounts.html.tpl

Recommend this page to a friend!
  Classes of Saro Carvello  >  PHP Web MVC Framework  >  templates/common/user_accounts.html.tpl  >  Download  
File: templates/common/user_accounts.html.tpl
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Web MVC Framework
MVC framework providing autogenerated MySQL models
Author: By
Last change: Add files via upload
Date: 2 years ago
Size: 4,490 bytes
 

Contents

Class file image Download
<!DOCTYPE html>
<html>
<head>
    <title>{RES:UsersTitle}</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="author" content="Rosario Carvello - rosario.carvello@gmail.com">
    <meta name="generator" content="Powered by PHP WEB MVC Framework">
    <meta name="copyright" content="Rosario Carvello">
    <meta name="robots" content="all">

    <!-- Bootstrap core CSS -->
    <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet" media="screen">
    <link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/r/bs-3.3.5/jq-2.1.4,dt-1.10.8/datatables.min.css"/>
    <link href="{GLOBAL:SITEURL}/js/spinner/spinner.css" rel="stylesheet">

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.2/html5shiv.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.js"></script>
    <![endif]-->
<style>
    .enabled-1 {
        background: #e8ccd3;
        #color: #fff;
    }
</style>

</head>
<body>
<div class="container">
    <h2>You can nest inside a custom controller this simple user managements forms for managing application accounts</h2>
    <a href="{GLOBAL:SITEURL}">Home page</a> | <a href="{GLOBAL:SITEURL}/common/user_accounts?locale=en">English</a> | <a href="{GLOBAL:SITEURL}/common/user_accounts?locale=it-it">Italiano</a><br><br>
    <div class="panel panel-primary">
        <div class="panel-heading">
            <a href="{GLOBAL:SITEURL}/common/user_account" class="btn btn-info"><span class="glyphicon glyphicon-plus"></span> {RES:AddUsersCaption}</a>
        </div>
        <div class="panel-body">
            <div class="table table-responsive">
                <table class="table table-bordered table-hover" id="table_users">
                    <thead>
                        <tr>
                            <th>{RES:FullNameCaption}</th>
                            <th>{RES:EmailCaption}</th>
                            <th>{RES:AccessLevelCaption}</th>
                        </tr>
                    </thead>
                    <tbody>
                    <!-- BEGIN UserAccounts -->
                        <tr class="enabled{enabled}">
                            <td><a href="{GLOBAL:SITEURL}/common/user_account/open/{id_user}">{full_name}</a></td>
                            <td>{email}</td>
                            <td>{access_level_name}</td>
                        </tr>
                    <!-- END UserAccounts -->
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
<div id="divLoading"></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/datatables/1.10.12/js/jquery.dataTables.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/datatables/1.10.12/js/dataTables.bootstrap.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

<script type="text/javascript">

    $(document).ready(function() {

        var dataTableAction = true;
        if (dataTableAction) {
            $('#table_users').dataTable({
                "responsive": true,
                "paging": true,
                "language": {
                    "lengthMenu": "_MENU_ {RES:BTD_LENGTH_FOR_PAGE}",
                    "zeroRecords": "{RES:BTD_NO_RECORDS}",
                    "info": "_PAGE_ {RES:BTD_OF} _PAGES_",
                    "infoEmpty": "{RES:BTD_NO_RECORDS}",
                    "search": "{RES:BTD_SEARCH}",
                    "searchPlaceholder": "{RES:BTD_SEARCH_PLACEHOLDER}",
                    "infoFiltered": "({RES:BTD_RESULT_OF} _MAX_ {RES:BTD_RESULT_TOTALS})",
                    "paginate": {
                        "first": "{RES:BTD_FIRST}",
                        "last": "{RES:BTD_LAST}",
                        "next": "{RES:BTD_NEXT}",
                        "previous": "{RES:BTD_PREVIOUS}",
                    }
                    ,
                }
            });

        }


    });

</script>
<script src="{GLOBAL:SITEURL}/js/spinner/spinner.js"></script>

</body>
</html>

For more information send a message to info at phpclasses dot org.