@{ 
    Layout = null;
}
<div class="modal fade in" data-keyboard="false" data-backdrop="static" id="loginModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-body">
                <div class="col-xs-12 col-sm-12 col-md-12">
                    <h4 class="loginTitle">Lütfen Giriş Yapınız</h4>
                </div>
                <div class="col-xs-12 col-sm-12 col-md-12">
                    <input type="text" class="defaultTextbox form-control" autocomplete="off" placeholder="Departman Kodu" data-bind="value:$root.DepNo" />
                </div>
                <div class="col-xs-12 col-sm-12 col-md-12">
                    <input type="password" class="defaultTextbox form-control" autocomplete="off" placeholder="Parola" data-bind="value:$root.Password" />
                </div>
                <div class="col-xs-12 col-sm-12 col-md-12" data-bind="html:$root.ErrorMessage"></div>
            </div>
            <div class="modal-footer" style="padding: 10px 30px">
                <button type="button" data-bind="click:$root.CloseLoginModal" class="btn btn-secondary">Kapat</button>
                <button type="button" data-bind="click:$root.LoginControl" class="btn loginBtn">Giriş Yap</button>
            </div>
        </div>
    </div>
</div>