aboutsummaryrefslogtreecommitdiff
path: root/htdocs/index.html
blob: ca4db65182b7f09d61292fcd9b33a9d49f361c28 (plain)
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE html>
<html lang='en-US'>
  <head>
    <meta charset='utf-8'/>
    <title>Mathy</title>
    <link rel='stylesheet' type='text/css' href='css/font-awesome-4.7.0/css/font-awesome.min.css'/>
    <link rel='stylesheet' type='text/css' href='js/bootstrap-3.3.7/css/bootstrap.min.css'/>
    <link rel='stylesheet' type='text/css' href='js/bootstrap-3.3.7/css/bootstrap-theme.min.css'/>
    <link rel='stylesheet' type='text/css' href='css/mathy.css' media='screen'/>
  </head>

  <body>
    <div id='editor'>\text{add latex here}</div>
    <div id='math-wrap'>
      <div id='math-preview'></div>
      <div id='math-buffer' style='visibility:hidden; position:absolute; top:0; left: 0'></div>
    </div>

    <div id='buttons' class='btn-toolbar'>
      <div class='btn-group btn-group-sm dropup'>
        <a
          href='#'
          class='btn btn-default dropdown-toggle'
          title='load saved result'
          data-toggle='dropdown'
        >
          <i class='fa fa-upload'></i>
          Load
          <i class='fa fa-caret-down'></i>
        </a><!-- btn -->

        <ul id='saves' class='dropdown-menu'>
        </ul><!-- dropdown-menu -->
      </div><!-- btn-group -->

      <div class='btn-group btn-group-sm'>
        <a
          href='#'
          id='save'
          class='btn btn-default'
          title='save'
        >
          <i class='fa fa-save'></i>
          Save
        </a><!-- btn -->
      </div><!-- btn-group -->

      <div class='btn-group btn-group-sm pull-right dropup'>
        <a
          href='#'
          class='btn btn-default dropdown-toggle'
          title='get help'
          data-toggle='dropdown'
        >
          <i class='fa fa-question-circle'></i>
          Help
          <i class='fa fa-caret-down'></i>
        </a><!-- btn -->

        <ul id='help' class='dropdown-menu'>
        </ul><!-- dropdown-menu -->
      </div><!-- btn-group -->

      <div class='btn-group btn-group-sm pull-right'>
        <a
          href='#'
          id='btn-config'
          class='btn btn-default disabled'
          title='edit settings'
        >
          <i class='fa fa-cog'></i>
          Config
        </a><!-- btn -->
      </div><!-- btn-group -->
    </div><!-- btn-toolbar -->

    <script type="text/x-mathjax-config">
      MathJax.Hub.Config({
        showProcessingMessages: false,
        tex2jax: { inlineMath: [['$','$'],['\\(','\\)']] }
      });
    </script>
    <script type='text/javascript' src='js/data.js'></script>
    <script type='text/javascript' src='js/jquery-3.1.1.min.js'></script>
    <script type='text/javascript' src='js/bootstrap-3.3.7/js/bootstrap.min.js'></script>
    <script type='text/javascript' src='js/ace/ace.js' charset='utf-8'></script>
    <script type='text/javascript' src='js/MathJax-2.7.2/MathJax.js?config=TeX-AMS-MML_SVG'></script>
    <script type='text/javascript' src='js/luigi-template-0.4.1.min.js'></script>
    <script type='text/javascript' src='js/mathy.js'></script>
  </body>
</html>