Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fibre
portal-interface
Commits
9061050a
Commit
9061050a
authored
Feb 13, 2020
by
Felipe Fonseca
Browse files
Implemented login with CAFe and CAFe Expresso
parent
82dbef98
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
8 deletions
+36
-8
portal/static/images/cafex_logo.png
portal/static/images/cafex_logo.png
+0
-0
portal/templates/members/authentication/home.html
portal/templates/members/authentication/home.html
+36
-8
No files found.
portal/static/images/cafex_logo.png
0 → 100644
View file @
9061050a
24.4 KB
portal/templates/members/authentication/home.html
View file @
9061050a
...
...
@@ -52,7 +52,8 @@
{% if not request.session.member_urn %}
<div
style=
"border: 1px solid; border-color: #ddd; width:480px;"
class=
"center-block"
>
<div
style=
"display: flex;"
>
<div
style=
"border: 1px solid; border-color: #eee; width:480; border-radius: 5px;"
class=
"center-block"
>
<!--
<div style="height:60px; background-color:#f3f3f3">
...
...
@@ -61,19 +62,46 @@
</div>
</div> -->
<img
src=
"{% static "
images
/
fibre_brand.png
"
%}"
class=
"img-responsive center-block"
>
<div
style=
"display: flex;"
class=
"center-block"
>
<div
style=
"width: 50%; margin: 15px;"
class=
"center-block"
>
<a
href=
"https://portal.fibre.org.br/Login"
role=
"button"
class=
"btn btn-primary btn-lg btn-block"
>
Sign in
</a>
<a
style=
"margin-top: 10px; display: inline-block;"
href=
"{% url 'portal:password_reset_form' %}"
>
Forgot your password?
</a>
</div>
<div
style=
"width: 50%; margin: 15px;"
class=
"center-block"
>
<a
href=
"{% url 'portal:account_request_form' %}"
role=
"button"
class=
"btn btn-primary btn-lg btn-block"
>
Sign up
</a>
<div
style=
"display: flex; flex-direction: column; width: 100%;"
>
<img
src=
"{% static "
images
/
fibre_brand.png
"
%}"
class=
"img-responsive "
>
<div
style=
"display: flex;"
>
<div
style=
"width: 50%; margin: 15px;"
class=
"center-block"
>
<a
href=
"https://portal.fibre.org.br/Login"
role=
"button"
class=
"btn btn-primary btn-lg btn-block"
>
Sign in
</a>
<a
style=
"margin-top: 10px; display: inline-block;"
href=
"{% url 'portal:password_reset_form' %}"
>
Forgot your password?
</a>
</div>
<div
style=
"width: 50%; margin: 15px;"
class=
"center-block"
>
<a
href=
"{% url 'portal:account_request_form' %}"
role=
"button"
class=
"btn btn-primary btn-lg btn-block"
>
Sign up
</a>
</div>
</div>
</div>
</div>
</div>
<div
style=
"border: 1px solid; border-color: #eee; width:480; border-radius: 5px; align-self: center;"
class=
"center-block"
>
<!--
<div style="height:60px; background-color:#f3f3f3">
<div class="col-xs-12" style="height:100%; margin:10px">
<h4 style="text-align:center">I have an account</h4>
</div>
</div> -->
<div
style=
"display: flex;"
class=
"center-block"
>
<div
style=
"width: 50%; padding: 15px; display: flex; flex-direction: column; align-self: flex-end;"
class=
"center-block"
>
<img
src=
"{% static "
images
/
cafe_logo.png
"
%}"
alt=
""
>
<a
href=
"https://portal.fibre.org.br/Cafe"
role=
"button"
class=
"btn btn-primary btn-lg btn-block"
>
Login with CAFe
</a>
</div>
<div
style=
"width: 50%; padding: 15px; display: flex; flex-direction: column; align-self: flex-end;"
class=
"center-block"
>
<img
src=
"{% static "
images
/
cafex_logo.png
"
%}"
alt=
""
>
<a
href=
"https://portal.fibre.org.br/DS"
role=
"button"
class=
"btn btn-primary btn-lg btn-block"
>
Login with
<br>
CAFe Expresso
</a>
</div>
</div>
</div></div>
<!-- <div style="border: 1px solid; border-color: #ddd; width:480px; display: table; margin: 0 auto; display: none;" id="local-sign-in"> -->
<!--
...
...
Leonardo Rodrigues Furtado
@leonardorodd128
mentioned in issue
#95 (closed)
·
Feb 27, 2020
mentioned in issue
#95 (closed)
mentioned in issue #95
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment