Improve professionalism by removing color

This commit is contained in:
Mark Veidemanis 2022-12-08 07:20:46 +00:00
parent cf4b8a0195
commit d1c44cee92
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
24 changed files with 101 additions and 101 deletions

View File

@ -278,10 +278,10 @@
<div class="navbar-item"> <div class="navbar-item">
<div class="buttons"> <div class="buttons">
{% if not user.is_authenticated %} {% if not user.is_authenticated %}
<a class="button is-info" href="{% url 'signup' %}"> <a class="button" href="{% url 'signup' %}">
<strong>Sign up</strong> <strong>Sign up</strong>
</a> </a>
<a class="button is-light" href="{% url 'two_factor:login' %}"> <a class="button" href="{% url 'two_factor:login' %}">
Log in Log in
</a> </a>
{% endif %} {% endif %}

View File

@ -1,6 +1,6 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block content %} {% block content %}
<article class="panel is-info"> <article class="panel">
<p class="panel-heading"> <p class="panel-heading">
User information User information
</p> </p>
@ -8,14 +8,14 @@
<span class="panel-icon"> <span class="panel-icon">
<i class="fas fa-id-card" aria-hidden="true"></i> <i class="fas fa-id-card" aria-hidden="true"></i>
</span> </span>
<span class="tag is-info">{{ user.first_name }} {{ user.last_name }}</span> <span class="tag">{{ user.first_name }} {{ user.last_name }}</span>
</a> </a>
<a class="panel-block"> <a class="panel-block">
<span class="panel-icon"> <span class="panel-icon">
<i class="fas fa-binary" aria-hidden="true"></i> <i class="fas fa-binary" aria-hidden="true"></i>
</span> </span>
{% for plan in user.plans.all %} {% for plan in user.plans.all %}
<span class="tag is-info">{{ plan.name }}</span> <span class="tag">{{ plan.name }}</span>
{% endfor %} {% endfor %}
</a> </a>
<a class="panel-block"> <a class="panel-block">

View File

@ -44,7 +44,7 @@
hx-trigger="click" hx-trigger="click"
hx-target="#{{ type }}s-here" hx-target="#{{ type }}s-here"
hx-swap="innerHTML" hx-swap="innerHTML"
class="button is-info"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon"> <span class="icon">
<i class="fa-solid fa-pencil"></i> <i class="fa-solid fa-pencil"></i>
@ -58,16 +58,16 @@
hx-target="#modals-here" hx-target="#modals-here"
hx-swap="innerHTML" hx-swap="innerHTML"
hx-confirm="Are you sure you wish to delete {{ item.name }}?" hx-confirm="Are you sure you wish to delete {{ item.name }}?"
class="button is-danger"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon"> <span class="icon">
<i class="fa-solid fa-trash"></i> <i class="fa-solid fa-xmark"></i>
</span> </span>
</span> </span>
</button> </button>
{% if type == 'page' %} {% if type == 'page' %}
<a href="{% url 'account_info' type=type pk=item.id %}"><button <a href="{% url 'account_info' type=type pk=item.id %}"><button
class="button is-success"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon"> <span class="icon">
<i class="fa-solid fa-eye"></i> <i class="fa-solid fa-eye"></i>
@ -82,7 +82,7 @@
hx-trigger="click" hx-trigger="click"
hx-target="#{{ type }}s-here" hx-target="#{{ type }}s-here"
hx-swap="innerHTML" hx-swap="innerHTML"
class="button is-success"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon"> <span class="icon">
<i class="fa-solid fa-eye"></i> <i class="fa-solid fa-eye"></i>

View File

@ -30,7 +30,7 @@
hx-trigger="click" hx-trigger="click"
hx-target="#{{ type }}s-here" hx-target="#{{ type }}s-here"
hx-swap="innerHTML" hx-swap="innerHTML"
class="button is-info"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon"> <span class="icon">
<i class="fa-solid fa-pencil"></i> <i class="fa-solid fa-pencil"></i>
@ -44,16 +44,16 @@
hx-target="#modals-here" hx-target="#modals-here"
hx-swap="innerHTML" hx-swap="innerHTML"
hx-confirm="Are you sure you wish to delete {{ item.name }}?" hx-confirm="Are you sure you wish to delete {{ item.name }}?"
class="button is-danger"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon"> <span class="icon">
<i class="fa-solid fa-trash"></i> <i class="fa-solid fa-xmark"></i>
</span> </span>
</span> </span>
</button> </button>
{% if type == 'page' %} {% if type == 'page' %}
<a href="{% url 'callbacks' type='page' object_type='hook' object_id=item.id %}"><button <a href="{% url 'callbacks' type='page' object_type='hook' object_id=item.id %}"><button
class="button is-success"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon"> <span class="icon">
<i class="fa-solid fa-eye"></i> <i class="fa-solid fa-eye"></i>
@ -68,7 +68,7 @@
hx-trigger="click" hx-trigger="click"
hx-target="#{{ type }}s-here" hx-target="#{{ type }}s-here"
hx-swap="innerHTML" hx-swap="innerHTML"
class="button is-success"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon"> <span class="icon">
<i class="fa-solid fa-eye"></i> <i class="fa-solid fa-eye"></i>

