index.html 6.3 KB
Newer Older
J
Jason Park 已提交
1 2
<!DOCTYPE html>
<html lang="en">
N
nem035 已提交
3

J
Jason Park 已提交
4 5
<head>
    <meta charset="UTF-8">
J
Jason Park 已提交
6 7 8 9 10
    <meta name="description" content="Tool for visualizing algorithms."/>
    <meta property="og:title" content="Algorithm Visualizer"/>
    <meta property="og:description" content="Tool for visualizing algorithms."/>
    <meta property="og:image" content="img/image.png"/>
    <link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon"/>
J
Jason Park 已提交
11 12
    <title>Algorithm Visualizer</title>
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
N
nem035 已提交
13
    <link rel="stylesheet" href="public/algorithm_visualizer.min.css">
J
Jason Park 已提交
14
</head>
N
nem035 已提交
15

J
Jason Park 已提交
16
<body>
J
Jason Park 已提交
17 18 19 20 21 22 23 24
<div id="loading-slider">
    <div class="line"></div>
    <div class="break dot1"></div>
    <div class="break dot2"></div>
    <div class="break dot3"></div>
</div>
<nav>
    <button id="navigation">
J
Jason Park 已提交
25 26 27 28 29 30 31 32 33
        <h3>
            Algorithm Visualizer
            <i class="fa fa-angle-right nav-arrow" aria-hidden="true"></i>
            <span id="category"></span>
            <i class="fa fa-angle-right nav-arrow" aria-hidden="true"></i>
            <span id="algorithm"></span>
            <i class="fa fa-caret-up nav-dropdown" aria-hidden="true"></i>
        </h3>
    </button>
J
Jason Park 已提交
34 35 36 37
    <div class="top-menu-buttons">
        <div class="btn" id="btn_share">
            <div class="wrapper">
                <i class="fa fa-share" aria-hidden="true"></i> Share <input type="text" class="collapse" id="shared">
J
Jason Park 已提交
38 39
            </div>
        </div>
J
Jason Park 已提交
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
        <button id="btn_run">
            <i class="fa fa-play" aria-hidden="true"></i>
            <span class="btn-text">Run</span>
        </button>
        <button id="btn_prev">
            <i class="fa fa-chevron-left" aria-hidden="true"></i>
            <span class="btn-text">Prev</span>
        </button>
        <button id="btn_pause">
            <i class="fa fa-pause" aria-hidden="true"></i>
            <span class="btn-text"></span>
        </button>
        <button id="btn_next">
            <span class="btn-text">Next</span>
            <i class="fa fa-chevron-right" aria-hidden="true"></i>
        </button>
        <div class="btn">
            <div class="wrapper">
                Interval: <input type="number" value="" id="interval"> sec
            </div>
N
nem035 已提交
60
        </div>
J
Jason Park 已提交
61 62 63 64 65 66 67
    </div>
</nav>
<section class="sidemenu active">
    <div id="list">
    </div>
    <div id="footer">
        <button id="scratch-paper"><i class="fa fa-code"></i> Scratch Paper</button>
J
Jason Park 已提交
68
        <button id="documentation"><i class="fa fa-book"></i> Tracer API</button>
J
Jason Park 已提交
69 70 71 72 73 74 75 76 77 78 79
        <button class="category" id="powered-by"><i class="fa fa-github"></i> Powered by ...</button>
        <div id="powered-by-list">
            <a href="https://github.com/jquery/jquery">
                <button class="indent collapse">jquery/jquery</button>
            </a>
            <a href="https://github.com/ajaxorg/ace">
                <button class="indent collapse">ajaxorg/ace</button>
            </a>
            <a href="https://github.com/jacomyal/sigma.js">
                <button class="indent collapse">jacomyal/sigma.js</button>
            </a>
J
Jason Park 已提交
80 81 82 83 84 85
            <a href="https://github.com/chartjs/Chart.js">
                <button class="indent collapse">chartjs/Chart.js</button>
            </a>
            <a href="https://github.com/showdownjs/showdown">
                <button class="indent collapse">showdownjs/showdown</button>
            </a>
