Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/dicksor/SitNBeer
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainCapo committed Apr 21, 2020
2 parents d765b43 + 19f48df commit f77527c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public void configureGlobal(AuthenticationManagerBuilder auth) throws Exception
@Override
protected void configure(HttpSecurity http) throws Exception {
http.authorizeRequests().antMatchers("/js/*.js", "/css/*.css", "/favicon.ico").permitAll()
.antMatchers("/registration", "/home", "/bars", "/beers", "/" ).permitAll()
.antMatchers("/registration", "/home", "/bars", "/bar/query", "/beers", "/beer/query", "/" ).permitAll()
.antMatchers("/bar/update/*", "/beer/update/*", "/beer/edit/*", "/beer/add*", "/orders/*", "/orders/history/*", "/order/update/*", "/order/delete/*").hasAuthority("ENTERPRISE")
.antMatchers("/orders/client/*", "/bar/add").hasAuthority("USER")
.antMatchers("/profile", "/user/delete").authenticated()
Expand Down
4 changes: 4 additions & 0 deletions SitNBeer/src/main/resources/static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,8 @@ main {
position: relative;
top: -100px;
float: right;
}

.card-content > p{
margin-bottom: 10px !important;
}
2 changes: 0 additions & 2 deletions SitNBeer/src/main/resources/templates/fragments/card.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
</div>
<div class="card-content">
<p>[[${bar.getAddress()}]]</p>
<br>
<p>Available tables : [[${bar.getAvailableTable()}]]</p>
<br>
<p>Owner : [[${bar.getUser().getUsername()}]]</p>
</div>
<div class="card-action">
Expand Down
4 changes: 4 additions & 0 deletions SitNBeer/target/classes/static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,8 @@ main {
position: relative;
top: -100px;
float: right;
}

.card-content > p{
margin-bottom: 10px !important;
}
2 changes: 0 additions & 2 deletions SitNBeer/target/classes/templates/fragments/card.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
</div>
<div class="card-content">
<p>[[${bar.getAddress()}]]</p>
<br>
<p>Available tables : [[${bar.getAvailableTable()}]]</p>
<br>
<p>Owner : [[${bar.getUser().getUsername()}]]</p>
</div>
<div class="card-action">
Expand Down

0 comments on commit f77527c

Please sign in to comment.