View File

@ -47,7 +47,7 @@
hx-get="#" hx-get="#"
hx-trigger="click" hx-trigger="click"
hx-target="#{{ type }}s-here" hx-target="#{{ type }}s-here"
class="button is-info"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon"> <span class="icon">
<i class="fa-solid fa-pencil"></i> <i class="fa-solid fa-pencil"></i>
@ -61,17 +61,17 @@
hx-target="#notification" hx-target="#notification"
hx-swap="outerHTML" hx-swap="outerHTML"
hx-confirm="Are you sure you wish to close {{ item.symbol }}?" hx-confirm="Are you sure you wish to close {{ item.symbol }}?"
class="button is-danger"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon"> <span class="icon">
<i class="fa-solid fa-trash"></i> <i class="fa-solid fa-xmark"></i>
</span> </span>
</span> </span>
</button> </button>
{% if type == 'page' %} {% if type == 'page' %}
<a href="{% url 'position_action' type=type account_id=item.account_id symbol=item.symbol %}"> <a href="{% url 'position_action' type=type account_id=item.account_id symbol=item.symbol %}">
<button <button
class="button is-success"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon"> <span class="icon">
<i class="fa-solid fa-eye"></i> <i class="fa-solid fa-eye"></i>
@ -86,7 +86,7 @@
hx-trigger="click" hx-trigger="click"
hx-target="#{{ type }}s-here" hx-target="#{{ type }}s-here"
hx-swap="innerHTML" hx-swap="innerHTML"
class="button is-success"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon"> <span class="icon">
<i class="fa-solid fa-eye"></i> <i class="fa-solid fa-eye"></i>

View File

@ -45,7 +45,7 @@
hx-trigger="click" hx-trigger="click"
hx-target="#{{ type }}s-here" hx-target="#{{ type }}s-here"
hx-swap="innerHTML" hx-swap="innerHTML"
class="button is-info"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon"> <span class="icon">
<i class="fa-solid fa-pencil"></i> <i class="fa-solid fa-pencil"></i>
@ -59,16 +59,16 @@
hx-target="#modals-here" hx-target="#modals-here"
hx-swap="innerHTML" hx-swap="innerHTML"
hx-confirm="Are you sure you wish to delete {{ item.name }}?" hx-confirm="Are you sure you wish to delete {{ item.name }}?"
class="button is-danger"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon"> <span class="icon">
<i class="fa-solid fa-trash"></i> <i class="fa-solid fa-xmark"></i>
</span> </span>
</span> </span>
</button> </button>
{% if type == 'page' %} {% if type == 'page' %}
<a href="{% url 'callbacks' type='page' object_type='signal' object_id=item.id %}"><button <a href="{% url 'callbacks' type='page' object_type='signal' object_id=item.id %}"><button
class="button is-success"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon"> <span class="icon">
<i class="fa-solid fa-eye"></i> <i class="fa-solid fa-eye"></i>
@ -83,7 +83,7 @@
hx-trigger="click" hx-trigger="click"
hx-target="#{{ type }}s-here" hx-target="#{{ type }}s-here"
hx-swap="innerHTML" hx-swap="innerHTML"
class="button is-success"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon"> <span class="icon">
<i class="fa-solid fa-eye"></i> <i class="fa-solid fa-eye"></i>

View File

@ -44,7 +44,7 @@
hx-trigger="click" hx-trigger="click"
hx-target="#{{ type }}s-here" hx-target="#{{ type }}s-here"
hx-swap="innerHTML" hx-swap="innerHTML"
class="button is-info"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon"> <span class="icon">
<i class="fa-solid fa-pencil"></i> <i class="fa-solid fa-pencil"></i>
@ -58,16 +58,16 @@
hx-target="#modals-here" hx-target="#modals-here"
hx-swap="innerHTML" hx-swap="innerHTML"
hx-confirm="Are you sure you wish to delete {{ item.name }}?" hx-confirm="Are you sure you wish to delete {{ item.name }}?"
class="button is-danger"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon"> <span class="icon">
<i class="fa-solid fa-trash"></i> <i class="fa-solid fa-xmark"></i>
</span> </span>
</span> </span>
</button> </button>
<!-- {% if type == 'page' %} <!-- {% if type == 'page' %}
<a href="#"><button <a href="#"><button
class="button is-success"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon"> <span class="icon">
<i class="fa-solid fa-eye"></i> <i class="fa-solid fa-eye"></i>
@ -82,7 +82,7 @@
hx-trigger="click" hx-trigger="click"
hx-target="#{{ type }}s-here" hx-target="#{{ type }}s-here"
hx-swap="innerHTML" hx-swap="innerHTML"
class="button is-success"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon"> <span class="icon">
<i class="fa-solid fa-eye"></i> <i class="fa-solid fa-eye"></i>

View File

