diff --git a/app/classes/web/panel_handler.py b/app/classes/web/panel_handler.py index 63843ded..c948eca4 100644 --- a/app/classes/web/panel_handler.py +++ b/app/classes/web/panel_handler.py @@ -59,6 +59,12 @@ class PanelHandler(BaseHandler): elif page == 'contribute': template = "panel/contribute.html" + elif page == 'file_edit': + template = "panel/file_edit.html" + + elif page == 'files_menu': + template = "panel/files_menu.html" + elif page == "remove_server": server_id = self.get_argument('id', None) server_data = controller.get_server_data(server_id) diff --git a/app/frontend/templates/panel/file_edit.html b/app/frontend/templates/panel/file_edit.html new file mode 100644 index 00000000..d6f40e89 --- /dev/null +++ b/app/frontend/templates/panel/file_edit.html @@ -0,0 +1,190 @@ +{% extends ../base.html %} + +{% block meta %} + +{% end %} + +{% block title %}Crafty Controller - Editing File -< name >- in server -< server name >- (-< server path id >-){% end %} + +{% block content %} + +
+ + +
+
+ +
+ +
+ + +
+ +
+
+
+ + Back + + +

+ +
-< file_contents >-
+ +
+
+
+
+ + +
+ + +{% end %} + +{% block js %} + + + + +{% end %} \ No newline at end of file diff --git a/app/frontend/templates/panel/files_menu.html b/app/frontend/templates/panel/files_menu.html new file mode 100644 index 00000000..0f883903 --- /dev/null +++ b/app/frontend/templates/panel/files_menu.html @@ -0,0 +1,112 @@ +{% extends ../base.html %} + +{% block meta %} + +{% end %} + +{% block title %}Crafty Controller - Looking at files in server -< server name >- (-< server path id >-){% end %} + +{% block content %} + +
+ + +
+
+ +
+ +
+ + +
+ +
+
+
+ + + +
+
+
+
+ + +
+ + +{% end %} + +{% block js %} + + + +{% end %} \ No newline at end of file diff --git a/app/frontend/templates/panel/server_term.html b/app/frontend/templates/panel/server_term.html index 488e08bb..5c7a2390 100644 --- a/app/frontend/templates/panel/server_term.html +++ b/app/frontend/templates/panel/server_term.html @@ -72,13 +72,21 @@
-
- +
+
+ +
+ + + +
+ +
@@ -96,6 +104,44 @@ {% block js %}