{$head_block}
{$css_block}

<input id="token" type="hidden" value="{$token}">
<div class="version-informer little-right-shadow inside_shadow_easy">
    <div id="current_version" class="item">
        <div class="title">
            {l s="Current version" mod="myswissstyle"}:
        </div>
        <div class="value">
            {$current_version}
        </div>
    </div>
    <div class="item">
        <div class="title">
            {l s="Available version" mod="myswissstyle"}:
        </div>
        <div class="value">
            {$available_version}
        </div>
    </div>
    {if $update_available_flag}
        <div id="update_controllers" class="item">
            <div id="update_is_available_block" class="caution">
                {l s="Updates are available" mod="myswissstyle"}
            </div>
            <div>
                <button id="update_is_available_block_button">
                    {l s="Update Database" mod="myswissstyle"}
                </button>
            </div>
        </div>
    {/if}
    <div id="upgrade_status_details" class="item">

        <div class="update_message not_required caution">{l s="Upgrade is not required."}</div>
        <div class="update_message updated caution">{l s="Database is updated."}</div>

        <div class="details_controllers">
            <div class="success_count">{l s="Success"}: <span class="value"></span></div>
            <div class="error_count">{l s="Errors"}: <span class="value"></span></div>
            <div>
                <button id="view_update_log_button">
                    {l s="View log" mod="myswissstyle"}
                </button>
            </div>
            <div id="log_container">
                <div class="backing"></div>
                <p class="log"></p>
            </div>
        </div>
    </div>
</div>
{$js_block}
