Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
zhangjian1949
apollo
提交
ea55ddc1
apollo
项目概览
zhangjian1949
/
apollo
与 Fork 源项目一致
从无法访问的项目Fork
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
apollo
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
ea55ddc1
编写于
5月 25, 2016
作者:
L
lepdou
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
优化portal细节
上级
b75a4359
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
2 addition
and
13 deletion
+2
-13
apollo-portal/src/main/resources/static/config.html
apollo-portal/src/main/resources/static/config.html
+1
-4
apollo-portal/src/main/resources/static/styles/common-style.css
...-portal/src/main/resources/static/styles/common-style.css
+1
-1
apollo-portal/src/main/resources/static/vendor/angular/angular-bootstrap-confirm.min.js
...es/static/vendor/angular/angular-bootstrap-confirm.min.js
+0
-8
未找到文件。
apollo-portal/src/main/resources/static/config.html
浏览文件 @
ea55ddc1
...
...
@@ -454,7 +454,7 @@
<textarea
type=
"text"
class=
"form-control"
rows=
"6"
ng-model=
"item.value"
ng-required=
"true"
ng-show=
"tableViewOperType != 'retrieve'"
>
</textarea>
<
span
ng-bind=
"item.value"
ng-show=
"tableViewOperType == 'retrieve'"
></span
>
<
p
ng-bind=
"item.value"
ng-show=
"tableViewOperType == 'retrieve'"
></p
>
</div>
</div>
<div
class=
"form-group"
ng-show=
"tableViewOperType == 'retrieve'"
>
...
...
@@ -517,9 +517,6 @@
<script
src=
"vendor/angular/angular-resource.min.js"
></script>
<script
src=
"vendor/angular/angular-toastr-1.4.1.tpls.min.js"
></script>
<script
src=
"vendor/angular/loading-bar.min.js"
></script>
<script
src=
"//ajax.googleapis.com/ajax/libs/angularjs/1.5.5/angular-sanitize.min.js"
></script>
<script
src=
"//cdnjs.cloudflare.com/ajax/libs/angular-ui-bootstrap/1.3.2/ui-bootstrap-tpls.min.js"
></script>
<script
src=
"vendor/angular/angular-bootstrap-confirm.min.js"
></script>
<!-- bootstrap.js -->
<script
src=
"vendor/bootstrap/js/bootstrap.min.js"
type=
"text/javascript"
></script>
...
...
apollo-portal/src/main/resources/static/styles/common-style.css
浏览文件 @
ea55ddc1
...
...
@@ -15,7 +15,7 @@ a {
cursor
:
pointer
;
}
td
{
p
td
span
{
word-wrap
:
break-word
;
word-break
:
break-all
;
}
...
...
apollo-portal/src/main/resources/static/vendor/angular/angular-bootstrap-confirm.min.js
已删除
100644 → 0
浏览文件 @
b75a4359
/**
* angular-bootstrap-confirm - Displays a bootstrap confirmation popover when clicking the given element.
* @version v2.1.0
* @link https://github.com/mattlewis92/angular-bootstrap-confirm
* @license MIT
*/
!
function
(
n
,
t
){
"
object
"
==
typeof
exports
&&
"
object
"
==
typeof
module
?
module
.
exports
=
t
(
require
(
"
angular
"
),
require
(
"
angular-sanitize
"
)):
"
function
"
==
typeof
define
&&
define
.
amd
?
define
([
"
angular
"
,
"
angular-sanitize
"
],
t
):
"
object
"
==
typeof
exports
?
exports
.
angularBootstrapConfirmModuleName
=
t
(
require
(
"
angular
"
),
require
(
"
angular-sanitize
"
)):
n
.
angularBootstrapConfirmModuleName
=
t
(
n
.
angular
,
n
[
"
angular-sanitize
"
])}(
this
,
function
(
n
,
t
){
return
function
(
n
){
function
t
(
o
){
if
(
e
[
o
])
return
e
[
o
].
exports
;
var
i
=
e
[
o
]
=
{
exports
:{},
id
:
o
,
loaded
:
!
1
};
return
n
[
o
].
call
(
i
.
exports
,
i
,
i
.
exports
,
t
),
i
.
loaded
=!
0
,
i
.
exports
}
var
e
=
{};
return
t
.
m
=
n
,
t
.
c
=
e
,
t
.
p
=
""
,
t
(
0
)}([
function
(
n
,
t
,
e
){
"
use strict
"
;
var
o
=
e
(
1
),
i
=
e
(
2
);
e
(
3
),
e
(
1
);
var
s
=
"
angular-bootstrap-confirm.html
"
;
n
.
exports
=
o
.
module
(
"
mwl.confirm
"
,[
"
ngSanitize
"
,
"
ui.bootstrap.position
"
]).
run
([
"
$templateCache
"
,
function
(
n
){
n
.
put
(
s
,
i
)}]).
controller
(
"
PopoverConfirmCtrl
"
,[
"
$scope
"
,
"
$rootScope
"
,
"
$element
"
,
"
$attrs
"
,
"
$compile
"
,
"
$document
"
,
"
$window
"
,
"
$timeout
"
,
"
$injector
"
,
"
$templateRequest
"
,
"
$parse
"
,
"
confirmationPopoverDefaults
"
,
function
(
n
,
t
,
e
,
i
,
s
,
r
,
a
,
c
,
l
,
u
,
p
,
f
){
function
m
(
t
,
e
){
o
.
isDefined
(
t
)
&&
p
(
t
).
assign
(
n
,
e
)}
function
d
(
t
,
e
){
return
o
.
isDefined
(
t
)?
p
(
t
)(
n
):
e
}
function
v
(){
var
n
=
y
.
positionElements
(
e
,
x
.
popover
,
i
.
placement
||
x
.
defaults
.
placement
,
!
0
);
n
.
top
+=
"
px
"
,
n
.
left
+=
"
px
"
,
x
.
popover
.
css
(
n
)}
function
b
(){
var
n
=
i
.
focusButton
||
x
.
defaults
.
focusButton
;
if
(
n
){
var
t
=
n
+
"
-button
"
;
x
.
popover
[
0
].
getElementsByClassName
(
t
)[
0
].
focus
()}}
function
$
(){
x
.
isVisible
||
d
(
i
.
isDisabled
,
!
1
)
||
(
x
.
popover
.
css
({
display
:
"
block
"
}),
v
(),
b
(),
x
.
isVisible
=!
0
,
m
(
i
.
isOpen
,
!
0
))}
function
g
(){
x
.
isVisible
&&
(
x
.
popover
.
css
({
display
:
"
none
"
}),
x
.
isVisible
=!
1
,
m
(
i
.
isOpen
,
!
1
))}
function
h
(){
x
.
isVisible
?
g
():
$
(),
n
.
$apply
()}
function
C
(
t
){
!
x
.
isVisible
||
x
.
popover
[
0
].
contains
(
t
.
target
)
||
e
[
0
].
contains
(
t
.
target
)
||
(
g
(),
n
.
$apply
())}
var
x
=
this
;
x
.
defaults
=
f
,
x
.
$attrs
=
i
;
var
B
=
l
.
has
(
"
$uibPosition
"
)?
"
$uibPosition
"
:
"
$position
"
,
y
=
l
.
get
(
B
),
T
=
i
.
templateUrl
||
f
.
templateUrl
,
P
=
t
.
$new
(
!
0
);
P
.
vm
=
x
,
u
(
T
).
then
(
function
(
n
){
x
.
popover
=
o
.
element
(
n
),
x
.
popover
.
css
(
"
display
"
,
"
none
"
),
s
(
x
.
popover
)(
P
),
r
.
find
(
"
body
"
).
append
(
x
.
popover
)}),
x
.
isVisible
=!
1
,
x
.
showPopover
=
$
,
x
.
hidePopover
=
g
,
x
.
togglePopover
=
h
,
x
.
onConfirm
=
function
(){
d
(
i
.
onConfirm
)},
x
.
onCancel
=
function
(){
d
(
i
.
onCancel
)},
n
.
$watch
(
i
.
isOpen
,
function
(
n
){
c
(
function
(){
n
?
$
():
g
()})}),
e
.
bind
(
"
click
"
,
h
),
a
.
addEventListener
(
"
resize
"
,
v
),
r
.
bind
(
"
click
"
,
C
),
r
.
bind
(
"
touchend
"
,
C
),
n
.
$on
(
"
$destroy
"
,
function
(){
x
.
popover
.
remove
(),
e
.
unbind
(
"
click
"
,
h
),
a
.
removeEventListener
(
"
resize
"
,
v
),
r
.
unbind
(
"
click
"
,
C
),
r
.
unbind
(
"
touchend
"
,
C
),
P
.
$destroy
()})}]).
directive
(
"
mwlConfirm
"
,
function
(){
return
{
restrict
:
"
A
"
,
controller
:
"
PopoverConfirmCtrl
"
}}).
value
(
"
confirmationPopoverDefaults
"
,{
confirmText
:
"
Confirm
"
,
cancelText
:
"
Cancel
"
,
confirmButtonType
:
"
success
"
,
cancelButtonType
:
"
default
"
,
placement
:
"
top
"
,
focusButton
:
null
,
templateUrl
:
s
,
hideConfirmButton
:
!
1
,
hideCancelButton
:
!
1
}).
name
},
function
(
t
,
e
){
t
.
exports
=
n
},
function
(
n
,
t
){
n
.
exports
=
'
<div class="popover" ng-class="vm.$attrs.placement || vm.defaults.placement">
\n
<div class="arrow"></div>
\n
<h3 class="popover-title" ng-bind-html="vm.$attrs.title"></h3>
\n
<div class="popover-content">
\n
<p ng-bind-html="vm.$attrs.message"></p>
\n
<div class="row">
\n
<div
\n
class="col-xs-6"
\n
ng-if="!vm.$attrs.hideConfirmButton && !vm.defaults.hideConfirmButton"
\n
ng-class="{
\'
col-xs-offset-3
\'
: vm.$attrs.hideCancelButton || vm.defaults.hideCancelButton}">
\n
<button
\n
class="btn btn-block confirm-button"
\n
ng-class="
\'
btn-
\'
+ (vm.$attrs.confirmButtonType || vm.defaults.confirmButtonType)"
\n
ng-click="vm.onConfirm(); vm.hidePopover()"
\n
ng-bind-html="vm.$attrs.confirmText || vm.defaults.confirmText">
\n
</button>
\n
</div>
\n
<div
\n
class="col-xs-6"
\n
ng-if="!vm.$attrs.hideCancelButton && !vm.defaults.hideCancelButton"
\n
ng-class="{
\'
col-xs-offset-3
\'
: vm.$attrs.hideConfirmButton || vm.defaults.hideConfirmButton}">
\n
<button
\n
class="btn btn-block cancel-button"
\n
ng-class="
\'
btn-
\'
+ (vm.$attrs.cancelButtonType || vm.defaults.cancelButtonType)"
\n
ng-click="vm.onCancel(); vm.hidePopover()"
\n
ng-bind-html="vm.$attrs.cancelText || vm.defaults.cancelText">
\n
</button>
\n
</div>
\n
</div>
\n
</div>
\n
</div>
\n
'
},
function
(
n
,
e
){
n
.
exports
=
t
}])});
//# sourceMappingURL=angular-bootstrap-confirm.min.js.map
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录