J
Jason Park 已提交
86 87 88 89 90
            <a href="https://github.com/FortAwesome/Font-Awesome">
                <button class="indent collapse">FortAwesome/Font-Awesome</button>
            </a>
            <a href="https://github.com/simonwhitaker/github-fork-ribbon-css">
                <button class="indent collapse">simonwhitaker/github-fork-ribbon-css</button>
91 92
            </a>
        </div>
J
Jason Park 已提交
93 94 95 96 97 98 99
    </div>
    <a class="github-fork-ribbon left-bottom" href="http://github.com/parkjs814/AlgorithmVisualizer"
       title="Fork me on GitHub">Fork me on GitHub</a>
</section>
<div class="workspace">
    <div class="viewer_container">
        <section class="tab_bar">
J
Jason Park 已提交
100
            <button id="btn_doc" data-target="#tab_doc">Tracer API</button>
J
Jason Park 已提交
101 102 103 104 105 106
            <button class="active" id="btn_desc" data-target="#tab_desc">Description</button>
            <button id="btn_trace" data-target="#tab_module">Trace</button>
        </section>
        <section class="tab_container">
            <div class="tab" id="tab_doc">
                <div class="wrapper">
J
Jason Park 已提交
107
                </div>
J
Jason Park 已提交
108 109 110
            </div>
            <div class="tab active" id="tab_desc">
                <div class="wrapper">
N
nem035 已提交
111
                </div>
J
Jason Park 已提交
112 113 114 115
            </div>
            <div class="tab module_container" id="tab_module">
            </div>
        </section>
J
Jason Park 已提交
116
    </div>
J
Jason Park 已提交
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131
    <div class="editor_container">
        <section class="files_bar">
            <button class="btn-left"><i class="fa fa-angle-left" aria-hidden="true"></i></button>
            <div class="wrapper"></div>
            <button class="btn-right"><i class="fa fa-angle-right" aria-hidden="true"></i></button>
        </section>
        <section class="explanation_container">
            <span id="explanation"></span>
        </section>
        <section class="data_container">
            <pre id="data"></pre>
        </section>
        <section class="code_container">
            <pre id="code"></pre>
        </section>
J
Jason Park 已提交
132
    </div>
J
Jason Park 已提交
133 134 135 136
</div>
<div class="toast_container">
</div>
<script src="public/lib/jquery-2.2.3.min.js"></script>
J
show md  
Jason Park 已提交
137
<script src="public/lib/showdown.min.js"></script>
J
Jason Park 已提交
138 139
<script src="public/lib/ace/ace.js"></script>
<script src="public/lib/ace/ext-language_tools.js"></script>
J
show md  
Jason Park 已提交
140 141
<script src="public/lib/sigma/sigma.min.js"></script>
<script src="public/lib/sigma/plugins/sigma.plugins.dragNodes.min.js"></script>
J
Jason Park 已提交
142 143 144 145 146 147 148 149 150
<script src="public/lib/Chart-2.1.3.min.js"></script>
<script src="public/algorithm_visualizer.min.js"></script>
<script>
    (function (i, s, o, g, r, a, m) {
        i['GoogleAnalyticsObject'] = r;
        i[r] = i[r] || function () {
                    (i[r].q = i[r].q || []).push(arguments)
                }, i[r].l = 1 * new Date();
        a = s.createElement(o),
J
Jason Park 已提交
151
                m = s.getElementsByTagName(o)[0];
J
Jason Park 已提交
152 153 154 155 156 157 158
        a.async = 1;
        a.src = g;
        m.parentNode.insertBefore(a, m)
    })(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
    ga('create', 'UA-78128848-1', 'auto');
    ga('send', 'pageview');
</script>
J
Jason Park 已提交
159
</body>
N
nem035 已提交
160

161
</html>