~andreserl/+junk/cobbler

« back to all changes in this revision

Viewing changes to web/cobbler_web/templates/master.tmpl

  • Committer: Andres Rodriguez
  • Date: 2011-12-09 19:21:57 UTC
  • Revision ID: andreserl@ubuntu.com-20111209192157-rul6dqkyaog2f3i5
Reverted changes back to rev50

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
<div id="container">
15
15
  <div id='user'>
16
16
    <input type="hidden" name="username" id="username" value="{{ username }}" />
17
 
    Logged in: <b>{{ username }}</b> <a class="action" href="javascript:menuaction('/cobbler_web/logout');">Logout</a>
 
17
    Logged in: <b>{{ username }}</b> <a class="action" href="/cobbler_web/logout">Logout</a>
18
18
  </div>
19
19
    <div id="menubar">
20
20
      <big><b>Orchestra</b></big><br/><i>powered by <a href="https://fedorahosted.org/cobbler/">Cobbler</a></i><br/><br/>
21
 
      <form id="menuaction" method="POST" action="">{% csrf_token %}</form>
22
 
      <script type="text/javascript">
23
 
      function menuaction(action) {
24
 
         document.forms["menuaction"].action = action
25
 
         document.forms["menuaction"].submit();
26
 
      }
27
 
      </script>
28
21
      <h1>Configuration</h1>
29
22
      <ul>
30
23
        <li><a href="/cobbler_web/distro/list" class="edit">Distros</a></li>
44
37
      <h1>Actions</h1>
45
38
      <ul>
46
39
        <li><a href="/cobbler_web/import/prompt">Import DVD</a></li>
47
 
        <li><a href="javascript:menuaction('/cobbler_web/sync');">Sync</a> ☼</li>
48
 
        <li><a href="javascript:menuaction('/cobbler_web/reposync');"">Reposync</a> ☼ </li>
49
 
        <li><a href="javascript:menuaction('/cobbler_web/hardlink');"">Hardlink</a> ☼ </li>
50
 
        <!-- <li><a href="javascript:menuaction('/cobbler_web/replicate');"">Replicate</a> ☼ </li> -->
51
 
        <li><a href="javascript:menuaction('/cobbler_web/buildiso');">Build ISO</a> ☼ </li>
 
40
        <li><a href="/cobbler_web/sync">Sync</a> ☼</li>
 
41
        <li><a href="/cobbler_web/reposync">Reposync</a> ☼ </li>
 
42
        <li><a href="/cobbler_web/hardlink">Hardlink</a> ☼ </li>
 
43
        <!-- <li><a href="/cobbler_web/replicate">Replicate</a> ☼ </li> -->
 
44
        <li><a href="/cobbler_web/buildiso">Build ISO</a> ☼ </li>
52
45
      </ul>
53
46
      <h1>Cobbler</h1>
54
47
      <ul>