<commit_before><!doctype html>
<html lang="">

  <head>

    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <base href="/">

    <title>Data Packagist | Open Knowledge</title>

    <link rel="apple-touch-icon" href="apple-touch-icon.png" />
    <link rel="stylesheet" type="text/css" href="https://rawgit.com/okfn/app-theme/gh-pages/css/main.min.css" />
    <link rel="stylesheet" type="text/css" href="app.min.css" />

  </head>

  <body>

    <!--[if lt IE 8]>
        <p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
    <![endif]-->

    <div class="collapse" id="okf-panel">
      <iframe src="//assets.okfn.org/themes/okfn/okf-panel.html" scrolling="no"></iframe>
    </div>

    <section id="application">

      <!-- start navigation -->
      <nav id="navbar" class="navbar navbar-static-top">
        <div class="container">
          <a data-id="badge" href="http://okfn.org/" class="open-knowledge" title="An Open Knowledge Project" data-toggle="collapse" data-target="#okf-panel"><span class="text">An Open Knowledge Project</span></a>
          <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
              <span class="sr-only">Toggle navigation</span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand has-icon" href="/">

              <span class="glyphicon glyphicon-ok" aria-hidden="true"></span>

              <span class="text">Data Packagist</span>
            </a>
            <span class="alpha release badge">alpha</span>
          </div>
          <div class="collapse navbar-collapse">
            <ul class="nav navbar-nav">
              <li><a href="http://data.okfn.org/">Frictionless Data</a></li>
              <li><a href="http://dataprotocols.org/">Data Protocols</a></li>
            </ul>
          </div><!--/.nav-collapse -->
        </div>
      </nav>
      <!-- end navigation -->

      <!-- start main -->
      <div class="jumbotron inverse">
        <div class="container">
          <h1>Data Packagist</h1>
          <p>Create, edit, and validate Data Packages.</p>
        </div>
      </div>

      <div class="row">
        <div class="container">
          <select id="registry-list"></select>
        </div>
        <a id="download-data-package" href="" download="datapackage.json" target="_blank">Download data package</a>

        <div id="upload-data-package">
          <input data-id="input" type="file" accept="application/json">
          <div data-id="error"></div>
        </div>
      </div>

      <div class="row" class="container">
        <div id="form-editor" class="col-md-8"></div>
        <pre class="col-md-3"><code id="json-code" class="json"></code></pre>
      </div>

      <!-- end main-->

      <!-- start footer -->
      <footer class="site-footer">
        <div class="container">
          <a class="footer-logo" href="https://okfn.org/">
            <img src="https://bytebucket.org/okfn/assets.okfn.org/raw/88b24904b8ecded5e6d530739743162d1c5b3d93/p/okfn/img/okfn-logo-landscape-white.png" alt="Open Knowledge">
          </a>

          <div class="footer-links">
            <ul>
              <li><a href="https://okfn.org/privacy-policy/">Privacy policy</a></li>
              <li><a href="https://okfn.org/ip-policy/">IP policy</a></li>
              <li><a href="https://okfn.org/cookie-policy/">Cookie policy</a></li>
              <li><a href="https://okfn.org/terms-of-use/">Terms of use</a></li>
            </ul>

            <ul class="footer-social">
              <li><a href="https://facebook.com/OKFNetwork">
                  <img src="https://raw.githubusercontent.com/thoughtbot/refills/master/source/images/facebook-logo-circle.png" alt="Facebook">
              </a></li>
              <li>
                <a href="https://twitter.com/okfn">
                  <img src="https://raw.githubusercontent.com/thoughtbot/refills/master/source/images/twitter-logo-circle.png" alt="Twitter">
                </a>
              </li>
              <li>
                <a href="https://www.youtube.com/user/openknowledgefdn">
                  <img src="https://raw.githubusercontent.com/thoughtbot/refills/master/source/images/youtube-logo-circle.png" alt="YouTube">
                </a>
              </li>
            </ul>
          </div>

          <hr>

          <p>Open Knowledge Foundation is incorporated in England and Wales as a company Limited by guarantee. Company no. 05133759. Registered address: St. John’s Innovation Centre, Cowley Road, Cambridge, CB4 0WS, UK. VAT Registration no. GB 984404989.</p>

        </div>
      </footer>
      <!-- end footer -->
      
      <div id="overlay" class="overlay" hidden>&nbsp;</div>

      <div id="confirmation-dialog" class="dialog">
        <p data-id="message"></p>
        <a data-id="yes" href="">Yes</a>
        <a data-id="no" href="">No</a>
      </div>
    </section>

    <script src="vendor.min.js"></script>
    <script src="app.min.js"></script>
  </body><commit_msg>Updated ok panel and ribbon markup. Closes #34.<commit_after><!doctype html>
