<commit_before>﻿<h1>Manage Trails</h1>
<p>You can manage trails data from this page.</p>
<p>
    <b>IMPORTANT!</b> Make sure you have configured your Web API endpoint correctly.
</p>

<div class="row" ng-controller="trailsController">
    <div class="col-md-8">
        <button class="btn btn-success" type="button" ng-click="showAddTrailForm()">
            <span class="glyphicon glyphicon-plus"></span> Add Trail
        </button>
        <table class="table table-striped">
            <thead>
                <tr>
                    <th>Id</th>
                    <th>Name</th>
                    <th>County</th>
                    <th>Elevation</th>
                    <th>Location</th>
                    <th>Update</th>
                    <th>Delete</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="t in trails">
                    <th scope="row">{{ t.id }}</th>
                    <td>{{ t.name }}</td>
                    <td>{{ t.county }}</td>
                    <td>{{ t.elevation }}</td>
                    <td>{{ t.location }}</td>
                    <td><button class="glyphicon glyphicon-edit" ng-click="update($index)"></button></td>
                    <td><button class="glyphicon glyphicon-trash" ng-click="delete($index)"></button></td>
                </tr>
            </tbody>
        </table>
    </div>
    <div class="col-md-4">
        <!-- Show the form to add a new trail. -->
        <div class="panel panel-primary" ng-show="trailFormIsVisible">
            <div class="panel-heading">
                {{ dialogTitle }} Trail
            </div><commit_msg>Adjust Manage Trails Template Page<commit_after>﻿<h1>Manage Trails</h1>
<p>You can manage trails data from this page.</p>
<p>
    <b>IMPORTANT!</b> Make sure you have configured your Web API endpoint correctly.
</p>

<div class="row" ng-controller="trailsController">
    <div  ng-class="{'col-md-8': trailFormIsVisible, 'col-md-12': !trailFormIsVisible}">
        <button class="btn btn-success" type="button" ng-click="showAddTrailForm()">
            <span class="glyphicon glyphicon-plus"></span> Add Trail
        </button>
        <table class="table table-striped">
            <thead>
                <tr>
                    <th>Id</th>
                    <th>Name</th>
                    <th>County</th>
                    <th>Elevation</th>
                    <th>Location</th>
                    <th>Update</th>
                    <th>Delete</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="t in trails">
                    <th scope="row">{{ t.id }}</th>
                    <td>{{ t.name }}</td>
                    <td>{{ t.county }}</td>
                    <td>{{ t.elevation }}</td>
                    <td>{{ t.location }}</td>
                    <td><button class="glyphicon glyphicon-edit" ng-click="update($index)"></button></td>
                    <td><button class="glyphicon glyphicon-trash" ng-click="delete($index)"></button></td>
                </tr>
            </tbody>
        </table>
    </div>
    <div class="col-md-4" ng-show="trailFormIsVisible">
        <!-- Show the form to add a new trail. -->
        <div class="panel panel-primary">
            <div class="panel-heading">
                {{ dialogTitle }} Trail
            </div>
{'fraction_non_alphanumeric': 0.16563330380868024, 'fraction_numerical': 0.002952465308532625, 'mean_word_length': 1.487518355359765, 'pattern_counts': {'":': 0, '<': 127, '<?xml version=': 0, '>': 127, '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': '4268724', 'n_tokens_mistral': 1031, 'n_tokens_neox': 961, 'n_words': 216}