<commit_before>{%extends 'webframe/base.html'%}{%load i18n%}

{%block title%}{%trans 'Login Required'%}{%endblock%}

{%block body%}
<div class="jumbotron">

	<div class="row">
		<div class="col-md-6 col-md-offset-3 col-xs-12"><form method="POST" id="loginFrm" class="panel panel-danger">
         <div class="panel-heading">{%trans 'Login Required'%}</div>
         <div class="panel-body">
            {%csrf_token%}
            <input type="hidden" name="next" value="{{next|default:'/'}}"/>
            <input type="hidden" name="ipaddr" value="{{IPAddr}}"/>
            <div class="field">
               <label for="usernameFld" class="desktop-only">{%trans 'username'%}</label>
               <input type="text" name="username" id="usernameFld" class="form-control" placeholder="{%trans 'username'%}" required="required"/>
            </div>
            <div class="field">
               <label for="passwordFld" class="desktop-only">{%trans 'password'%}</label>
               <input type="password" name="password" id="passwordFld" class="form-control" placeholder="{%trans 'password'%}" required="required"/>
            </div>
            <div class="pnl-btns">
               <button class="btn btn-success" type="submit">{%trans 'submit'%}</button>
            </div>
         </div>
		</form></div><commit_msg>Show the ipaddr when login<commit_after>{%extends 'webframe/base.html'%}{%load i18n%}

{%block title%}{%trans 'Login Required'%}{%endblock%}

{%block body%}
<div class="jumbotron">

	<div class="row">
		<div class="col-md-6 col-md-offset-3 col-xs-12"><form method="POST" id="loginFrm" class="panel panel-danger">
         <div class="panel-heading">{%trans 'Login Required'%}</div>
         <div class="panel-body">
            {%csrf_token%}
            <input type="hidden" name="next" value="{{next|default:'/'}}"/>
            <div class="field">
               <label for="IPAddrFld" class="desktop-only">{%trans 'IPAddr'%}</label>
               <input type="text" name="ipaddr" value="{{IPAddr}}" class="form-control" readonly="readonly" required="required"/>
            </div>
            <div class="field">
               <label for="usernameFld" class="desktop-only">{%trans 'username'%}</label>
               <input type="text" name="username" id="usernameFld" class="form-control" placeholder="{%trans 'username'%}" required="required"/>
            </div>
            <div class="field">
               <label for="passwordFld" class="desktop-only">{%trans 'password'%}</label>
               <input type="password" name="password" id="passwordFld" class="form-control" placeholder="{%trans 'password'%}" required="required"/>
            </div>
            <div class="pnl-btns">
               <button class="btn btn-success" type="submit">{%trans 'submit'%}</button>
            </div>
         </div>
		</form></div>
{'fraction_non_alphanumeric': 0.2034965034965035, 'fraction_numerical': 0.004195804195804196, 'mean_word_length': 3.0126227208976157, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 59, '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': '6175657', 'n_tokens_mistral': 890, 'n_tokens_neox': 852, 'n_words': 165}