Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-boot-admin
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
spring-boot-admin
Commits
44a42c9a
Commit
44a42c9a
authored
Jun 16, 2014
by
Thomas Bosch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
services
parent
e0519d7c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
services.js
src/main/webapp/public/scripts/services/services.js
+5
-6
main.html
src/main/webapp/public/views/main.html
+1
-1
No files found.
src/main/webapp/public/scripts/services/services.js
View file @
44a42c9a
...
...
@@ -5,16 +5,14 @@ angular.module('registry.services', ['ngResource'])
function
(
$resource
){
return
$resource
(
'/api/applications'
,
{},
{
query
:
{
method
:
'GET'
,
isArray
:
true
},
create
:
{
method
:
'POST'
}
query
:
{
method
:
'GET'
,
isArray
:
true
}
});
}])
.
factory
(
'ApplicationInfo'
,
[
'$resource'
,
function
(
$resource
){
return
$resource
(
':url'
,
{
url
:
'@url'
},
{
query
:
{
method
:
'GET'
},
update
:
{
method
:
'PUT'
,
params
:
{
id
:
'@id'
}
},
decodeURIComponent
(
':url'
),
{},
{
query
:
{
method
:
'GET'
}
,
});
}]);
\ No newline at end of file
src/main/webapp/public/views/main.html
View file @
44a42c9a
...
...
@@ -18,7 +18,7 @@
<td></td>
<td></td>
<td></td>
<td><
button
type=
"button"
ng-click=
"editService(service.id)"
class=
"btn btn-success"
>
Edit
</button
></td>
<td>
<
!-- <button type="button" ng-click="editService(service.id)" class="btn btn-success">Edit</button> --
>
</td>
</tr>
</tbody>
</table>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment