Evan Pratten 2024-03-17 00:51:37 +09:00 zatwierdzone przez GitHub
commit 9e2db88d7a
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
6 zmienionych plików z 18 dodań i 1 usunięć

Wyświetl plik

@ -12,7 +12,9 @@
<img src="{{ identity.local_icon_url.relative }}"> <img src="{{ identity.local_icon_url.relative }}">
<span class="handle"> <span class="handle">
{{ identity.html_name_or_handle }} {{ identity.html_name_or_handle }}
<!--email_off-->
<small>@{{ identity.handle }}</small> <small>@{{ identity.handle }}</small>
<!--/email_off-->
</span> </span>
<button class="right secondary" _="on click go to url {{ identity.urls.view }} then halt">View</button> <button class="right secondary" _="on click go to url {{ identity.urls.view }} then halt">View</button>
<button class="right secondary" _="on click go to url {{ identity.urls.settings }} then halt">Settings</button> <button class="right secondary" _="on click go to url {{ identity.urls.settings }} then halt">Settings</button>

Wyświetl plik

@ -35,7 +35,9 @@
<td class="name"> <td class="name">
<a href="{{ identity.urls.admin_edit }}?page={{ page_obj.number }}" class="overlay"></a> <a href="{{ identity.urls.admin_edit }}?page={{ page_obj.number }}" class="overlay"></a>
{{ identity.html_name_or_handle }} {{ identity.html_name_or_handle }}
<!--email_off-->
<small>@{{ identity.handle }}</small> <small>@{{ identity.handle }}</small>
<!--/email_off-->
</td> </td>
<td> <td>
{% if identity.restriction == 1 %} {% if identity.restriction == 1 %}

Wyświetl plik

@ -3,7 +3,12 @@
{% block subtitle %}{{ identity.name_or_handle }}{% endblock %} {% block subtitle %}{{ identity.name_or_handle }}{% endblock %}
{% block settings_content %} {% block settings_content %}
<h1>{{ identity.html_name_or_handle }} <small>{{ identity.handle }}</small></h1> <h1>
{{ identity.html_name_or_handle }}
<!--email_off-->
<small>@{{ identity.handle }}</small>
<!--/email_off-->
</h1>
<form action="." method="POST"> <form action="." method="POST">
{% csrf_token %} {% csrf_token %}
<fieldset> <fieldset>

Wyświetl plik

@ -44,6 +44,7 @@
</div> </div>
<h1>{{ identity.html_name_or_handle }}</h1> <h1>{{ identity.html_name_or_handle }}</h1>
<!--email_off-->
<small> <small>
@{{ identity.handle }} @{{ identity.handle }}
<a title="Copy handle" <a title="Copy handle"
@ -57,6 +58,7 @@
<i class="fa-solid fa-copy"></i> <i class="fa-solid fa-copy"></i>
</a> </a>
</small> </small>
<!--/email_off-->
{% if identity.summary %} {% if identity.summary %}
<div class="bio"> <div class="bio">
{{ identity.safe_summary }} {{ identity.safe_summary }}

Wyświetl plik

@ -3,7 +3,9 @@
{% block subtitle %}Token{% endblock %} {% block subtitle %}Token{% endblock %}
{% block settings_content %} {% block settings_content %}
<!--email_off-->
<h1>Deleting {{ identity.handle }}</h1> <h1>Deleting {{ identity.handle }}</h1>
<!--/email_off-->
<form action="." method="POST"> <form action="." method="POST">
{% csrf_token %} {% csrf_token %}
<fieldset> <fieldset>
@ -25,7 +27,9 @@
<div class="buttons"> <div class="buttons">
<a href="{% url "settings" handle=identity.handle %}" class="button secondary left">Cancel</a> <a href="{% url "settings" handle=identity.handle %}" class="button secondary left">Cancel</a>
<!--email_off-->
<button class="danger">Delete {{ identity.handle }}</button> <button class="danger">Delete {{ identity.handle }}</button>
<!--/email_off-->
</div> </div>
</form> </form>
{% endblock %} {% endblock %}

Wyświetl plik

@ -30,7 +30,9 @@
<td class="name"> <td class="name">
<a href="{{ other_identity.urls.view }}" class="overlay"></a> <a href="{{ other_identity.urls.view }}" class="overlay"></a>
{{ other_identity.html_name_or_handle }} {{ other_identity.html_name_or_handle }}
<!--email_off-->
<small>@{{ other_identity.handle }}</small> <small>@{{ other_identity.handle }}</small>
<!--/email_off-->
</td> </td>
<td class="stat"> <td class="stat">
{% if other_identity.id in outbound_ids %} {% if other_identity.id in outbound_ids %}