Peter,
We would like to replace all the mako with JS, if I was going to put
a bunch of effort into admin pages I'd start by reworking what was
there to use JavaScript and the API. That is me however, I have lots
of time to put into Galaxy fundamentals and refactoring. This is more
work and I am happy to field PRs that modify mako for the time
being.(https://github.com/galaxyproject/galaxy/pull/1632/files looks
great for instance).
A middle ground between rewriting everything and still depending on
mako is to dump dictionaries to JavaScript in the mako and render
things in JS. This will make it easier to adapt your changes once the
pages are ultimately rewritten to JavaScript SPAs. In the case 1632 -
that DependencyResolversView class produces dictionaries that can be
dumped as JSON easily into the page and JavaScript could be used to
build up the tables in
templates/webapps/tool_shed/repository/common.mako.
-John
> ___________________________________________________________
On Mon, Feb 1, 2016 at 11:51 AM, Peter van Heusden <pvh@sanbi.ac.za> wrote:
> Hi there
>
> Zipho and I'd would like to make some changes to the admin pages, including
> the tool info page and the local data page. These are currently rendered
> from mako templates - should we change these or is the interface going to be
> rewritten in client side / javascript in the near(ish) future?
>
> Thanks,
> Peter
>
> Please keep all replies on the list by using "reply all"
> in your mail client. To manage your subscriptions to this
> and other Galaxy lists, please use the interface at:
> https://lists.galaxyproject.org/
>
> To search Galaxy mailing lists use the unified search at:
> http://galaxyproject.org/search/mailinglists/