-
-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathprelude.jspf
94 lines (82 loc) · 4.33 KB
/
prelude.jspf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!DOCTYPE html>
<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jstl/fmt_rt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<html lang="en">
<head>
<title>${pageTitle}</title>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta name="keywords" content="software architecture, software architecture diagrams, c4 model" />
<link rel="icon" href="/static/img/favicon.png" />
<link rel="apple-touch-icon" href="/static/img/apple-touch-icon.png" />
<link href="${structurizrConfiguration.cdnUrl}/css/bootstrap-3.3.7.min.css" rel="stylesheet" media="screen" />
<link href="${structurizrConfiguration.cdnUrl}/css/bootstrap-theme-3.3.7.min.css" rel="stylesheet" media="screen" />
<link href="${structurizrConfiguration.cdnUrl}/css/structurizr.css" rel="stylesheet" media="screen" />
<c:if test="${not empty css}">
<style>
${css}
</style>
</c:if>
<c:if test="${embed eq true}">
<link href="${structurizrConfiguration.cdnUrl}/css/structurizr-embed.css" rel="stylesheet" media="screen" />
</c:if>
<link href="${structurizrConfiguration.cdnUrl}/css/structurizr-print.css" rel="stylesheet" media="print" />
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700" rel="stylesheet" />
<script src="${structurizrConfiguration.cdnUrl}/js/jquery-3.6.3.min.js"></script>
<script src="${structurizrConfiguration.cdnUrl}/js/bootstrap-3.3.7.min.js"></script>
<script type="text/javascript" src="${structurizrConfiguration.cdnUrl}/js/structurizr${structurizrConfiguration.versionSuffix}.js"></script>
<script type="text/javascript" src="${structurizrConfiguration.cdnUrl}/js/structurizr-ui${structurizrConfiguration.versionSuffix}.js"></script>
<script type="text/javascript" src="${structurizrConfiguration.cdnUrl}/js/structurizr-util${structurizrConfiguration.versionSuffix}.js"></script>
<c:if test="${not empty js}">
<script nonce="${scriptNonce}">
try {
${js}
} catch (err) {
console.error(err);
}
</script>
</c:if>
</head>
<script nonce="${scriptNonce}">
structurizr.ui.initDarkMode('${structurizrConfiguration.cdnUrl}/css/structurizr-dark.css');
</script>
<body>
<c:choose>
<c:when test="${showHeader eq true}">
<div id="topNavigation">
<div class="row">
<div class="col-sm-2 hidden-xs hidden-sm" style="padding: 18px 20px 10px 20px">
<a id="brandingLogoAnchor" href="/"><img src="/static/img/structurizr-banner.png" alt="Structurizr" class="structurizrBannerLight img-responsive brandingLogo" /><img src="/static/img/structurizr-banner-dark.png" alt="Structurizr" class="structurizrBannerDark img-responsive brandingLogo" /></a>
</div>
<div class="col-sm-10 centered" style="padding: 20px 20px 10px 20px; text-align: right;">
<span class="topNavigationItem">
<form id="searchForm" method="get" action="/search" style="display: inline-block">
<div class="form-inline" style="margin-top: 8px">
<div class="form-group">
<input type="text" name="query" class="form-control" placeholder="Search" value="${query}" style="width: 300px" />
</div>
</div>
</form>
</span>
<c:if test="${structurizrConfiguration.singleWorkspace}">
<span class="topNavigationItem"><a href="/workspace/diagrams">Diagrams</a></span>
<span class="topNavigationItem"><a href="/workspace/documentation">Documentation</a></span>
<span class="topNavigationItem"><a href="/workspace/decisions">Decisions</a></span>
<span class="topNavigationItem"><a href="/workspace/explore">Explore</a></span>
</c:if>
</div>
</div>
</div>
</c:when>
<c:otherwise>
<style>
body {
padding-top: 0;
}
</style>
</c:otherwise>
</c:choose>
<div id="content">