replace sekizai use by authentic templatetags (#7534)
This commit is contained in:
parent
c7f983451a
commit
2a8f2a3162
|
@ -12,7 +12,6 @@ Architecture: all
|
|||
Depends: ${misc:Depends},
|
||||
python-authentic2 (>= 2.1.2),
|
||||
python-requests,
|
||||
python-requests-oauthlib,
|
||||
python-django-sekizai
|
||||
python-requests-oauthlib
|
||||
Description: Kerberos authentication frontend for Authentic2
|
||||
|
||||
|
|
3
setup.py
3
setup.py
|
@ -116,8 +116,7 @@ setup(name='authentic2-auth-msp',
|
|||
install_requires=[
|
||||
'authentic2',
|
||||
'requests',
|
||||
'requests-oauthlib',
|
||||
'django-sekizai',
|
||||
'requests-oauthlib'
|
||||
],
|
||||
entry_points={
|
||||
'authentic2.plugin': [
|
||||
|
|
|
@ -6,7 +6,7 @@ class Plugin(object):
|
|||
return urls.urlpatterns
|
||||
|
||||
def get_apps(self):
|
||||
return [__name__, 'sekizai']
|
||||
return [__name__]
|
||||
|
||||
def get_authentication_backends(self):
|
||||
return ['authentic2_auth_msp.backends.MspBackend']
|
||||
|
|
|
@ -1,15 +1,14 @@
|
|||
{% extends "base.html"%}
|
||||
{% load sekizai_tags %}
|
||||
{% load staticfiles %}
|
||||
|
||||
|
||||
{% block content %}
|
||||
{% load staticfiles authentic2 %}
|
||||
|
||||
{% addtoblock "css" %}<link rel="stylesheet" type="text/css" href="{% static 'authentic2_auth_msp/css/screen.msp.css' %}"></link>{% endaddtoblock %}
|
||||
{% addtoblock "css" %}<link rel="stylesheet" type="text/css" href="{% static 'authentic2_auth_msp/css/msp.css' %}"></link>{% endaddtoblock %}
|
||||
{% addtoblock "js" %}<script type="text/javascript" src="{% static "authentic2_auth_msp/js/domready.js" %}"></script>{% endaddtoblock %}
|
||||
{% addtoblock "js" %}<script type="text/javascript" src="{% static "authentic2_auth_msp/js/getElementsByClassName-1.0.1.js" %}"></script>{% endaddtoblock %}
|
||||
{% addtoblock "js-endpage" %}<script type="text/javascript" src="{% static "authentic2_auth_msp/js/oauth.js" %}"></script>{% endaddtoblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div id="msp-confirm-unlink">
|
||||
<div class="msp">
|
||||
<div class="cadre">
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{% load staticfiles %}
|
||||
{% load sekizai_tags %}
|
||||
{% load staticfiles authentic2 %}
|
||||
|
||||
{% addtoblock "css" %}<link rel="stylesheet" type="text/css" href="{% static 'authentic2_auth_msp/css/screen.msp.css' %}"></link>{% endaddtoblock %}
|
||||
{% addtoblock "js" %}<script type="text/javascript" src="{% static "authentic2_auth_msp/js/domready.js" %}"></script>{% endaddtoblock %}
|
||||
|
|
|
@ -1,12 +1,11 @@
|
|||
{% extends "base.html"%}
|
||||
{% load sekizai_tags %}
|
||||
{% load staticfiles %}
|
||||
|
||||
|
||||
{% block content %}
|
||||
{% load staticfiles authentic2 %}
|
||||
|
||||
{% addtoblock "css" %}<link rel="stylesheet" type="text/css" href="{% static 'authentic2_auth_msp/css/screen.msp.css' %}"></link>{% endaddtoblock %}
|
||||
{% addtoblock "css" %}<link rel="stylesheet" type="text/css" href="{% static 'authentic2_auth_msp/css/msp.css' %}"></link>{% endaddtoblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div id="msp-link-management">
|
||||
<div class="msp">
|
||||
<div class="cadre">
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
{% load i18n %}
|
||||
{% load sekizai_tags %}
|
||||
{% load staticfiles %}
|
||||
{% load staticfiles authentic2 %}
|
||||
|
||||
{% addtoblock "css" %}<link rel="stylesheet" type="text/css" href="{% static 'authentic2_auth_msp/css/screen.msp.css' %}"></link>{% endaddtoblock %}
|
||||
{% addtoblock "js" %}<script type="text/javascript" src="{% static "authentic2_auth_msp/js/domready.js" %}"></script>{% endaddtoblock %}
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
{% extends "base.html"%}
|
||||
{% load sekizai_tags %}
|
||||
{% load staticfiles %}
|
||||
|
||||
|
||||
{% block content %}
|
||||
{% load staticfiles authentic2 %}
|
||||
|
||||
{% addtoblock "css" %}<link rel="stylesheet" type="text/css" href="{% static 'authentic2_auth_msp/css/screen.msp.css' %}"></link>{% endaddtoblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="msp">
|
||||
<div class="cadre">
|
||||
<div class="bordure">
|
||||
|
|
Reference in New Issue