Skip to content

Commit

Permalink
template updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomnl committed Jun 29, 2023
1 parent 82b75fb commit ad0128a
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 7 deletions.
7 changes: 6 additions & 1 deletion gfiles/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,12 @@




{# <footer> <!-- Marking the footer section -->#}
{##}
{##}
{# <img class="img-responsive" src="{% static 'img/logo_small2.svg' %}" alt="MOGI" />#}
{##}
{# </footer>#}

{% endblock %}

6 changes: 3 additions & 3 deletions gfiles/templates/gfiles/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ <h3 class="panel-title">GFile functionality</h3>
<ul>
<li> <a href="{% url 'upload_gfile' %}" >Upload a file</a></li>
<li> <a href="{% url 'gfile_summary' %}" >File summary</a></li>
<li> <a href="{% url 'account_login' %}" >Login</a></li>
<li> <a href="{% url 'account_logout' %}" >Logout</a></li>
<li> <a href="{% url 'account_signup' %}" >Sign up</a></li>
<li> <a href="{% url 'login' %}" >Login</a></li>
<li> <a href="{% url 'logout' %}" >Logout</a></li>
<li> <a href="{% url 'register' %}" >Register</a></li>

</ul>

Expand Down
2 changes: 1 addition & 1 deletion gfiles/templates/gfiles/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
{% block sb_admin_title %}{% endblock sb_admin_title %}
{% block sb_admin_subheading %} <small></small> {% endblock sb_admin_subheading %}
{% block sb_admin_breadcrumb %} <a href="{% url "index" %}"><i class="fa fa-fw fa-dashboard"></i> Dashboard</a> {% endblock sb_admin_breadcrumb %}
{% block sb_admin_breadcrumb_active %} \ Login {% endblock sb_admin_breadcrumb_active %}
{% block sb_admin_breadcrumb_active %} \ login {% endblock sb_admin_breadcrumb_active %}
{% block panel_title %}{% endblock panel_title %}
2 changes: 1 addition & 1 deletion gfiles/templates/gfiles/logout.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
{% block sb_admin_title %}Logout {% endblock sb_admin_title %}
{% block sb_admin_subheading %} <small></small> {% endblock sb_admin_subheading %}
{% block sb_admin_breadcrumb %} <a href="{% url "index" %}"><i class="fa fa-fw fa-dashboard"></i> Dashboard</a> {% endblock sb_admin_breadcrumb %}
{% block sb_admin_breadcrumb_active %} Logout {% endblock sb_admin_breadcrumb_active %}
{% block sb_admin_breadcrumb_active %} / logout {% endblock sb_admin_breadcrumb_active %}
{% block panel_title %}{% endblock panel_title %}
2 changes: 1 addition & 1 deletion gfiles/templates/gfiles/register.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
{% block sb_admin_title %}Register {% endblock sb_admin_title %}
{% block sb_admin_subheading %} <small></small> {% endblock sb_admin_subheading %}
{% block sb_admin_breadcrumb %} <a href="{% url "index" %}"><i class="fa fa-fw fa-dashboard"></i> Dashboard</a> {% endblock sb_admin_breadcrumb %}
{% block sb_admin_breadcrumb_active %} \ Register {% endblock sb_admin_breadcrumb_active %}
{% block sb_admin_breadcrumb_active %} / register {% endblock sb_admin_breadcrumb_active %}
{% block panel_title %}{% endblock panel_title %}
21 changes: 21 additions & 0 deletions gfiles/templates/socialaccount/login.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{% extends "base.html" %}
{% load i18n %}
{% block sb_admin_title %}Sign in (google) {% endblock sb_admin_title %}
{% block sb_admin_subheading %} <small></small> {% endblock sb_admin_subheading %}
{% block sb_admin_breadcrumb %} <a href="{% url "index" %}"><i class="fa fa-fw fa-dashboard"></i> Dashboard</a> {% endblock sb_admin_breadcrumb %}
{% block sb_admin_breadcrumb_active %} / login (google) {% endblock sb_admin_breadcrumb_active %}
{% block panel_title %}{% endblock panel_title %}

{% block content %}
{% if process == "connect" %}
<p>{% blocktrans with provider.name as provider %}Connect {{ provider }}{% endblocktrans %}</p>
<p>{% blocktrans with provider.name as provider %}You are about to connect a new third party account from {{ provider }}.{% endblocktrans %}</p>
{% else %}
<p>{% blocktrans with provider.name as provider %}You are about to sign in using a third party account from {{ provider }}.{% endblocktrans %}</p>
{% endif %}

<form method="post">
{% csrf_token %}
<button type="submit">{% trans "Continue" %}</button>
</form>
{% endblock %}

0 comments on commit ad0128a

Please sign in to comment.