From 599f3fd40aac784c3ddca3811d8e3c7bf72f71b2 Mon Sep 17 00:00:00 2001 From: bytedream Date: Thu, 29 May 2025 01:42:48 +0200 Subject: [PATCH 1/9] show file tree in editor --- templates/repo/editor/edit.tmpl | 108 ++++++++++++--------- templates/repo/view_file_tree.tmpl | 1 + web_src/css/editor/fileeditor.css | 2 +- web_src/js/components/ViewFileTree.vue | 6 ++ web_src/js/features/codeeditor.ts | 1 - web_src/js/features/repo-view-file-tree.ts | 1 + 6 files changed, 69 insertions(+), 50 deletions(-) diff --git a/templates/repo/editor/edit.tmpl b/templates/repo/editor/edit.tmpl index ae8a60c20c116..3efd092f696c7 100644 --- a/templates/repo/editor/edit.tmpl +++ b/templates/repo/editor/edit.tmpl @@ -1,60 +1,72 @@ {{template "base/head" .}}
{{template "repo/header" .}} -
- {{template "base/alert" .}} -
- {{.CsrfTokenHtml}} - - -
- -
-
-
-