musician cursor-pointer

This commit is contained in:
Jorge Pastor 2024-09-12 13:27:48 +02:00
parent c6b5cb1d23
commit 5b6bc35063
3 changed files with 10 additions and 6 deletions

View File

@ -354,6 +354,10 @@ td:hover .roll-hover {
font-family: "Font Awesome 5 Free"; font-family: "Font Awesome 5 Free";
} }
.cursor-pointer {
cursor: pointer;
}
@media (min-width: 1350px){ @media (min-width: 1350px){
.card-deck .card { .card-deck .card {
flex: 1 0 0%; flex: 1 0 0%;

View File

@ -62,7 +62,7 @@
<div class="card-deck"> <div class="card-deck">
{% for resource, usage in resource_usage.items %} {% for resource, usage in resource_usage.items %}
<div class="card resource-usage resource-{{ resource }}"> <div class="card resource-usage resource-{{ resource }} cursor-pointer">
<div class="card-body" data-toggle="collapse" data-target="#collapse-{{ resource }}"> <div class="card-body" data-toggle="collapse" data-target="#collapse-{{ resource }}">
<h5 class="card-title">{{ usage.verbose_name }}</h5> <h5 class="card-title">{{ usage.verbose_name }}</h5>
<div class="text-center"> <div class="text-center">
@ -96,7 +96,7 @@
{% endfor %} {% endfor %}
<!-- card domains --> <!-- card domains -->
<div class="card resource-usage resource-domains"> <div class="card resource-usage resource-domains cursor-pointer" >
<div class="card-body" data-toggle="collapse" data-target="#collapse-domains"> <div class="card-body" data-toggle="collapse" data-target="#collapse-domains">
<h5 class="card-title">{% trans "Domains" %}</h5> <h5 class="card-title">{% trans "Domains" %}</h5>
<div class="text-center">{{ domains|length }} {% trans "Domains" %}</div> <div class="text-center">{{ domains|length }} {% trans "Domains" %}</div>

View File

@ -26,7 +26,7 @@
</thead> </thead>
<tbody> <tbody>
{% for website in object_list %} {% for website in object_list %}
<tr class="fila-principal" data-toggle="collapse" data-target=".detalles{{ website.id }}"> <tr class="fila-principal cursor-pointer" data-toggle="collapse" data-target=".detalles{{ website.id }}">
<td>{{ website.name }}</td> <td>{{ website.name }}</td>
<td> <td>
{% for domain in website.domains.all %} {% for domain in website.domains.all %}
@ -69,7 +69,7 @@
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>Type</td> <td>{% trans "Type" %}</td>
{% if content.webapp.type == "php" %} {% if content.webapp.type == "php" %}
<td>PHP {{ content.webapp.type_instance.get_detail }}</td> <td>PHP {{ content.webapp.type_instance.get_detail }}</td>
{% else %} {% else %}
@ -79,14 +79,14 @@
</tr> </tr>
<tr> <tr>
{% if content.webapp.sftpuser %} {% if content.webapp.sftpuser %}
<td>SFTP user</td> <td>{% trans "SFTP user" %}</td>
<td>{{ content.webapp.sftpuser }}</td> <td>{{ content.webapp.sftpuser }}</td>
<td class="text-right"> <td class="text-right">
<a class="btn btn-outline-warning" href="{% url 'musician:webappuser-password' content.webapp.sftpuser.id %}"> <a class="btn btn-outline-warning" href="{% url 'musician:webappuser-password' content.webapp.sftpuser.id %}">
<i class="fas fa-key"></i> {% trans "Update password" %}</a> <i class="fas fa-key"></i> {% trans "Update password" %}</a>
</td> </td>
{% else %} {% else %}
<td>FTP user</td> <td>{% trans "FTP user" %}</td>
<td>{{ content.webapp.account.main_systemuser }}</td> <td>{{ content.webapp.account.main_systemuser }}</td>
<td class="text-right"> <td class="text-right">
<a class="btn btn-outline-warning" href="{% url 'musician:systemuser-password' content.webapp.account.main_systemuser.id %}"> <a class="btn btn-outline-warning" href="{% url 'musician:systemuser-password' content.webapp.account.main_systemuser.id %}">