~dricottone/noticable

ref: f39468154f2333d48f70fcef0970d083c0fc9325 noticable/index.html -rw-r--r-- 1.3 KiB
f3946815Dominic Ricottone Trying out content security policy 3 years ago
                                                                                
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
<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width" />
    <title>noticable - A bad note app</title>
    <meta name="description" content="" />
    <link rel="stylesheet" href="node_modules/github-markdown-css/github-markdown.css" />
    <link rel="stylesheet" href="style.css" />
    <meta http-equiv="Content-Security-Policy" content="default-src 'self'; style-src 'unsafe-inline' file:" />
  </head>
  <body>
    <div class="sidebar">
      <div id="settings">
        <p>Editor Mode:</p>
        <input id="ui-focus-editor" type="checkbox" checked onchange="uiToggleEditor()">
        <label for="ui-focus-editor"></label>
        <p>Enable Rendering:</p>
        <input id="ui-enable-render" type="checkbox" checked>
        <label for="ui-enable-render"></label>
      </div>
      <ul id="list-filenames"></ul>
    </div>
    <div class="container focused" id="container-editor"></div>
    <!--NOTE: .markdown-body is the target for Github Markdown CSS module; do not modify!-->
    <div class="container markdown-body" id="container-rendered"></div>
    <script src="node_modules/jquery/dist/jquery.min.js"></script>
    <script src="node_modules/monaco-editor/min/vs/loader.js"></script>
    <script src="renderer.js"></script>
  </body>
</html>