<commit_before>{% extends 'NumaDOADMSBundle::layout.html.twig' %}
{% block stylesheets %}
    {{ parent() }}
    <link href="https://cdn.rawgit.com/angular-ui/bower-ui-grid/master/ui-grid.min.css" type="text/css"
          rel="stylesheet"/>
    {% stylesheets
    'css/loading-bar.min.css'
    filter='cssrewrite' output='css/*.css' %}
    <link href="{{ asset_url }}" type="text/css" rel="stylesheet"/>
    {% endstylesheets %}
{% endblock stylesheets %}
{% block javascripts %}
    {{ parent() }}
    {% javascripts
    '@colorbox_js'
    'js/angular/angular143.min.js'
    'js/angular/angular-touch143.min.js'
    'js/angular/angular-animate143.min.js'

    'js/angular/ui-grid.js'
    'js/angular/angular-confirm.min.js'
    'js/angular/ui-bootstrap-tpls-1.2.2.min.js'
    'js/loading-bar.min.js' %}
    <script src="{{ asset_url }}"></script>
    {% endjavascripts %}
    <script>
        {% include 'NumaDOADMSBundle:DMSUser:users.js.twig' %}
    </script>
{% endblock javascripts %}
{% block content %}
    {% include 'NumaDOAAdminBundle::flashmsg.html.twig' %}
    <div class="box">
        <div class="box-header">
            <h3 class="box-title">User list</h3>
            <div class="box-tools">
                <a href="{{ path('dmsuser_new') }}" class="btn btn-primary">
                    Create new User
                </a>
            </div>
        </div>
    </div>
    <div class="box-body table-responsive no-padding" ng-app="app">
        <div ng-controller="MainCtrl">
            <script type="text/ng-template" id="myModalContent.html">
                <div ui-grid="row.entity.subGridOptions" style="height:150px;"></div>
            </script>
            <script type="text/ng-template" id="myModalContent.html">
                <div class="modal-header">
                    <h3 class="modal-title">Please confirm</h3>
                </div>

                <div class="modal-footer">
                    <button class="btn btn-primary" type="button" ng-click="ok()">OK</button>
                    <button class="btn btn-danger" type="button" ng-click="cancel()">Cancel</button>
                </div>
            </script>
            <div id="grid1" ui-grid="gridOptions" ui-grid-selection ui-grid-pinning class="grid"></div>
        </div>
    </div>
    {% include 'NumaDOAAdminBundle::deleteConfirm.js.twig' %}
{% endblock %}<commit_msg>Users admin create new button<commit_after>{% extends 'NumaDOADMSBundle::layout.html.twig' %}
{% block stylesheets %}
    {{ parent() }}
    <link href="https://cdn.rawgit.com/angular-ui/bower-ui-grid/master/ui-grid.min.css" type="text/css"
          rel="stylesheet"/>
    {% stylesheets
    'css/loading-bar.min.css'
    filter='cssrewrite' output='css/*.css' %}
    <link href="{{ asset_url }}" type="text/css" rel="stylesheet"/>
    {% endstylesheets %}
{% endblock stylesheets %}
{% block javascripts %}
    {{ parent() }}
    {% javascripts
    '@colorbox_js'
    'js/angular/angular143.min.js'
    'js/angular/angular-touch143.min.js'
    'js/angular/angular-animate143.min.js'

    'js/angular/ui-grid.js'
    'js/angular/angular-confirm.min.js'
    'js/angular/ui-bootstrap-tpls-1.2.2.min.js'
    'js/loading-bar.min.js' %}
    <script src="{{ asset_url }}"></script>
    {% endjavascripts %}
    <script>
        {% include 'NumaDOADMSBundle:DMSUser:users.js.twig' %}
    </script>
{% endblock javascripts %}
{% block content %}
    {% include 'NumaDOAAdminBundle::flashmsg.html.twig' %}
    <div class="box">
        <div class="box-header">
            <h3 class="box-title">User list</h3>
            <div class="box-tools">
                {% if is_granted('ROLE_ADMIN') == false %}
                    <a href="{{ path('dmsuser_new') }}" class="btn btn-primary">
                        Create new User
                    </a>
                {% endif %}
            </div>
        </div>
    </div>
    <div class="box-body table-responsive no-padding" ng-app="app">
        <div ng-controller="MainCtrl">
            <script type="text/ng-template" id="myModalContent.html">
                <div ui-grid="row.entity.subGridOptions" style="height:150px;"></div>
            </script>
            <script type="text/ng-template" id="myModalContent.html">
                <div class="modal-header">
                    <h3 class="modal-title">Please confirm</h3>
                </div>

                <div class="modal-footer">
                    <button class="btn btn-primary" type="button" ng-click="ok()">OK</button>
                    <button class="btn btn-danger" type="button" ng-click="cancel()">Cancel</button>
                </div>
            </script>
            <div id="grid1" ui-grid="gridOptions" ui-grid-selection ui-grid-pinning class="grid"></div>
        </div>
    </div>
    {% include 'NumaDOAAdminBundle::deleteConfirm.js.twig' %}
{% endblock %}
{'fraction_non_alphanumeric': 0.17957674131908774, 'fraction_numerical': 0.008218615163344977, 'mean_word_length': 2.2759084791386273, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 79, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4625804', 'n_tokens_mistral': 1657, 'n_tokens_neox': 1529, 'n_words': 244}