replace sekizai use by authentic templatetags (#7534)

This commit is contained in:
Serghei Mihai 2015-06-11 18:25:49 +02:00
parent c7f983451a
commit 2a8f2a3162
8 changed files with 16 additions and 24 deletions

3
debian/control vendored
View File

@ -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

View File

@ -116,8 +116,7 @@ setup(name='authentic2-auth-msp',
install_requires=[
'authentic2',
'requests',
'requests-oauthlib',
'django-sekizai',
'requests-oauthlib'
],
entry_points={
'authentic2.plugin': [

View File

@ -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']

View File

@ -1,15 +1,14 @@
{% extends "base.html"%}
{% 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 "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 %}
{% 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 %}
<div id="msp-confirm-unlink">
<div class="msp">
<div class="cadre">

View File

@ -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 %}

View File

@ -1,12 +1,11 @@
{% extends "base.html"%}
{% 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 "css" %}<link rel="stylesheet" type="text/css" href="{% static 'authentic2_auth_msp/css/msp.css' %}"></link>{% endaddtoblock %}
{% block content %}
{% 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 %}
<div id="msp-link-management">
<div class="msp">
<div class="cadre">

View File

@ -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 %}

View File

@ -1,11 +1,9 @@
{% extends "base.html"%}
{% 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 %}
{% block content %}
{% addtoblock "css" %}<link rel="stylesheet" type="text/css" href="{% static 'authentic2_auth_msp/css/screen.msp.css' %}"></link>{% endaddtoblock %}
<div class="msp">
<div class="cadre">
<div class="bordure">