@ -38,7 +38,7 @@
hx-trigger="click" hx-trigger="click"
hx-target="#{{ type }}s-here" hx-target="#{{ type }}s-here"
hx-swap="innerHTML" hx-swap="innerHTML"
class="button is-info"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon"> <span class="icon">
<i class="fa-solid fa-pencil"></i> <i class="fa-solid fa-pencil"></i>
@ -51,17 +51,17 @@
hx-trigger="click" hx-trigger="click"
hx-target="#modals-here" hx-target="#modals-here"
hx-swap="innerHTML" hx-swap="innerHTML"
class="button is-danger"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon"> <span class="icon">
<i class="fa-solid fa-trash"></i> <i class="fa-solid fa-xmark"></i>
</span> </span>
</span> </span>
</button> </button>
{% if type == 'page' %} {% if type == 'page' %}
<a href="{% url 'trade_action' type=type trade_id=item.id %}"> <a href="{% url 'trade_action' type=type trade_id=item.id %}">
<button <button
class="button is-success"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon"> <span class="icon">
<i class="fa-solid fa-eye"></i> <i class="fa-solid fa-eye"></i>
@ -76,7 +76,7 @@
hx-trigger="click" hx-trigger="click"
hx-target="#{{ type }}s-here" hx-target="#{{ type }}s-here"
hx-swap="innerHTML" hx-swap="innerHTML"
class="button is-success"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon"> <span class="icon">
<i class="fa-solid fa-eye"></i> <i class="fa-solid fa-eye"></i>

View File

@ -32,7 +32,7 @@
hx-trigger="click" hx-trigger="click"
hx-target="#{{ type }}s-here" hx-target="#{{ type }}s-here"
hx-swap="innerHTML" hx-swap="innerHTML"
class="button is-info"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon"> <span class="icon">
<i class="fa-solid fa-pencil"></i> <i class="fa-solid fa-pencil"></i>
@ -46,10 +46,10 @@
hx-target="#modals-here" hx-target="#modals-here"
hx-swap="innerHTML" hx-swap="innerHTML"
hx-confirm="Are you sure you wish to delete {{ item.name }}?" hx-confirm="Are you sure you wish to delete {{ item.name }}?"
class="button is-danger"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon"> <span class="icon">
<i class="fa-solid fa-trash"></i> <i class="fa-solid fa-xmark"></i>
</span> </span>
</span> </span>
</button> </button>

View File

@ -12,7 +12,7 @@
{% csrf_token %} {% csrf_token %}
{{ form|crispy }} {{ form|crispy }}
<div class="field"> <div class="field">
<button class="button is-success"> <button class="button">
Login Login
</button> </button>
</div> </div>

View File

@ -12,7 +12,7 @@
{% csrf_token %} {% csrf_token %}
{{ form|crispy }} {{ form|crispy }}
<div class="field"> <div class="field">
<button class="button is-success"> <button class="button">
Sign up Sign up
</button> </button>
</div> </div>

View File

@ -8,9 +8,9 @@
{% if wizard.steps.prev %} {% if wizard.steps.prev %}
<button name="wizard_goto_step" type="submit" <button name="wizard_goto_step" type="submit"
value="{{ wizard.steps.prev }}" value="{{ wizard.steps.prev }}"
class="button is-info">{% trans "Back" %}</button> class="button">{% trans "Back" %}</button>
{% else %} {% else %}
<button disabled name="" type="button" class="button is-info">{% trans "Back" %}</button> <button disabled name="" type="button" class="button">{% trans "Back" %}</button>
{% endif %} {% endif %}
<button type="submit" class="button is-success">{% trans "Next" %}</button> <button type="submit" class="button">{% trans "Next" %}</button>
</div> </div>

View File

@ -22,7 +22,7 @@
<form method="post">{% csrf_token %}{{ form }} <form method="post">{% csrf_token %}{{ form }}
<a href="{% url 'two_factor:profile'%}" <a href="{% url 'two_factor:profile'%}"
class="float-right button is-info">{% trans "Back to Account Security" %}</a> class="float-right button">{% trans "Back to Account Security" %}</a>
<button class="button is-success" type="submit">{% trans "Generate Tokens" %}</button> <button class="button" type="submit">{% trans "Generate Tokens" %}</button>
</form> </form>
{% endblock %} {% endblock %}

View File

@ -34,7 +34,7 @@
<p class="subtitle"> <p class="subtitle">
{% for other in other_devices %} {% for other in other_devices %}
<button name="challenge_device" value="{{ other.persistent_id }}" <button name="challenge_device" value="{{ other.persistent_id }}"
class="button is-success" type="submit"> class="button" type="submit">
{{ other.generate_challenge_button_title }} {{ other.generate_challenge_button_title }}
</button> </button>
{% endfor %}</p> {% endfor %}</p>
@ -43,7 +43,7 @@
<p class="subtitle">{% trans "As a last resort, you can use a backup token:" %}</p> <p class="subtitle">{% trans "As a last resort, you can use a backup token:" %}</p>
<p class="subtitle"> <p class="subtitle">
<button name="wizard_goto_step" type="submit" value="backup" <button name="wizard_goto_step" type="submit" value="backup"
class="button is-success">{% trans "Use Backup Token" %}</button> class="button">{% trans "Use Backup Token" %}</button>
</p> </p>
{% endif %} {% endif %}

View File

