<commit_before>{% extends "base.html" %}

{% block title %}Your Profile{% endblock %}

{% block content %}

<h1>Your Profile</h1>

<ul>
<li><b>Username:</b> {{ user.username }}</li>
</ul>

{% if eveaccounts %}
<h2>Service Accounts</h2>
<p>This is a list of all your current service accounts, to create a login for 
a new service click the Add Service link</p>
{% if srvaccounts %}
<table>
<thead>
<tr><th>Service</th><th>Username</th><th>Password</th><th>Active</th><th>Actions</th></tr>
</thead>
<tbody>
{% for acc in srvaccounts %}
<tr><td>{{ acc.service }}</td>
    <td>{{ acc.username }}</td>
    <td>******</td>
    <td>{{ acc.active }}</td>
    <td><a href="/profile/del/service/{{ acc.id }}/">Delete
    {% if acc.provide_login %}
    / <a href="/profile/login/service/{{ acc.id }}/">Login>/a>
    {% endif %}<commit_msg>Profile template now shows if login is available<commit_after>{% extends "base.html" %}

{% block title %}Your Profile{% endblock %}

{% block content %}

<h1>Your Profile</h1>

<ul>
<li><b>Username:</b> {{ user.username }}</li>
</ul>

{% if eveaccounts %}
<h2>Service Accounts</h2>
<p>This is a list of all your current service accounts, to create a login for 
a new service click the Add Service link</p>
{% if srvaccounts %}
<table>
<thead>
<tr><th>Service</th><th>Username</th><th>Password</th><th>Active</th><th>Actions</th></tr>
</thead>
<tbody>
{% for acc in srvaccounts %}
<tr><td>{{ acc.service }}</td>
    <td>{{ acc.username }}</td>
    <td>******</td>
    <td>{{ acc.active }}</td>
    <td><a href="/profile/del/service/{{ acc.id }}/">Delete</a>
    {% if acc.service.provide_login %}
    &nbsp;/&nbsp;<a href="/profile/login/service/{{ acc.id }}/">Login</a>
    {% endif %}
{'fraction_non_alphanumeric': 0.23570595099183198, 'fraction_numerical': 0.004667444574095682, 'mean_word_length': 4.119402985074627, 'pattern_counts': {'":': 0, '<': 85, '<?xml version=': 0, '>': 87, 'https://': 0, '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': '4516962', 'n_tokens_mistral': 674, 'n_tokens_neox': 618, 'n_words': 159}