File: layout.mustache

package info (click to toggle)
texworks 0.6.11%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 24,896 kB
  • sloc: cpp: 32,194; ansic: 8,499; javascript: 972; xml: 345; python: 208; sh: 157; makefile: 24
file content (105 lines) | stat: -rw-r--r-- 2,907 bytes parent folder | download
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="content-type" content="text/html;charset=utf-8">
  <title>{{ url }}</title>
  <link rel="stylesheet" href="https://sharpie.github.com/TeXworks/resources/docs.css">
</head>
<body>
<div id='container'>
  <div id="background"></div>

  <!-- Navbar -->
  <div id="fadeout"></div>
  <div id="flybar">
    <a id="title" href="#top"><h1>{{ file }}</h1></a>

    <div class="navigation about">
      <div class="button">
        About
      </div>
      <div class="contents">
        <p>This documentation was built using Ryan Tomayko's <strong>Rocco</strong> tool:</p>
        <a href="https://rtomayko.github.io/rocco/">rtomayko.github.io/rocco</a>

        <p>Which is based on <strong>Docco</strong> by Jeremy Ashkenas:</p>
        <a href="https://ashkenas.com/docco/">ashkenas.com/docco/</a>

        <p>The code from this navigation bar was borrowed from the <strong>CoffeeScript</strong> project, also by Jeremy:</p>
        <a href="https://coffeescript.org/">coffeescript.org</a>

        <p>The templates used to create this page may be found on GitHub:</p>
        <a href="https://github.com/Sharpie/TeXworks/tree/master/CMake/docs">github.com/Sharpie/TeXworks</a>

      </div>
    </div>

    {{#sources?}}
    <div class="navigation toc">
      <div class="button">
        Browse Source
      </div>
      <div class="contents menu">
        {{#sources}}
          <a class="source" href="{{ url }}">{{ path }}</a>
        {{/sources}}
      </div>
    </div>
    {{/sources?}}
    <div id="error" style="display:none;"></div>
  </div>

  <!-- Content -->
  <span class="bookmark" id="top"></span>

  <table cellspacing=0 cellpadding=0>
  <thead>
    <tr>
      <th class=docs><h1>{{ file }}</h1></th>
      <th class=code></th>
    </tr>
  </thead>
  <tbody>
    {{#sections}}
    <tr>
      <td class=docs>
        <div class="pilwrap">
          <a class="pilcrow" href="#section-{{ section_id }}">&#182;</a>
          <span class="bookmark" id="section-{{ section_id }}"></span>
        </div>
        {{{ docs }}}
      </td>
      <td class=code>
        <div class='highlight'><pre>{{{ code }}}</pre></div>
      </td>
    </tr>
    {{/sections}}
  </table>
</div>

  <!-- Navbar Scripting -->
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
  <script type="text/javascript">
    var closeMenus;
    closeMenus = function() {
      return $('.navigation.active').removeClass('active');
    };
    $('.navigation').click(function(e) {
      if (e.target.tagName.toLowerCase() === 'a') {
        return;
      }
      if ($(e.target).closest('.repl_wrapper').length) {
        return false;
      }
      if ($(this).hasClass('active')) {
        closeMenus();
      } else {
        closeMenus();
        $(this).addClass('active');
      }
      return false;
    });
  </script>

</body>
</html>