<div class="modal fade modal-clean" id="databaseUpdateModal" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="vertical-alignment-helper">
        <div class="modal-dialog modal-dialog-centered" role="document" style="width:500px;">
            <div class="modal-content">
                <div class="modal-body">
                    <img src="~/Content/Images/update.svg" class="full-width m-b-lg" />
                    <div class="m-b-md">@Loc.DatabaseBuildOld</div>
                    <div class="m-b-md">@string.Format(Loc.DatabaseUpgradeRequired, Loc.LastBuild.ToLower())</div>
                    <div class="m-b-md">@Html.Raw(Loc.ForMoreInformationContact)</div>
                    <button type="submit" class="btn btn-primary block" data-dismiss="modal" aria-label="Close">@Loc.LoginWithoutUpgrade</button>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/javascript">
    function openDatabaseUpdateModal() {
        $('#databaseUpdateModal').modal('show');
    }

    function closeDatabaseUpdateModal() {
        $('#databaseUpdateModal').modal('hide');
    };
</script>