Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closes #14: Alter buttons #15

Merged
merged 2 commits into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading