<commit_before><section class="md-whiteframe-z2 admin-section">
    <md-toolbar class="md-secondary">
        <div class="md-toolbar-tools">
            <h3 class="ng-binding">Präsentation</h3>
        </div>
    </md-toolbar>

    <md-content class="md-padding">
        <div>
            <p>
                <small style="color:rgba(0,0,0,0.54)">Freitext anzeigen:</small>
            </p>
            <md-input-container style="margin-bottom: 0">
                <label>Erste Zeile</label>
                <input ng-model="event.view.customText" ng-blur="updatePresentation()"
                       ng-keydown="$event.which === 13 && updatePresentation()">
            </md-input-container>
            <md-input-container style="margin-bottom: 0">
                <label>Zweite Zeile</label>
                <input ng-model="event.view.customTextSubline" ng-blur="updatePresentation()"
                       ng-keydown="$event.which === 13 && updatePresentation()">
            </md-input-container>
            <div ng-show="event.view.customText">
                <md-button ng-click="setScreen('customText')">1. Text anzeigen
                </md-button>
                <br>
                <md-button ng-click="setVideo('pause')">2. Pause-Screen</md-button>
            </div>
        </div>

        <hr>
        <div layout="row">
            <md-input-container style="width:200px;">
                <label>1. Wettbewerb auswählen</label>
                <md-select ng-model="event.view.competitionId" ng-change="updatePresentation()"
                           ng-disabled="event.view.competitionId">
                    <md-option ng-repeat="competition in event.competitions" value="{{competition.id}}">
                        {{competition.name}}
                    </md-option>
                </md-select>
            </md-input-container>
            <md-button ng-show="event.view.competitionId" ng-click="reset()">Zurücksetzen</md-button>
        </div>
        <div ng-show="event.view.competitionId">
            <md-button ng-click="setScreen('intro')">1. Wettbewerb ankündigen</md-button>
            <br>
            <md-button ng-click="setVideo('pause')">2. Pause-Screen</md-button>
        </div>

        <div ng-if="event.view.competitionId">
            <hr>
            <div layout="row">
                <md-input-container style="width:200px;">
                    <label>2. Gruppe auswählen</label>
                    <md-select ng-model="event.view.groupId" ng-change="updatePresentation()"
                               ng-disabled="event.view.groupId">
                        <md-option
                                ng-repeat="group in getCompetition().groups"
                                value="{{group.id}}">
                            {{group.name}}
                        </md-option>
                    </md-select>
                </md-input-container>
                <md-button ng-show="event.view.groupId" ng-click="resetGroup()">Zurücksetzen</md-button>
            </div>
        </div>
        <div ng-show="event.view.groupId">
            <md-button ng-click="setScreen('group')">1. Gruppe ankündigen</md-button>
            <br>
            <md-button ng-click="setVideo('pause')">2. Pause-Screen</md-button>
        </div>


        <div ng-if="event.view.groupId">
            <hr>

            <md-input-container>
                <label>3. Teilnehmer auswählen</label>
                <md-select ng-model="event.view.participantId" style="width:200px;">
                    <md-option ng-if="getGroup().sacrifice" value="{{getGroup().sacrifice.id}}">OPFERLAMM, {{
                        (getGroup().sacrifice.id | participantOfId).name }}, {{ (getGroup().sacrifice.id |
                        participantOfId).slam }}
                    </md-option>
                    <md-option
                            ng-repeat="participant in getGroup().participants"
                            value="{{participant.id}}">
                        {{ (participant.id | participantOfId).name }}, {{ (participant.id | participantOfId).slam }}
                    </md-option>
                </md-select>
            </md-input-container>

            <div ng-if="event.view.participantId">
                <md-button ng-click="setScreen('participant', 'name')"
                           ng-class="{'md-primary': event.view.phase == 'name' && event.view.video != 'pause'}">1. Poet
                    anzeigen
                </md-button>
                <br>
                <md-button ng-click="setScreen('participant', 'rating')"
                           ng-class="{'md-primary': event.view.phase == 'rating' && event.view.video != 'pause'}">2.
                    Wertungen anzeigen
                </md-button>
                <br>
                <md-button ng-click="setScreen('participant', 'ratingFinal')"
                           ng-class="{'md-primary': event.view.phase == 'ratingFinal' && event.view.video != 'pause'}">
                    3. höchste / niedrigste Wertung
                    streichen
                </md-button>
                <br>
                <md-button ng-click="setScreen('participant', 'total')"
                           ng-class="{'md-primary': event.view.phase == 'total' && event.view.video != 'pause'}">4.
                    Wertungssumme anzeigen
                </md-button>
                <br>
                <md-button ng-click="setScreen('groupRatings')"
                           ng-class="{'md-primary': event.view.phase == 'groupRatings' && event.view.video != 'pause'}"
                           ng-disabled="event.view.participantId == getGroup().sacrifice.id">5. Zwischenstand der Gruppe
                    anzeigen
                </md-button>
                <br>
                <md-button ng-click="setVideo('pause')" ng-class="{'md-primary': event.view.video == 'pause'}">6.
                    Pause-Screen anzeigen
                </md-button>

                <div ng-show="event.view.screen == 'participant' && event.view.phase != 'name'">
                    <p>Wertungen</p>
                    <md-input-container ng-repeat="score in getScores()">
                        <label>Wertung {{$index+1}}</label>
                        <input ng-model="score.value" ng-blur="updatePresentation()"
                               ng-keydown="$event.which === 13 && updatePresentation()">
                    </md-input-container>
                </div>
            </div>
            <hr>
            <div>
                <p>
                    <small style="color:rgba(0,0,0,0.54)">4. Wenn alle Teilnehmer bewertet wurden:</small>
                </p>
                <md-button ng-click="showGroupWinners()">1. Ergebnisse der Gruppe anzeigen</md-button>
                <div ng-if="event.view.screen == 'groupRatings' && event.view.phase == 'winners'">
                    <md-button ng-click="increaseWinnerCount()">1.1 Nächsten Poet anzeigen</md-button>
                </div>
                <br>
                <md-button ng-click="setVideo('pause')">2. Pause-Screen</md-button>
                <br>
                <p style="padding-left:13px;">3. Gruppe zurücksetzen, falls noch nicht am Ende des Wettbewerbs (siehe
                    oben)</p>

                <div ng-if="event.view.screen == 'groupRatings' && event.view.phase == 'winners'">
                    <br>
                    <p>
                        Extrapunkte
                        <small style="color:rgba(0,0,0,0.54)">bei Punktgleichheit</small>
                        :
                    </p>
                    <md-input-container ng-repeat="participant in getGroup().participants" style="margin: 0">
                        <label>{{ (participant.id | participantOfId).name }}, {{ (participant.id |
                            participantOfId).slam}}</label>
                        <input ng-model="participant.extraScore" ng-blur="updatePresentation()"
                               ng-keydown="$event.which === 13 && updatePresentation()">
                    </md-input-container>
                </div>
            </div>
        </div>
        <div ng-show="event.view.competitionId">
            <hr>
            <p>
                <small style="color:rgba(0,0,0,0.54)">5. Am Ende des Wettbewerbs:</small>
            </p>
            <md-button ng-click="showCompetitionWinners()">1. Gewinner des Wettbewerbs anzeigen</md-button>
            <div ng-if="event.view.screen == 'competitionRatings'">
                <md-button ng-click="increaseWinnerCount()">1.1 Nächsten Gewinner anzeigen</md-button>
            </div>

            <div ng-if="event.view.screen == 'competitionRatings'">
                <br>
                <p>
                    Extrapunkte
                    <small style="color:rgba(0,0,0,0.54)">bei Punktgleichheit</small>
                    :
                </p>
                <div ng-repeat="group in getCompetition().groups">
                    <p>
                        <small style="color:rgba(0,0,0,0.54)">{{group.name}}</small>
                    </p>
                    <md-input-container ng-repeat="participant in group.participants">
                        <label>{{ (participant.id | participantOfId).name }}, {{ (participant.id |
                            participantOfId).slam}}</label>
                        <input ng-model="participant.extraScore" ng-blur="updatePresentation()"
                               ng-keydown="$event.which === 13 && updatePresentation()">
                    </md-input-container>
                </div>
            </div>
        </div>
    </md-content>
