mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-05-07 18:16:46 +02:00
Merged in bugfix/missing_styles (pull request #353)
create separate styles bundle
This commit is contained in:
@@ -85,7 +85,7 @@ public final class SingleView {
|
||||
MustacheTemplateEngine.class);
|
||||
bind(TemplateEngineFactory.class);
|
||||
|
||||
serve("/images/*", "/styles/*", "/favicon.ico").with(StaticResourceServlet.class);
|
||||
serve("/images/*", "/assets/*", "/favicon.ico").with(StaticResourceServlet.class);
|
||||
serve("/*").with(SingleViewServlet.class);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ class MigrationWizardModule extends ServletModule {
|
||||
LOG.info("= Open SCM-Manager in a browser to start the wizard. =");
|
||||
LOG.info("= =");
|
||||
LOG.info("==========================================================");
|
||||
serve("/images/*", "/styles/*", "/favicon.ico").with(StaticResourceServlet.class);
|
||||
serve("/images/*", "/assets/*", "/favicon.ico").with(StaticResourceServlet.class);
|
||||
serve("/*").with(MigrationWizardServlet.class);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>{{$title}}SCM-Manager{{/title}}</title>
|
||||
<link rel="stylesheet" type="text/css" href="{{ contextPath }}/styles/scm.css">
|
||||
<link rel="stylesheet" type="text/css" href="{{ contextPath }}/assets/ui-styles.css">
|
||||
<link rel="shortcut icon" href="{{ contextPath }}/favicon.ico">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user