<div class="row wrapper border-bottom white-bg page-heading">
    <div class="col-lg-10">
        <h2>Verträge</h2>
        <ol class="breadcrumb">
            <li class="breadcrumb-item">
                <a href="index.html">Home</a>
            </li>
            <li class="breadcrumb-item">
                <a>Vertragsverwaltung</a>
            </li>
            <li class="breadcrumb-item active">
                <strong>Vertragsliste</strong>
            </li>
        </ol>
    </div>
    <div class="col-lg-2">
    </div>
</div>
<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>Verträge</h5>
                </div>
            </div>
            <div class="ibox-content sk-loading" style="min-height: 200px">
                <div class="sk-spinner sk-spinner-double-bounce">
                    <div class="sk-double-bounce1"></div>
                    <div class="sk-double-bounce2"></div>
                </div>
                <div f-id="container-contract-data-table"></div>
                <div class="row">
                    <div class="col-lg-12">
                        <a href="/#/contract/create/<%= groupId %>"
                                class="btn btn-primary">
                            Neuen Vertrag anlegen
                        </a>
                        <button type="button"
                                class="btn btn-primary"
                                data-id="btnArchiveContracts">
                            Ausgewählte Verträge archivieren
                        </button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>


<div class="modal inmodal fade"
     data-id="modal-confirm-single-archive"
     tabindex="-1"
     role="dialog"
     aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button"
                        class="close"
                        data-dismiss="modal">
                    <span aria-hidden="true">&times;</span><span class="sr-only">Close</span>
                </button>
                <h4 class="modal-title">Vertrag archivieren</h4>
            </div>
            <div class="modal-body">
                <section data-id="section-single-archive-confirmation"
                         style="display: none">
                    <h5>Vertrag ins Archiv verschieben?</h5>
                    <p>
                        Möchten Sie den Vertrag wirklich ins Archiv verschieben?
                    </p>
                </section>
                <section data-id="section-loader"
                         style="display: none">
                    <div style="height: 200px; padding-top: 70px">
                        <div class="sk-spinner sk-spinner-double-bounce">
                            <div class="sk-double-bounce1"></div>
                            <div class="sk-double-bounce2"></div>
                        </div>
                    </div>
                </section>
            </div>
            <div class="modal-footer">
                <button type="button"
                        class="btn btn-white"
                        data-dismiss="modal">Abbrechen</button>
                <button type="button"
                        data-id="btnMoveToArchive"
                        class="btn btn-danger">Ja, archivieren</button>
            </div>
        </div>
    </div>
</div>


<div class="modal inmodal fade"
     data-id="modal-confirm-multiple-archive"
     tabindex="-1"
     role="dialog"
     aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button"
                        class="close"
                        data-dismiss="modal">
                    <span aria-hidden="true">&times;</span><span class="sr-only">Close</span>
                </button>
                <h4 class="modal-title">Verträge archivieren</h4>
            </div>
            <div class="modal-body">
                <section data-id="section-single-archive-confirmation"
                         style="display: none">
                    <h5>Verträge ins Archiv verschieben?</h5>
                    <p>
                        Möchten Sie die ausgewählten Verträge wirklich ins Archiv verschieben?
                    </p>
                </section>
                <section data-id="section-loader"
                         style="display: none">
                    <div style="height: 200px; padding-top: 70px">
                        <div class="sk-spinner sk-spinner-double-bounce">
                            <div class="sk-double-bounce1"></div>
                            <div class="sk-double-bounce2"></div>
                        </div>
                    </div>
                </section>
            </div>
            <div class="modal-footer">
                <button type="button"
                        class="btn btn-white"
                        data-dismiss="modal">Abbrechen</button>
                <button type="button"
                        data-id="btnMoveToArchive"
                        class="btn btn-danger">Ja, archivieren</button>
            </div>
        </div>
    </div>
</div>