-
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 #21 from unb-mds/frontend-rewrite
Frontend rewrite
- Loading branch information
Showing
13 changed files
with
641 additions
and
674 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
"Written by bcL0c, whose login planning and execution will undoubtedly, somehow, erase all the database data" | ||
|
||
### What is this document | ||
|
||
This document attempts to design how the information should flow along the app and be | ||
delivered to the user so we may perform a login operation and, therefore, grant privileges | ||
based on this login. | ||
Requirements for this system is as follows: | ||
1. The user (or client) should be able to send an id and password | ||
2. The server should be able to receive and treat this information | ||
3. | ||
|
||
### 1. Info passed client-server | ||
This should be done via POST operation, in which the user attempts to send info. | ||
After sending the post and we receive it, a query must be performed so we know who | ||
is trying to login |
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 |
---|---|---|
@@ -1,5 +1,43 @@ | ||
import React from 'react'; | ||
import './styles/cadastro.css' | ||
//import './styles/cadastro.css' | ||
|
||
class PlaceholderLogo extends React.Component { | ||
constructor(props) { | ||
super(props); | ||
} | ||
render() { | ||
return ( | ||
<div className="ladoEsquerdo"> | ||
<div className="box"> | ||
<a href="login"> | ||
<svg | ||
fill="#000000" | ||
version="1.1" | ||
id="Capa_1" | ||
xmlns="http://www.w3.org/2000/svg" | ||
xmlnsXlink="http://www.w3.org/1999/xlink" | ||
width="30px" | ||
height="30px" | ||
viewBox="0 0 299.021 299.021" | ||
xmlSpace="preserve" | ||
> | ||
<g> | ||
<g> | ||
<path | ||
d="M292.866,254.432c-2.288,0-4.443-1.285-5.5-3.399c-0.354-0.684-28.541-52.949-146.169-54.727v51.977 | ||
c0,2.342-1.333,4.48-3.432,5.513c-2.096,1.033-4.594,0.793-6.461-0.63L2.417,154.392C0.898,153.227,0,151.425,0,149.516 | ||
c0-1.919,0.898-3.72,2.417-4.888l128.893-98.77c1.87-1.426,4.365-1.667,6.461-0.639c2.099,1.026,3.432,3.173,3.432,5.509v54.776 | ||
c3.111-0.198,7.164-0.37,11.947-0.37c43.861,0,145.871,13.952,145.871,143.136c0,2.858-1.964,5.344-4.75,5.993 C293.802,254.384,293.34,254.432,292.866,254.432z" | ||
/> | ||
</g> | ||
</g> | ||
</svg> | ||
</a> | ||
</div> | ||
</div> | ||
) | ||
} | ||
} | ||
|
||
class cadastro extends React.Component{ | ||
constructor(props) { | ||
|
@@ -19,29 +57,7 @@ class cadastro extends React.Component{ | |
href="https://fonts.googleapis.com/css2?family=Dancing+Script:[email protected]&display=swap" | ||
rel="stylesheet" | ||
/> | ||
<div className="ladoEsquerdo"> | ||
<div className="box"> | ||
<a href="login.html"> | ||
<svg | ||
fill="#000000" | ||
version="1.1" | ||
id="Capa_1" | ||
xmlns="http://www.w3.org/2000/svg" | ||
xmlnsXlink="http://www.w3.org/1999/xlink" | ||
width="30px" | ||
height="30px" | ||
viewBox="0 0 299.021 299.021" | ||
xmlSpace="preserve" | ||
> | ||
<g> | ||
<g> | ||
<path d="M292.866,254.432c-2.288,0-4.443-1.285-5.5-3.399c-0.354-0.684-28.541-52.949-146.169-54.727v51.977 c0,2.342-1.333,4.48-3.432,5.513c-2.096,1.033-4.594,0.793-6.461-0.63L2.417,154.392C0.898,153.227,0,151.425,0,149.516 c0-1.919,0.898-3.72,2.417-4.888l128.893-98.77c1.87-1.426,4.365-1.667,6.461-0.639c2.099,1.026,3.432,3.173,3.432,5.509v54.776 c3.111-0.198,7.164-0.37,11.947-0.37c43.861,0,145.871,13.952,145.871,143.136c0,2.858-1.964,5.344-4.75,5.993 C293.802,254.384,293.34,254.432,292.866,254.432z" /> | ||
</g> | ||
</g> | ||
</svg> | ||
</a> | ||
</div> | ||
</div> | ||
<PlaceholderLogo/> | ||
<div className="ladoDireito"> | ||
<div className="content"> | ||
<div className="textos"> | ||
|
Oops, something went wrong.