</section><commit_msg>put steps into tabs<commit_after><section class="md-whiteframe-z2 admin-section">
    <md-toolbar class="md-secondary">
        <div class="md-toolbar-tools">
            <h3 class="ng-binding">Präsentation</h3>
        </div>
    </md-toolbar>

    <md-content>
      <md-tabs md-dynamic-height md-border-bottom>
        <md-tab label="Start">
          <md-content class="md-padding">
            <div>
                <p>
                    <small style="color:rgba(0,0,0,0.54)">Freitext anzeigen:</small>
                </p>
                <md-input-container style="margin-bottom: 0">
                    <label>Erste Zeile</label>
                    <input ng-model="event.view.customText" ng-blur="updatePresentation()"
                           ng-keydown="$event.which === 13 && updatePresentation()">
                </md-input-container>
                <md-input-container style="margin-bottom: 0">
                    <label>Zweite Zeile</label>
                    <input ng-model="event.view.customTextSubline" ng-blur="updatePresentation()"
                           ng-keydown="$event.which === 13 && updatePresentation()">
                </md-input-container>
                <div ng-show="event.view.customText">
                    <md-button ng-click="setScreen('customText')">1. Text anzeigen
                    </md-button>
                    <br>
                    <md-button ng-click="setVideo('pause')">2. Pause-Screen</md-button>
                </div>
            </div>
          </md-content>
        </md-tab>
        <md-tab label="Wettbewerb">
          <md-content class="md-padding">
            <div layout="row">
                <md-input-container style="width:200px;">
                    <label>1. Wettbewerb auswählen</label>
                    <md-select ng-model="event.view.competitionId" ng-change="updatePresentation()"
                               ng-disabled="event.view.competitionId">
                        <md-option ng-repeat="competition in event.competitions" value="{{competition.id}}">
                            {{competition.name}}
                        </md-option>
                    </md-select>
                </md-input-container>
                <md-button ng-show="event.view.competitionId" ng-click="reset()">Zurücksetzen</md-button>
            </div>
            <div ng-show="event.view.competitionId">
                <md-button ng-click="setScreen('intro')">1. Wettbewerb ankündigen</md-button>
                <br>
                <md-button ng-click="setVideo('pause')">2. Pause-Screen</md-button>
            </div>
          </md-content>
        </md-tab>
        <md-tab label="Gruppe">
          <md-content class="md-padding">
            <div layout="row">
                <md-input-container style="width:200px;">
                    <label>2. Gruppe auswählen</label>
                    <md-select ng-model="event.view.groupId" ng-change="updatePresentation()"
                               ng-disabled="event.view.groupId">
                        <md-option
                                ng-repeat="group in getCompetition().groups"
                                value="{{group.id}}">
                            {{group.name}}
                        </md-option>
                    </md-select>
                </md-input-container>
                <md-button ng-show="event.view.groupId" ng-click="resetGroup()">Zurücksetzen</md-button>
            </div>
            <div ng-show="event.view.groupId">
                <md-button ng-click="setScreen('group')">1. Gruppe ankündigen</md-button>
                <br>
                <md-button ng-click="setVideo('pause')">2. Pause-Screen</md-button>
            </div>
          </md-content>
        </md-tab>
        <md-tab label="Teilnehmer">
          <md-content class="md-padding">
            <md-input-container>
                <label>3. Teilnehmer auswählen</label>
                <md-select ng-model="event.view.participantId" style="width:200px;">
                    <md-option ng-if="getGroup().sacrifice" value="{{getGroup().sacrifice.id}}">OPFERLAMM, {{
                        (getGroup().sacrifice.id | participantOfId).name }}, {{ (getGroup().sacrifice.id |
                        participantOfId).slam }}
                    </md-option>
                    <md-option
                            ng-repeat="participant in getGroup().participants"
                            value="{{participant.id}}">
                        {{ (participant.id | participantOfId).name }}, {{ (participant.id | participantOfId).slam }}
                    </md-option>
                </md-select>
            </md-input-container>
            <div ng-if="event.view.participantId">
                <md-button ng-click="setScreen('participant', 'name')"
                           ng-class="{'md-primary': event.view.phase == 'name' && event.view.video != 'pause'}">1. Poet
                    anzeigen
                </md-button>
                <br>
                <md-button ng-click="setScreen('participant', 'rating')"
                           ng-class="{'md-primary': event.view.phase == 'rating' && event.view.video != 'pause'}">2.
                    Wertungen anzeigen
                </md-button>
                <br>
                <md-button ng-click="setScreen('participant', 'ratingFinal')"
                           ng-class="{'md-primary': event.view.phase == 'ratingFinal' && event.view.video != 'pause'}">
                    3. höchste / niedrigste Wertung
                    streichen
                </md-button>
                <br>
                <md-button ng-click="setScreen('participant', 'total')"
                           ng-class="{'md-primary': event.view.phase == 'total' && event.view.video != 'pause'}">4.
                    Wertungssumme anzeigen
                </md-button>
                <br>
                <md-button ng-click="setScreen('groupRatings')"
                           ng-class="{'md-primary': event.view.phase == 'groupRatings' && event.view.video != 'pause'}"
                           ng-disabled="event.view.participantId == getGroup().sacrifice.id">5. Zwischenstand der Gruppe
                    anzeigen
                </md-button>
                <br>
                <md-button ng-click="setVideo('pause')" ng-class="{'md-primary': event.view.video == 'pause'}">6.
                    Pause-Screen anzeigen
                </md-button>

                <div ng-show="event.view.screen == 'participant' && event.view.phase != 'name'">
                    <p>Wertungen</p>
                    <md-input-container ng-repeat="score in getScores()">
                        <label>Wertung {{$index+1}}</label>
                        <input ng-model="score.value" ng-blur="updatePresentation()"
                               ng-keydown="$event.which === 13 && updatePresentation()">
                    </md-input-container>
                </div>
            </div>
          </md-content>
        </md-tab>
        <md-tab label="Ergebnis">
          <md-content class="md-padding">
            <div ng-if="event.view.screen == 'competitionRatings'">
                <br>
                <p>
                    Extrapunkte
                    <small style="color:rgba(0,0,0,0.54)">bei Punktgleichheit</small>
                    :
                </p>
                <div ng-repeat="group in getCompetition().groups">
                    <p>
                        <small style="color:rgba(0,0,0,0.54)">{{group.name}}</small>
                    </p>
                    <md-input-container ng-repeat="participant in group.participants">
                        <label>{{ (participant.id | participantOfId).name }}, {{ (participant.id |
                            participantOfId).slam}}</label>
                        <input ng-model="participant.extraScore" ng-blur="updatePresentation()"
                               ng-keydown="$event.which === 13 && updatePresentation()">
                    </md-input-container>
                </div>
            </div>

            <div>
                <p>
                    <small style="color:rgba(0,0,0,0.54)">4. Wenn alle Teilnehmer bewertet wurden:</small>
                </p>
                <md-button ng-click="showGroupWinners()">1. Ergebnisse der Gruppe anzeigen</md-button>
                <div ng-if="event.view.screen == 'groupRatings' && event.view.phase == 'winners'">
                    <md-button ng-click="increaseWinnerCount()">1.1 Nächsten Poet anzeigen</md-button>
                </div>
                <br>
                <md-button ng-click="setVideo('pause')">2. Pause-Screen</md-button>
                <br>
                <p style="padding-left:13px;">3. Gruppe zurücksetzen, falls noch nicht am Ende des Wettbewerbs (siehe
                    oben)</p>

                <div ng-if="event.view.screen == 'groupRatings' && event.view.phase == 'winners'">
                    <br>
                    <p>
                        Extrapunkte
                        <small style="color:rgba(0,0,0,0.54)">bei Punktgleichheit</small>
                        :
                    </p>
                    <md-input-container ng-repeat="participant in getGroup().participants" style="margin: 0">
                        <label>{{ (participant.id | participantOfId).name }}, {{ (participant.id |
                            participantOfId).slam}}</label>
                        <input ng-model="participant.extraScore" ng-blur="updatePresentation()"
                               ng-keydown="$event.which === 13 && updatePresentation()">
                    </md-input-container>
                </div>
            </md-content>
        </md-tab>
        <md-tab label="Ende">
          <md-content class="md-padding">
            <p>
                <small style="color:rgba(0,0,0,0.54)">5. Am Ende des Wettbewerbs:</small>
            </p>
            <md-button ng-click="showCompetitionWinners()">1. Gewinner des Wettbewerbs anzeigen</md-button>
            <div ng-if="event.view.screen == 'competitionRatings'">
                <md-button ng-click="increaseWinnerCount()">1.1 Nächsten Gewinner anzeigen</md-button>
            </div>
          </md-content>
        </md-tab>
      </md-tabs>
    </md-content>
</section>

{'fraction_non_alphanumeric': 0.15069039429739295, 'fraction_numerical': 0.00887293754050147, 'mean_word_length': 1.4171084337349398, 'pattern_counts': {'":': 0, '<': 373, '<?xml version=': 0, '>': 373, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7579845', 'n_tokens_mistral': 5920, 'n_tokens_neox': 5490, 'n_words': 830}