diff options
Diffstat (limited to 'python/templates')
19 files changed, 0 insertions, 497 deletions
diff --git a/python/templates/includes/layout/footer.html b/python/templates/includes/layout/footer.html deleted file mode 100644 index a6860e6..0000000 --- a/python/templates/includes/layout/footer.html +++ /dev/null @@ -1,38 +0,0 @@ -<footer> - <div class="container"> - <div class="row"> - <div class="col-xs-12 col-md-offset-2 col-md-7"> - {% if page.footer %}{{ page.footer }}{% endif %} - </div> - <div class="col-xs-12 col-md-3"> - <h3 class="footerhead">Questions or comments?</h3> - Please feel free to <a href="{{ contact.PageId.nav1 }}/{{ contact.nav2}}/">contact us</a>. - </div> - </div> - </div> - <div class="container-sitemap"> - <div class="container"> - {% include "includes/layout/footer_sitemap.html" %} - </div> - </div> - <div class="container"> - <div class="row"> - <div class="col-xs-3 col-md-2"> - <ul class="footerlinks three-icons"> - <li><a href="http://twitter.com/gentoo" title="@Gentoo on Twitter"><span class="fa fa-twitter fa-fw"></span></a></li> - <li><a href="https://plus.google.com/+Gentoo" title="+Gentoo on Google+"><span class="fa fa-google-plus fa-fw"></span></a></li> - <li><a href="https://www.facebook.com/gentoo.org" title="Gentoo on Facebook"><span class="fa fa-facebook fa-fw"></span></a></li> - </ul> - </div> - <div class="col-xs-9 col-md-9"> - <strong>© 2001-{% now "Y" %} Gentoo Foundation, Inc.</strong><br> - <small> - Gentoo is a trademark of the Gentoo Foundation, Inc. - The contents of this document, unless otherwise expressly stated, are licensed under the - <a href="http://creativecommons.org/licenses/by-sa/3.0/" rel="license">CC-BY-SA-3.0</a> license. - The <a href="/inside-gentoo/foundation/name-logo-guidelines.html">Gentoo Name and Logo Usage Guidelines</a> apply. - </small> - </div> - </div> - </div> -</footer>
\ No newline at end of file diff --git a/python/templates/includes/layout/footer_sitemap.html b/python/templates/includes/layout/footer_sitemap.html deleted file mode 100644 index 3923ce3..0000000 --- a/python/templates/includes/layout/footer_sitemap.html +++ /dev/null @@ -1,12 +0,0 @@ -<div class="row row-sitemap hidden-xs"> - {% for page in pages %} - {% if page.nav1 != 'donate' %} - <div class="col-xs-12 col-sm-4 col-md-2"> - <h3 class="footerhead"><a href="{{ page.url }}">{{ page.nav_title }}</a></h3> - <ul class="sitemap"> - {% include "includes/navigation/sitemap_secondary" %} - </ul> - {% endif %} - </div> - {% endfor %} -</div>
\ No newline at end of file diff --git a/python/templates/includes/layout/head.html b/python/templates/includes/layout/head.html deleted file mode 100644 index 7f17fd8..0000000 --- a/python/templates/includes/layout/head.html +++ /dev/null @@ -1,25 +0,0 @@ -<head> - <title>{% if page.title %}{{ page.title }} – {{ site.title }}{% else %}{{ site.title }}{% endif %}</title> - {% if page.description %}<meta name="description" content="{{ page.description }}">{% endif %} - <meta charset="utf-8"> - <meta name="theme-color" content="#54487a"> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <meta http-equiv="X-UA-Compatible" content="IE=edge"> - <meta property="og:title" content="{% if page.title %}{{ page.title }} – {{ site.title }}{% else %}{{ site.title }}{% endif %}"> - <meta property="og:image" content="https://www.gentoo.org/assets/img/logo/gentoo-g.png"> - <meta property="og:description" content="{% if page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}"> - <meta name="twitter:image" content="https://www.gentoo.org/assets/img/logo/gentoo-g.png"> - <link rel="apple-touch-icon" href="https://www.gentoo.org/assets/img/logo/icon-192.png"> - <link rel="icon" sizes="192x192" href="https://www.gentoo.org/assets/img/logo/icon-192.png"> - <link href="https://assets.gentoo.org/tyrian/bootstrap.min.css" rel="stylesheet" media="screen"> - <link href="https://assets.gentoo.org/tyrian/tyrian.min.css" rel="stylesheet" media="screen"> - <link href="https://assets/css/screen.css" rel="stylesheet" media="screen"> - - <link rel="icon" href="https://www.gentoo.org/favicon.ico" type="image/x-icon"> - <link rel="search" type="application/opensearchdescription+xml" href="https://www.gentoo.org/search/www-gentoo-org.xml" title="Gentoo Website"> - <link rel="search" type="application/opensearchdescription+xml" href="https://www.gentoo.org/search/forums-gentoo-org.xml" title="Gentoo Forums"> - <link rel="search" type="application/opensearchdescription+xml" href="https://www.gentoo.org/search/bugs-gentoo-org.xml" title="Gentoo Bugzilla"> - <link rel="search" type="application/opensearchdescription+xml" href="https://www.gentoo.org/search/packages-gentoo-org.xml" title="Gentoo Packages"> - <link rel="search" type="application/opensearchdescription+xml" href="https://www.gentoo.org/search/archives-gentoo-org.xml" title="Gentoo List Archives"> - <link rel="alternate" type="application/atom+xml" title="Gentoo Linux news" href="https://www.gentoo.org/feeds/news.xml"> -</head> diff --git a/python/templates/includes/layout/header.html b/python/templates/includes/layout/header.html deleted file mode 100644 index 63cba60..0000000 --- a/python/templates/includes/layout/header.html +++ /dev/null @@ -1,90 +0,0 @@ -<header> - <div class="site-title"> - <div class="container"> - <div class="row"> - <div class="site-title-buttons"> - <div class="btn-group btn-group-sm"> - <a href="https://get.gentoo.org/" role="button" class="btn get-gentoo"><span class="fa fa-fw fa-download"></span> <strong>Get Gentoo!</strong></a> - <div class="btn-group btn-group-sm"> - <a class="btn gentoo-org-sites dropdown-toggle" data-toggle="dropdown" data-target="#" href="#"> - <span class="fa fa-fw fa-map-o"></span> <span class="hidden-xs">gentoo.org sites</span> <span class="caret"></span> - </a> - <ul class="dropdown-menu dropdown-menu-right"> - <li><a href="https://www.gentoo.org/" title="Main Gentoo website"><span class="fa fa-home fa-fw"></span> gentoo.org</a></li> - <li><a href="https://wiki.gentoo.org/" title="Find and contribute documentation"><span class="fa fa-file-text-o fa-fw"></span> Wiki</a></li> - <li><a href="https://bugs.gentoo.org/" title="Report issues and find common issues"><span class="fa fa-bug fa-fw"></span> Bugs</a></li> - <li><a href="https://forums.gentoo.org/" title="Discuss with the community"><span class="fa fa-comments-o fa-fw"></span> Forums</a></li> - <li><a href="https://packages.gentoo.org/" title="Find software for your Gentoo"><span class="fa fa-hdd-o fa-fw"></span> Packages</a></li> - <li class="divider"></li> - <li><a href="https://planet.gentoo.org/" title="Find out what's going on in the developer community"><span class="fa fa-rss fa-fw"></span> Planet</a></li> - <li><a href="https://archives.gentoo.org/" title="Read up on past discussions"><span class="fa fa-archive fa-fw"></span> Archives</a></li> - <li><a href="https://gitweb.gentoo.org/" title="Browse our source code in Gitweb"><span class="fa fa-code fa-fw"></span> Gitweb</a></li> - <li><a href="https://sources.gentoo.org/" title="Browse our source code in CVS"><span class="fa fa-code fa-fw"></span> CVS sources</a></li> - <li class="divider"></li> - <li><a href="https://infra-status.gentoo.org/" title="Get updates on the services provided by Gentoo"><span class="fa fa-server fa-fw"></span> Infra status</a></li> - </ul> - </div> - </div> - </div> - <div class="logo"> - <a href="/" title="Back to the homepage" class="site-logo"> - <object data="https://assets.gentoo.org/tyrian/site-logo.svg" type="image/svg+xml"> - <img src="https://assets.gentoo.org/tyrian/site-logo.png" alt="Gentoo Linux logo"> - </object> - </a> - - </div> - </div> - </div> - </div> - <nav class="tyrian-navbar" role="navigation"> - <div class="container"> - <div class="row"> - <div class="navbar-header"> - <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-main-collapse"> - <span class="sr-only">Toggle navigation</span> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - </button> - </div> - <div class="collapse navbar-collapse navbar-main-collapse"> - <ul class="nav navbar-nav"> - {% include "includes/navigation/primary" %} - </ul> - <ul class="nav navbar-nav navbar-right"> - <li class=""><a href="http://www.gentoo.org/donate/"><span class="fa fa-heart" style="color:#d9534f;"></span> Donate</a></li> - </ul> - <ul class="nav navbar-nav navbar-right"> - <li class=""><span class="" style="color:#d9534f;"></span> - {% if user.is_authenticated %} - Welcome, {{ user.username }}. Thanks for logging in. - {% endif %} - </li> - </ul> - </div> - </div> - </div> - </nav> - {% if subpages %} - <nav class="navbar navbar-grey navbar-stick" role="navigation"> - <div class="container"> - <div class="row"> - <div class="navbar-header"> - <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-secondary-collapse"> - <span class="sr-only">Toggle secondary navigation</span> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - </button> - </div> - <div class="collapse navbar-collapse navbar-secondary-collapse"> - <ul class="nav navbar-nav"> - {% include "includes/navigation/secondary" %} - </ul> - </div> - </div> - </div> - </nav> - {% endif %} -</header> diff --git a/python/templates/includes/layout/sponsor.html b/python/templates/includes/layout/sponsor.html deleted file mode 100644 index 9ebd19a..0000000 --- a/python/templates/includes/layout/sponsor.html +++ /dev/null @@ -1,9 +0,0 @@ -<div class="row sponsor"> -{% for sponsor in sponsors %} -<div class="col-xs-12 col-md-2 col-md-offset-2 sponsorlogo"> -<!-- sponsor{name:{{ sponsor.name }},weight:{{ sponsor.weight }}} --> -<a href="{{ sponsor.link }}" title="{{ sponsor.title }}"> -<img src="https://www.gentoo.org/assets/img/sponsors/ads/{{ sponsor.img }}" alt="{{ sponsor.alt }}"> -</a></div> -{% endfor %} -</div> diff --git a/python/templates/layout/base.html b/python/templates/layout/base.html deleted file mode 100644 index bc31ee4..0000000 --- a/python/templates/layout/base.html +++ /dev/null @@ -1,34 +0,0 @@ -<!DOCTYPE html> -<html> - {% include "includes/layout/head.html" %} - <body class=""> - {% include "includes/layout/header.html" %} - - <div class="container"> - <div class="row"> - <div id="content" class="col-md-12"> - {% block content %}{% endblock %} - {% include "includes/layout/sponsor.html" %} - </div> - </div> - </div> - - {% include "includes/layout/footer.html" %} - - <script type="text/javascript"> - var _paq = _paq || []; - _paq.push(["disableCookies"]); - _paq.push(['trackPageView']); - (function() { - var u="//piwik.gentoo.org/"; - _paq.push(['setTrackerUrl', u+'piwik.php']); - _paq.push(['setSiteId', 7]); - var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; - g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s); - })(); - </script> - <noscript><p><img src="//piwik.gentoo.org/piwik.php?idsite=7" style="border:0;" alt="" /></p></noscript> - <script src="https://assets.gentoo.org/tyrian/jquery.min.js"></script> - <script src="https://assets.gentoo.org/tyrian/bootstrap.min.js"></script> - </body> -</html> diff --git a/python/templates/pages/packages/category/index.html b/python/templates/pages/packages/category/index.html deleted file mode 100644 index 2538f88..0000000 --- a/python/templates/pages/packages/category/index.html +++ /dev/null @@ -1,33 +0,0 @@ -{% extends "layout/base.html" %} -{% block content %} -<div class="row"> - <h2>Packages in {{ C.Category }}</h2> - <div class="col-xs-12 col-md-5"> - {% for PM in PM_tmp %} - <table class="table table-striped frontpage-table"> - <tr> - <td class="frontpage-table-package-atom"> - <a href="/package/{{ PM.PackageId }}/" title="{{ C.Category }}/{{ PM.Package }}">{{ C.Category }}/{{ PM.Package }}</a> - <p title="{{ PM.Commitlog }}">Commit Log</p> - </td> - <td> - <p title="{{ PM.Descriptions }}">{{ PM.Descriptions }}</p> - <p title="{% for P in PM.Ebuilds %}{{ PM.Package }}/{{ P }}{% endfor %}">Versions - {% if PM.Repoman %} - <a class="btn btn-warning btn-xs" href="/repoman/{{PM.PackageId }}/">Repoman</a> - {% endif %} - </p> - </td> - </tr> - </table> - {% if forloop.last %} - </div> - {% else %} - {% if forloop.counter|divisibleby:"2" %} - </div><div class="col-xs-12 col-md-5"> - {% endif %} - {% endif %} - {% endfor %} -</div> - -{% endblock %}
\ No newline at end of file diff --git a/python/templates/pages/packages/ebuilds/ebuild/index.html b/python/templates/pages/packages/ebuilds/ebuild/index.html deleted file mode 100644 index e000a53..0000000 --- a/python/templates/pages/packages/ebuilds/ebuild/index.html +++ /dev/null @@ -1,47 +0,0 @@ -{% extends "layout/base.html" %} -{% block content %} -<div class="row"> - <div class="col-xs-12 col-md-9"> - <h2>{{ E.PackageId.CategoryId.Category }}/{{ E.PackageId.Package }}</h2> - <table class="table table-striped frontpage-table"> - {% for EM in EM_tmp %} - <tr> - <td class="frontpage-table-package-atom"> - <p" title="{{ E.PackageId.CategoryId.Category }}/{{ E.PackageId.Package }}-{{ E.EbuildId.Version }}::{{ E.PackageId.RepoId.Repo }}">{{ E.PackageId.Package }}-{{ E.Version }}::{{ E.PackageId.RepoId.Repo }}</p> - <a class="btn btn-default btn-xs" href="/buildpackage/{{ E.EbuildId.EbuildId }}/">Build</a> - {% for BL in BL_tmp %} - {% if BL.Fail %} - <a class="btn btn-danger btn-xs" href="/buildlog/{{ BL.BuildLogId }}/">Fail</a> - {% else %} - <a class="btn btn-success btn-xs" href="/buildlog/{{ BL.BuildLogId }}/">Success</a> - {% endif %} - {% endfor %} - </td> - <td> - {% for K in EK_tmp %} - {% if K.EbuildId.EbuildId == E.EbuildId and K.KeywordId.Keyword != '*' %} - {% if K.Status == 'Stable' %}<span class="label label-success">{{ K.KeywordId.Keyword }}</span>{% endif %} - {% if K.Status == 'Unstable' %}<span class="label label-warning">{{ K.KeywordId.Keyword }}</span>{% endif %} - {% if K.Status == 'Negative' %}{{ K.KeywordId.Keyword }}{% endif %} - {% endif %} - {% endfor %} - <p> - {% for U in EU_tmp %} - {% if U.Status %} - <span class="label label-info">{{ U.UseId.Flag }}</span> - {% else %} - <span class="label label-default">{{ U.UseId.Flag }}</span> - {% endif %} - {% endfor %} - </p><p> - {% for R in ER_tmp %} - <span class="label label-warning">{{ R.RestrictionId.Restriction }}</span> - {% endfor %} - </p> - </td> - </tr> - {% endfor %} - </table> - </div> -</div> -{% endblock %}
\ No newline at end of file diff --git a/python/templates/pages/packages/ebuilds/index.html b/python/templates/pages/packages/ebuilds/index.html deleted file mode 100644 index 630b524..0000000 --- a/python/templates/pages/packages/ebuilds/index.html +++ /dev/null @@ -1,30 +0,0 @@ -{% extends "layout/base.html" %} -{% block content %} -<div class="row"> - <div class="col-xs-12 col-md-9"> - <h2>{{ P.PackageId.CategoryId.Category }}/{{ P.PackageId.Package }}</h2> - <p>Commit log</p> - <p>{{ P.Gitlog|linebreaksbr }}</p> - <table class="table table-striped frontpage-table"> - {% for E in EM_tmp %} - <tr> - <td class="frontpage-table-package-atom"> - <a href="/ebuild/{{ E.EbuildId.EbuildId }}/" title="{{ P.PackageId.CategoryId.Category }}/{{ P.PackageId.Package }}-{{ E.EbuildId.Version }}::{{ E.EbuildId.PackageId.RepoId.Repo }}">{{ P.PackageId.Package }}-{{ E.EbuildId.Version }}::{{ E.EbuildId.PackageId.RepoId.Repo }}</a></td> - <td> - {% for K in EK_tmp %} - {% if K.EbuildId.EbuildId == E.EbuildId.EbuildId and K.KeywordId.Keyword != '*' %} - {% if K.Status == 'Stable' %}<span class="label label-success">{{ K.KeywordId.Keyword }}</span>{% endif %} - {% if K.Status == 'Unstable' %}<span class="label label-warning">{{ K.KeywordId.Keyword }}</span>{% endif %} - {% if K.Status == 'Negative' %}{{ K.KeywordId.Keyword }}{% endif %} - {% endif %} - {% endfor %} - </td> - </tr> - {% endfor %} - </table> - </div> - {% if PR %} - <a class="btn btn-warning btn-xs" href="/repoman/{{P.PackageId.PackageId }}/">Repoman</a> - {% endif %} -</div> -{% endblock %}
\ No newline at end of file diff --git a/python/templates/pages/packages/index.html b/python/templates/pages/packages/index.html deleted file mode 100644 index 7139c87..0000000 --- a/python/templates/pages/packages/index.html +++ /dev/null @@ -1,28 +0,0 @@ -{% extends "layout/base.html" %} -{% block content %} -<div class="row"> -<h2>Categories</h2> - <div class="col-xs-8 col-md-4"> - {% for CM in CM_tmp %} - <table class="table table-striped frontpage-table"> - <tr> - <td class="frontpage-table-package-atom"> - <a href="/categories/{{ CM.CategoryId }}/" title="{{ CM.Category }}">{{CM.Category }}</a> - </td> - <td> - <p title="{{ CM.Descriptions }}">{{ CM.Descriptions }}</p> - <p title="{% for P in CM.Packages %}{{ CM.Category}}/{{ P }}{% endfor %}">Packages</p> - </td> - </tr> - </table> - {% if forloop.last %} - </div> - {% else %} - {% if forloop.counter|divisibleby:"2" %} - </div><div class="col-xs-8 col-md-4"> - {% endif %} - {% endif %} - {% endfor %} -</div> - -{% endblock %}
\ No newline at end of file diff --git a/python/templates/pages/projects/add/index.html b/python/templates/pages/projects/add/index.html deleted file mode 100644 index ec46b8d..0000000 --- a/python/templates/pages/projects/add/index.html +++ /dev/null @@ -1,8 +0,0 @@ -{% extends "layout/base.html" %} -{% block content %} -<form action="{{ Project.uuid }}" method="post"> - {% csrf_token %} - {{ Form }} - <input type="submit" value="Submit"> -</form> -{% endblock %} diff --git a/python/templates/pages/projects/detail/index.html b/python/templates/pages/projects/detail/index.html deleted file mode 100644 index afee9d5..0000000 --- a/python/templates/pages/projects/detail/index.html +++ /dev/null @@ -1,4 +0,0 @@ -{% extends "layout/base.html" %} -{% block content %} -<p>Hej</p> -{% endblock %} diff --git a/python/templates/pages/projects/index.html b/python/templates/pages/projects/index.html deleted file mode 100644 index 2edf849..0000000 --- a/python/templates/pages/projects/index.html +++ /dev/null @@ -1,19 +0,0 @@ -{% extends "layout/base.html" %} -{% block content %} -<div class="panel panel-default"> - <div class="table-responsive"> - <table class="table table-striped"> - <table class="table table-striped frontpage-table"> - {% for project in Projects %} - <tr> - <td class="frontpage-table-project-atom"><a href="{% url 'projects:detail' project.uuid %}" title="{{ project.title }}">{{ project.title }}</a></td> - <td><p title="{{ project.description }}">{{ project.description }}</p> - <td class="text-right"> - </td></td> - </tr> - {% endfor %} -</table> - </table> - </div> -</div> -{% endblock %} diff --git a/python/templates/pages/projects/repos/index.html b/python/templates/pages/projects/repos/index.html deleted file mode 100644 index bc349da..0000000 --- a/python/templates/pages/projects/repos/index.html +++ /dev/null @@ -1,31 +0,0 @@ -{% extends "layout/base.html" %} -{% block content %} -<div class="panel panel-default"> - <div class="table-responsive"> - <table class="table table-striped"> - <table class="table table-striped frontpage-table"> - {% for project in Projects %} - <tr> - <td class="frontpage-table-project-atom"><a href="{% url 'projects:detail' project.uuid %}" title="{{ project.title }}">{{ project.title }}</a></td> - <td><p title="{{ project.description }}">{{ project.description }}</p> - <td class="text-right"> - </td></td> - </tr> - {% endfor %} -</table> - </table> -<table class="table table-striped"> - <table class="table table-striped frontpage-table"> - {% for project in Projects %} - <tr> - <td class="frontpage-table-project-atom"><a href="{% url 'projects:detail' project.uuid %}" title="{{ project.title }}">{{ project.title }}</a></td> - <td><p title="{{ project.description }}">{{ project.description }}</p> - <td class="text-right"> - </td></td> - </tr> - {% endfor %} -</table> - </table> - </div> -</div> -{% endblock %} diff --git a/python/templates/pages/www/index.html b/python/templates/pages/www/index.html deleted file mode 100644 index a8fdf61..0000000 --- a/python/templates/pages/www/index.html +++ /dev/null @@ -1,49 +0,0 @@ -{% extends "layout/base.html" %} -{% block content %} -{% include "includes/container/start" %} -<div class="row"> - <div class="col-xs-12 col-sm-8 col-md-9"> - <p> - Welcome to Gentoo . - </p> - </div> - <div class="col-xs-12 col-sm-4 col-md-3 buttons"> - <a href="/get-started/about/" class="btn btn-default btn-block">Learn more</a> - <a href="/get-started/" class="btn btn-primary btn-block"><i class="fa fa-fw fa-rocket"></i> Get started now</a> - </div> -</div> -{% include "includes/container/end" %} -<section id="news"> -{% include "includes/frontpage/news" %} -</section> - -<div class="news-more"> - <a href="/news" class="btn btn-xs">All news items <span class="fa fa-fw fa-chevron-right"></span></a> -<hr> -</div> - -<div class="row"> - <div class="col-xs-12 col-md-6"> - <h2>New Packages <small>more at the <a href="/new_packages/">New Packages</a></small></h2> - {% include "includes/frontpage/new_packages" %} - </div> - <div class="col-xs-12 col-md-6"> - <h2>New Logs <small>more at the <a href="/new_logs/">New Logs</a></small></h2> - {% include "includes/frontpage/new_logs" %} - </div> -</div> - -<div class="row"> - <div class="col-xs-12 col-md-6"> - <h2>New Build Requests <small>more at the <a href="/new_build_req">New Build Requests</a></small></h2> - {% include "includes/frontpage/new_build_req" %} - </div> - <div class="col-xs-12 col-md-6"> - <h2>New Repoman or QA's <small>on the <a href="/new/repomanqa/">New Repoman or QA's</a></small></h2> - {% include "includes/frontpage/new_repoman_qa" %} - </div> -</div> - -<hr> - -{% endblock %} diff --git a/python/templates/registration/bugzillauser.html b/python/templates/registration/bugzillauser.html deleted file mode 100644 index d05d6ad..0000000 --- a/python/templates/registration/bugzillauser.html +++ /dev/null @@ -1,10 +0,0 @@ -{% extends 'layout/base.html' %} -{% block title %}Bugzilla accounts{% endblock %} -{% block content %} - <h2>Bugzilla accounts</h2> - <form method="post"> - {% csrf_token %} - {{ form }} - <button type="submit">Submit</button> - </form> -{% endblock %} diff --git a/python/templates/registration/logged_out.html b/python/templates/registration/logged_out.html deleted file mode 100644 index 94c6a0d..0000000 --- a/python/templates/registration/logged_out.html +++ /dev/null @@ -1,5 +0,0 @@ -{% extends "layout/base.html" %} -{% block body_block %} -<h1>Logged Out</h1> - <p>You are now logged out.</p> -{% endblock %} diff --git a/python/templates/registration/login.html b/python/templates/registration/login.html deleted file mode 100644 index 9503420..0000000 --- a/python/templates/registration/login.html +++ /dev/null @@ -1,12 +0,0 @@ -{% extends 'layout/base.html' %} - -{% block title %}Login{% endblock %} - -{% block content %} - <h2>Login</h2> - <form method="post"> - {% csrf_token %} - {{ form.as_p }} - <button type="submit">Login</button> - </form> -{% endblock %} diff --git a/python/templates/registration/password_change_form.html b/python/templates/registration/password_change_form.html deleted file mode 100644 index 7761fe4..0000000 --- a/python/templates/registration/password_change_form.html +++ /dev/null @@ -1,13 +0,0 @@ -{% extends 'layout/base.html' %} - -{% block title %}Change you password{% endblock %} - -{% block content %} - <h1>Change you password</h1> - <p>Use the form below to change your password.</p> - <form action="." method="post"> - {{ form.as_p }} - <p><input type="submit" value="Change"></p> - {% csrf_token %} - </form> -{% endblock %} |