Skip to content

Commit 6c40f84

Browse files
authored
Merge branch 'develop' into issue_2993
2 parents f8a9687 + 3d8dfb8 commit 6c40f84

File tree

2 files changed

+18
-13
lines changed

2 files changed

+18
-13
lines changed

roles/ui/files/FWO.UI/Pages/_Host.cshtml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@page "/"
1+
@page "/"
22
@namespace FWO.Ui.Pages
33
@using FWO.Config.Api
44
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@@ -14,9 +14,9 @@
1414
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
1515
<title>FWO</title>
1616
<base href="~/" />
17-
<link rel="stylesheet" href="@VersionedLink("/css/bootstrap/bootstrap.min.css")" />
18-
<link rel="stylesheet" href="@VersionedLink("/css/site.css")" />
19-
<link href="FWO.Ui.styles.css" rel="stylesheet" /> <!-- needed for css isolation (e.g. in compliance matrix) -->
17+
<link rel="stylesheet" href="/css/bootstrap/bootstrap.min.css" asp-append-version=true />
18+
<link rel="stylesheet" href="/css/site.css" asp-append-version="true"/>
19+
<link href="FWO.Ui.styles.css" rel="stylesheet" asp-append-version=true /> <!-- needed for css isolation (e.g. in compliance matrix) -->
2020
</head>
2121
<body class="sticky-group sticky-group-35 sticky-group-40 sticky-group-60 vheight100">
2222
<app>
@@ -34,18 +34,18 @@
3434
<a class="dismiss">🗙</a>
3535
</div>
3636

37-
<script src="@VersionedLink("_framework/blazor.server.js")" autostart="false"></script>
38-
<script src="@VersionedLink("_content/BlazorTable/BlazorTable.min.js")"></script>
39-
<script src="@VersionedLink("/js/window.js")"></script>
40-
<script src="@VersionedLink("/js/scrollIntoView.js")"></script>
41-
<script src="@VersionedLink("/js/downloadFile.js")"></script>
42-
<script src="@VersionedLink("/js/clipboardCopy.js")"></script>
43-
<script src="@VersionedLink("/js/globalKeyboardListener.js")"></script>
37+
<script src="_framework/blazor.server.js" autostart="false" asp-append-version="true"></script>
38+
<script src="_content/BlazorTable/BlazorTable.min.js" asp-append-version="true"></script>
39+
<script src="/js/window.js" asp-append-version="true"></script>
40+
<script src="/js/scrollIntoView.js" asp-append-version="true"></script>
41+
<script src="/js/downloadFile.js" asp-append-version="true"></script>
42+
<script src="/js/clipboardCopy.js" asp-append-version="true"></script>
43+
<script src="/js/globalKeyboardListener.js" asp-append-version="true"></script>
4444
<script>Blazor.start();</script>
4545
</body>
4646
</html>
4747

4848
@functions {
4949
// Needed to prevent browser from caching files from previous versions
50-
string VersionedLink(string path) => $"{path}?v={globalConfig.ProductVersion}";
50+
//string VersionedLink(string path) => $"{path}?v={globalConfig.ProductVersion}";
5151
}

scripts/customizing/modelling/getOwnersFromCsvWithoutUsers.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,12 @@ def extractAppDataFromCsvFile(csvFile: str, appData: dict, containsIp: bool):
171171
# add app server ip addresses (but do not add the whole app - it must already exist)
172172
appServerIp = line[appServerIpColumn]
173173
if appServerIp is not None and appServerIp != "" and appServerIp not in appData[appId]['app_servers']:
174-
appData[appId]['app_servers'].append(appServerIp)
174+
appData[appId]['app_servers'].append({
175+
"ip": appServerIp,
176+
"ip_end": appServerIp,
177+
"type": "host",
178+
"name": f"host_{appServerIp}"
179+
})
175180
else:
176181
# logger.debug(f'ignoring line from csv file: {appId} - empty IP')
177182
countSkips += 1

0 commit comments

Comments
 (0)