<commit_before><!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap-theme.min.css">

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="cordova.js"></script>
    <script src="js/api-key.js"></script>
    <script src="js/mustache.js"></script>
    <script src="js/recipe.js"></script>
    <script src="js/app.js"></script>
    <script src="js/favorites.js"></script>
    <link rel="stylesheet" href="css/application.css">
    <link rel="stylesheet" href="css/home.css">

    <!-- Search Results Template -->
    <script id="search-results" type="x-tmpl-mustache">
      {{#recipes}}
      <div class="recipe-container" data-recipeId="{{id}}" style="background-image: url({{imageUrl}})">
        <h3>{{title}}</h3>
        <p class="left"><span class="stars">{{stars}}</span></p>
        <p class="right">{{prepTime}}</p>
      </div>
      {{/recipes}}
    </script>

    <!-- Recipe Show Template -->
    <script id="recipe-show" type="x-tmpl-mustache">
      <div class="recipe">
        <div id="recipe-pic" style="background-image: url({{imageUrl}})">
          <p><span class="stars">{{stars}}</span></p>
        </div>
        <div class="left" id="serving">{{yieldNumber}} {{yieldUnit}}</div>
        <div class="right" id="prep-time">{{prepTime}} Minutes</div>
        <h3>{{title}}</h3>
      </div>
      <button type="button" id="cook-button">Start Cooking</button>
    </script>

    <!-- Ingredients Template -->
    <script id="ingredients-template" type="x-tmpl-mustache">
      <div class="panel panel-default">
        <div class="panel-heading">Ingredients</div>
          <div class="panel-body">
            <ul id="ingredients">
              {{#ingredients}}
              <li>{{quantity}} {{unit}} {{name}}</li>
              {{/ingredients}}
            </ul>
          </div>
        </div>
      </div>
    </script>

    <!-- Instructions Template -->
    <script id="instructions-template" type="x-tmpl-mustache">
      <ol class="list-group" id="instructions">
        {{#instructions}}
        <li class="list-group-item">{{content}}</li>
        {{/instructions}}
      </ol>
    </script>

    <!-- Backup Buttons Template -->
    <script id="backup-buttons-template" type="x-tmpl-mustache">
      <div class="text-center">
        <button type="button" class="btn btn-default backup-repeat" aria-label="Repeat">
          <span class="glyphicon glyphicon-step-backward"></span>
        </button>
        <button type="button" class="btn btn-default backup-start" aria-label="Start">
          <span class="glyphicon glyphicon-play"></span>
        </button>
        <button type="button" class="btn btn-default backup-off" aria-label="Off">
          <span class="glyphicon glyphicon-stop"></span>
        </button>
        <button type="button" class="btn btn-default backup-next" aria-label="Next">
          <span class="glyphicon glyphicon-step-forward"></span>
        </button>
      </div>
    </script>

    <!-- Logged In Template -->
    <script id="logged-in" type="x-tmpl-mustache">
      <nav class="navbar navbar-default">
        <div class="container-fluid">
          <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
              <span class="sr-only">Toggle navigation</span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
            </button>
            <ul class="nav-icons nav nav-pills">
              <li><a class="nav-brand navbar-brand" href="#">Line Cook</a></li>
              <li><a class="nav-icon" href="#"><span class="glyphicon glyphicon-home"></span></a></li>
              <li><a class="nav-icon" href="#"><span class="glyphicon glyphicon-user"></span></a></li>
              <li><a class="nav-icon" href="#"><span class="glyphicon glyphicon-heart"></span></a></li>
            </ul>
          </div>
          <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
              <li><a class="signout-link" href="#">Signout</a></li>
            </ul>
          </div>
          <form class="navbar-form" id="search-form" role="search">
            <div class="row">
              <div class="form-group col-xs-10">
                <input id="search" type="text" class="form-control" placeholder="Search">
              </div>
              <button type="submit" class="btn btn-info">
                <span class="glyphicon glyphicon-search"></span>
              </button>
            </div>
          </form>
        </div>
      </nav>
      <div class="content-container">
      </div>
    </script>

    <!-- Logged Out Template -->
    <script id="logged-out" type="x-tmpl-mustache">
      <nav class="navbar navbar-default">
        <div class="container-fluid">
          <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
              <span class="sr-only">Toggle navigation</span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
            </button>
            <ul class="nav-icons nav nav-pills">
              <li><a class="nav-brand navbar-brand" href="#">Line Cook</a></li>
              <li><a class="nav-icon" href="#"><span class="glyphicon glyphicon-home"></span></a></li>
              <li><a class="nav-icon" href="#"><span class="glyphicon glyphicon-user"></span></a></li>
              <li><a class="nav-icon" href="#"><span class="glyphicon glyphicon-heart"></span></a></li>
            </ul>
          </div>
          <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <form class="navbar-form navbar-right signin-form">
              <div class="form-group">
                <input type="text" name="user[name]" class="form-control" placeholder="name">
              </div>
              <div class="form-group">
                <input type="password" name="user[password]" class="form-control" placeholder="password">
              </div>
              <div>
                <button type="submit" class="btn btn-success">Sign in</button>
                <a class="signup-link pull-right" href="#">Not a user? Sign Up</a>
              </div>
            </form>
          </div>
          <form class="navbar-form" id="search-form" role="search">
            <div class="row">
              <div class="form-group col-xs-10">
                <input id="search" type="text" class="form-control" placeholder="Search">
              </div>
              <button type="submit" class="btn btn-info">
                <span class="glyphicon glyphicon-search"></span>
              </button>
            </div>
          </form>
        </div>
      </nav>
      <div class="content-container">
      </div>
    </script>

    <!-- Sign Up Template -->
    <script id="sign-up-template" type="x-tmpl-mustache">
      <div id="signup-container">
        <form class="signup-form auth-form">
          <h2 class="text-center">Sign Up</h2>
          <div class="form-group">
            <input type="text" name="user[name]" class="form-control" placeholder="name">
          </div>
          <div class="form-group">
            <input type="password" name="user[password]" class="form-control" placeholder="password">
          </div>
          <div class="form-group">
            <input type="password" name="user[password_confirmation]" class="form-control" placeholder="<PASSWORD>">
          </div>
          <button type="submit" class="btn btn-success">Sign Up</button>
        </form>
      </div>
    </script>

  </head>

  <body>
    <div class="container">
    </div>
  </body>
</html><commit_msg>Add Mustache template for user dashboard to index.html<commit_after><!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap-theme.min.css">

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="cordova.js"></script>
    <script src="js/api-key.js"></script>
    <script src="js/mustache.js"></script>
    <script src="js/recipe.js"></script>
    <script src="js/app.js"></script>
    <script src="js/favorites.js"></script>
    <link rel="stylesheet" href="css/application.css">
    <link rel="stylesheet" href="css/home.css">

    <!-- Search Results Template -->
    <script id="search-results" type="x-tmpl-mustache">
      {{#recipes}}
      <div class="recipe-container" data-recipeId="{{id}}" style="background-image: url({{imageUrl}})">
        <h3>{{title}}</h3>
        <p class="left"><span class="stars">{{stars}}</span></p>
        <p class="right">{{prepTime}}</p>
      </div>
      {{/recipes}}
    </script>

    <!-- Recipe Show Template -->
    <script id="recipe-show" type="x-tmpl-mustache">
      <div class="recipe">
        <div id="recipe-pic" style="background-image: url({{imageUrl}})">
          <p><span class="stars">{{stars}}</span></p>
        </div>
        <div class="left" id="serving">{{yieldNumber}} {{yieldUnit}}</div>
        <div class="right" id="prep-time">{{prepTime}} Minutes</div>
        <h3>{{title}}</h3>
      </div>
      <button type="button" id="cook-button">Start Cooking</button>
    </script>

    <!-- Ingredients Template -->
    <script id="ingredients-template" type="x-tmpl-mustache">
      <div class="panel panel-default">
        <div class="panel-heading">Ingredients</div>
          <div class="panel-body">
            <ul id="ingredients">
              {{#ingredients}}
              <li>{{quantity}} {{unit}} {{name}}</li>
              {{/ingredients}}
            </ul>
          </div>
        </div>
      </div>
    </script>

    <!-- Instructions Template -->
    <script id="instructions-template" type="x-tmpl-mustache">
      <ol class="list-group" id="instructions">
        {{#instructions}}
        <li class="list-group-item">{{content}}</li>
        {{/instructions}}
      </ol>
    </script>

    <!-- Backup Buttons Template -->
    <script id="backup-buttons-template" type="x-tmpl-mustache">
      <div class="text-center">
        <button type="button" class="btn btn-default backup-repeat" aria-label="Repeat">
          <span class="glyphicon glyphicon-step-backward"></span>
        </button>
        <button type="button" class="btn btn-default backup-start" aria-label="Start">
          <span class="glyphicon glyphicon-play"></span>
        </button>
        <button type="button" class="btn btn-default backup-off" aria-label="Off">
          <span class="glyphicon glyphicon-stop"></span>
        </button>
        <button type="button" class="btn btn-default backup-next" aria-label="Next">
          <span class="glyphicon glyphicon-step-forward"></span>
        </button>
      </div>
    </script>

    <!-- Logged In Template -->
    <script id="logged-in" type="x-tmpl-mustache">
      <nav class="navbar navbar-default">
        <div class="container-fluid">
          <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
              <span class="sr-only">Toggle navigation</span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
            </button>
            <ul class="nav-icons nav nav-pills">
              <li><a class="nav-brand navbar-brand" href="#">Line Cook</a></li>
              <li><a class="nav-icon" href="#"><span class="glyphicon glyphicon-home"></span></a></li>
              <li><a class="nav-icon" href="#"><span class="glyphicon glyphicon-user"></span></a></li>
              <li><a class="nav-icon" href="#"><span class="glyphicon glyphicon-heart"></span></a></li>
            </ul>
          </div>
          <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
              <li><a class="signout-link" href="#">Signout</a></li>
            </ul>
          </div>
          <form class="navbar-form" id="search-form" role="search">
            <div class="row">
              <div class="form-group col-xs-10">
                <input id="search" type="text" class="form-control" placeholder="Search">
              </div>
              <button type="submit" class="btn btn-info">
                <span class="glyphicon glyphicon-search"></span>
              </button>
            </div>
          </form>
        </div>
      </nav>
      <div class="content-container">
      </div>
    </script>

    <!-- Logged Out Template -->
    <script id="logged-out" type="x-tmpl-mustache">
      <nav class="navbar navbar-default">
        <div class="container-fluid">
          <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
              <span class="sr-only">Toggle navigation</span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
            </button>
            <ul class="nav-icons nav nav-pills">
              <li><a class="nav-brand navbar-brand" href="#">Line Cook</a></li>
              <li><a class="nav-icon" href="#"><span class="glyphicon glyphicon-home"></span></a></li>
              <li><a class="nav-icon" href="#"><span class="glyphicon glyphicon-user"></span></a></li>
              <li><a class="nav-icon" href="#"><span class="glyphicon glyphicon-heart"></span></a></li>
            </ul>
          </div>
          <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <form class="navbar-form navbar-right signin-form">
              <div class="form-group">
                <input type="text" name="user[name]" class="form-control" placeholder="name">
              </div>
              <div class="form-group">
                <input type="password" name="user[password]" class="form-control" placeholder="password">
              </div>
              <div>
                <button type="submit" class="btn btn-success">Sign in</button>
                <a class="signup-link pull-right" href="#">Not a user? Sign Up</a>
              </div>
            </form>
          </div>
          <form class="navbar-form" id="search-form" role="search">
            <div class="row">
              <div class="form-group col-xs-10">
                <input id="search" type="text" class="form-control" placeholder="Search">
              </div>
              <button type="submit" class="btn btn-info">
                <span class="glyphicon glyphicon-search"></span>
              </button>
            </div>
          </form>
        </div>
      </nav>
      <div class="content-container">
      </div>
    </script>

    <!-- Sign Up Template -->
    <script id="sign-up-template" type="x-tmpl-mustache">
      <div id="signup-container">
        <form class="signup-form auth-form">
          <h2 class="text-center">Sign Up</h2>
          <div class="form-group">
            <input type="text" name="user[name]" class="form-control" placeholder="name">
          </div>
          <div class="form-group">
            <input type="password" name="user[password]" class="form-control" placeholder="password">
          </div>
          <div class="form-group">
            <input type="password" name="user[password_confirmation]" class="form-control" placeholder="password confirmation">
          </div>
          <button type="submit" class="btn btn-success">Sign Up</button>
        </form>
      </div>
    </script>

    <!-- User Dashboard Template -->
    <script id="user-dashboard-template" type="x-tmpl-mustache">
      <div id="dashboard-container">
        <h1>{{ name }}</h1>
        <h2>favorites</h2>
        {{ #favorites }}
          <li>{{ id }}</li>
        {{ /favorites }}
      </div>
    </script>

  </head>

  <body>
    <div class="container">
    </div>
  </body>
</html>
{'fraction_non_alphanumeric': 0.1932181323233519, 'fraction_numerical': 0.0034323588590365723, 'mean_word_length': 2.299941417691857, 'pattern_counts': {'":': 0, '<': 535, '<?xml version=': 0, '>': 535, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5414164', 'n_tokens_mistral': 5205, 'n_tokens_neox': 4984, 'n_words': 930}