diff --git a/ts/deckoptions/AdvancedOptions.svelte b/ts/deckoptions/AdvancedOptions.svelte index 433acbf0f..0f33290bf 100644 --- a/ts/deckoptions/AdvancedOptions.svelte +++ b/ts/deckoptions/AdvancedOptions.svelte @@ -6,7 +6,8 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html import * as tr from "lib/i18n"; import marked from "marked"; import TitledContainer from "./TitledContainer.svelte"; - import ConfigEntry from "./ConfigEntry.svelte"; + import Row from "./Row.svelte"; + import Col from "./Col.svelte"; import HelpPopup from "./HelpPopup.svelte"; import SpinBox from "./SpinBox.svelte"; import SpinBoxFloat from "./SpinBoxFloat.svelte"; @@ -19,12 +20,12 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html - - + + {tr.schedulingMaximumInterval()} - - + + - - + + - - + + {tr.schedulingStartingEase()} - - + + - - + + - - + + {tr.schedulingEasyBonus()} - - + + - - + + - - + + {tr.schedulingIntervalModifier()} - - + + - - + + - - + + {tr.schedulingHardInterval()} - - + + - - + + - - + + {tr.schedulingNewInterval()} - - + + - - + + diff --git a/ts/deckoptions/AudioOptions.svelte b/ts/deckoptions/AudioOptions.svelte index 2cfa187df..152600033 100644 --- a/ts/deckoptions/AudioOptions.svelte +++ b/ts/deckoptions/AudioOptions.svelte @@ -6,7 +6,8 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html import * as tr from "lib/i18n"; import marked from "marked"; import TitledContainer from "./TitledContainer.svelte"; - import ConfigEntry from "./ConfigEntry.svelte"; + import Row from "./Row.svelte"; + import Col from "./Col.svelte"; import HelpPopup from "./HelpPopup.svelte"; import CheckBox from "./CheckBox.svelte"; import RevertButton from "./RevertButton.svelte"; @@ -18,34 +19,34 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html - - + + {tr.deckConfigDisableAutoplay()} - - + + - - + + - - + + {tr.schedulingAlwaysIncludeQuestionSideWhenReplaying()} - - + + - - + + diff --git a/ts/deckoptions/BuryOptions.svelte b/ts/deckoptions/BuryOptions.svelte index 561ae55e4..4ce27dbaf 100644 --- a/ts/deckoptions/BuryOptions.svelte +++ b/ts/deckoptions/BuryOptions.svelte @@ -6,7 +6,8 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html import * as tr from "lib/i18n"; import marked from "marked"; import TitledContainer from "./TitledContainer.svelte"; - import ConfigEntry from "./ConfigEntry.svelte"; + import Col from "./Col.svelte"; + import Row from "./Row.svelte"; import HelpPopup from "./HelpPopup.svelte"; import CheckBox from "./CheckBox.svelte"; import RevertButton from "./RevertButton.svelte"; @@ -18,33 +19,33 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html - - + + {tr.deckConfigBuryNewSiblings()} - - + + - - + + - - + + {tr.deckConfigBuryReviewSiblings()} - - + + - - + + diff --git a/ts/deckoptions/Col.svelte b/ts/deckoptions/Col.svelte new file mode 100644 index 000000000..3daa87d87 --- /dev/null +++ b/ts/deckoptions/Col.svelte @@ -0,0 +1,23 @@ + + + +
+ +
diff --git a/ts/deckoptions/ConfigEntry.svelte b/ts/deckoptions/ConfigEntry.svelte deleted file mode 100644 index a5e7273b5..000000000 --- a/ts/deckoptions/ConfigEntry.svelte +++ /dev/null @@ -1,30 +0,0 @@ - - - - - {#if $$slots.center} -
- -
- -
- -
- {:else} -
- -
- {/if} - -
- -
-
diff --git a/ts/deckoptions/DailyLimits.svelte b/ts/deckoptions/DailyLimits.svelte index 980b0dd1b..d45324f81 100644 --- a/ts/deckoptions/DailyLimits.svelte +++ b/ts/deckoptions/DailyLimits.svelte @@ -6,7 +6,8 @@ import marked from "marked"; import * as tr from "lib/i18n"; import TitledContainer from "./TitledContainer.svelte"; - import ConfigEntry from "./ConfigEntry.svelte"; + import Row from "./Row.svelte"; + import Col from "./Col.svelte"; import HelpPopup from "./HelpPopup.svelte"; import Warnings from "./Warnings.svelte"; import SpinBox from "./SpinBox.svelte"; @@ -40,37 +41,37 @@ - - + + {tr.schedulingNewCardsday()} - - + + - - + + - - + + {tr.schedulingMaximumReviewsday()} - - + + - - + + diff --git a/ts/deckoptions/DisplayOrder.svelte b/ts/deckoptions/DisplayOrder.svelte index 16aad8ad5..f59a2f95f 100644 --- a/ts/deckoptions/DisplayOrder.svelte +++ b/ts/deckoptions/DisplayOrder.svelte @@ -6,7 +6,8 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html import * as tr from "lib/i18n"; import marked from "marked"; import TitledContainer from "./TitledContainer.svelte"; - import ConfigEntry from "./ConfigEntry.svelte"; + import Row from "./Row.svelte"; + import Col from "./Col.svelte"; import HelpPopup from "./HelpPopup.svelte"; import EnumSelector from "./EnumSelector.svelte"; import RevertButton from "./RevertButton.svelte"; @@ -41,12 +42,12 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html - - + + {tr.deckConfigNewGatherPriority()} - - + + - - + + - - + + {tr.deckConfigNewCardSortOrder()} - - + + - - + + - - + + {tr.deckConfigNewReviewPriority()} - - + + - - + + - - + + {tr.deckConfigInterdayStepPriority()} - - + + - - + + - - + + {tr.deckConfigReviewSortOrder()} - - + + - - + + > diff --git a/ts/deckoptions/LapseOptions.svelte b/ts/deckoptions/LapseOptions.svelte index 100818d1d..7631fb315 100644 --- a/ts/deckoptions/LapseOptions.svelte +++ b/ts/deckoptions/LapseOptions.svelte @@ -6,7 +6,8 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html import * as tr from "lib/i18n"; import marked from "marked"; import TitledContainer from "./TitledContainer.svelte"; - import ConfigEntry from "./ConfigEntry.svelte"; + import Row from "./Row.svelte"; + import Col from "./Col.svelte"; import Warnings from "./Warnings.svelte"; import HelpPopup from "./HelpPopup.svelte"; import SpinBox from "./SpinBox.svelte"; @@ -34,74 +35,65 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html - - + + {tr.deckConfigRelearningSteps()} - - - ($config.relearnSteps = evt.detail.value)} - /> - - + + 2 ? "sm" : undefined} size={5}> + - - + + - - + + {tr.schedulingMinimumInterval()} - - + + - - + + - - + + {tr.schedulingLeechThreshold()} - - + + - - - - + + - - + + {tr.schedulingLeechAction()} - - + + - - - - + + diff --git a/ts/deckoptions/NewOptions.svelte b/ts/deckoptions/NewOptions.svelte index bf357b6c1..736762d40 100644 --- a/ts/deckoptions/NewOptions.svelte +++ b/ts/deckoptions/NewOptions.svelte @@ -6,7 +6,8 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html import * as tr from "lib/i18n"; import marked from "marked"; import TitledContainer from "./TitledContainer.svelte"; - import ConfigEntry from "./ConfigEntry.svelte"; + import Row from "./Row.svelte"; + import Col from "./Col.svelte"; import Warnings from "./Warnings.svelte"; import HelpPopup from "./HelpPopup.svelte"; import SpinBox from "./SpinBox.svelte"; @@ -42,62 +43,62 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html - - + + {tr.deckConfigLearningSteps()} - - + + - - + + - - + + {tr.schedulingGraduatingInterval()} - - + + - - + + - - + + {tr.schedulingEasyInterval()} - - + + - - + + - - + + {tr.deckConfigNewInsertionOrder()} - - + + - - + + diff --git a/ts/deckoptions/TimerOptions.svelte b/ts/deckoptions/TimerOptions.svelte index b528bf051..51a9825a5 100644 --- a/ts/deckoptions/TimerOptions.svelte +++ b/ts/deckoptions/TimerOptions.svelte @@ -6,7 +6,8 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html import * as tr from "lib/i18n"; import marked from "marked"; import TitledContainer from "./TitledContainer.svelte"; - import ConfigEntry from "./ConfigEntry.svelte"; + import Row from "./Row.svelte"; + import Col from "./Col.svelte"; import HelpPopup from "./HelpPopup.svelte"; import SpinBox from "./SpinBox.svelte"; import CheckBox from "./CheckBox.svelte"; @@ -19,32 +20,32 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html - - + + {tr.deckConfigMaximumAnswerSecs()} - - + + - - + + - - + + {tr.schedulingShowAnswerTimer()} - - + + - - + +