summaryrefslogtreecommitdiff
path: root/src/templates/admin/plugins-info.html
blob: 8dd0bf88e33bf76514447d6076566331a4549b54 (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
<%
  var plugins = require("ep_etherpad-lite/static/js/pluginfw/plugins");
%>
<!doctype html>
<html>
  <head>
    <title>Plugin information - Etherpad</title>
    <meta name="viewport" content="width=device-width">
    <link rel="stylesheet" href="../../static/css/admin.css">
  </head>
  <body>
    <div id="wrapper">
      <div class="menu">
        <h1><a href="../../">Etherpad</a></h1>
        <ul>
          <% e.begin_block("adminMenu"); %>
          <li><a href="../plugins">Plugin manager</a> </li>
          <li><a href="../settings">Settings</a> </li>
          <li><a href="../plugins/info">Troubleshooting information</a> </li>
          <% e.end_block(); %>
        </ul>
      </div>

      <div class="innerwrapper">
        <h2>Etherpad version</h2>
        <p>Version number: <%= epVersion %></p>
        <p>Git sha: <a href='https://github.com/ether/etherpad-lite/commit/<%= gitCommit %>'><%= gitCommit %></a></p>

        <h2>Installed plugins</h2>
        <pre><%- plugins.formatPlugins().replace(", ","\n") %></pre>

        <h2>Installed parts</h2>
        <pre><%= plugins.formatParts() %></pre>

        <h2>Installed hooks</h2>
        <h3>Server side hooks</h3>
        <div><%- plugins.formatHooks() %></div>

        <h3>Client side hooks</h3>
        <div><%- plugins.formatHooks("client_hooks") %></div>

      </div>
    </div>
  <div style="display:none"><a href="/javascript" data-jslicense="1">JavaScript license information</a></div>
  </body>
</html>