Skip to content

Commit

Permalink
Template: remove btn-sm class from general purpose buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
Alef-Burzmali committed May 11, 2024
1 parent aa61624 commit 31000c3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
{# Hidden as currently not used #}
{# block extra_controls % }
{% if as_rules %}
<a href="{% url 'plugins:netbox_data_flows:dataflow_list' %}" type="button" class="btn btn-sm btn-outline-secondary">
<a href="{% url 'plugins:netbox_data_flows:dataflow_list' %}" type="button" class="btn btn-outline-secondary">
<i class="mdi mdi-file-tree-outline"></i> As Data Flows
</a>
{% else %}
<a href="{% url 'plugins:netbox_data_flows:dataflow_rules' %}" type="button" class="btn btn-sm btn-outline-secondary">
<a href="{% url 'plugins:netbox_data_flows:dataflow_rules' %}" type="button" class="btn btn-outline-secondary">
<i class="mdi mdi-playlist-check"></i> As rules
</a>
{% endif %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% if objectalias and perms.netbox_data_flows.change_objectalias %}
<a href="{% url 'plugins:netbox_data_flows:objectalias_removetarget' pk=objectalias.pk alias_pk=record.pk %}?return_url={% url 'plugins:netbox_data_flows:objectalias' pk=objectalias.pk %}" class="btn btn-sm btn-danger btn-sm" title="Unlink aliased object">
<a href="{% url 'plugins:netbox_data_flows:objectalias_removetarget' pk=objectalias.pk alias_pk=record.pk %}?return_url={% url 'plugins:netbox_data_flows:objectalias' pk=objectalias.pk %}" class="btn btn-sm btn-danger" title="Unlink aliased object">
<i class="mdi mdi-ethernet-cable-off" aria-hidden="true"></i>
</a>
{% endif %}
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@

{% block extra_controls %}
{% if perms.netbox_data_flows.change_objectalias %}
<a href="{% url 'plugins:netbox_data_flows:objectalias_addtarget' object.pk %}" type="button" class="btn btn-sm btn-primary">
<a href="{% url 'plugins:netbox_data_flows:objectalias_addtarget' object.pk %}" type="button" class="btn btn-primary">
<i class="mdi mdi-plus-thick"></i> Add aliased objects
</a>
{% endif %}
{% endblock extra_controls %}

{% block content %}
<div class="row mb-3">
<div class="col col-md-6">
<div class="col col-md-5">
<div class="card">
<h5 class="card-header">Object Alias</h5>
<table class="table table-hover attr-table">
Expand All @@ -34,7 +34,7 @@ <h5 class="card-header">Object Alias</h5>
{% include 'inc/panels/custom_fields.html' %}
{% plugin_left_page object %}
</div>
<div class="col col-md-6">
<div class="col col-md-7">
<div class="card">
<h5 class="card-header">Member objects</h5>
<div class="card-body table-responsive">
Expand Down

0 comments on commit 31000c3

Please sign in to comment.