|  | 
| 7 | 7 |     <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" /> | 
| 8 | 8 |     <meta http-equiv="Pragma" content="no-cache" /> | 
| 9 | 9 |     <meta http-equiv="Expires" content="0" /> | 
| 10 |  | -    <style> | 
| 11 |  | -        @font-face { | 
| 12 |  | -            font-family: Liberation Mono; | 
| 13 |  | -            src: url("../LiberationMono-Regular.woff2") format("woff2"), url("../LiberationMono-Regular.ttf") format("truetype"); | 
| 14 |  | -        } | 
| 15 |  | - | 
| 16 |  | -        html { | 
| 17 |  | -            height: 100vh; | 
| 18 |  | -        } | 
| 19 |  | - | 
| 20 |  | -        body { | 
| 21 |  | -            color: #93a1a1; | 
| 22 |  | -            background-color: #002b36; | 
| 23 |  | -            font-family: Liberation Mono, SFMono-Regular, Consolas, Menlo, Courier, monospace; | 
| 24 |  | -            text-align: center; | 
| 25 |  | -            line-height: 1.19; | 
| 26 |  | -            height: 100%; | 
| 27 |  | -            display: flex; | 
| 28 |  | -            flex-direction: column; | 
| 29 |  | -            margin: 0px; | 
| 30 |  | -        } | 
| 31 |  | - | 
| 32 |  | -        fieldset { | 
| 33 |  | -            flex-grow: 1; | 
| 34 |  | -            margin: 1em; | 
| 35 |  | -        } | 
| 36 |  | - | 
| 37 |  | -        legend { | 
| 38 |  | -            margin: 0 auto; | 
| 39 |  | -            padding: 0 1em 0 1em; | 
| 40 |  | -        } | 
| 41 |  | -    </style> | 
|  | 10 | +    <link rel="stylesheet" href="../style.css" /> | 
| 42 | 11 | </head> | 
| 43 | 12 | 
 | 
| 44 | 13 | <body> | 
| 45 | 14 |     <fieldset> | 
| 46 | 15 |         <legend>nipsufn's GPX track splitter</legend> | 
| 47 | 16 |         <form> | 
| 48 |  | -            <label for="keepCommonPt">Make split tracks have a common point</label> | 
| 49 |  | -            <input id="keepCommonPt" type="checkbox" checked /> | 
| 50 |  | -            <br /> | 
| 51 |  | -            <label for="splitSegOnly">Split long segments inside existing tracks instead of creating new tracks</label> | 
| 52 |  | -            <input id="splitSegOnly" type="checkbox" /> | 
| 53 |  | -            <br /> | 
| 54 |  | -            <label for="splitAt">Make split tracks have a common point</label> | 
| 55 |  | -            <input id="splitAt" type="number" min="10" max="1000" value="500" required /> | 
| 56 |  | -            <br /> | 
| 57 |  | -            <label for="trkSuffix">Suffix appended to split tracks</label> | 
| 58 |  | -            <input id="trkSuffix" type="text" value="-part-" required /> | 
| 59 |  | -            <br /> | 
| 60 |  | -            <label for="fileSuffix">Suffix appended to filename</label> | 
| 61 |  | -            <input id="fileSuffix" type="text" value="split" required /> | 
| 62 |  | -            <br /> | 
| 63 |  | -            <label for="file">File</label> | 
| 64 |  | -            <input id="file" accept="application/gpx+xml,application/octet-stream,.gpx" type="file" /> | 
|  | 17 | +            <table> | 
|  | 18 | +                <tr> | 
|  | 19 | +                    <td><label for="keepCommonPt">Make split tracks have a common point</label></td> | 
|  | 20 | +                    <td><input id="keepCommonPt" type="checkbox" checked /></td> | 
|  | 21 | +                </tr> | 
|  | 22 | +                <tr> | 
|  | 23 | +                    <td><label for="splitSegOnly">Split long segments inside existing tracks<br />instead of creating | 
|  | 24 | +                            new tracks</label></td> | 
|  | 25 | +                    <td><input id="splitSegOnly" type="checkbox" /></td> | 
|  | 26 | +                </tr> | 
|  | 27 | +                <tr> | 
|  | 28 | +                    <td><label for="splitAt">Point count in each track/segment</label></td> | 
|  | 29 | +                    <td><input id="splitAt" type="number" min="10" max="1000" value="500" required /></td> | 
|  | 30 | +                </tr> | 
|  | 31 | +                <tr> | 
|  | 32 | +                    <td><label for="trkSuffix">Suffix appended to split tracks</label></td> | 
|  | 33 | +                    <td><input id="trkSuffix" type="text" value="-part-" required /></td> | 
|  | 34 | +                </tr> | 
|  | 35 | +                <tr> | 
|  | 36 | +                    <td><label for="fileSuffix">Suffix appended to filename</label></td> | 
|  | 37 | +                    <td><input id="fileSuffix" type="text" value="split" required /></td> | 
|  | 38 | +                </tr> | 
|  | 39 | +                <tr> | 
|  | 40 | +                    <td><label for="file">File (selecting will trigger processing)</label></td> | 
|  | 41 | +                    <td><input id="file" accept="application/gpx+xml,application/octet-stream,.gpx" type="file" /></td> | 
|  | 42 | +                </tr> | 
|  | 43 | +            </table> | 
| 65 | 44 |         </form> | 
|  | 45 | +        <a href="../index.html">Go back</a> | 
| 66 | 46 |     </fieldset> | 
| 67 | 47 | </body> | 
| 68 | 48 | <script> | 
|  | 
0 commit comments