index.html 6.4 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
    </div>
</nav>
<section class="sidemenu active">
J
Jason Park 已提交
64 65 66 67
    <div class="search_bar_container">
        <i class="fa fa-search" aria-hidden="true"></i>
        <input type="text" id="search-bar" autofocus/>
    </div>
J
Jason Park 已提交
68 69 70
    <div id="list">
    </div>
    <div id="footer">
N
nem035 已提交
71 72
        <button id="scratch-paper"><i class="fa fa-fw fa-code"></i> Scratch Paper</button>
        <button id="documentation"><i class="fa fa-fw fa-book"></i> Tracer API</button>
N
nem035 已提交
73
        <button class="category open" id="powered-by">
J
Jason Park 已提交
74
            <i class="fa fa-fw fa-github"></i> Powered by ...
N
nem035 已提交
75
        </button>
J
Jason Park 已提交
76 77
        <div id="powered-by-list">
            <a href="https://github.com/jquery/jquery">
N
nem035 已提交
78
                <button class="indent">jquery/jquery</button>
J
Jason Park 已提交
79 80
            </a>
            <a href="https://github.com/ajaxorg/ace">
N
nem035 已提交
81
                <button class="indent">ajaxorg/ace</button>
J
Jason Park 已提交
82 83
            </a>
            <a href="https://github.com/jacomyal/sigma.js">
N
nem035 已提交
84
                <button class="indent">jacomyal/sigma.js</button>
J
Jason Park 已提交
85
            </a>
J
Jason Park 已提交
86
            <a href="https://github.com/chartjs/Chart.js">
N
nem035 已提交
87
                <button class="indent">chartjs/Chart.js</button>
J
Jason Park 已提交
88 89
            </a>
            <a href="https://github.com/showdownjs/showdown">
N
nem035 已提交
90
                <button class="indent">showdownjs/showdown</button>
J
Jason Park 已提交
91
            </a>
J
Jason Park 已提交
92
            <a href="https://github.com/FortAwesome/Font-Awesome">
N
nem035 已提交
93
                <button class="indent">FortAwesome/Font-Awesome</button>
J
Jason Park 已提交
94 95
            </a>
            <a href="https://github.com/simonwhitaker/github-fork-ribbon-css">
N
nem035 已提交
96
                <button class="indent">simonwhitaker/github-fork-ribbon-css</button>
97 98
            </a>
        </div>
J
Jason Park 已提交
99 100 101 102 103 104 105
    </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 已提交
106
            <button id="btn_doc" data-target="#tab_doc">Tracer API</button>
J
Jason Park 已提交
107 108 109 110 111 112
            <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 已提交
113
                </div>
J
Jason Park 已提交
114 115 116
            </div>
            <div class="tab active" id="tab_desc">
                <div class="wrapper">
N
nem035 已提交
117
                </div>
J
Jason Park 已提交
118 119 120 121
            </div>
            <div class="tab module_container" id="tab_module">
            </div>
        </section>
J
Jason Park 已提交
122
    </div>
J
Jason Park 已提交
123 124 125 126
    <div class="editor_container">
        <section class="files_bar">
            <button class="btn-left"><i class="fa fa-angle-left" aria-hidden="true"></i></button>
            <button class="btn-right"><i class="fa fa-angle-right" aria-hidden="true"></i></button>
N
nem035 已提交
127
            <div class="wrapper"></div>
J
Jason Park 已提交
128 129 130 131 132 133 134 135 136 137
        </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 已提交
138
    </div>
J
Jason Park 已提交
139 140 141 142
</div>
<div class="toast_container">
</div>
<script src="public/lib/jquery-2.2.3.min.js"></script>
J
show md  
Jason Park 已提交
143
<script src="public/lib/showdown.min.js"></script>
J
Jason Park 已提交
144 145
<script src="public/lib/ace/ace.js"></script>
<script src="public/lib/ace/ext-language_tools.js"></script>
J
show md  
Jason Park 已提交
146 147
<script src="public/lib/sigma/sigma.min.js"></script>
<script src="public/lib/sigma/plugins/sigma.plugins.dragNodes.min.js"></script>
J
Jason Park 已提交
148 149 150 151 152 153 154 155 156
<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 已提交
157
                m = s.getElementsByTagName(o)[0];
J
Jason Park 已提交
158 159 160 161 162 163 164
        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 已提交
165
</body>
N
nem035 已提交
166

167
</html>