Skip to content

Commit

Permalink
Merge pull request #15 from minitriga/issue_14
Browse files Browse the repository at this point in the history
Closes #14: Alter buttons
  • Loading branch information
minitriga authored May 28, 2024
2 parents 699d0be + 4ca5931 commit 2bc16d6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion netbox_reorder_rack/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class NetboxReorderRackConfig(PluginConfig):
name = "netbox_reorder_rack"
verbose_name = "NetBox Reorder Rack"
description = "NetBox plugin to reorder rack layouts."
version = "1.1.0"
version = "1.1.1"
base_url = "reorder"


Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

{% if perms.dcim.change_device %}
<a href="{% url 'dcim:rack_reorder' pk=object.pk %}" class="btn btn-sm btn-success" role="button">
<a href="{% url 'dcim:rack_reorder' pk=object.pk %}" class="btn btn-info" role="button">
<i class="mdi mdi-sort" aria-hidden="true"></i> Reorder
</a>
{% endif %}
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<div class="row">
<div class="col col-12">
<div class="row">
<div class="d-flex justify-content-end"><button class="btn btn-primary" id="saveButton" disabled>Save</button></div>
<div class="d-flex justify-content-end"><button class="btn btn-success" id="saveButton" disabled>Save</button></div>
</div>
<div class="row">
<div class="col col-md-4 col-sm-4 col-xs-12 text-center">
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setup(
name="netbox_reorder_rack",
version="1.1.0",
version="1.1.1",
author="Alex Gittings",
author_email="[email protected]",
description="NetBox plugin to reorder rack layouts.",
Expand Down

0 comments on commit 2bc16d6

Please sign in to comment.