{{#Page}}
    <div class="container">
        <div class="leftForm" action="">
            <div class="col col-xs-3">
                <div class="logo_row">
                    <div class="sidebar logo">
                        {{#if allowExitOptions}}
                        <a id="quit-sidebar" href="" data-bypass class="btn btn-default btn-lg btn-block">{{i18n 'quit'}}</a>
                        {{/if}}
                    </div>
                </div>
                <div class="language_row">
                    <div id="selectLanguage">
                    </div>
                </div>
            </div>
        </div>
        <div id="main" class="col col-xs-9">
            <div>
                <h1>
                    <span class="red-highlight">
                        <i class="fa fa-exclamation-circle fa-lg"></i> 
                        {{#if showWarning}}
                        {{i18n 'fail.unableToSignIn'}}
                        {{else}}
                        {{i18n 'fail.tooearly'}}
                        {{/if}}
                    </span>
                </h1>
                {{#unless clinicException}}
                <h2 {{#unless TooEarly}} {{#unless chartLockException}} class="margin-bottom-150" {{/unless}} {{/unless}}>
                    {{i18n 'fail.goDirectly'}}
                </h2>
                {{/unless}}
                {{#if clinicException}}
                <h2 class="margin-bottom-30">
                    {{clinicExceptionInstruction}}
                </h2>
                {{/if}}
                {{#if chartLockException}}
                <h2 class="margin-bottom-30">
                    {{ChartLockMessage}}
                </h2>
                {{/if}}
                {{#if showDetails}}
                    <h2>{{Name}}</h2>
                    <div class="row">
                        <div class="col-xs-4">
                            <div class="left-label">
                                <h3>{{i18n 'signin.time'}}</h3>
                            </div>
                        </div>
                        <div class="col-xs-8">
                            <h3><strong>{{Time}}</strong></h3>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-xs-4">
                            <div class="left-label">
                                <h3>{{i18n 'signin.location'}}</h3>
                            </div>
                        </div>
                        <div class="col-xs-8">
                            <h3><strong>{{Location}}</strong></h3>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-xs-4">
                            <div class="left-label">
                                <h3>{{i18n 'signin.chair'}}</h3>
                            </div>
                        </div>
                        <div class="col-xs-8">
                            <h3><strong>{{Chair}}</strong></h3>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-xs-4">
                            <div class="left-label">
                                <h3>{{i18n 'signin.provider'}}</h3>
                            </div>
                        </div>
                        <div class="col-xs-8">
                            <h3><strong>{{Provider}}</strong></h3>
                        </div>
                    </div>
                {{/if}}
                <form action="">
                    <div class="btn-wrapper">
                        {{#if allowExitOptions}}
                            <a id="back" class="btn btn-primary btn-lg btn-block" href="javascript:window.history.back();">{{i18n 'back'}}</a>
                        {{else}}
                            <a id="quit" href="/v2/FirstAccess" data-bypass class="btn btn-primary btn-lg btn-block" >{{i18n 'exit'}}</a>
                        {{/if}}
                    </div>
                </form>
            </div>
        </div>
    </div>
{{/Page}} 