source: OpenRLabs-Git/deploy/rlabs-docker/web2py-rlabs/applications/admin/views/default/plugins.html

main
Last change on this file was 42bd667, checked in by David Fuertes <dfuertes@…>, 4 years ago

Historial Limpio

  • Property mode set to 100755
File size: 1.4 KB
Line 
1{{extend 'layout.html'}}
2{{=H3("Available plugins")}}
3{{=P("Source: web2pyslices")}}
4{{articles = []}}
5{{for article in plugins:}}
6{{screenshots = [A(" ", T("Screenshot %s") % (x+1), " ", _href=item) for (x, item) in enumerate(article["package_data"]["screenshots"])]}}
7{{articles.append(TR(TD(H5(article["article"]["title"]),
8button(URL(c="default", f="install_plugin", args=[app,], vars={"source": article["package_data"]["download"], "plugin": article["article"]["title"]}), T("Install")),
9BR(),
10IMG(_src="http://www.web2pyslices.com/download/%s" % article["article"]["thumbnail"], _style="margin-top: 1em;"), _style="width: 20em;"),
11TD(article["article"]["description"], BR(),
12A(T("Plugin page"), _href="http://www.web2pyslices.com/slice/show/%s/" % article["article"]["id"]), " | ",
13A(T("Demo"), _href=article["package_data"]["demo"]), " | ",
14A(T("Docs"), _href=article["package_data"]["documentation"]), " | ",
15A(T("Repository (%s)") % article["package_data"]["repository_brand"], _href=article["package_data"]["repository_page"]), " | ",
16A(T("License:"), " ", (article["package_data"]["license_type"] or "").upper(), " ", T("(version %s)") % article["package_data"]["license_version"] if article["package_data"]["license_version"] else "", _href=article["package_data"]["license_url"]), " | " if screenshots else "", *screenshots, _style="width: 40em;"))
17)
18}}
19{{pass}}
20{{=TABLE(*articles)}}
21
Note: See TracBrowser for help on using the repository browser.