summaryrefslogtreecommitdiffstats
path: root/rulemgt-frontend
diff options
context:
space:
mode:
authorGuangrongFu <fu.guangrong@zte.com.cn>2018-07-23 16:47:42 +0800
committerGuangrongFu <fu.guangrong@zte.com.cn>2018-07-23 16:47:42 +0800
commit7c10ad301cd3fea79af61f1d092b2a3103f7ec11 (patch)
treeabacc5fe0f43906b42b7c061eb4c2dc919d5566b /rulemgt-frontend
parenta966da9a6108017711152fc69725397c8779fd08 (diff)
Added nginx
Change-Id: Iffc0e337cbf59f9cae514d85eb3e1c83d0f664f9 Issue-ID: HOLMES-111 Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'rulemgt-frontend')
-rw-r--r--rulemgt-frontend/.angular-cli.json16
-rw-r--r--rulemgt-frontend/package.json4
-rw-r--r--rulemgt-frontend/src/app/correlation-ruleInfo/ruleInfo.component.ts1
-rw-r--r--rulemgt-frontend/src/index.html2
4 files changed, 13 insertions, 10 deletions
diff --git a/rulemgt-frontend/.angular-cli.json b/rulemgt-frontend/.angular-cli.json
index 67cb647..b3795c9 100644
--- a/rulemgt-frontend/.angular-cli.json
+++ b/rulemgt-frontend/.angular-cli.json
@@ -20,14 +20,18 @@
"prefix": "app",
"styles": [
"styles.css",
- "./assets/common/css/fileupload.css",
- "./assets/common/css/popModal.css",
- "./assets/framework/browser/css/open-ostyle.css",
- "./assets/framework/browser/thirdparty/css/bootstrap.min.css",
- "./assets/framework/browser/thirdparty/css/magic-check.css"
+ "assets/common/css/fileupload.css",
+ "assets/common/css/popModal.css",
+ "assets/framework/browser/css/open-ostyle.css",
+ "assets/framework/browser/thirdparty/css/bootstrap.min.css",
+ "assets/framework/browser/thirdparty/css/magic-check.css"
],
"scripts": [
- "../node_modules/jquery/dist/jquery.min.js"
+ "../node_modules/jquery/dist/jquery.min.js",
+ "assets/common/js/jQuery-File-Upload/js/jquery.ui.widget.js",
+ "assets/common/js/jQuery-File-Upload/js/vendor/jquery.ui.widget.js",
+ "assets/common/js/jQuery-File-Upload/js/jquery.iframe-transport.js",
+ "assets/common/js/jQuery-File-Upload/js/jquery.fileupload.js"
],
"environmentSource": "environments/environment.ts",
"environments": {
diff --git a/rulemgt-frontend/package.json b/rulemgt-frontend/package.json
index 6ba05bf..307bbfa 100644
--- a/rulemgt-frontend/package.json
+++ b/rulemgt-frontend/package.json
@@ -1,7 +1,7 @@
{
- "name": "alarm-analysis",
+ "name": "holmes",
"version": "1.0.0",
- "description": "alarm-analysis",
+ "description": "holmes",
"scripts": {
"ng": "ng",
"start": "ng serve",
diff --git a/rulemgt-frontend/src/app/correlation-ruleInfo/ruleInfo.component.ts b/rulemgt-frontend/src/app/correlation-ruleInfo/ruleInfo.component.ts
index 7f8d375..36d721c 100644
--- a/rulemgt-frontend/src/app/correlation-ruleInfo/ruleInfo.component.ts
+++ b/rulemgt-frontend/src/app/correlation-ruleInfo/ruleInfo.component.ts
@@ -38,7 +38,6 @@ export class RuleInfo implements OnInit {
let msg = { title: 'exception_content_error', message: 'exception_package_error' };
this.modalService.getmodalObservable.next(msg);
} else {
-
this.alarmRuleService.checkContent(this.queryRule.content)
.then(res => {
if (res.status == 200) {
diff --git a/rulemgt-frontend/src/index.html b/rulemgt-frontend/src/index.html
index c8da64f..269bee8 100644
--- a/rulemgt-frontend/src/index.html
+++ b/rulemgt-frontend/src/index.html
@@ -17,7 +17,7 @@
<html>
<head>
- <base href="/">
+ <base href="/holmes/">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">