Hi!
I have done a plug-in for episerver, using Razor views. It uses admin page to display settings.
I want to display those settings using epi styles, used on every admin page. I am using those styles by getting them from episerver:
@Html.Raw( Html.ShellCssLink( "ClientResources/epi/themes/legacy/system.css" ) )
@Html.Raw( Html.ShellCssLink( "ClientResources/epi/themes/legacy/ShellCore.css" ) )
@Html.Raw( Html.ShellCssLink( "ClientResources/epi/themes/legacy/ShellCoreLightTheme.css" ) )
But now, to have basic control that looks like the rest of epi, like the epi Save button, I need to reconstruct it's classes in html like this:
<div class="epi-buttonContainer">
<span class="epi-button">
<span class="epi-button-child">
<input class="epi-button-child-item" id="saveSettingsButton" type="submit" value="Save" form="botform">
</span>
</span>
</div>
Unfortunetly I could not find a class that would contruct those for me.
Does episerver have a helper class that does this automatically? Like Asp helpers, for example @html.Label()
?