Some slight adjustments to the sessions page.
This commit is contained in:
parent
1be7ac8904
commit
bbaddbeacd
2 changed files with 8 additions and 1 deletions
|
@ -57,6 +57,10 @@
|
|||
flex-grow: 1;
|
||||
}
|
||||
|
||||
&--ip {
|
||||
min-width: 200px;
|
||||
}
|
||||
|
||||
&--created,
|
||||
&--expires {
|
||||
min-width: 120px;
|
||||
|
|
|
@ -9,7 +9,10 @@
|
|||
IP
|
||||
</div>
|
||||
<div class="mio__settings__sessions__column__value">
|
||||
{{ session.session_ip.string }} <img class="mio__settings__sessions__country" src="https://static.flash.moe/flags/fff/{{ session.session_country|lower }}.png" alt="{{ session.session_country }}" title="{{ session.session_country|country_name }}">
|
||||
{{ session.session_ip.string }}
|
||||
{% if session.session_country != 'XX' %}
|
||||
<img class="mio__settings__sessions__country" src="https://static.flash.moe/flags/fff/{{ session.session_country|lower }}.png" alt="{{ session.session_country }}" title="{{ session.session_country|country_name }}">
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="mio__settings__sessions__column mio__settings__sessions__column--created" onmouseenter="this.children[1].textContent = '{{ session.created_at }}';" onmouseleave="this.children[1].textContent = '{{ session.created_at.diffForHumans }}';">
|
||||
|
|
Loading…
Reference in a new issue