Improved www.ttss.krakow.pl
p0358
2017-10-29 7a58f50a20cb2517f310cd93494ad1833158def2
2 fixes (typo and boarding animation when arrows weren't shown yet)
2 files modified
8 ■■■■■ changed files
index.html 4 ●●●● patch | view | raw | blame | history
index.js 4 ●●● patch | view | raw | blame | history
index.html
@@ -134,8 +134,8 @@
            </div>
        </div>
        <script src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha384-3ceskX3iaEnIogmQchP8opvBy3Mi7Ce34nWjpBIwVTHfGYWQS9jwHDVRnpKKHJg7"  crossorigin="anonymous"></script>
        <script tyle="text/javascript" src="lang_pl.js" id="lang_script"></script>
        <script tyle="text/javascript" src="common.js"></script>
        <script type="text/javascript" src="lang_pl.js" id="lang_script"></script>
        <script type="text/javascript" src="common.js"></script>
        <script type="text/javascript" src="index.js"></script>
    </body>
</html>
index.js
@@ -139,7 +139,9 @@
            
            if(data.actual[i].status == 'STOPPING') {
                tr.className = 'success';
                status_cell.className = 'status-boarding';
                if (data.actual[i].actualRelativeTime <= 0) {
                    status_cell.className = 'status-boarding';
                }
            } else if(parseInt(delay) > 9) {
                tr.className = 'danger';
                delay_cell.className = 'status-delayed';