Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/glacials/splits-io. a speedrunning data store and analysis engine splits.io
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132race-nav( inline-template=true :race='race' :starting='starting' v-on:syncing='$emit("syncing")' v-cloak=true v-if='race') div template v-if='race.entries && (race.entries.length === 0 || race.entries.some(entry => entry.finished_at === null && entry.forfeited_at === null))' .btn-group.mr-2 v-if='entry && (!race.started_at || entry.finished_at || entry.forfeited_at)' button.btn.btn-outline-success( :content='errors.leave' :disabled='loading.leave' @click='leave' v-if='entry && !race.started_at' v-tippy=true ) template v-if="loading.leave" = render partial: 'shared/spinner' span.text-danger v-else-if='errors.leave' => icon('fas', 'exclamation-triangle') ' Leave race button.btn.btn-outline-success( :content='errors.unready' :disabled='loading.unready' @click='unready' v-if='entry && entry.readied_at && !race.started_at' v-tippy=true ) template v-if='loading.unready' = render partial: 'shared/spinner' span.text-danger v-else-if='errors.unready' => icon('fas', 'exclamation-triangle') ' Undo ready button.btn.btn-secondary( :content='errors.unfinish' :disabled='loading.unfinish' @click="unfinish" v-if='entry && entry.finished_at' v-tippy=true ) template v-if="loading.unfinish" = render partial: 'shared/spinner' span.text-danger v-else-if='errors.unfinish' => icon('fas', 'exclamation-triangle') ' Undo finish button.btn.btn-secondary( :content='errors.unforfeit' :disabled='loading.unforfeit' @click='unforfeit' v-if='entry && entry.forfeited_at' v-tippy=true ) template v-if="loading.unforfeit" = render partial: 'shared/spinner' span.text-danger v-else-if='errors.unforfeit' => icon('fas', 'exclamation-triangle') ' Undo forfeit
.btn-group.mr-2 v-if='!entry && !race.started_at' button.btn.btn-outline-success( :content='errors.join' :disabled='loading.join || !currentUser' @click='join' v-tippy=true ) template v-if="loading.join" = render partial: 'shared/spinner' span.text-danger v-else-if='errors.join' => icon('fas', 'exclamation-triangle') template v-if='currentUser' Join race template v-else=true Sign in to join
template v-if="entry && !race.started_at" .btn-group.mr-2 button.btn.btn-outline-secondary disabled=true Joined
.btn-group.mr-2 v-if='entry && !race.started_at && !entry.readied_at' button.btn.btn-outline-success.glow( :content='errors.ready' :disabled='loading.ready' @click='ready' v-tippy=true ) template v-if='loading.ready' = render partial: 'shared/spinner' span.text-danger v-else-if='errors.ready' => icon('fas', 'exclamation-triangle') ' Set ready
template v-if="entry && !race.started_at && entry.readied_at" .btn-group.mr-2 button.btn.btn-outline-secondary disabled=true Readied
template v-if="entry && race.started_at && !entry.finished_at && !entry.forfeited_at" .btn-group.mr-2 button.btn.btn-outline-success( :content="errors.forfeit" :disabled="loading.forfeit || loading.finish || loading.split || starting" @click="forfeit" v-tippy=true ) template v-if="loading.forfeit" = render partial: 'shared/spinner' span.text-danger v-else-if='errors.forfeit' => icon('fas', 'exclamation-triangle') template v-else=true => icon('fas', 'heart-broken') ' Set forfeited .btn-group.mr-2 button.btn.btn-outline-success( :content="errors.finish" :disabled="loading.forfeit || loading.finish || loading.split || starting" @click="finish" v-tippy=true ) template v-if="loading.finish" = render partial: 'shared/spinner' span.text-danger v-else-if='errors.finish' => icon('fas', 'exclamation-triangle') template v-else=true => icon('fas', 'flag-checkered') ' Set finished .btn-group.mr-2 button.btn.btn-outline-light( :content="errors.split || 'Split, or create a split if there are none left. You can use this for blind runs. You cannot use this to finish.'" :disabled="loading.forfeit || loading.finish || loading.split || starting" @click="split" v-tippy=true ) template v-if="loading.split" = icon('fas', 'check') span.text-danger v-else-if='errors.split' => icon('fas', 'exclamation-triangle') template v-else=true => icon('fas', 'stopwatch') ' Split run
.btn-group.mr-2 v-if="entry && race.started_at && entry.finished_at" button.btn.btn-outline-success disabled=true Finished
.btn-group.mr-2 v-if="entry && race.started_at && entry.forfeited_at" button.btn.btn-outline-success disabled=true Forfeited .btn-group.mr-2: a.btn.btn-success( :href='`/${entry.run.id}`' v-if="entry && (entry.finished_at || entry.forfeited_at) && entry.run" ) Analyze run template v-if="!race.started_at" br small.text-secondary v-if="!race.started_at" ' The race will start 20 seconds after the last person readies up.