@ -14,8 +14,8 @@
<div class="buttons"> <div class="buttons">
<a href="javascript:history.go(-1)" <a href="javascript:history.go(-1)"
class="float-right button is-info">{% trans "Go back" %}</a> class="float-right button">{% trans "Go back" %}</a>
<a href="{% url 'two_factor:setup' %}" class="button is-success"> <a href="{% url 'two_factor:setup' %}" class="button">
{% trans "Enable Two-Factor Authentication" %}</a> {% trans "Enable Two-Factor Authentication" %}</a>
</div> </div>

View File

@ -18,7 +18,7 @@
<a href="{% url 'two_factor:profile' %}" <a href="{% url 'two_factor:profile' %}"
class="float-right button">{% trans "Back to Account Security" %}</a> class="float-right button">{% trans "Back to Account Security" %}</a>
<p class="subtitle"><a href="{% url 'two_factor:phone_create' %}" <p class="subtitle"><a href="{% url 'two_factor:phone_create' %}"
class="button is-success">{% trans "Add Phone Number" %}</a></p> class="button">{% trans "Add Phone Number" %}</a></p>
{% endif %} {% endif %}
{% endblock %} {% endblock %}

View File

@ -8,7 +8,7 @@
<form method="post"> <form method="post">
{% csrf_token %} {% csrf_token %}
<table>{{ form }}</table> <table>{{ form }}</table>
<button class="button is-danger" <button class="button"
type="submit">{% trans "Disable" %}</button> type="submit">{% trans "Disable" %}</button>
</form> </form>
{% endblock %} {% endblock %}

View File

@ -31,7 +31,7 @@
{% endfor %} {% endfor %}
</ul> </ul>
<p class="subtitle"><a href="{% url 'two_factor:phone_create' %}" <p class="subtitle"><a href="{% url 'two_factor:phone_create' %}"
class="button is-info">{% trans "Add Phone Number" %}</a></p> class="button">{% trans "Add Phone Number" %}</a></p>
{% endif %} {% endif %}
<h2 class="title is-4">{% trans "Backup Tokens" %}</h2> <h2 class="title is-4">{% trans "Backup Tokens" %}</h2>
@ -45,18 +45,18 @@
{% endblocktrans %} {% endblocktrans %}
</p> </p>
<p class="subtitle"><a href="{% url 'two_factor:backup_tokens' %}" <p class="subtitle"><a href="{% url 'two_factor:backup_tokens' %}"
class="button is-info">{% trans "Show Codes" %}</a></p> class="button">{% trans "Show Codes" %}</a></p>
<h3 class="title is-5">{% trans "Disable Two-Factor Authentication" %}</h3> <h3 class="title is-5">{% trans "Disable Two-Factor Authentication" %}</h3>
<p class="subtitle">{% blocktrans trimmed %}However we strongly discourage you to do so, you can <p class="subtitle">{% blocktrans trimmed %}However we strongly discourage you to do so, you can
also disable two-factor authentication for your account.{% endblocktrans %}</p> also disable two-factor authentication for your account.{% endblocktrans %}</p>
<p class="subtitle"><a class="button is-info" href="{% url 'two_factor:disable' %}"> <p class="subtitle"><a class="button" href="{% url 'two_factor:disable' %}">
{% trans "Disable Two-Factor Authentication" %}</a></p> {% trans "Disable Two-Factor Authentication" %}</a></p>
{% else %} {% else %}
<p class="subtitle">{% blocktrans trimmed %}Two-factor authentication is not enabled for your <p class="subtitle">{% blocktrans trimmed %}Two-factor authentication is not enabled for your
account. Enable two-factor authentication for enhanced account account. Enable two-factor authentication for enhanced account
security.{% endblocktrans %}</p> security.{% endblocktrans %}</p>
<p class="subtitle"><a href="{% url 'two_factor:setup' %}" class="button is-success"> <p class="subtitle"><a href="{% url 'two_factor:setup' %}" class="button">
{% trans "Enable Two-Factor Authentication" %}</a> {% trans "Enable Two-Factor Authentication" %}</a>
</p> </p>
{% endif %} {% endif %}

View File

