File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
openid-connect-server-webapp/src/main/webapp Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 82
82
</div >
83
83
</c:if >
84
84
<c:if test =" ${ (not empty client. clientDescription) || (not empty client. clientUri) || (not empty client. policyUri) || (not empty client. tosUri) || (not empty contacts) } " >
85
- <div class =" alert alert-info " >
85
+ <div class =" muted moreInformationContainer " >
86
86
${ client. clientDescription }
87
87
<c:if test =" ${ (not empty client. clientUri) || (not empty client. policyUri) || (not empty client. tosUri) || (not empty contacts) } " >
88
88
<div id =" toggleMoreInformation" style =" cursor : pointer ;" >
89
- <i class =" icon-chevron-right" ></i > more information
89
+ <small >< i class =" icon-chevron-right" ></i > more information</ small >
90
90
</div >
91
91
<div id =" moreInformation" class =" hide" >
92
92
<ul >
@@ -249,10 +249,12 @@ $(document).ready(function() {
249
249
event .preventDefault ();
250
250
if ($ (' #moreInformation' ).is (' :visible' )) {
251
251
// hide it
252
+ $ (' .moreInformationContainer' , this .el ).removeClass (' alert' ).removeClass (' alert-info' ).addClass (' muted' );
252
253
$ (' #moreInformation' ).hide (' fast' );
253
254
$ (' #toggleMoreInformation i' ).attr (' class' , ' icon-chevron-right' );
254
255
} else {
255
256
// show it
257
+ $ (' .moreInformationContainer' , this .el ).addClass (' alert' ).addClass (' alert-info' ).removeClass (' muted' );
256
258
$ (' #moreInformation' ).show (' fast' );
257
259
$ (' #toggleMoreInformation i' ).attr (' class' , ' icon-chevron-down' );
258
260
}
Original file line number Diff line number Diff line change @@ -246,15 +246,15 @@ var ClientView = Backbone.View.extend({
246
246
e . preventDefault ( ) ;
247
247
if ( $ ( '.moreInformation' , this . el ) . is ( ':visible' ) ) {
248
248
// hide it
249
+ $ ( '.moreInformationContainer' , this . el ) . removeClass ( 'alert' ) . removeClass ( 'alert-info' ) . addClass ( 'muted' ) ;
249
250
$ ( '.moreInformation' , this . el ) . hide ( 'fast' ) ;
250
251
$ ( '.toggleMoreInformation i' , this . el ) . attr ( 'class' , 'icon-chevron-right' ) ;
251
- $ ( '.moreInformationContainer' , this . el ) . removeClass ( 'alert' ) . removeClass ( 'alert-info' ) . addClass ( 'muted' ) ;
252
252
253
253
} else {
254
254
// show it
255
+ $ ( '.moreInformationContainer' , this . el ) . addClass ( 'alert' ) . addClass ( 'alert-info' ) . removeClass ( 'muted' ) ;
255
256
$ ( '.moreInformation' , this . el ) . show ( 'fast' ) ;
256
257
$ ( '.toggleMoreInformation i' , this . el ) . attr ( 'class' , 'icon-chevron-down' ) ;
257
- $ ( '.moreInformationContainer' , this . el ) . addClass ( 'alert' ) . addClass ( 'alert-info' ) . removeClass ( 'muted' ) ;
258
258
}
259
259
} ,
260
260
You can’t perform that action at this time.
0 commit comments