Whitespace changes

This commit is contained in:
Waiting Idly 2021-06-07 07:34:01 -07:00
parent 0c8fffaf6a
commit 3aa40d8bc8
8 changed files with 106 additions and 115 deletions

View File

@ -12,17 +12,12 @@ Vue.component("modal-delete-companion", {
},
message() {
switch (this.messageIndex) {
case 0:
return "Are you sure you want to get rid of your Companion Glyph?";
case 1:
return "You will not receive any cake.";
case 2:
return "This is permanent! You will not get another Companion Glyph!";
case 3:
return "You deleted your faithful Companion Glyph more quickly than any " +
"other test subject on record. Congratulations.";
default:
return "Invalid message index";
case 0: return "Are you sure you want to get rid of your Companion Glyph?";
case 1: return "You will not receive any cake.";
case 2: return "This is permanent! You will not get another Companion Glyph!";
case 3: return `You deleted your faithful Companion Glyph more quickly than any
other test subject on record. Congratulations.`;
default: return "Invalid message index";
}
}
},

View File

@ -66,6 +66,5 @@ Vue.component("modal-h2p", {
<div class="l-h2p-body c-h2p-body" v-html="activeTab.info()" />
</div>
</div>
</div>
`
</div>`
});

View File

@ -74,12 +74,8 @@ Vue.component("modal-preferred-tree", {
<button
v-for="(id, name) in dimensionOptions"
@click="select(name)"
:class="classList(name)"
>
<div
v-if="isPreferred(name)"
class="l-dim-path-priority o-hint-text"
>
:class="classList(name)">
<div v-if="isPreferred(name)" class="l-dim-path-priority o-hint-text">
{{isPreferred(name)}}
</div>
<div>
@ -93,8 +89,7 @@ Vue.component("modal-preferred-tree", {
<button
v-for="(id, name) in paceOptions"
@click="select(name)"
:class="classList(name)"
>
:class="classList(name)">
<div>
{{name}}
</div>
@ -104,6 +99,5 @@ Vue.component("modal-preferred-tree", {
class="o-primary-btn--width-medium c-modal-import-tree__import-btn c-modal__confirm-btn"
@click="confirmPrefs"
>Confirm</primary-button>
</div>
`
</div>`
});

View File

@ -23,9 +23,15 @@ Vue.component("modal-progress-bar", {
template: `
<div class="l-modal-overlay c-modal-overlay" style="z-index: 8">
<div class="l-modal-progress-bar c-modal">
<div class="c-modal-progress-bar__label"> {{progress.label}} </div>
<div>Ticks: {{ formatInt(progress.current) }}/{{ formatInt(progress.max) }}</div>
<div>Remaining: {{ remaining }} seconds</div>
<div class="c-modal-progress-bar__label">
{{progress.label}}
</div>
<div>
Ticks: {{ formatInt(progress.current) }}/{{ formatInt(progress.max) }}
</div>
<div>
Remaining: {{ remaining }} seconds
</div>
<div class="l-modal-progress-bar__hbox">
<div class="l-modal-progress-bar__bg c-modal-progress-bar__bg">
<div class="l-modal-progress-bar__fg c-modal-progress-bar__fg" :style="foregroundStyle"/>

View File

@ -142,6 +142,5 @@ Vue.component("modal-reality", {
@click="confirmModal(false)"
>Confirm</primary-button>
</div>
</div>
`
</div>`
});

View File

@ -26,8 +26,7 @@ Vue.component("modal-std-store", {
<std-store-btn-row :amount="1000" :cost="500"/>
</div>
</div>
</div>
`
</div>`
});
Vue.component("std-store-btn-row", {
@ -46,6 +45,5 @@ Vue.component("std-store-btn-row", {
<button class="o-modal-store-btn" @click="purchase()">
<span>{{ cost }}</span><img src="images/kred_single.png"/>
</button>
</div>
`
</div>`
});