<commit_before>{% extends "layout-mini.html.twig" %}

{% import "carto.twig" as carto %}

{% from "register/macros.twig" import register_render_2 %}

{% block stylesheets %}
    {{ carto.cssBase() }}
    <style>
        body {
            width: 270px;
            height: 150px;
        }

        #last-message {
            width: 260px;
            height: 140px;
            margin: 0;
            padding: 5px;
            position: absolute;
            top: 0;
            left: 0;
            background-color: rgba(0, 0, 0, 0.7);
            color: white;
            font-size: 12px;
            font-weight: bold;
            line-height: 17px;
            text-align: center;
            z-index: 9999;

            display: none;
        }
    </style>
{% endblock %}

{% block javascripts %}
    {{ carto.jsBase() }}
    <script src="{{ geoEntries_js }}"></script>
    <script>
        var currentPlace = [{{ lastGeoEntry.geoCoords | default('0, 0') }}];
    </script>
    <script src="/js/app-base-mini-map.js"></script>
{% endblock %}

{% block main %}
    <!-- The last travel register entry with message -->
    <div id="last-message">
        {{ register_render_2(lastGeoEntry) }}
    </div>

    <!-- Mini-map -->
    <div id="map"></div>
{% endblock %}
<commit_msg>Mini-map: increase the opacity of the "mini-message <div>"<commit_after>{% extends "layout-mini.html.twig" %}

{% import "carto.twig" as carto %}

{% from "register/macros.twig" import register_render_2 %}

{% block stylesheets %}
    {{ carto.cssBase() }}
    <style>
        body {
            width: 270px;
            height: 150px;
        }

        #mini-message {
            width: 260px;
            height: 140px;
            margin: 0;
            padding: 5px;
            position: absolute;
            top: 0;
            left: 0;
            background-color: rgba(0, 0, 0, 0.8);
            color: white;
            font-size: 12px;
            font-weight: bold;
            line-height: 17px;
            text-align: center;
            z-index: 9999;

            display: none;
        }
    </style>
{% endblock %}

{% block javascripts %}
    {{ carto.jsBase() }}
    <script src="{{ geoEntries_js }}"></script>
    <script>
        var currentPlace = [{{ lastGeoEntry.geoCoords | default('0, 0') }}];
    </script>
    <script src="/js/app-base-mini-map.js"></script>
{% endblock %}

{% block main %}
    <div id="mini-message">
        {{ register_render_2(lastGeoEntry) }}
    </div>

    <div id="map"></div>
{% endblock %}

{'fraction_non_alphanumeric': 0.15905511811023623, 'fraction_numerical': 0.025984251968503937, 'mean_word_length': 1.7234726688102895, 'pattern_counts': {'":': 0, '<': 30, '<?xml version=': 0, '>': 30, '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': '7238973', 'n_tokens_mistral': 908, 'n_tokens_neox': 794, 'n_words': 179}