Sha256: 76067c3e00b647094fd1425d3022872b3822e8e0fa24f0ce374b061af7e34768

Contents?: true

Size: 1.92 KB

Versions: 1

Compression:

Stored size: 1.92 KB

Contents

<!--
  This file is part of CPEE.

  CPEE is free software: you can redistribute it and/or modify it under the terms
  of the GNU General Public License as published by the Free Software Foundation,
  either version 3 of the License, or (at your option) any later version.

  CPEE is distributed in the hope that it will be useful, but WITHOUT ANY
  WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  PARTICULAR PURPOSE.  See the GNU General Public License for more details.

  You should have received a copy of the GNU General Public License along with
  CPEE (file COPYING in the main directory).  If not, see
  <http://www.gnu.org/licenses/>.
-->

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>CPEE Cockpit</title>

    <!-- libs, do not modify -->
    <script type="text/javascript" src="http://localhost/js_libs/jquery.min.js"></script>
    <script type="text/javascript" src="http://localhost/js_libs/relaxngui.js"></script>
    <link rel="stylesheet" href="http://localhost/js_libs/relaxngui.css" type="text/css"/>
    <script type="text/javascript" src="http://localhost/js_libs/util.js"></script>
    <!-- custom stuff, play arround  -->

    <script type="text/javascript">
      $("body").ready(function(){
        $.ajax({
          type: "GET", 
          url: "rngtest.rng",
          success: function(res){
            $.ajax({
              type: "GET", 
              url: "rngtest.xml",
              success: function(xml){
                var rngui = new RelaxNGui($('> data',xml),res,$('#show'));
                $('#saveall').on('click',rngui.save);
              }
            });
          }
        });  
      });
    </script>
  </head>
  <body data-defaultport="9298">
    <div id="show"></div>
    <button id='saveall'>save it all to console</button>
  </body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cpee-1.3.178 cockpit/rngtest.html