Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
apollo
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Administrator
apollo
Commits
58d59c1f
Commit
58d59c1f
authored
May 19, 2016
by
lepdou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
9fe11a24
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
108 additions
and
29 deletions
+108
-29
apollo-portal/src/main/resources/static/config.html
apollo-portal/src/main/resources/static/config.html
+93
-29
apollo-portal/src/main/resources/static/scripts/controller/app/ConfigNamespaceController.js
...tatic/scripts/controller/app/ConfigNamespaceController.js
+1
-0
apollo-portal/src/main/resources/static/scripts/controller/app/ItemCreateController.js
...ces/static/scripts/controller/app/ItemCreateController.js
+14
-0
No files found.
apollo-portal/src/main/resources/static/config.html
View file @
58d59c1f
This diff is collapsed.
Click to expand it.
apollo-portal/src/main/resources/static/scripts/controller/app/ConfigNamespaceController.js
View file @
58d59c1f
...
@@ -141,6 +141,7 @@ application_module.controller("ConfigNamespaceController",
...
@@ -141,6 +141,7 @@ application_module.controller("ConfigNamespaceController",
releaseNamespace
.
namespace
.
namespaceName
,
$scope
.
releaseTitle
,
releaseNamespace
.
namespace
.
namespaceName
,
$scope
.
releaseTitle
,
$scope
.
releaseComment
).
then
(
$scope
.
releaseComment
).
then
(
function
(
result
)
{
function
(
result
)
{
$
(
'
#releaseModal
'
).
modal
(
'
hide
'
);
toastr
.
success
(
"
发布成功
"
);
toastr
.
success
(
"
发布成功
"
);
//refresh all namespace items
//refresh all namespace items
$rootScope
.
refreshNamespaces
();
$rootScope
.
refreshNamespaces
();
...
...
apollo-portal/src/main/resources/static/scripts/controller/app/ItemCreateController.js
0 → 100644
View file @
58d59c1f
application_module
.
controller
(
"
ItemCreateController
"
,
[
'
$rootScope
'
,
'
$scope
'
,
'
$location
'
,
'
toastr
'
,
'
AppService
'
,
'
AppUtil
'
,
function
(
$rootScope
,
$scope
,
$location
,
toastr
,
AppService
,
AppUtil
)
{
$scope
.
create
=
function
()
{
console
.
log
(
"
xx
"
);
};
$scope
.
key
=
'
xx
'
;
}]);
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