From ba79e6d96acf1d3e0efa3e4ba33a73405f0ede38 Mon Sep 17 00:00:00 2001 From: Richard Eckart de Castilho Date: Tue, 14 Nov 2023 21:11:38 +0100 Subject: [PATCH] #4229 - Better project template selection - Make border of template cards darker - Change title and description of the old standard project --- .../project/initializers/StandardProjectInitializer.java | 5 +++-- .../projectlist/ProjectTemplateSelectionDialogPanel.html | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/inception/inception-project-initializers/src/main/java/de/tudarmstadt/ukp/clarin/webanno/project/initializers/StandardProjectInitializer.java b/inception/inception-project-initializers/src/main/java/de/tudarmstadt/ukp/clarin/webanno/project/initializers/StandardProjectInitializer.java index 666c592ad35..e23712141c1 100644 --- a/inception/inception-project-initializers/src/main/java/de/tudarmstadt/ukp/clarin/webanno/project/initializers/StandardProjectInitializer.java +++ b/inception/inception-project-initializers/src/main/java/de/tudarmstadt/ukp/clarin/webanno/project/initializers/StandardProjectInitializer.java @@ -50,7 +50,7 @@ public StandardProjectInitializer(@Lazy ProjectService aProjectService) @Override public String getName() { - return "Everything but the kitchen sink"; + return "Classic linguistic project"; } @Override @@ -78,6 +78,7 @@ public void configure(Project aProject) throws IOException @Override public Optional getDescription() { - return Optional.of("Comes pre-configured for many linguistic annotation tasks."); + return Optional.of("Comes pre-configured for many linguistic annotation tasks. " + + "This is closest to the classic WebAnno project setup."); } } diff --git a/inception/inception-ui-dashboard/src/main/java/de/tudarmstadt/ukp/inception/ui/core/dashboard/projectlist/ProjectTemplateSelectionDialogPanel.html b/inception/inception-ui-dashboard/src/main/java/de/tudarmstadt/ukp/inception/ui/core/dashboard/projectlist/ProjectTemplateSelectionDialogPanel.html index 6c35d74a270..74027686e11 100644 --- a/inception/inception-ui-dashboard/src/main/java/de/tudarmstadt/ukp/inception/ui/core/dashboard/projectlist/ProjectTemplateSelectionDialogPanel.html +++ b/inception/inception-ui-dashboard/src/main/java/de/tudarmstadt/ukp/inception/ui/core/dashboard/projectlist/ProjectTemplateSelectionDialogPanel.html @@ -25,6 +25,7 @@ .template-card { transition: box-shadow .3s; + border-color: var(--bs-secondary-color); } .template-card:hover {