mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-11 20:56:13 +00:00
More betterer buttons for stock locationdetail
This commit is contained in:
1 parent
1c5972e326
commit
52cc7360b3
2 files changed
+48
-5
No files matched your search
@@ -1,9 +1,9 @@
|
||||
function editButton(url, text='Edit') {
|
||||
return "<button class='btn btn-success edit-button' type='button' url='" + url + "'>" + text + "</button>";
|
||||
return "<button class='btn btn-success edit-button btn-sm' type='button' url='" + url + "'>" + text + "</button>";
|
||||
}
|
||||
|
||||
function deleteButton(url, text='Delete') {
|
||||
return "<button class='btn btn-danger delete-button' type='button' url='" + url + "'>" + text + "</button>";
|
||||
return "<button class='btn btn-danger delete-button btn-sm' type='button' url='" + url + "'>" + text + "</button>";
|
||||
}
|
||||
|
||||
function renderLink(text, url) {
|
||||
|
||||
Reference in new issue
Block a user