mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +02:00
feat(templates): LinuxServer.io templates integration (#761)
This commit is contained in:
parent
16166c3367
commit
b8803f380b
10 changed files with 113 additions and 21 deletions
21
app/app.js
21
app/app.js
|
@ -456,6 +456,27 @@ angular.module('portainer', [
|
|||
})
|
||||
.state('templates', {
|
||||
url: '/templates/',
|
||||
params: {
|
||||
key: 'containers',
|
||||
hide_descriptions: false
|
||||
},
|
||||
views: {
|
||||
"content@": {
|
||||
templateUrl: 'app/components/templates/templates.html',
|
||||
controller: 'TemplatesController'
|
||||
},
|
||||
"sidebar@": {
|
||||
templateUrl: 'app/components/sidebar/sidebar.html',
|
||||
controller: 'SidebarController'
|
||||
}
|
||||
}
|
||||
})
|
||||
.state('templates_linuxserver', {
|
||||
url: '^/templates/linuxserver.io',
|
||||
params: {
|
||||
key: 'linuxserver.io',
|
||||
hide_descriptions: true
|
||||
},
|
||||
views: {
|
||||
"content@": {
|
||||
templateUrl: 'app/components/templates/templates.html',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue