<commit_before><div class="card header">
    <div class="row">
        <div class="large-12 columns">
            <h1><span>Project detail components</span></h1>
        </div>
    </div>
</div>
<div class="card">
    <div class="row" ng-repeat="template in templates | filter:{Type:2}">
        <div class="large-12 columns">
            <h1>{{template.Name}}</h1>
        </div>
        <div class="large-12 columns" ng-repeat="item in template.Items">
            <div class="row">
                <div class="large-6 columns">{{item.Label}}</div>
                <div class="large-6 columns">
                    <textarea ng-if="item.Type == 2" ng-model="item.Value"></textarea>
                    <input ng-if="item.Type == 0" type="text" ng-model="item.Value" />
                    <input ng-if="item.Type == 3" type="date" ng-model="item.Value" />
                    <input ng-if="item.Type == 1" type="number" ng-model="item.Value" />
                    <input ng-if="item.Type == 4" type="checkbox" ng-model="item.Value" />
                </div>
            </div>
        </div>
    </div>
</div>  

<div class="card header">
    <div class="row">
        <div class="large-12 columns">
            <h1><span>Submission detail components</span></h1>
        </div>
    </div>
</div>
<div class="card">
    <div class="row" ng-repeat="template in templates | filter:{Type:0}">
        <div class="large-12 columns">
            <h1>{{template.Name}}</h1>
        </div>
        <div class="large-12 columns" ng-repeat="item in template.Items">
            <div class="row">
                <div class="large-6 columns">{{item.Label}}</div>
                <div class="large-6 columns">
                    <textarea ng-if="item.Type == 2" ng-model="item.Value"></textarea>
                    <input ng-if="item.Type == 0" type="text" ng-model="item.Value" />
                    <input ng-if="item.Type == 3" type="date" ng-model="item.Value" />
                    <input ng-if="item.Type == 1" type="number" ng-model="item.Value" />
                    <input ng-if="item.Type == 4" type="checkbox" ng-model="item.Value" />
                </div>
            </div>
        </div>
    </div>
</div>  


<div class="card header">
    <div class="row">
        <div class="large-12 columns">
            <h1><span>Difference components</span></h1>
        </div>
    </div>
</div>
<div class="card">
    <div class="row" ng-repeat="template in templates | filter:{Type:1}">
        <div class="large-12 columns">
            <h1>{{template.Name}}</h1>
        </div>
        <div class="large-12 columns" ng-repeat="item in template.Items">
            <div class="row">
                <div class="large-6 columns">{{item.Label}}</div>
                <div class="large-6 columns">
                    <textarea ng-if="item.Type == 2" ng-model="item.Value"></textarea>
                    <input ng-if="item.Type == 0" type="text" ng-model="item.Value" />
                    <input ng-if="item.Type == 3" type="date" ng-model="item.Value" />
                    <input ng-if="item.Type == 1" type="number" ng-model="item.Value" />
                    <input ng-if="item.Type == 4" type="checkbox" ng-model="item.Value" />
                </div>
            </div>
        </div>
    </div>
</div>  <commit_msg>Improved GUI of settings page, so it no longer views empty headers (the ones with no items to set)<commit_after><div ng-if="(templates | filter:{Type:2}).length > 0">
<div class="card header">
    <div class="row">
        <div class="large-12 columns">
            <h1><span>Project detail components</span></h1>
        </div>
    </div>
</div>
<div class="card">
    <div class="row" ng-repeat="template in templates | filter:{Type:2}">
        <div class="large-12 columns">
            <h1>{{template.Name}}</h1>
        </div>
        <div class="large-12 columns" ng-repeat="item in template.Items">
            <div class="row">
                <div class="large-6 columns">{{item.Label}}</div>
                <div class="large-6 columns">
                    <textarea ng-if="item.Type == 2" ng-model="item.Value"></textarea>
                    <input ng-if="item.Type == 0" type="text" ng-model="item.Value" />
                    <input ng-if="item.Type == 3" type="date" ng-model="item.Value" />
                    <input ng-if="item.Type == 1" type="number" ng-model="item.Value" />
                    <input ng-if="item.Type == 4" type="checkbox" ng-model="item.Value" />
                </div>
            </div>
        </div>
    </div>
</div>  
</div>

<div ng-if="(templates | filter:{Type:0}).length > 0">
<div class="card header">
    <div class="row">
        <div class="large-12 columns">
            <h1><span>Submission detail components</span></h1>
        </div>
    </div>
</div>
<div class="card">
    <div class="row" ng-repeat="template in templates | filter:{Type:0}">
        <div class="large-12 columns">
            <h1>{{template.Name}}</h1>
        </div>
        <div class="large-12 columns" ng-repeat="item in template.Items">
            <div class="row">
                <div class="large-6 columns">{{item.Label}}</div>
                <div class="large-6 columns">
                    <textarea ng-if="item.Type == 2" ng-model="item.Value"></textarea>
                    <input ng-if="item.Type == 0" type="text" ng-model="item.Value" />
                    <input ng-if="item.Type == 3" type="date" ng-model="item.Value" />
                    <input ng-if="item.Type == 1" type="number" ng-model="item.Value" />
                    <input ng-if="item.Type == 4" type="checkbox" ng-model="item.Value" />
                </div>
            </div>
        </div>
    </div>
</div>  
</div>

<div ng-if="(templates | filter:{Type:1}).length > 0">
<div class="card header">
    <div class="row">
        <div class="large-12 columns">
            <h1><span>Difference components</span></h1>
        </div>
    </div>
</div>
<div class="card">
    <div class="row" ng-repeat="template in templates | filter:{Type:1}">
        <div class="large-12 columns">
            <h1>{{template.Name}}</h1>
        </div>
        <div class="large-12 columns" ng-repeat="item in template.Items">
            <div class="row">
                <div class="large-6 columns">{{item.Label}}</div>
                <div class="large-6 columns">
                    <textarea ng-if="item.Type == 2" ng-model="item.Value"></textarea>
                    <input ng-if="item.Type == 0" type="text" ng-model="item.Value" />
                    <input ng-if="item.Type == 3" type="date" ng-model="item.Value" />
                    <input ng-if="item.Type == 1" type="number" ng-model="item.Value" />
                    <input ng-if="item.Type == 4" type="checkbox" ng-model="item.Value" />
                </div>
            </div>
        </div>
    </div>
</div>  
</div>
{'fraction_non_alphanumeric': 0.19361825007219174, 'fraction_numerical': 0.01645971700837424, 'mean_word_length': 1.898326359832636, 'pattern_counts': {'":': 0, '<': 201, '<?xml version=': 0, '>': 204, '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': '5374354', 'n_tokens_mistral': 2237, 'n_tokens_neox': 2103, 'n_words': 451}