Skip to content

Commit

Permalink
Merge pull request #1212 from nextcloud/Sign-in-with-GitHub
Browse files Browse the repository at this point in the history
added extending of socialaccount-login template
  • Loading branch information
bigcat88 authored Nov 8, 2023
2 parents 6f5d6b3 + 44b2ddb commit 667164f
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions nextcloudappstore/templates/socialaccount/login.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{% extends "socialaccount/login.html" %}
{% load i18n %}
{% load static %}

{% block content %}
<div class="central-form">
{% if process == "connect" %}
<h4>{% blocktrans with provider.name as provider %}Connect {{ provider }}{% endblocktrans %}</h4>

<p>{% blocktrans with provider.name as provider %}You are about to connect a new third party account from {{ provider }}.{% endblocktrans %}</p>
{% else %}
<h4>{% blocktrans with provider.name as provider %}Sign In Via {{ provider }}{% endblocktrans %}</h4>

<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 class="btn btn-primary" type="submit">
<span class="icon material-symbols-outlined">login</span>
{% trans "Continue" %}
</button>
</form>
</div>
{% endblock content %}

0 comments on commit 667164f

Please sign in to comment.