Browse Source

feat: 升级到最新的finui

master
alan 6 years ago
parent
commit
d751bef528
  1. 3
      src/app/app.component.scss
  2. 2
      src/app/link_set/right/nothing.component.ts
  3. 2
      src/app/link_status/right/right.card.component.ts
  4. 4
      src/index.html
  5. 10
      src/index.ts
  6. 1
      src/lib/bundle.min.css
  7. 40
      src/lib/bundle.min.js
  8. 1
      src/lib/fineui.min.css
  9. 41
      src/lib/fineui.min.js

3
src/app/app.component.scss

@ -136,8 +136,7 @@
height: 100%; height: 100%;
.right-status-board-item{ .right-status-board-item{
text-align: center; text-align: center;
margin-top: 35px; margin-top: 38px;
margin-bottom: 6px;
.right-status-text{ .right-status-text{
display: inline-block; display: inline-block;
} }

2
src/app/link_set/right/nothing.component.ts

@ -18,11 +18,13 @@ const Widget: WidgetType = {
{ {
type:Label, type:Label,
cls: 'bi-tips', cls: 'bi-tips',
height: 20,
text:'请选择左侧数据连接或点击新建数据连接', text:'请选择左侧数据连接或点击新建数据连接',
}, },
{ {
type:Label, type:Label,
cls: 'bi-tips', cls: 'bi-tips',
height: 20,
text:'平台仅支持使用JDBC的数据连接的管理', text:'平台仅支持使用JDBC的数据连接的管理',
}, },
], ],

2
src/app/link_status/right/right.card.component.ts

@ -39,6 +39,7 @@ const Widget: WidgetType = {
}, },
{ {
type: Label, type: Label,
height: 20,
text: '活动连接数', text: '活动连接数',
}, },
], ],
@ -77,6 +78,7 @@ const Widget: WidgetType = {
}, },
{ {
type: Label, type: Label,
height: 20,
text: '空闲连接数', text: '空闲连接数',
}, },
], ],

4
src/index.html

@ -5,8 +5,8 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>数据库连接设置</title> <title>数据库连接设置</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="./lib/bundle.min.css" /> <link rel="stylesheet" type="text/css" href="./lib/fineui.min.css" />
<script type="text/javascript" charset="UTF-8" src="./lib/bundle.min.js"></script> <script type="text/javascript" charset="UTF-8" src="./lib/fineui.min.js"></script>
</head> </head>
<body> <body>
<noscript> You need to enable JavaScript to run this app. </noscript> <noscript> You need to enable JavaScript to run this app. </noscript>

10
src/index.ts

@ -1,6 +1,8 @@
import App from './app/app.component'; import App from './app/app.component';
BI.DOM.ready(() => {
BI.createWidget({ BI.createWidget({
type:App, type:App,
element: 'body', element: 'body',
});
}); });

1
src/lib/bundle.min.css vendored

File diff suppressed because one or more lines are too long

40
src/lib/bundle.min.js vendored

File diff suppressed because one or more lines are too long

1
src/lib/fineui.min.css vendored

File diff suppressed because one or more lines are too long

41
src/lib/fineui.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save