<commit_before>﻿@{
    ViewBag.Title = "Malaysia GST Checker";
    ViewBag.AngularAppName = "gstApp";
    ViewBag.AngularControllerName = "GstLookupCtrl";
    ViewBag.AngularBusyPromise = "promise";
    ViewBag.PageTag = PageTag.Index;
}

@section Head {
    <link href="//cdnjs.cloudflare.com/ajax/libs/angular-busy/4.1.2/angular-busy.min.css" rel="stylesheet" />
}

@section BodyEnd {
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="//oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="//oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->

    <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.min.js"></script>
    <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular-resource.min.js"></script>
    <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular-sanitize.min.js"></script>
    <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular-animate.min.js"></script>
    <script src="//cdnjs.cloudflare.com/ajax/libs/angular-busy/4.1.2/angular-busy.min.js"></script>
    <script src="~/Scripts/angular-app.min.js"></script>
}

<div class="panel panel-primary">
    <div class="panel-body">
        <form ng-submit="executeSearch()">
            <div class="row">
                <div class="form-group col-md-offset-3 col-md-3 col-sm-offset-2 col-sm-4 col-xs-offset-1 col-xs-10">
                    <label>Search Type</label>
                    <div class="radio">
                        <label><input type="radio" name="search-type" value="GstNo" ng-model="searchType" checked="checked" />GST Number</label>
                    </div>
                    <div class="radio">
                        <label><input type="radio" name="search-type" value="BizRegNo" ng-model="searchType" />Business Registration Number</label>
                    </div>
                    <div class="radio">
                        <label><input type="radio" name="search-type" value="BizName" ng-model="searchType" />Business Name</label>
                    </div>
                </div>
                <div class="col-md-offset-0 col-md-3 col-sm-offset-0 col-sm-4 col-xs-offset-1 col-xs-10">
                    <div class="form-group">
                        <label for="search-input">Search For</label>
                        <input type="text" class="form-control" ng-model="searchText" required="required" pattern="[\w\- ]+" />
                    </div>
                    <button type="submit" class="btn btn-primary">Lookup GST Status</button>
                </div>
            </div>
        </form>
    </div>
</div>

<table class="table table-striped">
    <thead>
        <tr>
            <th>GST Number</th>
            <th>Legal Name</th>
            <th>Trading Name</th>
            <th>Commence Date</th>
            <th>GST Status</th>
        </tr>
    </thead>
    <tbody>
        <tr ng-repeat="result in results | orderBy:'BusinessName'">
            <td data-label="GST Number" ng-bind="result.GstNumber"></td>
            <td data-label="Legal Name" ng-bind-html="result.LegalName"></td>
            <td data-label="Trading Name" ng-bind-html="result.TradingName"></td>
            <td data-label="Commence Date" ng-bind="result.CommenceDate"></td>
            <td data-label="GST Status" ng-bind="result.Status"></td>
        </tr>
        <tr class="no-result">
            <td colspan="5">No result to show here.</td>
        </tr>
    </tbody>
</table><commit_msg>Added HTML comment to debug Kudu issue https://github.com/projectkudu/kudu/issues/1567<commit_after>﻿@{
    ViewBag.Title = "Malaysia GST Checker";
    ViewBag.AngularAppName = "gstApp";
    ViewBag.AngularControllerName = "GstLookupCtrl";
    ViewBag.AngularBusyPromise = "promise";
    ViewBag.PageTag = PageTag.Index;
}

@section Head {
    <link href="//cdnjs.cloudflare.com/ajax/libs/angular-busy/4.1.2/angular-busy.min.css" rel="stylesheet" />
}

@section BodyEnd {
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="//oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="//oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->

    <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.min.js"></script>
    <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular-resource.min.js"></script>
    <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular-sanitize.min.js"></script>
    <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular-animate.min.js"></script>
    <script src="//cdnjs.cloudflare.com/ajax/libs/angular-busy/4.1.2/angular-busy.min.js"></script>
    <script src="~/Scripts/angular-app.min.js"></script>
}

<div class="panel panel-primary">
    <div class="panel-body">
        <form ng-submit="executeSearch()">
            <div class="row">
                <div class="form-group col-md-offset-3 col-md-3 col-sm-offset-2 col-sm-4 col-xs-offset-1 col-xs-10">
                    <label>Search Type</label>
                    <div class="radio">
                        <label><input type="radio" name="search-type" value="GstNo" ng-model="searchType" checked="checked" />GST Number</label>
                    </div>
                    <div class="radio">
                        <label><input type="radio" name="search-type" value="BizRegNo" ng-model="searchType" />Business Registration Number</label>
                    </div>
                    <div class="radio">
                        <label><input type="radio" name="search-type" value="BizName" ng-model="searchType" />Business Name</label>
                    </div>
                </div>
                <div class="col-md-offset-0 col-md-3 col-sm-offset-0 col-sm-4 col-xs-offset-1 col-xs-10">
                    <div class="form-group">
                        <label for="search-input">Search For</label>
                        <input type="text" class="form-control" ng-model="searchText" required="required" pattern="[\w\- ]+" />
                    </div>
                    <button type="submit" class="btn btn-primary">Lookup GST Status</button>
                </div>
            </div>
        </form>
    </div>
</div>

<table class="table table-striped">
    <thead>
        <tr>
            <th>GST Number</th>
            <th>Legal Name</th>
            <th>Trading Name</th>
            <th>Commence Date</th>
            <th>GST Status</th>
        </tr>
    </thead>
    <tbody>
        <tr ng-repeat="result in results | orderBy:'BusinessName'">
            <td data-label="GST Number" ng-bind="result.GstNumber"></td>
            <td data-label="Legal Name" ng-bind-html="result.LegalName"></td>
            <td data-label="Trading Name" ng-bind-html="result.TradingName"></td>
            <td data-label="Commence Date" ng-bind="result.CommenceDate"></td>
            <td data-label="GST Status" ng-bind="result.Status"></td>
        </tr>
        <tr class="no-result">
            <td colspan="5">No result to show here.</td>
        </tr>
    </tbody>
</table>

<!-- Kudu Debug https://github.com/projectkudu/kudu/issues/1567 -->
{'fraction_non_alphanumeric': 0.17652569593147752, 'fraction_numerical': 0.014186295503211991, 'mean_word_length': 2.132020117351215, 'pattern_counts': {'":': 0, '<': 186, '<?xml version=': 0, '>': 186, 'https://': 2, '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': '5378034', 'n_tokens_mistral': 2494, 'n_tokens_neox': 2363, 'n_words': 413}