| 1234567891011121314151617181920212223242526272829303132333435363738 |
- <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
- <h1 class="page-header">Label verwalten</h1>
- <div class="row">
- <form action="" method="POST">
- <input type="hidden" name="labelId" value="<?php echo $this->_['label'][0]->getId(); ?>">
- <div class="form-group">
- <label for="labelName">Name</label>
- <input type="text" class="form-control" id="labelName" name="labelName" value="<?php echo $this->_['label'][0]->getName(); ?>">
- </div>
- <div class="form-group">
- <label>Zugewiesene Mailaccounts</label>
- <table class="table table-striped">
- <thead>
- <tr>
- <th>#</th>
- <th>Name</th>
- <th>Manage</th>
- <th>Remove</th>
- </tr>
- <?php
- foreach($this->_['mailboxFolders'] as $mailboxFolder) {
- echo '<tr>';
- echo '<td>' . $mailboxFolder->getMailboxId() . '</td>';
- echo '<td>' . $mailboxFolder->getFolderName() . '</td>';
- echo '<td><a href="" role="button" class="btn btn-primary">Manage</a></td>';
- echo '<td><a href="" role="button" class="btn btn-danger">Remove</a></td>';
- echo '</tr>';
- }
- ?>
- </thead>
- <a href="" role="button" class="btn btn-primary pull-right">Add</a> <!-- TODO: Add this, manage and remove (fancybox!) -->
- </table>
- </div>
- <button type="submit" class="btn btn-default">Submit</button>
- </form>
- </div>
- </div>
|