Re: Having FE design/templates "pluggable"

2016-09-23 Thread Miroslav Suchý
Dne 21.9.2016 v 17:56 Pavel Raiskup napsal(a): > WDYT? Would be patches implementing this idea accepted? Sure. -- Miroslav Suchy, RHCA Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys ___ copr-devel mailing list -- copr-devel@lists.

Re: Having FE design/templates "pluggable"

2016-09-21 Thread Michal Novotny
The idea of configurable template paths sounds nice. What you can do now is to pass template_folder="xyz" as named param to flask.Flask constructor in coprs_frontend/coprs/__init__.py. In theory, we could keep that param value in db, so that no patching is needed. clime On Wed, Sep 21, 2016 at 5:

Re: Having FE design/templates "pluggable"

2016-09-21 Thread Igor Gnatenko
On Wed, Sep 21, 2016 at 5:56 PM, Pavel Raiskup wrote: > For better orientation, internally we have "red color" design for copr > frontend > (so users immediately know where they are). > > It would be really useful if paths to template files were configurable via FE > configuration file .. so non-