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')
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')
def index(self): return render('/plugin/menu/about/index.html')
def get_html_menu(self): return render('/plugin/menu/about/menu.html')
def get_html_features(self): return render('plugin/inline/osm_map.html')