<commit_before><!DOCTYPE html>
<html>
  <head>
    <title>Real Time Chat Ku&Sejong</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <link rel="stylesheet" href="css/bootstrap.min.css">
    <!-- 합쳐지고 최소화된 최신 자바스크립트 -->
    <script src="js/bootstrap.min.js"></script>

  </head>
  <body>


    <div class="container">
      <!-- Message Title and Logout Button-->
      <div class="row">
        <div class="col-md-8">
          <h1>Real Time Chat with Pusher</h1>
        </div>

        <div class="col-md-4" style="text-align:right; margin-top:20px;">
          <button id="btnLogout" type="button" class="btn btn-danger">LogOut</button>
        </div>
      </div>

      <!-- Message Output Area -->
      <div class="row">
        <textarea id="txtOutput" class="form-control" rows="15" readonly="true"></textarea>
      </div>

      <!-- Message Input Area -->
      <div class="row">
        <h3>Input Your Massage</h3>
        <textarea id="txtInput" class="form-control" row="3"></textarea>
      </div>

      <!-- Send Button -->
      <div class="row" style="margin-top:10px;">
        <button id="btnSend" type="button" class="btn btn-success" style="width:100%;">Send</button>
      </div>

    </div>
    
  </body>
</html><commit_msg>add onclick function <commit_after><!DOCTYPE html>
<html>
  <head>
    <title>Real Time Chat Ku&Sejong</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <link rel="stylesheet" href="css/bootstrap.min.css">
    <!-- 합쳐지고 최소화된 최신 자바스크립트 -->
    <script src="js/bootstrap.min.js"></script>
    
    <script language="javascript">
  		function getMsg(form) {
  //			alert(form.txtOutput.value.length);
  			if(form.txtInput.value.length == 0)
  			{
  				alert('Please input Massage!!');
  				return;
  			}
  
  			var msgOutput = form.txtOutput.value;
  			var currMsg = 'id : ' + form.txtInput.value
  
  			if (form.txtOutput.value.length != 0)
  			{
  				msgOutput = msgOutput + '\n';
  			}
  			form.txtOutput.value = msgOutput + currMsg;
  
  			form.txtInput.value = '';
  		}
  
  		function logout(form) {
  			alert('logout!!\n'+'goto login Page');
  
  			form.txtOutput.value = '';
  			form.txtInput.value = '';
  		}
  		//-->
  	</script>
  	
  </head>
  <body>

    <form>
      <div class="container">
        <!-- Message Title and Logout Button-->
        <div class="row">
          <div class="col-md-8">
            <h1>Real Time Chat with Pusher</h1>
          </div>
  
          <div class="col-md-4" style="text-align:right; margin-top:20px;">
            <button id="btnLogout" type="button" class="btn btn-danger" onclick="logout(this.form)">LogOut</button>
          </div>
        </div>
  
        <!-- Message Output Area -->
        <div class="row">
          <textarea id="txtOutput" class="form-control" rows="15" readonly="true"></textarea>
        </div>
  
        <!-- Message Input Area -->
        <div class="row">
          <h3>Input Your Massage</h3>
          <textarea id="txtInput" class="form-control" row="3"></textarea>
        </div>
  
        <!-- Send Button -->
        <div class="row" style="margin-top:10px;">
          <button id="btnSend" type="button" class="btn btn-success" style="width:100%;" onclick="getMsg(this.form)">Send</button>
        </div>
  
      </div>
    </form>
    
  </body>
</html>
{'fraction_non_alphanumeric': 0.18473777253977608, 'fraction_numerical': 0.011196228638774307, 'mean_word_length': 2.296116504854369, 'pattern_counts': {'":': 0, '<': 95, '<?xml version=': 0, '>': 96, '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': '2916399', 'n_tokens_mistral': 1233, 'n_tokens_neox': 1209, 'n_words': 222}