Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
CTB
ctb-platform-backend-antigo
Commits
26654ea2
Commit
26654ea2
authored
May 28, 2019
by
Bruno Martin
Browse files
remove unused templates
parent
2d3d6725
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
111 deletions
+0
-111
base_django_project/templates/account/base.html
base_django_project/templates/account/base.html
+0
-12
base_django_project/templates/account/login.html
base_django_project/templates/account/login.html
+0
-50
base_django_project/templates/account/signup.html
base_django_project/templates/account/signup.html
+0
-47
base_django_project/templates/pages/about.html
base_django_project/templates/pages/about.html
+0
-1
base_django_project/templates/pages/home.html
base_django_project/templates/pages/home.html
+0
-1
No files found.
base_django_project/templates/account/base.html
deleted
100644 → 0
View file @
2d3d6725
{% extends "base.html" %}
{% block title %}{% block head_title %}{% endblock head_title %}{% endblock title %}
{% block header %}{% endblock header %}
{% block content %}
<div
class=
"row"
>
<div
class=
"col-sd-4 col-md-4 offset-md-3"
>
{% block inner %}{% endblock %}
</div>
</div>
{% endblock %}
base_django_project/templates/account/login.html
deleted
100644 → 0
View file @
2d3d6725
{% extends "account/base.html" %}
{% load static i18n %}
{% load account socialaccount %}
{% load crispy_forms_tags %}
{% block head_title %}{% trans "Sign In" %}{% endblock %}
{% block css %}
{{ block.super }}
<link
href=
"{% static 'css/embed.css' %}"
rel=
"stylesheet"
>
<link
href=
"https://cdn.jsdelivr.net/gh/lipis/bootstrap-social@5.1.1/bootstrap-social.css"
rel=
"stylesheet"
>
<link
href=
"https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"
rel=
"stylesheet"
>
{% endblock css %}
{% block javascript %}
{{ block.super }}
<script
src=
"{% static 'js/twtterLoginWidget.js' %}"
></script>
{% providers_media_js %}
{% endblock javascript %}
{% block inner %}
{% include "socialaccount/snippets/login_extra.html" %}
<a
id=
"facebook-button"
class=
"btn btn-primary btn-block btn-social btn-facebook"
href=
"{% provider_login_url "
facebook
"
method=
"js_sdk"
next=
"/api/profile/close"
%}"
style=
"color: #fff"
><i
class=
"fa fa-facebook"
></i>
Conectar com Facebook
</a>
<a
id=
"twitter-login-link"
class=
"btn btn-primary btn-block btn-social btn-twitter"
href=
"{% provider_login_url "
twitter
"
next=
"/api/profile/close"
%}"
style=
"color: #fff;"
>
<i
class=
"fa fa-twitter"
></i>
Connectar com Twitter
</a>
<form
class=
"login"
method=
"POST"
action=
"{% url 'account_login' %}"
>
{% csrf_token %}
{{ form|crispy }}
{% if redirect_field_value %}
<input
type=
"hidden"
name=
"{{ redirect_field_name }}"
value=
"{{ redirect_field_value }}"
/>
{% endif %}
<a
class=
"button secondaryAction"
href=
"{% url 'account_reset_password' %}"
>
{% trans "Forgot Password?" %}
</a>
<button
class=
"primaryAction btn btn-primary"
type=
"submit"
>
{% trans "Sign In" %}
</button>
</form>
<a
class=
"btn btn-primary btn-block"
href=
"{% url 'account_signup' %}"
style=
"color: #fff"
><i
class=
""
></i>
Cadastrar-se
</a>
{% endblock %}
base_django_project/templates/account/signup.html
deleted
100644 → 0
View file @
2d3d6725
{% extends "account/base.html" %}
{% load static i18n %}
{% load crispy_forms_tags %}
{% load socialaccount %}
{% block head_title %}{% trans "Signup" %}{% endblock %}
{% block css %}
{{ block.super }}
<link
href=
"{% static 'css/embed.css' %}"
rel=
"stylesheet"
>
<link
href=
"https://cdn.jsdelivr.net/gh/lipis/bootstrap-social@5.1.1/bootstrap-social.css"
rel=
"stylesheet"
>
<link
href=
"https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"
rel=
"stylesheet"
>
{% endblock css %}
{% block javascript %}
{{ block.super }}
<script
src=
"{% static 'js/twtterLoginWidget.js' %}"
></script>
{% providers_media_js %}
{% endblock javascript %}
{% block inner %}
<a
id=
"facebook-button"
class=
"btn btn-primary btn-block btn-social btn-facebook"
href=
"{% provider_login_url "
facebook
"
method=
"js_sdk"
next=
"/api/profile/close"
%}"
style=
"color: #fff"
><i
class=
"fa fa-facebook"
></i>
Conectar com Facebook
</a>
<a
id=
"twitter-login-link"
class=
"btn btn-primary btn-block btn-social btn-twitter"
href=
"{% provider_login_url "
twitter
"
next=
"/api/profile/close"
%}"
style=
"color: #fff;"
>
<i
class=
"fa fa-twitter"
></i>
Connectar com Twitter
</a>
<form
class=
"signup"
id=
"signup_form"
method=
"post"
action=
"{% url 'account_signup' %}"
>
{% csrf_token %}
{{ form|crispy }}
{% if redirect_field_value %}
<input
type=
"hidden"
name=
"{{ redirect_field_name }}"
value=
"{{ redirect_field_value }}"
/>
{% endif %}
<button
class=
"btn btn-primary"
type=
"submit"
>
{% trans "Sign Up" %}
»
</button>
</form>
<p>
{% blocktrans %}Already have an account? Then please
<a
href=
"{{ login_url }}"
>
sign in
</a>
.{% endblocktrans %}
</p>
{% endblock %}
base_django_project/templates/pages/about.html
deleted
100644 → 0
View file @
2d3d6725
{% extends "base.html" %}
\ No newline at end of file
base_django_project/templates/pages/home.html
deleted
100644 → 0
View file @
2d3d6725
{% extends "base.html" %}
\ No newline at end of file
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