@ -8,7 +8,7 @@
hx-target="#modals-here" hx-target="#modals-here"
hx-swap="innerHTML" hx-swap="innerHTML"
hx-confirm="Are you sure you wish to close all positions?" hx-confirm="Are you sure you wish to close all positions?"
class="button is-danger is-fullwidth"> class="button is-fullwidth">
<span class="icon-text"> <span class="icon-text">
<span class="icon"> <span class="icon">
<i class="fa-solid fa-xmark"></i> <i class="fa-solid fa-xmark"></i>
@ -25,7 +25,7 @@
hx-target="#modals-here" hx-target="#modals-here"
hx-swap="innerHTML" hx-swap="innerHTML"
hx-confirm="Are you sure you wish to close all profitable positions?" hx-confirm="Are you sure you wish to close all profitable positions?"
class="button is-success is-fullwidth"> class="button is-fullwidth">
<span class="icon-text"> <span class="icon-text">
<span class="icon"> <span class="icon">
<i class="fa-solid fa-xmark"></i> <i class="fa-solid fa-xmark"></i>
@ -42,7 +42,7 @@
hx-target="#modals-here" hx-target="#modals-here"
hx-swap="innerHTML" hx-swap="innerHTML"
hx-confirm="Are you sure you wish to close all losing positions?" hx-confirm="Are you sure you wish to close all losing positions?"
class="button is-danger is-fullwidth"> class="button is-fullwidth">
<span class="icon-text"> <span class="icon-text">
<span class="icon"> <span class="icon">
<i class="fa-solid fa-xmark"></i> <i class="fa-solid fa-xmark"></i>
@ -63,7 +63,7 @@
hx-target="#modals-here" hx-target="#modals-here"
hx-swap="innerHTML" hx-swap="innerHTML"
hx-confirm="Are you sure you wish set all the SLs for profitable positions to the entry price, and all the TPs for losing positions to the entry price" hx-confirm="Are you sure you wish set all the SLs for profitable positions to the entry price, and all the TPs for losing positions to the entry price"
class="button is-info is-fullwidth"> class="button is-fullwidth">
<span class="icon-text"> <span class="icon-text">
<span class="icon"> <span class="icon">
<i class="fa-solid fa-xmark"></i> <i class="fa-solid fa-xmark"></i>
@ -80,7 +80,7 @@
hx-target="#modals-here" hx-target="#modals-here"
hx-swap="innerHTML" hx-swap="innerHTML"
hx-confirm="Are you sure you wish set all the SLs for profitable positions to the entry price?" hx-confirm="Are you sure you wish set all the SLs for profitable positions to the entry price?"
class="button is-success is-fullwidth"> class="button is-fullwidth">
<span class="icon-text"> <span class="icon-text">
<span class="icon"> <span class="icon">
<i class="fa-solid fa-xmark"></i> <i class="fa-solid fa-xmark"></i>

View File

