mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-24 05:33:24 +00:00
716aad56af
Bug: T366216 Change-Id: If50e9adcec6f2fa139e793b3a8108f3b4dd689ca
31 lines
4 KiB
Plaintext
31 lines
4 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`clientPreferences doesnt render exclusion notice if the msg key doesnt exist 1`] = `
|
|
"<div>
|
|
<div class=\\"vector-menu-heading\\">Width</div>
|
|
<div class=\\"vector-menu-content\\">
|
|
<ul class=\\"vector-menu-content-list\\"></ul>
|
|
</div>
|
|
<li><div class=\\"\\"><form><div class=\\"cdx-radio\\"><input name=\\"skin-client-pref-vector-feature-limited-width-group\\" id=\\"skin-client-pref-vector-feature-limited-width-value-1\\" type=\\"radio\\" value=\\"1\\" data-event-name=\\"skin-client-pref-vector-feature-limited-width-value-1\\" class=\\"cdx-radio__input\\"><span class=\\"cdx-radio__icon\\"></span><label for=\\"skin-client-pref-vector-feature-limited-width-value-1\\" class=\\"cdx-radio__label\\">vector-feature-limited-width-1-label</label></div><div class=\\"cdx-radio\\"><input name=\\"skin-client-pref-vector-feature-limited-width-group\\" id=\\"skin-client-pref-vector-feature-limited-width-value-0\\" type=\\"radio\\" value=\\"0\\" data-event-name=\\"skin-client-pref-vector-feature-limited-width-value-0\\" class=\\"cdx-radio__input\\"><span class=\\"cdx-radio__icon\\"></span><label for=\\"skin-client-pref-vector-feature-limited-width-value-0\\" class=\\"cdx-radio__label\\">vector-feature-limited-width-0-label</label></div></form></div></li></div>"
|
|
`;
|
|
|
|
exports[`clientPreferences render empty 1`] = `""`;
|
|
|
|
exports[`clientPreferences render font size 1`] = `
|
|
"<div>
|
|
<div class=\\"vector-menu-heading\\">Width</div>
|
|
<div class=\\"vector-menu-content\\">
|
|
<ul class=\\"vector-menu-content-list\\"></ul>
|
|
<span class=\\"skin-client-pref-exclusion-notice\\">msg:vector-feature-custom-font-size-exclusion-notice</span></div>
|
|
<li><div class=\\"\\"><form><div class=\\"cdx-radio\\"><input name=\\"skin-client-pref-vector-feature-custom-font-size-group\\" id=\\"skin-client-pref-vector-feature-custom-font-size-value-0\\" type=\\"radio\\" value=\\"0\\" data-event-name=\\"skin-client-pref-vector-feature-custom-font-size-value-0\\" class=\\"cdx-radio__input\\"><span class=\\"cdx-radio__icon\\"></span><label for=\\"skin-client-pref-vector-feature-custom-font-size-value-0\\" class=\\"cdx-radio__label\\">vector-feature-custom-font-size-0-label</label></div><div class=\\"cdx-radio\\"><input name=\\"skin-client-pref-vector-feature-custom-font-size-group\\" id=\\"skin-client-pref-vector-feature-custom-font-size-value-1\\" type=\\"radio\\" value=\\"1\\" data-event-name=\\"skin-client-pref-vector-feature-custom-font-size-value-1\\" class=\\"cdx-radio__input\\"><span class=\\"cdx-radio__icon\\"></span><label for=\\"skin-client-pref-vector-feature-custom-font-size-value-1\\" class=\\"cdx-radio__label\\">vector-feature-custom-font-size-1-label</label></div><div class=\\"cdx-radio\\"><input name=\\"skin-client-pref-vector-feature-custom-font-size-group\\" id=\\"skin-client-pref-vector-feature-custom-font-size-value-2\\" type=\\"radio\\" value=\\"2\\" data-event-name=\\"skin-client-pref-vector-feature-custom-font-size-value-2\\" class=\\"cdx-radio__input\\"><span class=\\"cdx-radio__icon\\"></span><label for=\\"skin-client-pref-vector-feature-custom-font-size-value-2\\" class=\\"cdx-radio__label\\">vector-feature-custom-font-size-2-label</label></div></form></div></li></div>"
|
|
`;
|
|
|
|
exports[`clientPreferences render toggle 1`] = `
|
|
"<div>
|
|
<div class=\\"vector-menu-heading\\">Width</div>
|
|
<div class=\\"vector-menu-content\\">
|
|
<ul class=\\"vector-menu-content-list\\"></ul>
|
|
<span class=\\"skin-client-pref-exclusion-notice\\">msg:expandAll-exclusion-notice</span></div>
|
|
<li><div class=\\"\\"><form><span class=\\"cdx-toggle-switch\\"><input name=\\"skin-client-pref-expandAll-group\\" id=\\"skin-client-pref-expandAll-value-1\\" type=\\"checkbox\\" data-event-name=\\"skin-client-pref-expandAll-value-1\\" class=\\"cdx-toggle-switch__input\\"><span class=\\"cdx-toggle-switch__switch\\"><span class=\\"cdx-toggle-switch__switch__grip\\"></span></span><label class=\\"cdx-toggle-switch__label\\">msg:expandAll-name</label></span></form></div></li></div>"
|
|
`;
|