<div id="label-wrapper" class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main" data-label-id="<?php echo $this->_['label']->getID(); ?>">
    <h1 class="page-header"><?php echo $this->_['label']->getName(); ?></h1>

    <div class="row">
        <div role="tabpanel">
            <!-- Nav tabs -->
            <ul class="nav nav-tabs" role="tablist">
                <li role="presentation" class="active"><a href="#mails" aria-controls="mails" role="tab" data-toggle="tab">Mails</a></li>
                <li role="presentation"><a href="#home" aria-controls="home" role="tab" data-toggle="tab">Dokumente</a></li>
                <li role="presentation"><a href="#contacts" aria-controls="contacts" role="tab" data-toggle="tab">Kontakte</a></li>
                <li role="presentation"><a href="#messages" aria-controls="messages" role="tab" data-toggle="tab">Messages</a></li>
                <li role="presentation"><a href="#calender" aria-controls="calender" role="tab" data-toggle="tab">Calender</a></li>
                <li role="presentation"><a href="#calls" aria-controls="calls" role="tab" data-toggle="tab">Calls</a></li>
                <div class="pull-right">
                    <a id="new-document" href="ajax.php?action=getNewDocumentBox" type="button" class="btn btn-success">Neues Dokument</a>
                    <a href="ajax.php?action=getNewCallBox&labelID=<?php echo $this->_['label']->getID(); ?>" id="new-call" class="btn btn-primary" role="button">Neuer Anruf</a>
                </div>
            </ul>

            <!-- Tab panes -->
            <div class="tab-content">
                <div role="tabpanel" class="tab-pane active" id="mails">
                    <?php echo $this->_['maillist']; ?>
                </div>
                <div role="tabpanel" class="tab-pane" id="home">
                    <?php echo $this->_['documentlist']; ?>
                </div>
                <div role="tabpanel" class="tab-pane" id="contacts">
                    <?php echo $this->_['contactlist']; ?>
                </div>
                <div role="tabpanel" class="tab-pane" id="messages">MESSAGE</div>
                <div role="tabpanel" class="tab-pane" id="calender">
                    <div class="btn-group pull-right" style="margin-top: 5px;">
                        <button class="btn btn-warning" data-calendar-view="year">Year</button>
                        <button class="btn btn-warning active" data-calendar-view="month">Month</button>
                        <button class="btn btn-warning" data-calendar-view="week">Week</button>
                        <button class="btn btn-warning" data-calendar-view="day">Day</button>
                    </div>
                    <div id="calendar"></div>
                </div>
                <div role="tabpanel" class="tab-pane" id="calls">
                    <?php echo $this->_['calllist']; ?>
                </div>
            </div>
        </div>
    </div>
</div>
