forked from Github-Mirrors/canaille
Moved jinja macros in their own directory
This commit is contained in:
parent
681c311d05
commit
36cc47e40d
19 changed files with 22 additions and 22 deletions
|
@ -1,5 +1,5 @@
|
||||||
{% extends theme('base.html') %}
|
{% extends theme('base.html') %}
|
||||||
{% import 'fomanticui.html' as sui %}
|
{% import 'macro/fomanticui.html' as sui %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="ui clearing segment">
|
<div class="ui clearing segment">
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{% extends theme('base.html') %}
|
{% extends theme('base.html') %}
|
||||||
{% import 'fomanticui.html' as sui %}
|
{% import 'macro/fomanticui.html' as sui %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="loginform">
|
<div class="loginform">
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{% extends theme('base.html') %}
|
{% extends theme('base.html') %}
|
||||||
{% import 'fomanticui.html' as sui %}
|
{% import 'macro/fomanticui.html' as sui %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="loginform">
|
<div class="loginform">
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{% extends theme('base.html') %}
|
{% extends theme('base.html') %}
|
||||||
{% import 'fomanticui.html' as sui %}
|
{% import 'macro/fomanticui.html' as sui %}
|
||||||
{% import 'userlist.html' as user_list %}
|
{% import 'userlist.html' as user_list %}
|
||||||
|
|
||||||
{% block style %}
|
{% block style %}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{% extends theme('base.html') %}
|
{% extends theme('base.html') %}
|
||||||
{% import 'fomanticui.html' as fui %}
|
{% import 'macro/fomanticui.html' as fui %}
|
||||||
|
|
||||||
{% block script %}
|
{% block script %}
|
||||||
<script src="/static/js/copy.js"></script>
|
<script src="/static/js/copy.js"></script>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{% extends theme('base.html') %}
|
{% extends theme('base.html') %}
|
||||||
{% import 'flask.j2' as flask %}
|
{% import 'macro/flask.html' as flask %}
|
||||||
{% import 'fomanticui.html' as sui %}
|
{% import 'macro/fomanticui.html' as sui %}
|
||||||
|
|
||||||
{% block container %}
|
{% block container %}
|
||||||
<div class="ui container">
|
<div class="ui container">
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{% extends theme('base.html') %}
|
{% extends theme('base.html') %}
|
||||||
{% import 'fomanticui.html' as sui %}
|
{% import 'macro/fomanticui.html' as sui %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="ui segment">
|
<div class="ui segment">
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{% extends theme('base.html') %}
|
{% extends theme('base.html') %}
|
||||||
{% import 'fomanticui.html' as sui %}
|
{% import 'macro/fomanticui.html' as sui %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="loginform">
|
<div class="loginform">
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{% extends theme('base.html') %}
|
{% extends theme('base.html') %}
|
||||||
{% import 'fomanticui.html' as sui %}
|
{% import 'macro/fomanticui.html' as sui %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="loginform">
|
<div class="loginform">
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{% extends theme('base.html') %}
|
{% extends theme('base.html') %}
|
||||||
{% import 'fomanticui.html' as sui %}
|
{% import 'macro/fomanticui.html' as sui %}
|
||||||
|
|
||||||
{% block script %}
|
{% block script %}
|
||||||
<script src="/static/js/admin/client_edit.js"></script>
|
<script src="/static/js/admin/client_edit.js"></script>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{% extends theme('base.html') %}
|
{% extends theme('base.html') %}
|
||||||
{% import 'fomanticui.html' as sui %}
|
{% import 'macro/fomanticui.html' as sui %}
|
||||||
|
|
||||||
{% block script %}
|
{% block script %}
|
||||||
<script src="/static/js/confirm.js"></script>
|
<script src="/static/js/confirm.js"></script>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{% extends theme('base.html') %}
|
{% extends theme('base.html') %}
|
||||||
{% import 'fomanticui.html' as sui %}
|
{% import 'macro/fomanticui.html' as sui %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="ui segment">
|
<div class="ui segment">
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{% extends theme('base.html') %}
|
{% extends theme('base.html') %}
|
||||||
{% import 'flask.j2' as flask %}
|
{% import 'macro/flask.html' as flask %}
|
||||||
{% import 'fomanticui.html' as sui %}
|
{% import 'macro/fomanticui.html' as sui %}
|
||||||
|
|
||||||
{% block container %}
|
{% block container %}
|
||||||
<div class="ui container">
|
<div class="ui container">
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{% extends theme('base.html') %}
|
{% extends theme('base.html') %}
|
||||||
{% import 'fomanticui.html' as sui %}
|
{% import 'macro/fomanticui.html' as sui %}
|
||||||
|
|
||||||
{% block script %}
|
{% block script %}
|
||||||
<script src="/static/js/confirm.js"></script>
|
<script src="/static/js/confirm.js"></script>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{% extends theme('base.html') %}
|
{% extends theme('base.html') %}
|
||||||
{% import 'fomanticui.html' as sui %}
|
{% import 'macro/fomanticui.html' as sui %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="loginform">
|
<div class="loginform">
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{% import 'flask.j2' as flask %}
|
{% import 'macro/flask.html' as flask %}
|
||||||
|
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="{{ locale }}">
|
<html lang="{{ locale }}">
|
||||||
|
|
2
tests/fixtures/themes/test/base.html
vendored
2
tests/fixtures/themes/test/base.html
vendored
|
@ -1,4 +1,4 @@
|
||||||
{% import 'flask.j2' as flask %}
|
{% import 'macro/flask.html' as flask %}
|
||||||
|
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="fr">
|
<html lang="fr">
|
||||||
|
|
Loading…
Reference in a new issue