Skip to content

Commit

Permalink
feat: add ability to add annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
owulveryck committed Jun 12, 2023
1 parent c68401e commit fb75a51
Show file tree
Hide file tree
Showing 11 changed files with 809 additions and 10 deletions.
73 changes: 73 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<link rel="icon" type="image/png" href="favicon-32.png" />
<link rel="stylesheet" type="text/css" href="style.css" media="screen" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.2.3/gh-fork-ribbon.min.css" />

</head>
<body>
<pre id="editor"></pre>
<div id="options">
<label>
<a href="#" id="sample">Sample Map</a>
</label>
<label>
<a href="#" target="_blank" id="download">Download</a>
</label>

<label>
<a href="#" target="_blank" id="toowm">Generate OWM</a>
</label>

<label>
<input type="button" value="Share" id="share">
</label>

<input type="input" value="" id="shareurl">
<label>
width:
<input type="input" value="1500" id="width">
</label>
<label>
Height:
<input type="input" value="1000" id="height">
</label>
<label>
<input type="button" value="Apply" id="apply">
</label>
<!-- Rounded switch -->
<label class="switch">
<input type="checkbox" id="annotations">
<span class="slider round"></span>
</label>



</div>
<div id="review">
<div id="error"></div>
</div>
<div id="status"></div>
<a class="github-fork-ribbon" href="https://github.com/owulveryck/wardleyToGo" data-ribbon="wardleyToGo on GitHub" title="wardleyToGo on GitHub">wardleyToGo on GitHub</a>
<script src="ace/ace.js" type="text/javascript" charset="utf-8"></script>
<script src="ace/ext-language_tools.js"></script>


<script src="script.js"></script>
<script src="svg-pan-zoom.min.js" type="text/javascript" charset="utf-8"></script>
<script src="wasm_exec.js"></script>
<script>
const go = new Go();
WebAssembly.instantiateStreaming(fetch("wtg.wasm"), go.importObject)
.then((result) => {
go.run(result.instance);
})
.then(instance => {
onceLoaded(document);
});
</script>

</body>
</html>
4 changes: 4 additions & 0 deletions docs/layouts/demo/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@
<label>
<input type="button" value="Apply" id="apply">
</label>
<label class="switch">
<input type="checkbox" id="annotations">
<span class="slider round"></span>
</label>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
Expand Down
Loading

0 comments on commit fb75a51

Please sign in to comment.