mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-12 17:28:04 +00:00
33 lines
733 B
JavaScript
33 lines
733 B
JavaScript
|
import mustache from 'mustache';
|
||
|
import '../resources/skins.vector.styles/legacy.less';
|
||
|
import legacySkinTemplate from '!!raw-loader!../includes/templates/legacy.mustache';
|
||
|
import {
|
||
|
LEGACY_TEMPLATE_DATA,
|
||
|
NAVIGATION_TEMPLATE_DATA,
|
||
|
TEMPLATE_PARTIALS
|
||
|
} from './skin.stories.data';
|
||
|
|
||
|
export default {
|
||
|
title: 'Skin (legacy)'
|
||
|
};
|
||
|
|
||
|
export const vectorLegacyLoggedOut = () => mustache.render(
|
||
|
legacySkinTemplate,
|
||
|
Object.assign(
|
||
|
{},
|
||
|
LEGACY_TEMPLATE_DATA,
|
||
|
NAVIGATION_TEMPLATE_DATA.loggedOutWithVariants
|
||
|
),
|
||
|
TEMPLATE_PARTIALS
|
||
|
);
|
||
|
|
||
|
export const vectorLegacyLoggedIn = () => mustache.render(
|
||
|
legacySkinTemplate,
|
||
|
Object.assign(
|
||
|
{},
|
||
|
LEGACY_TEMPLATE_DATA,
|
||
|
NAVIGATION_TEMPLATE_DATA.loggedInWithMoreActions
|
||
|
),
|
||
|
TEMPLATE_PARTIALS
|
||
|
);
|