mirror of https://github.com/snachodog/mybuddy.git
Add "timeline" button to child button group
This commit is contained in:
parent
10af931279
commit
f474a47008
|
@ -1,3 +1,7 @@
|
||||||
|
.child-actions {
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
|
||||||
@include media-breakpoint-between(sm, md) {
|
@include media-breakpoint-between(sm, md) {
|
||||||
#dashboard-child {
|
#dashboard-child {
|
||||||
&.card-columns {
|
&.card-columns {
|
||||||
|
|
|
@ -1,16 +1,20 @@
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
|
||||||
<div class="child-actions btn-group btn-group-md center-block" role="group" aria-label="{% trans "Child actions" %}">
|
<div class="child-actions btn-group btn-group-lg border rounded border-light bg-dark center-block" role="group" aria-label="{% trans "Child actions" %}">
|
||||||
|
|
||||||
{% if perms.core.view_child %}
|
{% if perms.core.view_child %}
|
||||||
<a href="{% url 'dashboard:dashboard-child' object.slug %}" class="btn btn-success">
|
<a href="{% url 'dashboard:dashboard-child' object.slug %}" class="btn" title="{% trans "Dashboard" %}">
|
||||||
<i class="icon icon-dashboard" aria-hidden="true"></i>
|
<i class="icon icon-dashboard" aria-hidden="true"></i>
|
||||||
</a>
|
</a>
|
||||||
|
<a href="{% url 'core:child' object.slug %}" class="btn" title="{% trans "Timeline" %}">
|
||||||
|
<i class="icon icon-timeline" aria-hidden="true"></i>
|
||||||
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="btn-group" role="group">
|
<div class="btn-group" role="group">
|
||||||
<button id="reports-dropdown"
|
<button id="reports-dropdown"
|
||||||
class="btn btn-primary dropdown-toggle"
|
class="btn dropdown-toggle"
|
||||||
|
title="{% trans "Reports" %}"
|
||||||
type="button"
|
type="button"
|
||||||
data-toggle="dropdown"
|
data-toggle="dropdown"
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
|
@ -28,14 +32,16 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if perms.core.change_child %}
|
{% if perms.core.change_child %}
|
||||||
<a class="btn btn-warning"
|
<a class="btn"
|
||||||
href="{% url 'core:child-update' object.slug %}"
|
href="{% url 'core:child-update' object.slug %}"
|
||||||
|
title="{% trans "Edit" %}"
|
||||||
role="button"><i class="icon icon-update" aria-hidden="true"></i></a>
|
role="button"><i class="icon icon-update" aria-hidden="true"></i></a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if perms.core.delete_child %}
|
{% if perms.core.delete_child %}
|
||||||
<a class="btn btn-danger"
|
<a class="btn"
|
||||||
href="{% url 'core:child-delete' object.slug %}"
|
href="{% url 'core:child-delete' object.slug %}"
|
||||||
|
title="{% trans "Delete" %}"
|
||||||
role="button"><i class="icon icon-delete" aria-hidden="true"></i></a>
|
role="button"><i class="icon icon-delete" aria-hidden="true"></i></a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
@ -13801,6 +13801,10 @@ h3 {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.child-actions {
|
||||||
|
flex-wrap: wrap;
|
||||||
|
}
|
||||||
|
|
||||||
@media (min-width: 576px) and (max-width: 991.98px) {
|
@media (min-width: 576px) and (max-width: 991.98px) {
|
||||||
#dashboard-child.card-columns {
|
#dashboard-child.card-columns {
|
||||||
column-count: 2;
|
column-count: 2;
|
||||||
|
|
Binary file not shown.
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue