-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIndex.cshtml
67 lines (65 loc) · 2.96 KB
/
Index.cshtml
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
@*
For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@
@{
}
<script src="@Url.Content("~/js/mermaid.js")"></script>
<div class="container-fluid">
<div id="editorTab">
<div class="leftColumn">
<div class="controlContainer" id="controlContainer">
<div>
<img class="headerIcon" src="@Url.Content("~/images/mermaid-small.png")" alt="Mermaider"/>
<h2>Mermaidier</h2>
<p class="instructional">Enter your flowchart here...</p>
</div>
<div>
<textarea id="mermaidDataEntryField" class="mermaidDataEntryField" rows="20">
</textarea>
</div>
<div class="btn-toolbar" id="previewButtons" >
<input type="button" id="btnStartOver" value="Start Over" class="btn btn-danger"/>
<input type="button" id="btnRenderImage" value="Render Image" class="btn btn-success"/>
<input type="button" id="btnRefreshPreview" value="Refresh Preview" class="btn btn-primary"/>
</div>
</div>
<div class="btn-toolbar" id="libraryButtons">
<input type="button" id="btnSavePng" value="Save Png to Library" class="btn btn-info" style="display: none"/>
</div>
<div style="display: none">
<a href="path/to/this/saved/image">Permalink to this image</a>
</div>
<details id="diagnosticsContainer" style="display: none">
<summary>Diagnostic Information</summary>
<textarea id="diagnosticsInfo" class="mermaidDiagnostics" rows="20">
</textarea>
</details>
</div>
<div class=" rightColumn">
<div class="alignRight hardRight hardTop">
<a href="http://knsv.github.io/mermaid/#flowcharts-basic-syntax5">Need help? Flowchart Syntax here</a>
</div>
<div id="errorsContainer" style="display: none;">
<div id="errorMessage" class="parseErrors">An error occured while parsing, please check the console.log (F12, or developer tools) for more detail</div>
<div id="errorDetail" style="display: none;"></div>
</div>
<div id="svgPreviewContainer" class="mermaid svgPreviewContainer" style="display: none">
@*Svg preview goes here*@
</div>
<div id="openInNewWindowImageLinkContainer" class="btn-toolbar" style="display: none">
@*Link to open in new window goes here*@
</div>
<div id="renderedImageContainer" style="display: none">
@*viewable image goes here*@)
</div>
</div>
</div>
<div id="libraryTab">
</div>
</div>
<script>
var config = {
startOnLoad: false
};
mermaid.initialize(config);
</script>