bundled/flask/tests/moduleapp/apps/admin/__init__.py @ 0dc141617716

Display obsolete comments/signoff with lower opacity.

Add a obsolete class on comments and signoff messages, which
sets the opacity to 0.6
author Christophe de Vienne <cdevienne@gmail.com>
date Tue, 28 Oct 2014 00:28:05 +0100
parents f33efe14bff1
children (none)
from flask import Module, render_template


admin = Module(__name__, url_prefix='/admin')


@admin.route('/')
def index():
    return render_template('admin/index.html')


@admin.route('/index2')
def index2():
    return render_template('./admin/index.html')