summaryrefslogtreecommitdiff
path: root/chaski/services/VaaS/index.html
blob: a7f59e0f6538e2f7ff458c4ae93cc66243c38916 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!doctype html>
<html class="no-js" lang="">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="x-ua-compatible" content="ie=edge">
        <title>GTFS Validator</title>
        <meta name="description" content="">
        <meta name="viewport" content="width=device-width, initial-scale=1">

        <link rel="apple-touch-icon" href="/apple-touch-icon.png">
        <!-- Place favicon.ico in the root directory -->

    </head>
    <body>
        <!--[if lt IE 8]>
            <p class="browserupgrade">
            You are using an <strong>outdated</strong> browser. Please
            <a href="http://browsehappy.com/">upgrade your browser</a> to improve
            your experience.
            </p>
        <![endif]-->

        <h1>GTFS Validator</h1>
        <p>
            This runs the validator contained in the
            <a href="https://github.com/google/transitfeed">transitfeed
                git repository
            </a>.
        </p>

        <p>Paste the url to your GTFS zip below</p>

        <input id="url">
        <button id="submit">Validate</button>

        <script>
         let submit = document.getElementById("submit");
         let url = document.getElementById("url");

         submit.onclick = () => {
             window.location =
                 "/validate?gtfs=" + url.value
         }
        </script>
    </body>
</html>