Example #1
0
    def index(self, format='html'):
        c.plugins = []

        for plugin in c.plugin_manager.getAllPlugins():
            c.plugins.append(plugin)

        c.plugins = sorted(c.plugins + c.deactivated_plugins,
                key=lambda plugin: plugin.name)

        c.getIdByName = self.getIdByName

        return render('/plugin/index.html')
Example #2
0
    def index(self):

        c.plugin_address = []
        c.styles = []
        c.onload = []
        for plugin in c.plugin_manager.getPluginsOfCategory("Inline"):
            c.plugin_address.append(plugin.\
                    plugin_object.get_html_features())
            c.styles.append(plugin.plugin_object.get_style())
            c.onload.append(plugin.plugin_object.get_onload())

        return render('/mytest.html')
Example #3
0
    def index(self):

        return render('/plugin/menu/about/index.html')
Example #4
0
 def get_html_menu(self):
     return render('/plugin/menu/about/menu.html')
Example #5
0
 def get_html_features(self):
     return render('plugin/inline/osm_map.html')