@ -12,7 +12,7 @@
hx-get="{% url 'hooks' type='modal' %}" hx-get="{% url 'hooks' type='modal' %}"
hx-trigger="click" hx-trigger="click"
hx-target="#modals-here" hx-target="#modals-here"
class="button is-info"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon" data-tooltip="Modal"> <span class="icon" data-tooltip="Modal">
<i class="fa-solid fa-window-maximize"></i> <i class="fa-solid fa-window-maximize"></i>
@ -24,7 +24,7 @@
hx-get="{% url 'hooks' type='widget' %}" hx-get="{% url 'hooks' type='widget' %}"
hx-trigger="click" hx-trigger="click"
hx-target="#widgets-here" hx-target="#widgets-here"
class="button is-info"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon" data-tooltip="Widget"> <span class="icon" data-tooltip="Widget">
<i class="fa-solid fa-sidebar"></i> <i class="fa-solid fa-sidebar"></i>
@ -37,7 +37,7 @@
hx-trigger="click" hx-trigger="click"
hx-target="#windows-here" hx-target="#windows-here"
hx-swap="afterend" hx-swap="afterend"
class="button is-info"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon" data-tooltip="Window"> <span class="icon" data-tooltip="Window">
<i class="fa-solid fa-window-restore"></i> <i class="fa-solid fa-window-restore"></i>
@ -54,7 +54,7 @@
hx-get="{% url 'callbacks' type='modal' %}" hx-get="{% url 'callbacks' type='modal' %}"
hx-trigger="click" hx-trigger="click"
hx-target="#modals-here" hx-target="#modals-here"
class="button is-info"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon" data-tooltip="Modal"> <span class="icon" data-tooltip="Modal">
<i class="fa-solid fa-window-maximize"></i> <i class="fa-solid fa-window-maximize"></i>
@ -66,7 +66,7 @@
hx-get="{% url 'callbacks' type='widget' %}" hx-get="{% url 'callbacks' type='widget' %}"
hx-trigger="click" hx-trigger="click"
hx-target="#widgets-here" hx-target="#widgets-here"
class="button is-info"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon" data-tooltip="Widget"> <span class="icon" data-tooltip="Widget">
<i class="fa-solid fa-sidebar"></i> <i class="fa-solid fa-sidebar"></i>
@ -79,7 +79,7 @@
hx-trigger="click" hx-trigger="click"
hx-target="#windows-here" hx-target="#windows-here"
hx-swap="afterend" hx-swap="afterend"
class="button is-info"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon" data-tooltip="Window"> <span class="icon" data-tooltip="Window">
<i class="fa-solid fa-window-restore"></i> <i class="fa-solid fa-window-restore"></i>
@ -96,7 +96,7 @@
hx-get="{% url 'accounts' type='modal' %}" hx-get="{% url 'accounts' type='modal' %}"
hx-trigger="click" hx-trigger="click"
hx-target="#modals-here" hx-target="#modals-here"
class="button is-info"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon" data-tooltip="Modal"> <span class="icon" data-tooltip="Modal">
<i class="fa-solid fa-window-maximize"></i> <i class="fa-solid fa-window-maximize"></i>
@ -108,7 +108,7 @@
hx-get="{% url 'accounts' type='widget' %}" hx-get="{% url 'accounts' type='widget' %}"
hx-trigger="click" hx-trigger="click"
hx-target="#widgets-here" hx-target="#widgets-here"
class="button is-info"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon" data-tooltip="Widget"> <span class="icon" data-tooltip="Widget">
<i class="fa-solid fa-sidebar"></i> <i class="fa-solid fa-sidebar"></i>
@ -121,7 +121,7 @@
hx-trigger="click" hx-trigger="click"
hx-target="#windows-here" hx-target="#windows-here"
hx-swap="afterend" hx-swap="afterend"
class="button is-info"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon" data-tooltip="Window"> <span class="icon" data-tooltip="Window">
<i class="fa-solid fa-window-restore"></i> <i class="fa-solid fa-window-restore"></i>
@ -138,7 +138,7 @@
hx-get="{% url 'trades' type='modal' %}" hx-get="{% url 'trades' type='modal' %}"
hx-trigger="click" hx-trigger="click"
hx-target="#modals-here" hx-target="#modals-here"
class="button is-info"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon" data-tooltip="Modal"> <span class="icon" data-tooltip="Modal">
<i class="fa-solid fa-window-maximize"></i> <i class="fa-solid fa-window-maximize"></i>
@ -150,7 +150,7 @@
hx-get="{% url 'trades' type='widget' %}" hx-get="{% url 'trades' type='widget' %}"
hx-trigger="click" hx-trigger="click"
hx-target="#widgets-here" hx-target="#widgets-here"
class="button is-info"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon" data-tooltip="Widget"> <span class="icon" data-tooltip="Widget">
<i class="fa-solid fa-sidebar"></i> <i class="fa-solid fa-sidebar"></i>
@ -163,7 +163,7 @@
hx-trigger="click" hx-trigger="click"
hx-target="#windows-here" hx-target="#windows-here"
hx-swap="afterend" hx-swap="afterend"
class="button is-info"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon" data-tooltip="Window"> <span class="icon" data-tooltip="Window">
<i class="fa-solid fa-window-restore"></i> <i class="fa-solid fa-window-restore"></i>
@ -180,7 +180,7 @@
hx-get="{% url 'positions' type='modal' %}" hx-get="{% url 'positions' type='modal' %}"
hx-trigger="click" hx-trigger="click"
hx-target="#modals-here" hx-target="#modals-here"
class="button is-info"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon" data-tooltip="Modal"> <span class="icon" data-tooltip="Modal">
<i class="fa-solid fa-window-maximize"></i> <i class="fa-solid fa-window-maximize"></i>
@ -192,7 +192,7 @@
hx-get="{% url 'positions' type='widget' %}" hx-get="{% url 'positions' type='widget' %}"
hx-trigger="click" hx-trigger="click"
hx-target="#widgets-here" hx-target="#widgets-here"
class="button is-info"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon" data-tooltip="Widget"> <span class="icon" data-tooltip="Widget">
<i class="fa-solid fa-sidebar"></i> <i class="fa-solid fa-sidebar"></i>
@ -205,7 +205,7 @@
hx-trigger="click" hx-trigger="click"
hx-target="#windows-here" hx-target="#windows-here"
hx-swap="afterend" hx-swap="afterend"
class="button is-info"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon" data-tooltip="Window"> <span class="icon" data-tooltip="Window">
<i class="fa-solid fa-window-restore"></i> <i class="fa-solid fa-window-restore"></i>
@ -222,7 +222,7 @@
hx-get="{% url 'strategies' type='modal' %}" hx-get="{% url 'strategies' type='modal' %}"
hx-trigger="click" hx-trigger="click"
hx-target="#modals-here" hx-target="#modals-here"
class="button is-info"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon" data-tooltip="Modal"> <span class="icon" data-tooltip="Modal">
<i class="fa-solid fa-window-maximize"></i> <i class="fa-solid fa-window-maximize"></i>
@ -234,7 +234,7 @@
hx-get="{% url 'strategies' type='widget' %}" hx-get="{% url 'strategies' type='widget' %}"
hx-trigger="click" hx-trigger="click"
hx-target="#widgets-here" hx-target="#widgets-here"
class="button is-info"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon" data-tooltip="Widget"> <span class="icon" data-tooltip="Widget">
<i class="fa-solid fa-sidebar"></i> <i class="fa-solid fa-sidebar"></i>
@ -247,7 +247,7 @@
hx-trigger="click" hx-trigger="click"
hx-target="#windows-here" hx-target="#windows-here"
hx-swap="afterend" hx-swap="afterend"
class="button is-info"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon" data-tooltip="Window"> <span class="icon" data-tooltip="Window">
<i class="fa-solid fa-window-restore"></i> <i class="fa-solid fa-window-restore"></i>

View File

@ -15,7 +15,7 @@
class="button is-light modal-close-button"> class="button is-light modal-close-button">
Cancel Cancel
</button> </button>
<button type="submit" class="button is-info modal-close-button">Submit</button> <button type="submit" class="button modal-close-button">Submit</button>
</form> </form>

View File

@ -13,7 +13,7 @@
hx-get="{{ submit_url }}" hx-get="{{ submit_url }}"
hx-trigger="click" hx-trigger="click"
hx-target="#modals-here" hx-target="#modals-here"
class="button is-info"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon"> <span class="icon">
<i class="fa-solid fa-plus"></i> <i class="fa-solid fa-plus"></i>
@ -30,7 +30,7 @@
hx-target="#modals-here" hx-target="#modals-here"
hx-swap="innerHTML" hx-swap="innerHTML"
hx-confirm="Are you sure you wish to delete all {{ context_object_name }}?" hx-confirm="Are you sure you wish to delete all {{ context_object_name }}?"
class="button is-info"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon"> <span class="icon">
<i class="fa-solid fa-xmark"></i> <i class="fa-solid fa-xmark"></i>

