Added indentation of subitems on agenda slide (Fixes #1716)

This commit is contained in:
Emanuel Schuetze 2016-01-09 10:34:34 +01:00
parent 7843cc2ec0
commit 5cab3bf3dc
2 changed files with 13 additions and 20 deletions

View File

@ -1,11 +1,12 @@
<div ng-controller="SlideItemListCtrl" class="content scrollcontent">
<h1 translate>Agenda</h1>
<table class="tablelist">
<tr ng-repeat="item in items">
<td class="leftcolumn nobr" ng-class="{ 'closed': item.closed }">
{{ item.item_number }}
<td class="rightcolumn" ng-class="{ 'closed': item.closed }">
{{ item.title }}
</table>
<div class="agendalist">
<!-- item type: AGENDA_ITEM = 1, HIDDEN_ITEM = 2 -->
<p ng-repeat="item in items | filter: {type: 1}" ng-class="{ 'spacer-top': !item.parent_id }">
<span ng-repeat="n in [].constructor(item.parentCount) track by $index">&nbsp;&nbsp;</span>
{{ item.title }}
<i ng-if="item.closed" class="fa fa-check"></i>
</p>
</div>
</div>

View File

@ -213,17 +213,9 @@ tr.elected td {
background-color: #BED4DE !important;
}
/*** Table list ***/
.tablelist {
font-size: 130%;
}
.tablelist td {
padding: 5px;
}
.tablelist .leftcolumn {
padding-right: 15px;
vertical-align: top;
}
.tablelist td.closed {
text-decoration: line-through;
/*** Agenda list ***/
.agendalist p {
font-size: 140%;
}
.spacer-top {
margin-top: 25px;