<commit_before><script>
jq( document ).ready(function() {
    console.log( "ready!" );
    jq(".homepagelink").attr("href", "#/admin");
    jq(".purchasebutton").hide();
    jq(".eventbutton").hide();
});
</script>

<div class = "jumbotron splashscreen" ng-controller='AddAmountCtrl'>
<h1 > Welcome, {{name}}! </h1>
<h3>Your NUCoins: {{coins}}</h3>
<h3>Your account history is as follows:</h3>
</div>


<div class="container bottompadding">
  <div class = "row">
    <div class = "col-md-7">

      <div class = "amountAdder" ng-controller='AddAmountCtrl'>
        <h2>Transaction</h2>
        <form class = "form-group">
          <p>Enter Email:<span><input type="email" class = "form-control pull-right" placeholder="Receiver's email address" ng-model="user.receiver" required=""/></span></p><br>
          <p>Enter Amount:<span><input type="number" class = "form-control pull-right" placeholder="Transfer amount" ng-model="user.amount" required="" min="10"/><br></span></p><br>
          <p>Enter Title:<span><input type="text"  class = "form-control pull-right"placeholder="A title for your transaction" ng-model="user.titles" required=""/></span></p><br>
          <p>Enter Description:<span><input type="text"  class = "form-control pull-right"placeholder="Transaction Description" ng-model="user.descriptions" required=""/><br></span></p><br>
          <p><button  class = "form-control" ng-click='amount($event);'>Transfer</button></p>
          <p class = "errorMsg">*You cannot transfer NUCoins to your own account. Please enter a Valid Email Address</p>
          <p class = "errorMsg2">*Please provide all details to transfer coins.</p>
          <p class = "invalidEmail">*The email entered doesn't exist in our database. You can only send NUCoins to NUCoin users.</p>
          <p class = "succMessage3">{{user.amount}} NUCs have successfully been transferred.</p>
          <p class = "errorMsg3">*The specified user hasn't created an account on NUCoins yet.</p>
          <p class = "recError">*Your balance is insufficient</p>
        </form>

        <p><h2>Transaction history</h2></p><br>
        <button class = "form-control" ng-click='details($event);'>Transaction Details</button>
      </div>
      <div ng-controller = "RechargeAccountCtrl">
        <form>
          <p>Enter code to recharge NUCoins
          <input type="text" placeholder="Recharge code" ng-model="rechargeCode" required=""/><br>
          <p><button ng-click='recharge($event);'>Recharge</button>
            <p class="rechargeMessage1">*You entered wrong code!</p>
            <p class="rechargeMessage2">Coins successfully added!</p>
        </form>
      </div>
    </div>
    <div class = "col-md-4">
      <div class="siteRating" ng-controller="ratingCtrl">
        <br><h2 style="text-align: left;">Site Average Rating:</h2></br>
        <ul>
          <li>
        <b> Average Rating:</b> {{rating}} <br></li>
        <li><commit_msg>Admin recharge button fixed<commit_after><script>
jq( document ).ready(function() {
    console.log( "ready!" );
    jq(".homepagelink").attr("href", "#/admin");
    jq(".purchasebutton").hide();
    jq(".eventbutton").hide();
});
</script>

<div class = "jumbotron splashscreen" ng-controller='AddAmountCtrl'>
<h1 > Welcome, {{name}}! </h1>
<h3>Your NUCoins: {{coins}}</h3>
<h3>Your account history is as follows:</h3>
</div>


<div class="container bottompadding">
  <div class = "row">
    <div class = "col-md-7">

      <div class = "amountAdder" ng-controller='AddAmountCtrl'>
        <h2>Transaction</h2>
        <form class = "form-group">
          <p>Enter Email:<span><input type="email" class = "form-control pull-right" placeholder="Receiver's email address" ng-model="user.receiver" required=""/></span></p><br>
          <p>Enter Amount:<span><input type="number" class = "form-control pull-right" placeholder="Transfer amount" ng-model="user.amount" required="" min="10"/><br></span></p><br>
          <p>Enter Title:<span><input type="text"  class = "form-control pull-right"placeholder="A title for your transaction" ng-model="user.titles" required=""/></span></p><br>
          <p>Enter Description:<span><input type="text"  class = "form-control pull-right"placeholder="Transaction Description" ng-model="user.descriptions" required=""/><br></span></p><br>
          <p><button  class = "form-control" ng-click='amount($event);'>Transfer</button></p>
          <p class = "errorMsg">*You cannot transfer NUCoins to your own account. Please enter a Valid Email Address</p>
          <p class = "errorMsg2">*Please provide all details to transfer coins.</p>
          <p class = "invalidEmail">*The email entered doesn't exist in our database. You can only send NUCoins to NUCoin users.</p>
          <p class = "succMessage3">{{user.amount}} NUCs have successfully been transferred.</p>
          <p class = "errorMsg3">*The specified user hasn't created an account on NUCoins yet.</p>
          <p class = "recError">*Your balance is insufficient</p>
        </form>

        <p><h2>Transaction history</h2></p><br>
        <button class = "form-control" ng-click='details($event);'>Transaction Details</button>
      </div>
      <div ng-controller = "RechargeAccountCtrl">
        <form>
          <p><h2 style="text-align: left;">Enter code to recharge NUCoins</h2></p>
          <input type="text" class = "form-control pull-left" placeholder="Recharge code" ng-model="rechargeCode" required=""/><br><br>
          <p><button class = "form-control pull-left" ng-click='recharge($event);'>Recharge</button></p><br>
          <p class="rechargeMessage1">*You entered wrong code!</p>
          <p class="rechargeMessage2">Coins successfully added!</p>
        </form>
      </div>
    </div>
    <div class = "col-md-4">
      <div class="siteRating" ng-controller="ratingCtrl">
        <br><h2 style="text-align: left;">Site Average Rating:</h2></br>
        <ul>
          <li>
        <b> Average Rating:</b> {{rating}} <br></li>
        <li>
{'fraction_non_alphanumeric': 0.18201498751040798, 'fraction_numerical': 0.007327227310574521, 'mean_word_length': 3.4754098360655736, 'pattern_counts': {'":': 0, '<': 201, '<?xml version=': 0, '>': 201, 'https://': 0, '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': '5508286', 'n_tokens_mistral': 1883, 'n_tokens_neox': 1844, 'n_words': 452}