View File

@ -13,7 +13,7 @@
hx-get="{{ submit_url }}" hx-get="{{ submit_url }}"
hx-trigger="click" hx-trigger="click"
hx-target="#modals-here" hx-target="#modals-here"
class="button is-info"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon"> <span class="icon">
<i class="fa-solid fa-plus"></i> <i class="fa-solid fa-plus"></i>
@ -30,7 +30,7 @@
hx-target="#modals-here" hx-target="#modals-here"
hx-swap="innerHTML" hx-swap="innerHTML"
hx-confirm="Are you sure you wish to delete all {{ context_object_name }}?" hx-confirm="Are you sure you wish to delete all {{ context_object_name }}?"
class="button is-info"> class="button">
<span class="icon-text"> <span class="icon-text">
<span class="icon"> <span class="icon">
<i class="fa-solid fa-xmark"></i> <i class="fa-solid fa-xmark"></i>

View File

@ -14,7 +14,7 @@
hx-get="#" hx-get="#"
hx-trigger="click" hx-trigger="click"
hx-target="#modals-here" hx-target="#modals-here"
class="button is-info is-small"> class="button is-small">
<span class="icon-text"> <span class="icon-text">
<span class="icon" data-tooltip="TP and SL for all in %"> <span class="icon" data-tooltip="TP and SL for all in %">
<i class="fa-solid fa-percent"></i> <i class="fa-solid fa-percent"></i>
@ -26,7 +26,7 @@
hx-get="#" hx-get="#"
hx-trigger="click" hx-trigger="click"
hx-target="#modals-here" hx-target="#modals-here"
class="button is-info is-small"> class="button is-small">
<span class="icon-text"> <span class="icon-text">
<span class="icon" data-tooltip="TP and SL for all from current price in %"> <span class="icon" data-tooltip="TP and SL for all from current price in %">
<i class="fa-solid fa-money-bill"></i> <i class="fa-solid fa-money-bill"></i>
@ -40,7 +40,7 @@
hx-get="#" hx-get="#"
hx-trigger="click" hx-trigger="click"
hx-target="#modals-here" hx-target="#modals-here"
class="button is-success is-small"> class="button is-small">
<span class="icon-text"> <span class="icon-text">
<span class="icon" data-tooltip="TP and SL for winners in %"> <span class="icon" data-tooltip="TP and SL for winners in %">
<i class="fa-solid fa-percent"></i> <i class="fa-solid fa-percent"></i>
@ -52,7 +52,7 @@
hx-get="#" hx-get="#"
hx-trigger="click" hx-trigger="click"
hx-target="#modals-here" hx-target="#modals-here"
class="button is-success is-small"> class="button is-small">
<span class="icon-text"> <span class="icon-text">
<span class="icon" data-tooltip="TP and SL for winners from current price in %"> <span class="icon" data-tooltip="TP and SL for winners from current price in %">
<i class="fa-solid fa-money-bill"></i> <i class="fa-solid fa-money-bill"></i>
@ -66,7 +66,7 @@
hx-get="#" hx-get="#"
hx-trigger="click" hx-trigger="click"
hx-target="#modals-here" hx-target="#modals-here"
class="button is-danger is-small"> class="button is-small">
<span class="icon-text"> <span class="icon-text">
<span class="icon" data-tooltip="TP and SL for losers in %"> <span class="icon" data-tooltip="TP and SL for losers in %">
<i class="fa-solid fa-percent"></i> <i class="fa-solid fa-percent"></i>
@ -78,7 +78,7 @@
hx-get="#" hx-get="#"
hx-trigger="click" hx-trigger="click"
hx-target="#modals-here" hx-target="#modals-here"
class="button is-danger is-small"> class="button is-small">
<span class="icon-text"> <span class="icon-text">
<span class="icon" data-tooltip="TP and SL for losers from current price in %"> <span class="icon" data-tooltip="TP and SL for losers from current price in %">
<i class="fa-solid fa-money-bill"></i> <i class="fa-solid fa-money-bill"></i>
@ -95,7 +95,7 @@
hx-get="#" hx-get="#"
hx-trigger="click" hx-trigger="click"
hx-target="#modals-here" hx-target="#modals-here"
class="button is-info is-small"> class="button is-small">
<span class="icon-text"> <span class="icon-text">
<span class="icon" data-tooltip="TP for all in %"> <span class="icon" data-tooltip="TP for all in %">
<i class="fa-solid fa-percent"></i> <i class="fa-solid fa-percent"></i>
@ -107,7 +107,7 @@
hx-get="#" hx-get="#"
hx-trigger="click" hx-trigger="click"
hx-target="#modals-here" hx-target="#modals-here"
class="button is-info is-small"> class="button is-small">
<span class="icon-text"> <span class="icon-text">
<span class="icon" data-tooltip="TP for all from current price in %"> <span class="icon" data-tooltip="TP for all from current price in %">
<i class="fa-solid fa-money-bill"></i> <i class="fa-solid fa-money-bill"></i>
@ -121,7 +121,7 @@
hx-get="#" hx-get="#"
hx-trigger="click" hx-trigger="click"
hx-target="#modals-here" hx-target="#modals-here"
class="button is-success is-small"> class="button is-small">
<span class="icon-text"> <span class="icon-text">
<span class="icon" data-tooltip="TP for winners in %"> <span class="icon" data-tooltip="TP for winners in %">
<i class="fa-solid fa-percent"></i> <i class="fa-solid fa-percent"></i>
@ -133,7 +133,7 @@
hx-get="#" hx-get="#"
hx-trigger="click" hx-trigger="click"
hx-target="#modals-here" hx-target="#modals-here"
class="button is-success is-small"> class="button is-small">
<span class="icon-text"> <span class="icon-text">
<span class="icon" data-tooltip="TP for winners from current price in %"> <span class="icon" data-tooltip="TP for winners from current price in %">
<i class="fa-solid fa-money-bill"></i> <i class="fa-solid fa-money-bill"></i>
@ -147,7 +147,7 @@
hx-get="#" hx-get="#"
hx-trigger="click" hx-trigger="click"
hx-target="#modals-here" hx-target="#modals-here"
class="button is-danger is-small"> class="button is-small">
<span class="icon-text"> <span class="icon-text">
<span class="icon" data-tooltip="TP for losers in %"> <span class="icon" data-tooltip="TP for losers in %">
<i class="fa-solid fa-percent"></i> <i class="fa-solid fa-percent"></i>
@ -159,7 +159,7 @@
hx-get="#" hx-get="#"
hx-trigger="click" hx-trigger="click"
hx-target="#modals-here" hx-target="#modals-here"
class="button is-danger is-small"> class="button is-small">
<span class="icon-text"> <span class="icon-text">
<span class="icon" data-tooltip="TP for losers from current price in %"> <span class="icon" data-tooltip="TP for losers from current price in %">
<i class="fa-solid fa-money-bill"></i> <i class="fa-solid fa-money-bill"></i>
@ -176,7 +176,7 @@
hx-get="#" hx-get="#"
hx-trigger="click" hx-trigger="click"
hx-target="#modals-here" hx-target="#modals-here"
class="button is-info is-small"> class="button is-small">
<span class="icon-text"> <span class="icon-text">
<span class="icon" data-tooltip="SL for all in %"> <span class="icon" data-tooltip="SL for all in %">
<i class="fa-solid fa-percent"></i> <i class="fa-solid fa-percent"></i>
@ -188,7 +188,7 @@
hx-get="#" hx-get="#"
hx-trigger="click" hx-trigger="click"
hx-target="#modals-here" hx-target="#modals-here"
class="button is-info is-small"> class="button is-small">
<span class="icon-text"> <span class="icon-text">
<span class="icon" data-tooltip="SL for all from current price in %"> <span class="icon" data-tooltip="SL for all from current price in %">
<i class="fa-solid fa-money-bill"></i> <i class="fa-solid fa-money-bill"></i>
@ -202,7 +202,7 @@
hx-get="#" hx-get="#"
hx-trigger="click" hx-trigger="click"
hx-target="#modals-here" hx-target="#modals-here"
class="button is-success is-small"> class="button is-small">
<span class="icon-text"> <span class="icon-text">
<span class="icon" data-tooltip="SL for winners in %"> <span class="icon" data-tooltip="SL for winners in %">
<i class="fa-solid fa-percent"></i> <i class="fa-solid fa-percent"></i>
@ -214,7 +214,7 @@
hx-get="#" hx-get="#"
hx-trigger="click" hx-trigger="click"
hx-target="#modals-here" hx-target="#modals-here"
class="button is-success is-small"> class="button is-small">
<span class="icon-text"> <span class="icon-text">
<span class="icon" data-tooltip="SL for winners from current price in %"> <span class="icon" data-tooltip="SL for winners from current price in %">
<i class="fa-solid fa-money-bill"></i> <i class="fa-solid fa-money-bill"></i>
@ -228,7 +228,7 @@
hx-get="#" hx-get="#"
hx-trigger="click" hx-trigger="click"
hx-target="#modals-here" hx-target="#modals-here"
class="button is-danger is-small"> class="button is-small">
<span class="icon-text"> <span class="icon-text">
<span class="icon" data-tooltip="SL for losers in %"> <span class="icon" data-tooltip="SL for losers in %">
<i class="fa-solid fa-percent"></i> <i class="fa-solid fa-percent"></i>
@ -240,7 +240,7 @@
hx-get="#" hx-get="#"
hx-trigger="click" hx-trigger="click"
hx-target="#modals-here" hx-target="#modals-here"
class="button is-danger is-small"> class="button is-small">
<span class="icon-text"> <span class="icon-text">
<span class="icon" data-tooltip="SL for losers from current price in %"> <span class="icon" data-tooltip="SL for losers from current price in %">
<i class="fa-solid fa-money-bill"></i> <i class="fa-solid fa-money-bill"></i>