summaryrefslogtreecommitdiffstats
path: root/funcweb/funcweb/templates/method.html
blob: 1f67ce925099e7c4168f8a5dc9fea51a61ff2a47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:xi="http://www.w3.org/2001/XInclude">
<body>
  <div class="method">
    ${minion}.${module}.${method}

    <form action="" method="GET" onsubmit="$('#results').hide().load('/run/${minion}/${module}/${method}/').show('slow'); return false;">
      <input type="text" name="arguments" id="methodargs" class="methodargs"/>
    </form>
    <div class="results" id="results" />

    <script type="text/javascript">
      $(document).ready($("#methodargs").focus());
    </script>
  </div>
</body>
</html>