<commit_before>{% extends 'adminBase.html.twig' %}

{% block mainPanel %}

    <div class="col-lg-12">
        <h3 class="page-header">{{ viewName }}</h3>
    </div>
    <p>
        <a href="{{ path('add_rlms') }}" class="btn btn-success"><i class="fa fa-cloud-upload"></i> Register new RLMS</a>
    </p>

    <div class="panel panel-info">
        <div class="panel-heading">
            Manage your RLMS(s) credentials
        </div>
        <div class="panel-body">
            <div class="table-responsive">
                <table class="table table-hover" id="dataTables-example">
                    <thead>
                    <tr>
                        <th>ID</th>
                        <th>Name</th>
                        <th>RLMS</th>
                        <th>Institution</th>
                        <th>Status</th>
                        <th>View/Edit</th>
                    </tr>
                    </thead>
                    <tbody>
                    {%  for record in records %}

                        <tr class="odd gradeX">
                            <td>{{ record.id }}</td>
                            <td>{{ record.name }}</td>
                            <td>{{ record.rlmsType }}</td>
                            <td>{{ record.institution }}</td>
                            <td>
                                {% if record.active == true %}
                                    <span class="label label-success">Active</span>
                                {% elseif record.active == false %}
                                    <span class="label label-danger">Not Active</span>
                                {% else %}
                                    {{ record.active }}
                                {% endif %}

                            </td>
                            <td>
                                <a href="{{ path('edit_rlms') }}/{{ record.id }}">
                                    <i class="fa fa-edit"> view/edit</i>
                                </a>
                            </td>
                        </tr>
                    {% endfor %}

                    </tbody><commit_msg>implementation of mapping setup UI<commit_after>{% extends 'adminBase.html.twig' %}

{% block mainPanel %}

    <div class="col-lg-12">
        <h3 class="page-header">{{ viewName }}</h3>
    </div>
    <p>
        <a href="{{ path('add_rlms') }}" class="btn btn-success"><i class="fa fa-cloud-upload"></i> Register new RLMS</a>
    </p>

    <div class="panel panel-info">
        <div class="panel-heading">
            Manage your RLMS(s) credentials
        </div>
        <div class="panel-body">
            <div class="table-responsive">
                <table class="table table-hover" id="dataTables-example">
                    <thead>
                    <tr>
                        <th>ID</th>
                        <th>Name</th>
                        <th>RLMS</th>
                        <th>Institution</th>
                        <th>Status</th>
                        <th>Lab Server mapping</th>
                        <th>View/Edit</th>
                    </tr>
                    </thead>
                    <tbody>
                    {%  for record in records %}

                        <tr class="odd gradeX">
                            <td>{{ record.id }}</td>
                            <td>{{ record.name }}</td>
                            <td>{{ record.rlmsType }}</td>
                            <td>{{ record.institution }}</td>
                            <td>
                                {% if record.active == true %}
                                    <span class="label label-success">Active</span>
                                {% elseif record.active == false %}
                                    <span class="label label-danger">Not Active</span>
                                {% else %}
                                    {{ record.active }}
                                {% endif %}

                            </td>
                            <td>
                                <a href="{{ path('rlms_ls_mapping') }}/{{ record.id }}">
                                    <i class="fa fa-edit"> Associated Lab Servers</i>
                                </a>
                            </td>
                            <td>
                                <a href="{{ path('edit_rlms') }}/{{ record.id }}">
                                    <i class="fa fa-edit"> view/edit</i>
                                </a>
                            </td>
                        </tr>
                    {% endfor %}

                    </tbody>
{'fraction_non_alphanumeric': 0.13727583262169085, 'fraction_numerical': 0.0017079419299743809, 'mean_word_length': 0.7977743668457405, 'pattern_counts': {'":': 0, '<': 123, '<?xml version=': 0, '>': 123, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 20, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5933638', 'n_tokens_mistral': 1215, 'n_tokens_neox': 1091, 'n_words': 227}