-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
62 changed files
with
1,083 additions
and
1,038 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
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
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 |
---|---|---|
|
@@ -37,8 +37,8 @@ them, don't hesitate to ask. We're here to help! This is simply a reminder of wh | |
- [ ] I have read the [contributing guidelines](../blob/master/CONTRIBUTING.md) and signed the CLA. | ||
- [ ] I have referenced an issue containing the design document if my change introduces a new feature. | ||
- [ ] I have read the [security policy](../security/policy). | ||
- [ ] I confirm that this pull request does not address a security vulnerability. | ||
If this pull request addresses a security vulnerability, | ||
- [ ] I confirm that this pull request does not address a security vulnerability. | ||
If this pull request addresses a security vulnerability, | ||
I confirm that I got approval (please contact [[email protected]](mailto:[email protected])) from the maintainers to push the changes. | ||
- [ ] I have added tests that prove my fix is effective or that my feature works. | ||
- [ ] I have added the necessary documentation within the code base (if appropriate). | ||
|
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 |
---|---|---|
|
@@ -24,12 +24,10 @@ jobs: | |
uses: ory/ci/licenses/check@master | ||
- name: Write, commit, push licenses | ||
uses: ory/ci/licenses/write@master | ||
if: | ||
${{ github.ref == 'refs/heads/main' || github.ref == | ||
if: ${{ github.ref == 'refs/heads/main' || github.ref == | ||
'refs/heads/master' || github.ref == 'refs/heads/v3' }} | ||
with: | ||
author-email: | ||
${{ secrets.ORY_BOT_PAT && | ||
author-email: ${{ secrets.ORY_BOT_PAT && | ||
'[email protected]' || | ||
format('{0}@users.noreply.github.com', github.actor) }} | ||
author-name: ${{ secrets.ORY_BOT_PAT && 'ory-bot' || github.actor }} |
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,3 +1,3 @@ | ||
# Copyright © 2023 Ory Corp | ||
# Copyright © 2025 Ory Corp | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
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,4 +1,4 @@ | ||
# Copyright © 2023 Ory Corp | ||
# Copyright © 2025 Ory Corp | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
""" | ||
|
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,4 +1,4 @@ | ||
# Copyright © 2023 Ory Corp | ||
# Copyright © 2025 Ory Corp | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
""" | ||
|
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,4 +1,4 @@ | ||
# Copyright © 2023 Ory Corp | ||
# Copyright © 2025 Ory Corp | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
""" | ||
|
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,108 +1,133 @@ | ||
{% load static i18n %} | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="x-ua-compatible" content="ie=edge"> | ||
<meta charset="utf-8" /> | ||
<meta http-equiv="x-ua-compatible" content="ie=edge" /> | ||
<title>{% block title %}{% endblock title %}</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
|
||
<link rel="icon" href="{% static 'images/favicons/favicon.ico' %}"> | ||
<link rel="icon" href="{% static 'images/favicons/favicon.ico' %}" /> | ||
|
||
{% block css %} | ||
<!-- Latest compiled and minified Bootstrap CSS --> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.1.3/css/bootstrap.min.css" integrity="sha512-GQGU0fMMi238uA+a/bdWJfpUGKUkBdgfFdgBm72SUQ6BeyWjoY/ton0tEjH+OSH9iP4Dfh+7HM0I9f5eR0L/4w==" crossorigin="anonymous" referrerpolicy="no-referrer" /> | ||
<link | ||
rel="stylesheet" | ||
href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.1.3/css/bootstrap.min.css" | ||
integrity="sha512-GQGU0fMMi238uA+a/bdWJfpUGKUkBdgfFdgBm72SUQ6BeyWjoY/ton0tEjH+OSH9iP4Dfh+7HM0I9f5eR0L/4w==" | ||
crossorigin="anonymous" | ||
referrerpolicy="no-referrer" | ||
/> | ||
<!-- Your stuff: Third-party CSS libraries go here --> | ||
|
||
<!-- This file stores project-specific CSS --> | ||
<link href="{% static 'css/project.css' %}" rel="stylesheet"> | ||
<link href="{% static 'css/project.css' %}" rel="stylesheet" /> | ||
{% endblock %} | ||
<!-- Le javascript | ||
================================================== --> | ||
{# Placed at the top of the document so pages load faster with defer #} | ||
{% block javascript %} | ||
<!-- Vendor dependencies bundled as one file--> | ||
<script defer src="{% static 'js/vendors.min.js' %}"></script> | ||
<!-- Bootstrap JS --> | ||
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.1.3/js/bootstrap.min.js" integrity="sha512-OvBgP9A2JBgiRad/mM36mkzXSXaJE9BEIENnVEmeZdITvwT09xnxLtT4twkCa8m/loMbPHsvPl0T8lRGVBwjlQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> | ||
<!-- Your stuff: Third-party javascript libraries go here --> | ||
|
||
<!-- place project specific Javascript in this file --> | ||
<script defer src="{% static 'js/project.js' %}"></script> | ||
{# Placed at the top of the document so pages load faster with defer #} {% | ||
block javascript %} | ||
<!-- Vendor dependencies bundled as one file--> | ||
<script defer src="{% static 'js/vendors.min.js' %}"></script> | ||
<!-- Bootstrap JS --> | ||
<script | ||
defer | ||
src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.1.3/js/bootstrap.min.js" | ||
integrity="sha512-OvBgP9A2JBgiRad/mM36mkzXSXaJE9BEIENnVEmeZdITvwT09xnxLtT4twkCa8m/loMbPHsvPl0T8lRGVBwjlQ==" | ||
crossorigin="anonymous" | ||
referrerpolicy="no-referrer" | ||
></script> | ||
<!-- Your stuff: Third-party javascript libraries go here --> | ||
|
||
<!-- place project specific Javascript in this file --> | ||
<script defer src="{% static 'js/project.js' %}"></script> | ||
|
||
{% endblock javascript %} | ||
|
||
</head> | ||
|
||
<body> | ||
|
||
<div class="mb-1"> | ||
<nav class="navbar navbar-expand-md navbar-light bg-light"> | ||
<div class="container-fluid"> | ||
<button class="navbar-toggler navbar-toggler-right" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> | ||
<button | ||
class="navbar-toggler navbar-toggler-right" | ||
type="button" | ||
data-bs-toggle="collapse" | ||
data-bs-target="#navbarSupportedContent" | ||
aria-controls="navbarSupportedContent" | ||
aria-expanded="false" | ||
aria-label="Toggle navigation" | ||
> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
<a class="navbar-brand" href="{% url 'home' %}"></a> | ||
|
||
<div class="collapse navbar-collapse" id="navbarSupportedContent"> | ||
<ul class="navbar-nav mr-auto"> | ||
<li class="nav-item active"> | ||
<a class="nav-link" href="{% url 'home' %}">Home <span class="visually-hidden">(current)</span></a> | ||
<a class="nav-link" href="{% url 'home' %}" | ||
>Home <span class="visually-hidden">(current)</span></a | ||
> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="">About</a> | ||
</li> | ||
{% if request.user.is_authenticated %} | ||
<li class="nav-item"> | ||
{# URL provided by django-allauth/account/urls.py #} | ||
<a class="nav-link" href="">{% translate "My Profile" %}</a> | ||
</li> | ||
<li class="nav-item"> | ||
{# URL provided by django-allauth/account/urls.py #} | ||
<a class="nav-link" href="{{ logout_url }}">{% translate "Sign Out" %}</a> | ||
</li> | ||
<li class="nav-item"> | ||
{# URL provided by django-allauth/account/urls.py #} | ||
<a class="nav-link" href="">{% translate "My Profile" %}</a> | ||
</li> | ||
<li class="nav-item"> | ||
{# URL provided by django-allauth/account/urls.py #} | ||
<a class="nav-link" href="{{ logout_url }}" | ||
>{% translate "Sign Out" %}</a | ||
> | ||
</li> | ||
{% else %} | ||
<li class="nav-item"> | ||
<a id="sign-up-link" class="nav-link" href="{{ signup_url }}">{% translate "Sign Up" %}</a> | ||
<a id="sign-up-link" class="nav-link" href="{{ signup_url }}" | ||
>{% translate "Sign Up" %}</a | ||
> | ||
</li> | ||
<li class="nav-item"> | ||
<a id="log-in-link" class="nav-link" href="{{ login_url }}" | ||
>{% translate "Sign In" %}</a | ||
> | ||
</li> | ||
<li class="nav-item"> | ||
<a id="log-in-link" class="nav-link" href="{{ login_url }}">{% translate "Sign In" %}</a> | ||
</li> | ||
{% endif %} | ||
</ul> | ||
</div> | ||
</div> | ||
</nav> | ||
|
||
</div> | ||
|
||
<div class="container"> | ||
|
||
{% if messages %} | ||
{% for message in messages %} | ||
<div class="alert alert-dismissible {% if message.tags %}alert-{{ message.tags }}{% endif %}"> | ||
{{ message }} | ||
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button> | ||
</div> | ||
{% endfor %} | ||
{% endif %} | ||
|
||
{% block content %} | ||
<p>Use this document as a way to quick start any new project.</p> | ||
{% if messages %} {% for message in messages %} | ||
<div | ||
class="alert alert-dismissible {% if message.tags %}alert-{{ message.tags }}{% endif %}" | ||
> | ||
{{ message }} | ||
<button | ||
type="button" | ||
class="btn-close" | ||
data-bs-dismiss="alert" | ||
aria-label="Close" | ||
></button> | ||
</div> | ||
{% endfor %} {% endif %} {% block content %} | ||
<p>Use this document as a way to quick start any new project.</p> | ||
{% endblock content %} | ||
</div> | ||
<!-- /container --> | ||
|
||
</div> <!-- /container --> | ||
|
||
{% block modal %}{% endblock modal %} | ||
|
||
{% block inline_javascript %} | ||
{% comment %} | ||
Script tags with only code, no src (defer by default). To run | ||
{% block modal %}{% endblock modal %} {% block inline_javascript %} {% | ||
comment %} Script tags with only code, no src (defer by default). To run | ||
with a "defer" so that you run inline code: | ||
<script> | ||
window.addEventListener('DOMContentLoaded', () => {/* Run whatever you want */}); | ||
window.addEventListener("DOMContentLoaded", () => { | ||
/* Run whatever you want */ | ||
}); | ||
</script> | ||
{% endcomment %} | ||
{% endblock inline_javascript %} | ||
{% endcomment %} {% endblock inline_javascript %} | ||
</body> | ||
</html> |
Oops, something went wrong.