Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:SEPM-2022/CleverBirds into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Akk3d1s committed May 27, 2022
2 parents 1376138 + ed3b838 commit b77049d
Show file tree
Hide file tree
Showing 32 changed files with 169 additions and 126 deletions.
275 changes: 158 additions & 117 deletions README.md

Large diffs are not rendered by default.

Binary file added assets/CONFLUENCE-PDF-NEW.pdf
Binary file not shown.
Binary file added assets/GanttChart CB.pdf
Binary file not shown.
Binary file added assets/NewProjectCharter.JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/RACI-MATRIX-CB.pdf
Binary file not shown.
Binary file added assets/Test Report.pdf
Binary file not shown.
Binary file added assets/game-test-report.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion controllers/users_controller.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

from flask import Flask, render_template, request, session, make_response
from flask import Flask, render_template, request, session, make_response, flash
from app import app, db
from flask_sqlalchemy import SQLAlchemy
from werkzeug.security import generate_password_hash, check_password_hash
Expand Down Expand Up @@ -61,6 +61,8 @@ def page_login():
return render_template('user-dashboard.html', Name = user_found.U_Name, Username = user_found.U_Username, Avatar=user_found.U_CharacterName, Score=user_found.U_Score )
else:
flash("Wrong username/password.")
return render_template('index.html', user_not_found=True) # using JInja in index.html

if request.method=="GET":
return render_template('index.html',user_not_found=False)

Expand Down
Binary file removed static/img/charming-tweety.png
Binary file not shown.
Binary file modified static/img/chubby-bird-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed static/img/cover-option.jpg
Binary file not shown.
Binary file removed static/img/flying-cute-tweety.png
Binary file not shown.
Binary file removed static/img/flytweety.gif
Binary file not shown.
Binary file removed static/img/logo-clever-birds.jpg
Binary file not shown.
Binary file removed static/img/mylogo.jpg
Binary file not shown.
Binary file removed static/img/tweet-aboutus-page.png
Binary file not shown.
Binary file removed static/img/tweety-bird-cute.gif
Binary file not shown.
Binary file removed static/img/tweety-cloud.jpg
Binary file not shown.
Binary file removed static/img/tweety-greeting-heart-big.gif
Binary file not shown.
Binary file removed static/img/tweety-heart.gif
Binary file not shown.
Binary file removed static/img/tweety-lying.jpg
Binary file not shown.
Binary file removed static/img/tweety-standing.png
Binary file not shown.
Binary file removed static/img/tweety-wait.gif
Binary file not shown.
Binary file added static/img/tweety-wait.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed static/img/wink.jfif
Binary file not shown.
2 changes: 1 addition & 1 deletion templates/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ <h4 class="text-right"> Talk to Tweety &#128526</h4>
<div class="col">
<div class="col-md-3 border-right px-3">
<div class=" flex-column align-items-center text-center p-3 py-5"><img class="square mt-5"
width="150px" src="../static/img/tweety-wait.gif">
width="150px" src="../static/img/tweety-wait.png">
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion templates/create-account.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ <h4 class="text-right">Create your profile &#128526</h4>
<div class="col">
<div class="col-md-3 border-right px-3">
<div class=" flex-column align-items-center text-center p-3 py-5">
<img class="square mt-5" width="150" src="static/img/tweety-wait.gif">
<img class="square mt-5" width="150" src="static/img/tweety-wait.png">
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ <h1 class="text-center text-dark mt-5 fonte-jogo"> CLEVER BIRDS</h1>
<div class="d-flex my-4 py-3 card-login justify-content-between align-items-center"
style="background-color: #1fb1d6d8;">
<div class="img-piupiu">
<img src="../static/img/tweety-wait.gif" class="img-fluid profile-image-pic img-thumbnail my-3"
width="180px" alt="profile">
<img src="../static/img/tweety-wait.png" class="img-fluid profile-image-pic img-thumbnail my-3"
width="300px" alt="profile">
</div>
<form id="form-login" class="px-lg-3 py-lg-5 mt-5" action="\login" method="post">
<div class="mb-3">
Expand Down
2 changes: 1 addition & 1 deletion templates/manage-account.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <h6> {{ Score }} </h6>
</form>
</div>
</div>
<img class="square mt-5 ms-3" height="150" src="../static/img/tweety-wait.gif">
<img class="square mt-5 ms-3" height="150" src="../static/img/tweety-wait.png">
</div>
</div>
{% include 'footer.html' %}
Expand Down
2 changes: 1 addition & 1 deletion templates/signup-success.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<div class="container rounded mt-5 mb-5">
<div class="d-flex flex-column align-items-center text-center p-3">
<div class="d-flex align-items-center text-center">
<img class="square" width="220px" src="../static/img/tweety-wait.gif">
<img class="square" width="220px" src="../static/img/tweety-wait.png">
<div class="balao fonte-jogo">Congrats! Your acount has been successfully created!
<p></p>
Please <a
Expand Down
2 changes: 1 addition & 1 deletion templates/tweety.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
{% include 'header.html' %}
<div class="container rounded mt-5 mb-5">
<div class="d-flex justify-content-center">
<img id="tweety-img" class="mt-5 me-5" height="350" src="/static/img/tweety-wait.gif">
<img id="tweety-img" class="mt-5 me-5" height="350" src="/static/img/tweety-wait.png">



Expand Down
2 changes: 1 addition & 1 deletion templates/user-dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ <h4 class="text-right mb-5">User Dashboard &#128526</h4>
<a class="btn btn-primary profile-button" href="/changeavatar">Change avatar</a>
</div>
</div>
<img class="square mt-5 ms-3" height="200" src="../static/img/tweety-wait.gif">
<img class="square mt-5 ms-3" height="200" src="../static/img/tweety-wait.png">
</div>
</div>
{% include 'footer.html' %}
Expand Down

0 comments on commit b77049d

Please sign in to comment.