forked from makersacademy/acebook-java-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from davidsholoye/navigation
Navigation
- Loading branch information
Showing
7 changed files
with
72 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package com.makersacademy.acebook.model; | ||
|
||
public class Comment { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
src/main/resources/db/migration/V10__update_userid_to_bigint.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
ALTER TABLE posts | ||
ALTER COLUMN user_id | ||
TYPE bigint; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<html xmlns:th="http://www.thymeleaf.org" xmlns:tiles="http://www.thymeleaf.org"> | ||
<head> | ||
<title tiles:fragment="title">Messages : Create</title> | ||
</head> | ||
<body> | ||
<div tiles:fragment="content"> | ||
<form name="f" th:action="@{/login}" method="post"> | ||
<fieldset> | ||
<legend>Please Login</legend> | ||
<div th:if="${param.error}" class="alert alert-error"> | ||
Invalid username and password. | ||
</div> | ||
<div th:if="${param.logout}" class="alert alert-success"> | ||
You have been logged out. | ||
</div> | ||
<label for="username">Username</label> | ||
<input type="text" id="username" name="username"/> | ||
<label for="password">Password</label> | ||
<input type="password" id="password" name="password"/> | ||
<div class="form-actions"> | ||
<button type="submit" class="btn">Log in</button> | ||
</div> | ||
</fieldset> | ||
</form> | ||
<form name="f" th:action="@{/users/new}" method="get"> | ||
<div> | ||
<button type="submit" class="btn">Sign up</button> | ||
</div> | ||
</form> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters