Skip to content

Commit

Permalink
Modified login screen design. Added resource folders CSS, images etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
pranabjyotiopsmx committed Nov 20, 2020
1 parent 5de0de7 commit b4db298
Show file tree
Hide file tree
Showing 32 changed files with 15,237 additions and 61 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ class AuthConfig {
http
.requestMatcher(requestMatcherProvider.requestMatcher())
.authorizeRequests()
.antMatchers("/resources/**").permitAll()
.antMatchers("/images/**").permitAll()
.antMatchers("/js/**").permitAll()
.antMatchers("/fonts/**").permitAll()
.antMatchers("/css/**").permitAll()
.antMatchers('/**/favicon.ico').permitAll()
.antMatchers(HttpMethod.OPTIONS, "/**").permitAll()
.antMatchers(PermissionRevokingLogoutSuccessHandler.LOGGED_OUT_URL).permitAll()
Expand All @@ -109,9 +114,7 @@ class AuthConfig {
http.addFilterBefore(fiatSessionFilter, AnonymousAuthenticationFilter.class)
}

http.formLogin()
.loginPage("/login")
.permitAll()
http.formLogin().loginPage("/login").permitAll()

http.logout()
.logoutUrl("/auth/logout")
Expand Down
7 changes: 7 additions & 0 deletions gate-web/src/main/resources/static/css/bootstrap.min.css

Large diffs are not rendered by default.

168 changes: 168 additions & 0 deletions gate-web/src/main/resources/static/css/combobox.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,168 @@
/************** Skin 1 *********************/
.dd {
/*display:inline-block !important;*/
text-align:left;
background-color:#fff;
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
float:left;
}
.dd .ddTitle {
background:#f2f2f2;
border:1px solid #c3c3c3;
padding:3px;
text-indent:0;
cursor:default;
overflow:hidden;
height:16px;
}
.dd .ddTitle span.arrow {
background:url(dd_arrow.gif) no-repeat 0 0; float:right; display:inline-block;width:16px; height:16px; cursor:pointer;
}

.dd .ddTitle span.ddTitleText {text-indent:1px; overflow:hidden; line-height:16px;}
.dd .ddTitle span.ddTitleText img{text-align:left; padding:0 2px 0 0}
.dd .ddTitle img.selected {
padding:0 3px 0 0;
vertical-align:top;
}
.dd .ddChild {
position:absolute;
border:1px solid #c3c3c3;
border-top:none;
display:none;
margin:0;
width:auto;
overflow:auto;
overflow-x:hidden !important;
background-color:#ffffff;
}
.dd .ddChild .opta a, .dd .ddChild .opta a:visited {padding-left:10px}
.dd .ddChild a {
display:block;
padding:2px 0 2px 3px;
text-decoration:none;
color:#000;
overflow:hidden;
white-space:nowrap;
cursor:pointer;
}
.dd .ddChild a:hover {
background-color:#66CCFF;
}
.dd .ddChild a img {
border:0;
padding:0 2px 0 0;
vertical-align:middle;
}
.dd .ddChild a.selected {
background-color:#66CCFF;

}
.hidden {display:none;}

/************** Skin 2 *********************/
.dd2 {
/*display:inline-block !important;*/
text-align:left;
background-color:#fff;
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
float:left;
}
.dd2 .ddTitle {
background:transparent url(../images/msDropDown.gif) no-repeat;
padding:0 3px;
text-indent:0;
cursor:default;
overflow:hidden;
height:36px;
}
.dd2 .ddTitle span.arrow {
background:transparent url(../images/icon-arrow.gif) no-repeat 0 0; float:right; display:inline-block;width:27px; height:27px; cursor:pointer; top:5px; position:relative; right:2px;
}

.dd2 .ddTitle span.ddTitleText {text-indent:1px; overflow:hidden; line-height:33px; font-family:Georgia, "Times New Roman", Times, serif; font-size:16px; font-weight:bold; color:#fff;}
.dd2 .ddTitle span.ddTitleText img{text-align:left; padding:0 2px 0 0;}
.dd2 .ddTitle img.selected {
padding:0 2px 0 0;
vertical-align:top;
}
.dd2 .ddChild {
position:absolute;
border:1px solid #c3c3c3;
border-top:none;
display:none;
margin:0;
width:auto;
overflow:auto;
overflow-x:hidden !important;
background-color:#ffffff;
font-size:14px;
}
.dd2 .ddChild .opta a, .dd2 .ddChild .opta a:visited {padding-left:10px}
.dd2 .ddChild a {
display:block;
padding:3px 0 3px 3px;
text-decoration:none;
color:#000;
overflow:hidden;
white-space:nowrap;
cursor:pointer;
}
.dd2 .ddChild a:hover {
background-color:#66CCFF;
}
.dd2 .ddChild a img {
border:0;
padding:0 2px 0 0;
vertical-align:middle;
}
.dd2 .ddChild a.selected {
background-color:#66CCFF;
}

/************* use sprite *****************/
.dd .ddChild a.sprite, .dd .ddChild a.sprite:visited {
background-image:url(../icons/sprite.gif);
background-repeat:no-repeat;
padding-left:24px;
}

.dd .ddChild a.calendar, .dd .ddChild a.calendar:visited {
background-position:0 -404px;
}
.dd .ddChild a.shoppingcart, .dd .ddChild a.shoppingcart:visited {
background-position:0 -330px;
}
.dd .ddChild a.cd, .dd .ddChild a.cd:visited {
background-position:0 -439px;
}
.dd .ddChild a.email, .dd .ddChild a.email:visited {
background-position:0 -256px;
}
.dd .ddChild a.faq, .dd .ddChild a.faq:visited {
background-position:0 -183px;
}
.dd .ddChild a.games,
.dd .ddChild a.games:visited {
background-position:0 -365px;
}
.dd .ddChild a.music, .dd .ddChild a.music:visited {
background-position:0 -146px;
}
.dd .ddChild a.phone, .dd .ddChild a.phone:visited {
background-position:0 -109px;
}
.dd .ddChild a.graph, .dd .ddChild a.graph:visited {
background-position:0 -73px;
}
.dd .ddChild a.secured, .dd .ddChild a.secured:visited {
background-position:0 -37px;
}
.dd .ddChild a.video, .dd .ddChild a.video:visited {
background-position:0 0;
}


/*******************************/
9 changes: 9 additions & 0 deletions gate-web/src/main/resources/static/css/datepicker3.min.css

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions gate-web/src/main/resources/static/css/smart_wizard.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b4db298

Please sign in to comment.