2021-04-29 18:50:12 +02:00
|
|
|
<html>
|
|
|
|
<head>
|
2022-09-05 00:48:36 +05:30
|
|
|
<link href="https://fonts.googleapis.com/css?family=Montserrat&display=swap" rel="stylesheet" />
|
|
|
|
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet" />
|
2021-04-29 18:50:12 +02:00
|
|
|
<link
|
2022-09-05 00:48:36 +05:30
|
|
|
rel="stylesheet"
|
|
|
|
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
|
|
|
|
/>
|
2022-10-03 10:05:12 +02:00
|
|
|
<link
|
|
|
|
href="https://cdn.jsdelivr.net/npm/@mdi/font@6.9.96/css/materialdesignicons.min.css"
|
|
|
|
rel="stylesheet"
|
|
|
|
/>
|
2022-09-05 00:48:36 +05:30
|
|
|
<link
|
|
|
|
href="https://fonts.googleapis.com/css?family=Noto+Sans+SC&display=swap"
|
2021-04-29 18:50:12 +02:00
|
|
|
rel="stylesheet"
|
|
|
|
/>
|
|
|
|
<style>
|
|
|
|
body {
|
|
|
|
/* background: rgb(221, 208, 208); */
|
|
|
|
/* background:#333; */
|
|
|
|
font-family: 'Arial';
|
|
|
|
/* font-size: 18px !important; */
|
2022-09-05 00:48:36 +05:30
|
|
|
}
|
|
|
|
h1 {
|
|
|
|
color: grey;
|
|
|
|
}
|
2021-04-29 18:50:12 +02:00
|
|
|
.mermaid2 {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.mermaid svg {
|
|
|
|
/* font-size: 18px !important; */
|
|
|
|
}
|
2021-06-03 20:47:24 +02:00
|
|
|
.malware {
|
|
|
|
position: fixed;
|
2022-09-05 00:48:36 +05:30
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2021-06-03 20:47:24 +02:00
|
|
|
height: 150px;
|
|
|
|
background: red;
|
|
|
|
color: black;
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
font-family: monospace;
|
|
|
|
font-size: 72px;
|
|
|
|
}
|
2021-04-29 18:50:12 +02:00
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
2021-06-03 20:47:24 +02:00
|
|
|
<div>Security check</div>
|
2022-09-28 17:49:47 +02:00
|
|
|
<pre id="diagram" class="mermaid2">
|
2022-10-03 07:01:56 +02:00
|
|
|
example-diagram
|
2022-09-26 14:22:21 +02:00
|
|
|
</pre
|
|
|
|
>
|
2022-10-03 07:01:56 +02:00
|
|
|
<pre id="diagram" class="mermaid">
|
|
|
|
mindmap
|
|
|
|
root
|
|
|
|
child1((Circle))
|
|
|
|
grandchild 1
|
|
|
|
grandchild 2
|
|
|
|
child2(Round rectangle)
|
|
|
|
grandchild 3
|
|
|
|
grandchild 4
|
|
|
|
child3[Square]
|
|
|
|
grandchild 5
|
|
|
|
::icon(mdi mdi-fire)
|
|
|
|
gc6((grand<br/>child 6))
|
|
|
|
::icon(mdi mdi-fire)
|
2022-10-03 10:05:12 +02:00
|
|
|
gc7((grand<br/>grand<br/>child 8))
|
2022-10-03 07:01:56 +02:00
|
|
|
</pre>
|
2022-10-03 10:05:12 +02:00
|
|
|
<div id="cy"></div>
|
|
|
|
<script src="http://localhost:9000/packages/mermaid-mindmap/dist/mermaid-mindmap-detector.js"></script>
|
|
|
|
<!-- <script src="./mermaid-example-diagram-detector.js"></script> -->
|
|
|
|
<!-- <script src="http://localhost:9000/packages/mermaid-mindmap/dist/mermaid-example-diagram-detector.js"></script> -->
|
2022-10-03 07:01:56 +02:00
|
|
|
<script src="./mermaid.js"></script>
|
2021-04-29 18:50:12 +02:00
|
|
|
<script>
|
|
|
|
mermaid.parseError = function (err, hash) {
|
2021-12-04 15:28:40 -08:00
|
|
|
// console.error('Mermaid error: ', err);
|
|
|
|
};
|
2021-04-29 18:50:12 +02:00
|
|
|
mermaid.initialize({
|
2022-09-26 08:01:23 +02:00
|
|
|
startOnLoad: true,
|
2022-09-16 14:05:15 +02:00
|
|
|
logLevel: 0,
|
2022-09-26 08:01:23 +02:00
|
|
|
basePath: './packages/',
|
2021-04-29 18:50:12 +02:00
|
|
|
// themeVariables: {relationLabelColor: 'red'}
|
|
|
|
});
|
2021-12-04 15:28:40 -08:00
|
|
|
function callback() {
|
2022-09-05 00:48:36 +05:30
|
|
|
alert('It worked');
|
|
|
|
}
|
2022-09-26 10:44:18 +02:00
|
|
|
mermaid.parseError = function (err, hash) {
|
|
|
|
console.error('In parse error:');
|
|
|
|
console.error(err);
|
|
|
|
};
|
2021-04-29 18:50:12 +02:00
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|