Skip to content
Open
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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ Please submit bugs and issues to [rancher/dashboard](//github.com/rancher/dashbo

Or just [click here](//github.com/rancher/dashboard/issues/new?title=%5BAPI%20UI%5D%20) to create a new issue.

## License

Copyright (c) 2014-2024 [Rancher Labs, Inc.](http://rancher.com)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm assuming we want to update this but I can revert if needed.

License
=======
Copyright (c) 2014-2025 [SUSE](https://www.suse.com)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "api-ui",
"version": "1.1.11",
"version": "1.1.12",
"description": "Embedded UI for any service that implements the Rancher API spec",
"author": "SUSE",
"license": "Apache-2.0",
Expand Down
4 changes: 2 additions & 2 deletions templates/body.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
<div id="operations">
<button type="button" class="btn btn-primary btn-sm" onclick="htmlapi.up()" {{#unless operations.up}}disabled="disabled"{{/unless}}><span class="glyphicon glyphicon-arrow-up"></span> Up</button>
<button type="button" class="btn btn-primary btn-sm" onclick="htmlapi.reload()"><span class="glyphicon glyphicon-refresh"></span> Reload</button>
{{#if operations.post}}
{{!-- {{#if operations.post}}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I decided to skip comment out instead of deleting to make this easier to find in the future and this repo isn't anything like the code we typically work on.

<button type="button" class="btn btn-primary btn-sm" onclick="htmlapi.create()"><span class="glyphicon glyphicon-plus"></span> Create</button>
{{/if}}
{{#if operations.put}}
<button type="button" class="btn btn-primary btn-sm" onclick="htmlapi.update()"><span class="glyphicon glyphicon-edit"></span> Edit</button>
{{/if}}
{{/if}} --}}
{{#if operations.delete}}
<button type="button" class="btn btn-primary btn-sm" onclick="htmlapi.remove()"><span class="glyphicon glyphicon-trash"></span> Delete</button>
{{/if}}
Expand Down