فهرست منبع

调整 web.devops.app 包中的静态文件位置

reghao 1 سال پیش
والد
کامیت
aa736e33cb

+ 6 - 6
web/src/main/java/cn/reghao/bnt/web/devops/app/controller/page/config/AppConfigPageController.java

@@ -73,7 +73,7 @@ public class AppConfigPageController {
             model.addAttribute("type", type);
             model.addAttribute("page", page);
             model.addAttribute("list", page.getContent());
-            return "/devops/app/config/app/index";
+            return "/devops/app/config/index";
         }
 
         PageRequest pageRequest = PageSort.pageRequest();
@@ -83,13 +83,13 @@ public class AppConfigPageController {
         model.addAttribute("type", type);
         model.addAttribute("page", appPage);
         model.addAttribute("list", appPage.getContent());
-        return "/devops/app/config/app/index";
+        return "/devops/app/config/index";
     }
 
     @GetMapping("/add")
     public String addAppConfigPage(Model model) {
         setAppModel(model);
-        return "/devops/app/config/app/add";
+        return "/devops/app/config/add";
     }
 
     private void setAppModel(Model model) {
@@ -132,7 +132,7 @@ public class AppConfigPageController {
     public String editAppConfigPage(@PathVariable("id") AppConfig app, Model model) {
         setAppModel(model);
         model.addAttribute("app", app);
-        return "/devops/app/config/app/edit";
+        return "/devops/app/config/edit";
     }
 
     @GetMapping("/copy/{appId}")
@@ -140,7 +140,7 @@ public class AppConfigPageController {
         List<KeyValue> envs = getEnvList();
         model.addAttribute("environments", envs);
         model.addAttribute("appId", appId);
-        return "/devops/app/config/app/copy";
+        return "/devops/app/config/copy";
     }
 
     private List<KeyValue> getEnvList() {
@@ -156,6 +156,6 @@ public class AppConfigPageController {
     public String appConfigPage(@PathVariable("appId") String appId, Model model) {
         AppConfig app = appConfigQuery.findByAppId(appId);
         model.addAttribute("app", app);
-        return "/devops/app/config/app/detail";
+        return "/devops/app/config/detail";
     }
 }

+ 0 - 0
web/src/main/resources/templates/devops/app/config/app/add.html → web/src/main/resources/templates/devops/app/config/add.html


+ 0 - 0
web/src/main/resources/templates/devops/app/config/app/copy.html → web/src/main/resources/templates/devops/app/config/copy.html


+ 0 - 0
web/src/main/resources/templates/devops/app/config/app/detail.html → web/src/main/resources/templates/devops/app/config/detail.html


+ 0 - 0
web/src/main/resources/templates/devops/app/config/app/edit.html → web/src/main/resources/templates/devops/app/config/edit.html


+ 0 - 0
web/src/main/resources/templates/devops/app/config/app/index.html → web/src/main/resources/templates/devops/app/config/index.html


+ 0 - 0
web/src/main/resources/templates/devops/app/config/app/deploy/add.html → web/src/main/resources/templates/devops/app/deploy/add.html


+ 0 - 0
web/src/main/resources/templates/devops/app/config/app/deploy/detail.html → web/src/main/resources/templates/devops/app/deploy/detail.html


+ 0 - 0
web/src/main/resources/templates/devops/app/config/app/deploy/edit.html → web/src/main/resources/templates/devops/app/deploy/edit.html


+ 0 - 0
web/src/main/resources/templates/devops/app/config/app/deploy/index.html → web/src/main/resources/templates/devops/app/deploy/index.html