~maddevelopers/mg5amcnlo/WWW5_caching

« back to all changes in this revision

Viewing changes to madgraph3/templates/edit_card.html

  • Committer: John Doe
  • Date: 2013-03-25 20:27:02 UTC
  • Revision ID: john.doe@gmail.com-20130325202702-5sk3t1r8h33ca4p4
first clean version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html xmlns="http://www.w3.org/1999/xhtml"
 
2
    xmlns:py="http://genshi.edgewall.org/"
 
3
    xmlns:xi="http://www.w3.org/2001/XInclude">  
 
4
  <head>
 
5
    <title>Edit Card</title>
 
6
  </head>
 
7
  <body>
 
8
<xi:include href="test/header.html" />
 
9
  
 
10
  
 
11
  <aside style="display:inline-block; vertical-align:top; width:200px">Edit Card:</aside>
 
12
  <div style="display:inline-block;">   <textarea id="text" rows="40" cols="80" > Error while loading card. Is javascript enabled?</textarea>
 
13
  <br/><input type="button" value="Submit" onclick="send()"/>
 
14
  </div>
 
15
<br> </br>
 
16
<hr> </hr>
 
17
<center><tiny><a href="cgi-bin/Admin/admin_page.cgi" target="F3">MadTeam</a>
 
18
</tiny></center>
 
19
 
 
20
   
 
21
  </body>
 
22
    <script>
 
23
    var data = "$x";
 
24
    var element=document.getElementById("text");
 
25
        data=data.replace(/_gg_/g,"\"");
 
26
        data=data.replace(/_p_/g,"+");
 
27
        data=data.replace(/_di_/g,"#");
 
28
        data=data.replace(/_pg_/g,"&gt;")
 
29
    element.innerHTML=data.replace(/_nl_/g,"\n");
 
30
        send=function(){
 
31
                var to_send=element.value;
 
32
                to_send=to_send.replace(/&gt;/g,"_pg_");
 
33
                to_send=to_send.replace(/&lt;/g,"_pp_");
 
34
                to_send=to_send.replace(/&#35;/g,"_di_");
 
35
                to_send=to_send.replace(/\n/g,"_nl_");
 
36
                to_send=to_send.replace(/\+/g,"_p_")
 
37
                window.location="process?code="+to_send;
 
38
        }
 
39
    </script>
 
40
</html>
 
 
b'\\ No newline at end of file'