Merge pull request #465 from kw-udon/dev

Adjust position of logo image
This commit is contained in:
Shinsuke Sugaya 2016-04-05 23:29:20 +09:00
commit 84b265ba95
3 changed files with 8 additions and 2 deletions

View file

@ -75,7 +75,7 @@ public class UserService implements Serializable {
}
public void chnagePassword(final String username, final String password) {
public void changePassword(final String username, final String password) {
ComponentUtil.getLdapManager().changePassword(username, password);
final FessConfig fessConfig = ComponentUtil.getFessConfig();

View file

@ -67,7 +67,7 @@ public class ProfileAction extends FessSearchAction {
validatePasswordForm(form, toIndexPage);
final String username = getUserBean().map(u -> u.getUserId()).get();
try {
userService.chnagePassword(username, form.newPassword);
userService.changePassword(username, form.newPassword);
saveInfo(messages -> messages.addSuccessChangedPassword(GLOBAL));
} catch (final Exception e) {
logger.error("Failed to change password for " + username, e);

View file

@ -240,6 +240,10 @@ body.search #searchOptions.active, body.help #searchOptions.active, body.error
display: inline-block;
}
.navbar-brand img {
padding-top: 4px;
}
/* Large desktop */
@media ( min-width : 74.9em) {
.visible-xs {
@ -274,6 +278,7 @@ body.search #searchOptions.active, body.help #searchOptions.active, body.error
}
.navbar-brand img {
width: 80px;
padding-top: 6.5px;
}
.searchFormBox {
margin-top: 20px;
@ -312,6 +317,7 @@ body.search #searchOptions.active, body.help #searchOptions.active, body.error
}
.navbar-brand img {
width: 80px;
padding-top: 6.5px;
}
.searchFormBox {
margin-top: 80px;