<html lang="">

  <head>

    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <base href="/">

    <title>Data Packagist | Open Knowledge</title>

    <link rel="apple-touch-icon" href="apple-touch-icon.png" />
    <link rel="stylesheet" type="text/css" href="https://rawgit.com/okfn/app-theme/gh-pages/css/main.min.css" />
    <link rel="stylesheet" href="//okfnlabs.org/ok-panel/assets/css/frontend.css"/>
    <link rel="stylesheet" type="text/css" href="app.min.css" />

  </head>

  <body>

    <!--[if lt IE 8]>
        <p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
    <![endif]-->

    <div class="fixed-ok-panel">
      <div id="ok-panel" class="closed">
        <iframe src="http://assets.okfn.org/themes/okfn/okf-panel.html" scrolling="no"></iframe>
      </div>

      <a class="ok-ribbon" href="https://okfn.org/"><img src="http://okfnlabs.org/ok-panel/assets/images/ok-ribbon.png" alt="Open Knowledge"></a>
    </div>

    <section id="application">

      <!-- start navigation -->
      <nav id="navbar" class="navbar navbar-static-top">
        <div class="container">
          <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
              <span class="sr-only">Toggle navigation</span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand has-icon" href="/">

              <span class="glyphicon glyphicon-ok" aria-hidden="true"></span>

              <span class="text">Data Packagist</span>
            </a>
            <span class="alpha release badge">alpha</span>
          </div>
          <div class="collapse navbar-collapse">
            <ul class="nav navbar-nav">
              <li><a href="http://data.okfn.org/">Frictionless Data</a></li>
              <li><a href="http://dataprotocols.org/">Data Protocols</a></li>
            </ul>
          </div><!--/.nav-collapse -->
        </div>
      </nav>
      <!-- end navigation -->

      <!-- start main -->
      <div class="jumbotron inverse">
        <div class="container">
          <h1>Data Packagist</h1>
          <p>Create, edit, and validate Data Packages.</p>
        </div>
      </div>

      <div class="row">
        <div class="container">
          <select id="registry-list"></select>
        </div>
        <a id="download-data-package" href="" download="datapackage.json" target="_blank">Download data package</a>

        <div id="upload-data-package">
          <input data-id="input" type="file" accept="application/json">
          <div data-id="error"></div>
        </div>
      </div>

      <div class="row" class="container">
        <div id="form-editor" class="col-md-8"></div>
        <pre class="col-md-3"><code id="json-code" class="json"></code></pre>
      </div>

      <!-- end main-->

      <!-- start footer -->
      <footer class="site-footer">
        <div class="container">
          <a class="footer-logo" href="https://okfn.org/">
            <img src="https://bytebucket.org/okfn/assets.okfn.org/raw/88b24904b8ecded5e6d530739743162d1c5b3d93/p/okfn/img/okfn-logo-landscape-white.png" alt="Open Knowledge">
          </a>

          <div class="footer-links">
            <ul>
              <li><a href="https://okfn.org/privacy-policy/">Privacy policy</a></li>
              <li><a href="https://okfn.org/ip-policy/">IP policy</a></li>
              <li><a href="https://okfn.org/cookie-policy/">Cookie policy</a></li>
              <li><a href="https://okfn.org/terms-of-use/">Terms of use</a></li>
            </ul>

            <ul class="footer-social">
              <li><a href="https://facebook.com/OKFNetwork">
                  <img src="https://raw.githubusercontent.com/thoughtbot/refills/master/source/images/facebook-logo-circle.png" alt="Facebook">
              </a></li>
              <li>
                <a href="https://twitter.com/okfn">
                  <img src="https://raw.githubusercontent.com/thoughtbot/refills/master/source/images/twitter-logo-circle.png" alt="Twitter">
                </a>
              </li>
              <li>
                <a href="https://www.youtube.com/user/openknowledgefdn">
                  <img src="https://raw.githubusercontent.com/thoughtbot/refills/master/source/images/youtube-logo-circle.png" alt="YouTube">
                </a>
              </li>
            </ul>
          </div>

          <hr>

          <p>Open Knowledge Foundation is incorporated in England and Wales as a company Limited by guarantee. Company no. 05133759. Registered address: St. John’s Innovation Centre, Cowley Road, Cambridge, CB4 0WS, UK. VAT Registration no. GB 984404989.</p>

        </div>
      </footer>
      <!-- end footer -->
      
      <div id="overlay" class="overlay" hidden>&nbsp;</div>

      <div id="confirmation-dialog" class="dialog">
        <p data-id="message"></p>
        <a data-id="yes" href="">Yes</a>
        <a data-id="no" href="">No</a>
      </div>
    </section>

    <script src="http://code.jquery.com/jquery-1.11.3.min.js" type="text/javascript"></script>
    <script src="http://okfnlabs.org/ok-panel/assets/js/frontend.js" type="text/javascript"></script>
    <script src="vendor.min.js"></script>
    <script src="app.min.js"></script>
  </body>
{'fraction_non_alphanumeric': 0.18908157848168466, 'fraction_numerical': 0.009909750486639533, 'mean_word_length': 2.2611079053664165, 'pattern_counts': {'":': 0, '<': 343, '<?xml version=': 0, '>': 343, 'https://': 27, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4771355', 'n_tokens_mistral': 3676, 'n_tokens_neox': 3452, 'n_words': 642}