<commit_before><template name="rea.credentials.index">
    <section class="section">
        <div class="container">
            <h1 class="title">{{> icon name='key' size='is-medium'}} Credentials
                <small>{{countCredentials}}</small>
            </h1>
            <hr>
            <div class="columns" style="margin-bottom: 10px;">
                <div class="column">
                    <form action="" method="GET">
                        <p class="control has-icon has-addons">
                            <input type="text" class="input js-search-input" placeholder="Search...">
                            <i class="fa fa-search"></i>
                            <a class="button js-reset">Clear</a>
                        </p>
                    </form>
                </div>
                <div class="column">
                    <div class="pull-right">
                        <a href="{{pathFor 'rea.credentials.add'}}" class="button is-success">
                            {{> icon name='plus' size='is-small'}}
                            <span>Add</span>
                        </a>
                    </div>
                </div>
            </div>
            <div class="table-responsive">
                <table class="table is-striped">
                    <thead>
                    <tr>
                        <!--<th></th>-->
                        <th>Domain</th>
                        <th class="is-hidden-mobile">Identifier</th>
                        <th class="is-hidden-mobile">Password</th>
                        <th></th>
                    </tr>
                    </thead>
                    <tbody>
                    {{#each credentials}}
                        <tr>
                            <!--<td>-->
                            <!--<figure class="image is-16x16">-->
                            <!--<img src="{{favicon.link}}">-->
                            <!--</figure>-->
                            <!--</td>-->
                            <td>{{domain}}</td>
                            <td class="is-hidden-mobile">{{identifier}}</td>
                            <td class="is-hidden-mobile">********</td>
                            <td>
                                <div class="is-pulled-right">
                                    <button class="button is-info is-small is-outlined js-credentials-see">
                                        {{> icon name='eye' size='is-small'}}
                                        <span class="is-hidden-mobile">See</span>
                                    </button>
                                    <a href="{{pathFor 'rea.credentials.edit' credentialsId=_id}}"
                                       class="button is-warning is-small is-outlined {{editButtonState}}">
                                        {{> icon name='edit' size='is-small'}}
                                        <span class="is-hidden-mobile">Edit</span>
                                    </a>
                                    <button class="button is-danger is-small is-outlined js-credentials-remove">
                                        <i class="fa fa-trash"></i>
                                    </button>
                                </div>
                            </td>
                        </tr>
                    {{/each}}
                    </tbody>
                </table>
            </div>
            {{#if isEmpty credentials}}
                <h5 class="title is-5 has-text-centered">
                    {{#if searching}}
                        No results for this research.
                    {{else}}
                        No credentials for now...
                    {{/if}}
                </h5>
            {{/if}}
        </div>
    </section>
</template><commit_msg>Wrapping domain with anchor link on credentials table<commit_after><template name="rea.credentials.index">
    <section class="section">
        <div class="container">
            <h1 class="title">{{> icon name='key' size='is-medium'}} Credentials
                <small>{{countCredentials}}</small>
            </h1>
            <hr>
            <div class="columns" style="margin-bottom: 10px;">
                <div class="column">
                    <form action="" method="GET">
                        <p class="control has-icon has-addons">
                            <input type="text" class="input js-search-input" placeholder="Search...">
                            <i class="fa fa-search"></i>
                            <a class="button js-reset">Clear</a>
                        </p>
                    </form>
                </div>
                <div class="column">
                    <div class="pull-right">
                        <a href="{{pathFor 'rea.credentials.add'}}" class="button is-success">
                            {{> icon name='plus' size='is-small'}}
                            <span>Add</span>
                        </a>
                    </div>
                </div>
            </div>
            <div class="table-responsive">
                <table class="table is-striped">
                    <thead>
                    <tr>
                        <!--<th></th>-->
                        <th>Domain</th>
                        <th class="is-hidden-mobile">Identifier</th>
                        <th class="is-hidden-mobile">Password</th>
                        <th></th>
                    </tr>
                    </thead>
                    <tbody>
                    {{#each credentials}}
                        <tr>
                            <!--<td>-->
                            <!--<figure class="image is-16x16">-->
                            <!--<img src="{{favicon.link}}">-->
                            <!--</figure>-->
                            <!--</td>-->
                            <td>
                                <a href="{{domain}}" target="_blank">
                                    {{domain}}
                                </a>
                            </td>
                            <td class="is-hidden-mobile">{{identifier}}</td>
                            <td class="is-hidden-mobile">********</td>
                            <td>
                                <div class="is-pulled-right">
                                    <button class="button is-info is-small is-outlined js-credentials-see">
                                        {{> icon name='eye' size='is-small'}}
                                        <span class="is-hidden-mobile">See</span>
                                    </button>
                                    <a href="{{pathFor 'rea.credentials.edit' credentialsId=_id}}"
                                       class="button is-warning is-small is-outlined {{editButtonState}}">
                                        {{> icon name='edit' size='is-small'}}
                                        <span class="is-hidden-mobile">Edit</span>
                                    </a>
                                    <button class="button is-danger is-small is-outlined js-credentials-remove">
                                        <i class="fa fa-trash"></i>
                                    </button>
                                </div>
                            </td>
                        </tr>
                    {{/each}}
                    </tbody>
                </table>
            </div>
            {{#if isEmpty credentials}}
                <h5 class="title is-5 has-text-centered">
                    {{#if searching}}
                        No results for this research.
                    {{else}}
                        No credentials for now...
                    {{/if}}
                </h5>
            {{/if}}
        </div>
    </section>
</template>
{'fraction_non_alphanumeric': 0.13912492073557386, 'fraction_numerical': 0.0027901077996195307, 'mean_word_length': 0.7984036488027366, 'pattern_counts': {'":': 0, '<': 183, '<?xml version=': 0, '>': 191, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 32, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1441454', 'n_tokens_mistral': 1831, 'n_tokens_neox': 1706, 'n_words': 340}