+# ===============
+# = Panel views =
+# ===============
+def xmleditor_panel(request, path):
+ form = forms.BookForm()
+ text = repo.get_file(path).data()
+
+ return direct_to_template(request, 'explorer/panels/xmleditor.html', extra_context={
+ 'text': text,
+ })
+
+
+def gallery_panel(request, path):
+ return direct_to_template(request, 'explorer/panels/gallery.html', extra_context={
+ 'form': forms.ImageFoldersForm(),
+ })
+
+