<commit_before><div class="container_fluid">
    <div id="pg_header" class="col-sm-12 page-header prm-no-margin-top">
        <div class="col-sm-8 text-left prm-valign">
            <h1>Slide {{ qcc.slide_id }} - Preliminary review</h1>
        </div><!--
        --><div class="col-sm-4 text-right prm-valign">
            <a ng-href="worklist/{{ qcc.case_id }}" class="btn btn-default" role="button">
                <i class="icon-list"></i>
                Back to slides
            </a>
        </div>
    </div>
    <div id="pg_body" class="col-sm-12">
        <div id="viewer_container" class="col-md-9 viewer_frame well">
            <simple-viewer slide_id="{{ qcc.slide_id }}"></simple-viewer>
        </div>
        <div id="qc_form_container" class="col-md-3">
            <viewer-navigation-panel></viewer-navigation-panel>
            <div class="well">
                <h4 class="text-center">Slide classification</h4>
                <form novalidate role="form" ng-submit="qcc.submitStaining()">
                    <fieldset class="form-group">
                        <label for="staining">Staining</label>
                        <select class="form-control" id="staining" ng-model="qcc.slideStaining"
                                ng-disabled="qcc.slideStainingSubmitted">
                            <option value="" disabled selected> -- Specify staining</option>
                            <option value="{{ s.value }}"
                                    ng-repeat="s in qcc.stainings">{{ s.text }}</option>
                        </select>
                    </fieldset>
                    <div class="text-center" ng-hide="qcc.slideStainingSubmitted">
                        <button type="submit" class="btn btn-primary prm-btn-sm"
                                ng-disabled="!qcc.checkStainingFormSubmission()">
                            <i class="icon-cloud_upload"></i>
                            <span>Save</span>
                        </button>
                    </div>
                </form>
            </div>
            <div class="well">
                <h4 class="text-center">Image quality</h4>
                <form novalidate role="form" ng-submit="qcc.submitQualityControl()">
                    <div class="radio">
                        <label>
                            <input type="radio" name="qualityRadios" id="goodQuality"
                                   value="true" ng-model="qcc.slideQualityControl.goodImageQuality">
                            Good quality
                        </label>
                    </div>
                    <div class="radio">
                        <label>
                            <input type="radio" name="qualityRadios" id="badQuality"
                                   value="false" ng-model="qcc.slideQualityControl.goodImageQuality">
                            Bad quality
                        </label>
                    </div>
                    <div id="bad_quality_related" ng-show="qcc.slideQualityControl.goodImageQuality === 'false'">
                        <fieldset class="form-group">
                            <label for="notAdequacyReasons">Not adequacy reason</label>
                            <select class="form-control" id="notAdequacyReasons"
                                    ng-model="qcc.slideQualityControl.notAdequacyReason">
                                <option value="" disabled selected> -- Specify a reason</option>
                                <option value="{{ r.value }}"
                                        ng-repeat="r in qcc.not_adequacy_reasons">{{ r.text }}</option>
                            </select>
                        </fieldset>
                    </div>
                    <fieldset class="form-group">
                        <label for="notes">Notes</label>
                        <textarea class="form-control" id="notes" rows="5"
                                  ng-model="qcc.slideQualityControl.notes"></textarea>
                    </fieldset>
                    <div class="text-center">
                        <button type="submit" class="btn btn-primary prm-btn-sm"
                                ng-disabled="!qcc.checkQCFormSubmission()">
                            <i class="icon-cloud_upload"></i>
                            <span>Save</span>
                        </button>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div><commit_msg>Fixed layout for quality control form<commit_after><div class="container_fluid">
    <div id="pg_header" class="col-sm-12 page-header prm-no-margin-top">
        <div class="col-sm-8 text-left prm-valign">
            <h1>Slide {{ qcc.slide_id }} - Preliminary review</h1>
        </div><!--
        --><div class="col-sm-4 text-right prm-valign">
            <a ng-href="worklist/{{ qcc.case_id }}" class="btn btn-default" role="button">
                <i class="icon-list"></i>
                Back to slides
            </a>
        </div>
    </div>
    <div id="pg_body" class="col-sm-12">
		<div class="col-md-9">
        	<div id="viewer_container" class="viewer_frame well">
            	<simple-viewer slide_id="{{ qcc.slide_id }}"></simple-viewer>
        	</div>
		</div>
        <div id="qc_form_container" class="col-md-3">
            <viewer-navigation-panel></viewer-navigation-panel>
            <div class="well">
                <h4 class="text-center">Slide classification</h4>
                <form novalidate role="form" ng-submit="qcc.submitStaining()">
                    <fieldset class="form-group">
                        <label for="staining">Staining</label>
                        <select class="form-control" id="staining" ng-model="qcc.slideStaining"
                                ng-disabled="qcc.slideStainingSubmitted">
                            <option value="" disabled selected> -- Specify staining</option>
                            <option value="{{ s.value }}"
                                    ng-repeat="s in qcc.stainings">{{ s.text }}</option>
                        </select>
                    </fieldset>
                    <div class="text-center" ng-hide="qcc.slideStainingSubmitted">
                        <button type="submit" class="btn btn-primary prm-btn-sm"
                                ng-disabled="!qcc.checkStainingFormSubmission()">
                            <i class="icon-cloud_upload"></i>
                            <span>Save</span>
                        </button>
                    </div>
                </form>
            </div>
            <div class="well">
                <h4 class="text-center">Image quality</h4>
                <form novalidate role="form" ng-submit="qcc.submitQualityControl()">
                    <div class="radio">
                        <label>
                            <input type="radio" name="qualityRadios" id="goodQuality"
                                   value="true" ng-model="qcc.slideQualityControl.goodImageQuality">
                            Good quality
                        </label>
                    </div>
                    <div class="radio">
                        <label>
                            <input type="radio" name="qualityRadios" id="badQuality"
                                   value="false" ng-model="qcc.slideQualityControl.goodImageQuality">
                            Bad quality
                        </label>
                    </div>
                    <div id="bad_quality_related" ng-show="qcc.slideQualityControl.goodImageQuality === 'false'">
                        <fieldset class="form-group">
                            <label for="notAdequacyReasons">Not adequacy reason</label>
                            <select class="form-control" id="notAdequacyReasons"
                                    ng-model="qcc.slideQualityControl.notAdequacyReason">
                                <option value="" disabled selected> -- Specify a reason</option>
                                <option value="{{ r.value }}"
                                        ng-repeat="r in qcc.not_adequacy_reasons">{{ r.text }}</option>
                            </select>
                        </fieldset>
                    </div>
                    <fieldset class="form-group">
                        <label for="notes">Notes</label>
                        <textarea class="form-control" id="notes" rows="5"
                                  ng-model="qcc.slideQualityControl.notes"></textarea>
                    </fieldset>
                    <div class="text-center">
                        <button type="submit" class="btn btn-primary prm-btn-sm"
                                ng-disabled="!qcc.checkQCFormSubmission()">
                            <i class="icon-cloud_upload"></i>
                            <span>Save</span>
                        </button>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
{'fraction_non_alphanumeric': 0.13018534863195058, 'fraction_numerical': 0.0033097969991173876, 'mean_word_length': 1.2120546608101512, 'pattern_counts': {'":': 0, '<': 187, '<?xml version=': 0, '>': 187, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2889409', 'n_tokens_mistral': 2392, 'n_tokens_neox': 2224, 'n_words': 398}