Skip to content

Instantly share code, notes, and snippets.

@kerstvo
Last active July 31, 2020 19:18
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kerstvo/893adcf9a4e79a2e2dece8b79c98c993 to your computer and use it in GitHub Desktop.
Save kerstvo/893adcf9a4e79a2e2dece8b79c98c993 to your computer and use it in GitHub Desktop.
PHPStorm WA live templates
<template name="wa-fields" value="&lt;div class=&quot;block fields&quot;&gt;&#10;&#10; &lt;div class=&quot;field-group&quot;&gt;&#10; &lt;div class=&quot;field&quot;&gt;&#10; &lt;div class=&quot;name&quot;&gt;&lt;/div&gt;&#10; &lt;div class=&quot;value&quot;&gt;&lt;/div&gt;&#10; &lt;/div&gt;&#10; &lt;/div&gt;&#10;&#10; &lt;div class=&quot;field-group&quot;&gt;&#10; &lt;div class=&quot;field&quot;&gt;&#10; &lt;div class=&quot;value&quot;&gt;&#10; &lt;input type=&quot;button&quot; class=&quot;button&quot; value=&quot;Save&quot; /&gt;&#10; &lt;/div&gt;&#10; &lt;/div&gt;&#10; &lt;/div&gt;&#10; &#10;&lt;/div&gt;" description="fields" toReformat="true" toShortenFQNames="true">
<context>
<option name="HTML" value="true" />
<option name="PHP" value="true" />
<option name="Twig" value="true" />
<option name="Vue" value="true" />
</context>
</template>
<template name="wa-form-field" value="&lt;div class=&quot;field&quot;&gt;&#10; &lt;div class=&quot;name&quot;&gt;$NAME$&lt;/div&gt;&#10; &lt;div class=&quot;value&quot;&gt;&lt;input type=&quot;$TYPE$&quot; class=&quot;bold&quot; value=&quot;$VALUE$&quot;/&gt;&lt;/div&gt;&#10;&lt;/div&gt;" description="one form field" toReformat="true" toShortenFQNames="true">
<variable name="NAME" expression="&quot;name&quot;" defaultValue="" alwaysStopAt="true" />
<variable name="TYPE" expression="&quot;text&quot;" defaultValue="" alwaysStopAt="true" />
<variable name="VALUE" expression="&quot;some value&quot;" defaultValue="" alwaysStopAt="true" />
<context>
<option name="HTML" value="true" />
<option name="PHP" value="true" />
<option name="Twig" value="true" />
<option name="Vue" value="true" />
</context>
</template>
<template name="wa-form-fields" value="&lt;div class=&quot;block fields form&quot;&gt;&#10;&#10; &lt;div class=&quot;field-group&quot;&gt;&#10; &lt;div class=&quot;field&quot;&gt;&#10; &lt;div class=&quot;name&quot;&gt;First name&lt;/div&gt;&#10; &lt;div class=&quot;value&quot;&gt;&lt;input type=&quot;text&quot; class=&quot;bold&quot; value=&quot;Jimmy&quot; /&gt;&lt;/div&gt;&#10; &lt;/div&gt;&#10; &lt;div class=&quot;field&quot;&gt;&#10; &lt;div class=&quot;name&quot;&gt;Last name&lt;/div&gt;&#10; &lt;div class=&quot;value&quot;&gt;&lt;input type=&quot;text&quot; class=&quot;bold&quot; value=&quot;Clark&quot; /&gt;&lt;/div&gt;&#10; &lt;/div&gt;&#10; &lt;/div&gt;&#10;&#10; &lt;div class=&quot;field-group&quot;&gt;&#10; &lt;div class=&quot;field&quot;&gt;&#10; &lt;div class=&quot;name&quot;&gt;Address&lt;/div&gt;&#10; &lt;div class=&quot;value&quot;&gt;&#10; &lt;textarea&gt;665 Dawson Drive&#10;Newark, Delaware, 19713&lt;/textarea&gt;&#10; &lt;/div&gt;&#10; &lt;/div&gt;&#10; &lt;div class=&quot;field&quot;&gt;&#10; &lt;div class=&quot;name&quot;&gt;Phone&lt;/div&gt;&#10; &lt;div class=&quot;value&quot;&gt;&lt;input type=&quot;text&quot; value=&quot;1 800 550-13-12&quot; /&gt;&lt;/div&gt;&#10; &lt;div class=&quot;value&quot;&gt;&lt;input type=&quot;text&quot; value=&quot;+7 495 663-73-25&quot; /&gt;&lt;/div&gt;&#10; &lt;/div&gt;&#10; &lt;div class=&quot;field&quot;&gt;&#10; &lt;div class=&quot;name&quot;&gt;Company&lt;/div&gt;&#10; &lt;div class=&quot;value&quot;&gt;&lt;select&gt;&lt;option&gt;Webasyst&lt;/option&gt;&lt;/select&gt;&lt;/div&gt;&#10; &lt;/div&gt;&#10; &lt;/div&gt;&#10;&#10; &lt;div class=&quot;field-group&quot;&gt;&#10; &lt;div class=&quot;field&quot;&gt;&#10; &lt;div class=&quot;value&quot;&gt;&#10; &lt;input type=&quot;button&quot; class=&quot;button&quot; value=&quot;Save&quot; /&gt;&#10; &lt;/div&gt;&#10; &lt;/div&gt;&#10; &lt;/div&gt;&#10;&#10;&lt;/div&gt;" description="form" toReformat="true" toShortenFQNames="true">
<context>
<option name="HTML" value="true" />
<option name="PHP" value="true" />
<option name="Twig" value="true" />
<option name="Vue" value="true" />
</context>
</template>
<template name="wa-icon-loading" value="&lt;i class=&quot;icon16 loading&quot;&gt;&lt;/i&gt;" toReformat="true" toShortenFQNames="true">
<context>
<option name="HTML" value="true" />
<option name="PHP" value="true" />
<option name="Twig" value="true" />
<option name="Vue" value="true" />
</context>
</template>
<template name="wa-icon10" value="&lt;i class=&quot;icon10 $ICON$&quot;&gt;&lt;/i&gt;" toReformat="true" toShortenFQNames="true">
<variable name="ICON" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="HTML" value="true" />
<option name="PHP" value="true" />
<option name="Twig" value="true" />
<option name="Vue" value="true" />
</context>
</template>
<template name="wa-icon16" value="&lt;i class=&quot;icon16 $ICON$&quot;&gt;&lt;/i&gt;" toReformat="true" toShortenFQNames="true">
<variable name="ICON" expression="&quot;loading&quot;" defaultValue="" alwaysStopAt="true" />
<context>
<option name="HTML" value="true" />
<option name="PHP" value="true" />
<option name="Twig" value="true" />
<option name="Vue" value="true" />
</context>
</template>
<template name="wa-inline-link" value="&lt;a href=&quot;$HREF$&quot; class=&quot;inline-link&quot;&gt;&lt;b&gt;&lt;i&gt;$LINKTEXT$&lt;/i&gt;&lt;/b&gt;&lt;/a&gt;" toReformat="true" toShortenFQNames="true">
<variable name="HREF" expression="&quot;#&quot;" defaultValue="" alwaysStopAt="true" />
<variable name="LINKTEXT" expression="" defaultValue="" alwaysStopAt="true" />
<context>
<option name="HTML" value="true" />
<option name="PHP" value="true" />
<option name="Twig" value="true" />
<option name="Vue" value="true" />
</context>
</template>
<template name="wa-menu-h-dropdown" value="&lt;div class=&quot;block&quot;&gt;&#10;&lt;ul class=&quot;menu-h dropdown&quot;&gt;&#10; &lt;li style=&quot;width: 120px;&quot;&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon16 pictures&quot;&gt;&lt;/i&gt;Work&lt;i class=&quot;icon10 darr&quot;&gt;&lt;/i&gt;&lt;/a&gt;&#10; &lt;ul class=&quot;menu-v with-icons&quot;&gt;&#10; &lt;li&gt;&#10; &lt;span class=&quot;count&quot;&gt;30&lt;/span&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon16 funnel&quot;&gt;&lt;/i&gt;★★★★+&lt;/a&gt;&#10; &lt;/li&gt;&#10; &lt;li&gt;&#10; &lt;span class=&quot;count&quot;&gt;17&lt;/span&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon16 funnel&quot;&gt;&lt;/i&gt;(to delete)&lt;/a&gt;&#10; &lt;/li&gt;&#10; &lt;li&gt;&#10; &lt;span class=&quot;count&quot;&gt;30&lt;/span&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon16 funnel&quot;&gt;&lt;/i&gt;2012&lt;/a&gt;&#10; &lt;/li&gt;&#10; &lt;/ul&gt;&#10; &lt;/li&gt;&#10; &lt;li style=&quot;width: 130px;&quot;&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon16 star&quot;&gt;&lt;/i&gt;Favorites&lt;i class=&quot;icon10 darr&quot;&gt;&lt;/i&gt;&lt;/a&gt;&#10; &lt;ul class=&quot;menu-v with-icons drop&quot;&gt;&#10; &lt;li&gt;&#10; &lt;span class=&quot;count&quot;&gt;&lt;i class=&quot;icon10 rarr overhanging&quot;&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon16 pictures&quot;&gt;&lt;/i&gt;Travel&lt;/a&gt;&#10; &lt;ul class=&quot;menu-v with-icons&quot;&gt;&#10; &lt;li&gt;&#10; &lt;span class=&quot;count&quot;&gt;125&lt;/span&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon16 picture&quot;&gt;&lt;/i&gt;Europe&lt;/a&gt;&#10; &lt;/li&gt;&#10; &lt;li&gt;&#10; &lt;span class=&quot;count&quot;&gt;90&lt;/span&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon16 picture&quot;&gt;&lt;/i&gt;Asia&lt;/a&gt;&#10; &lt;/li&gt;&#10; &lt;/ul&gt;&#10; &lt;/li&gt;&#10; &lt;li&gt;&#10; &lt;span class=&quot;count&quot;&gt;17&lt;/span&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon16 pictures&quot;&gt;&lt;/i&gt;Portraits&lt;/a&gt;&#10; &lt;/li&gt;&#10; &lt;li&gt;&#10; &lt;span class=&quot;count&quot;&gt;80&lt;/span&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon16 pictures&quot;&gt;&lt;/i&gt;Friends&lt;/a&gt;&#10; &lt;/li&gt;&#10; &lt;/ul&gt;&#10; &lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;" toReformat="false" toShortenFQNames="true">
<context>
<option name="HTML" value="true" />
<option name="PHP" value="true" />
<option name="Twig" value="true" />
<option name="Vue" value="true" />
</context>
</template>
<template name="wa-menu-h-flat" value="&lt;div class=&quot;block&quot;&gt;&#10;&lt;ul class=&quot;menu-h with-icons&quot;&gt;&#10; &lt;li&gt;&#10; &lt;a href=&quot;#&quot; class=&quot;bold&quot;&gt;&lt;i class=&quot;icon16 add&quot;&gt;&lt;/i&gt;Upload photos&lt;/a&gt;&#10; &lt;/li&gt;&#10; &lt;li class=&quot;selected&quot;&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon16 picture&quot;&gt;&lt;/i&gt;All photos&lt;/a&gt;&#10; &lt;/li&gt;&#10; &lt;li&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon16 star&quot;&gt;&lt;/i&gt;Favorites&lt;/a&gt;&#10; &lt;/li&gt;&#10; &lt;li&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon16 trash&quot;&gt;&lt;/i&gt;Trash&lt;/a&gt;&#10; &lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;" toReformat="true" toShortenFQNames="true">
<context>
<option name="HTML" value="true" />
<option name="PHP" value="true" />
<option name="Twig" value="true" />
<option name="Vue" value="true" />
</context>
</template>
<template name="wa-menu-v-dropdown" value="&lt;div class=&quot;block&quot; style=&quot;width:200px;&quot;&gt;&#10;&lt;ul class=&quot;menu-v with-icons dropdown&quot;&gt;&#10; &lt;li&gt;&#10; &lt;span class=&quot;count&quot;&gt;&lt;i class=&quot;icon10 rarr overhanging&quot;&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon16 pictures&quot;&gt;&lt;/i&gt;Work&lt;/a&gt;&#10; &lt;ul class=&quot;menu-v with-icons&quot;&gt;&#10; &lt;li&gt;&#10; &lt;span class=&quot;count&quot;&gt;30&lt;/span&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon16 funnel&quot;&gt;&lt;/i&gt;★★★★+&lt;/a&gt;&#10; &lt;/li&gt;&#10; &lt;li&gt;&#10; &lt;span class=&quot;count&quot;&gt;17&lt;/span&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon16 funnel&quot;&gt;&lt;/i&gt;(to delete)&lt;/a&gt;&#10; &lt;/li&gt;&#10; &lt;li&gt;&#10; &lt;span class=&quot;count&quot;&gt;30&lt;/span&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon16 funnel&quot;&gt;&lt;/i&gt;2012&lt;/a&gt;&#10; &lt;/li&gt;&#10; &lt;/ul&gt;&#10; &lt;/li&gt;&#10; &lt;li&gt;&#10; &lt;span class=&quot;count&quot;&gt;&lt;i class=&quot;icon10 rarr overhanging&quot;&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon16 star&quot;&gt;&lt;/i&gt;Selected for publication&lt;/a&gt;&#10; &lt;ul class=&quot;menu-v with-icons&quot;&gt;&#10; &lt;li&gt;&#10; &lt;span class=&quot;count&quot;&gt;&lt;i class=&quot;icon10 rarr overhanging&quot;&gt;&lt;/i&gt;&lt;/span&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon16 pictures&quot;&gt;&lt;/i&gt;Travel&lt;/a&gt;&#10; &lt;ul class=&quot;menu-v with-icons&quot;&gt;&#10; &lt;li&gt;&#10; &lt;span class=&quot;count&quot;&gt;125&lt;/span&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon16 picture&quot;&gt;&lt;/i&gt;Europe&lt;/a&gt;&#10; &lt;/li&gt;&#10; &lt;li&gt;&#10; &lt;span class=&quot;count&quot;&gt;90&lt;/span&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon16 picture&quot;&gt;&lt;/i&gt;Asia&lt;/a&gt;&#10; &lt;/li&gt;&#10; &lt;/ul&gt;&#10; &lt;/li&gt;&#10; &lt;li&gt;&#10; &lt;span class=&quot;count&quot;&gt;17&lt;/span&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon16 pictures&quot;&gt;&lt;/i&gt;Portraits&lt;/a&gt;&#10; &lt;/li&gt;&#10; &lt;li&gt;&#10; &lt;span class=&quot;count&quot;&gt;80&lt;/span&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon16 pictures&quot;&gt;&lt;/i&gt;Friends&lt;/a&gt;&#10; &lt;/li&gt;&#10; &lt;/ul&gt;&#10; &lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;" toReformat="false" toShortenFQNames="true">
<context>
<option name="HTML" value="true" />
<option name="PHP" value="true" />
<option name="Twig" value="true" />
<option name="Vue" value="true" />
</context>
</template>
<template name="wa-menu-v-flat" value="&lt;div class=&quot;block&quot; style=&quot;width:200px;&quot;&gt;&#10;&lt;ul class=&quot;menu-v with-icons&quot;&gt;&#10; &lt;li&gt;&#10; &lt;a href=&quot;#&quot; class=&quot;bold&quot;&gt;&lt;i class=&quot;icon16 add&quot;&gt;&lt;/i&gt;Upload photos&lt;/a&gt;&#10; &lt;/li&gt;&#10; &lt;li class=&quot;selected&quot;&gt;&#10; &lt;span class=&quot;count&quot;&gt;273&lt;/span&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon16 picture&quot;&gt;&lt;/i&gt;All photos&lt;/a&gt;&#10; &lt;/li&gt;&#10; &lt;li&gt;&#10; &lt;span class=&quot;count&quot;&gt;13&lt;/span&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon16 star&quot;&gt;&lt;/i&gt;Selected for publication&lt;/a&gt;&#10; &lt;/li&gt;&#10; &lt;li&gt;&#10; &lt;span class=&quot;count&quot;&gt;10&lt;/span&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon16 trash&quot;&gt;&lt;/i&gt;Trash&lt;/a&gt;&#10; &lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;" toReformat="true" toShortenFQNames="true">
<context>
<option name="HTML" value="true" />
<option name="PHP" value="true" />
<option name="Twig" value="true" />
<option name="Vue" value="true" />
</context>
</template>
<template name="wa-menu-v-hierarchical" value="&lt;div class=&quot;block hierarchical collapsible&quot; style=&quot;width:200px;&quot;&gt;&#10;&lt;ul class=&quot;menu-v with-icons&quot;&gt;&#10; &lt;li&gt;&#10; &lt;span class=&quot;count&quot;&gt;85&lt;/span&gt;&#10; &lt;i class=&quot;icon16 darr overhanging&quot;&gt;&lt;/i&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon16 pictures&quot;&gt;&lt;/i&gt;Work&lt;/a&gt;&#10; &lt;ul class=&quot;menu-v with-icons&quot;&gt;&#10; &lt;li&gt;&#10; &lt;span class=&quot;count&quot;&gt;30&lt;/span&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon16 funnel&quot;&gt;&lt;/i&gt;★★★★+&lt;/a&gt;&#10; &lt;/li&gt;&#10; &lt;li&gt;&#10; &lt;span class=&quot;count&quot;&gt;17&lt;/span&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon16 funnel&quot;&gt;&lt;/i&gt;(to delete)&lt;/a&gt;&#10; &lt;/li&gt;&#10; &lt;li&gt;&#10; &lt;span class=&quot;count&quot;&gt;30&lt;/span&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon16 funnel&quot;&gt;&lt;/i&gt;2012&lt;/a&gt;&#10; &lt;/li&gt;&#10; &lt;/ul&gt;&#10; &lt;/li&gt;&#10; &lt;li&gt;&#10; &lt;span class=&quot;count&quot;&gt;440&lt;/span&gt;&#10; &lt;i class=&quot;icon16 darr overhanging&quot;&gt;&lt;/i&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon16 star&quot;&gt;&lt;/i&gt;Selected for publication&lt;/a&gt;&#10; &lt;ul class=&quot;menu-v with-icons&quot;&gt;&#10; &lt;li&gt;&#10; &lt;i class=&quot;icon16 darr overhanging&quot;&gt;&lt;/i&gt;&#10; &lt;span class=&quot;count&quot;&gt;251&lt;/span&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon16 pictures&quot;&gt;&lt;/i&gt;Travel&lt;/a&gt;&#10; &lt;ul class=&quot;menu-v with-icons&quot;&gt;&#10; &lt;li&gt;&#10; &lt;span class=&quot;count&quot;&gt;125&lt;/span&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon16 picture&quot;&gt;&lt;/i&gt;Europe&lt;/a&gt;&#10; &lt;/li&gt;&#10; &lt;li&gt;&#10; &lt;span class=&quot;count&quot;&gt;90&lt;/span&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon16 picture&quot;&gt;&lt;/i&gt;Asia&lt;/a&gt;&#10; &lt;/li&gt;&#10; &lt;/ul&gt;&#10; &lt;/li&gt;&#10; &lt;li&gt;&#10; &lt;i class=&quot;icon16 rarr overhanging&quot;&gt;&lt;/i&gt;&#10; &lt;span class=&quot;count&quot;&gt;17&lt;/span&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon16 pictures&quot;&gt;&lt;/i&gt;Portraits&lt;/a&gt;&#10; &lt;/li&gt;&#10; &lt;li&gt;&#10; &lt;i class=&quot;icon16 rarr overhanging&quot;&gt;&lt;/i&gt;&#10; &lt;span class=&quot;count&quot;&gt;80&lt;/span&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;i class=&quot;icon16 pictures&quot;&gt;&lt;/i&gt;Friends&lt;/a&gt;&#10; &lt;/li&gt;&#10; &lt;/ul&gt;&#10; &lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;" toReformat="false" toShortenFQNames="true">
<context>
<option name="HTML" value="true" />
<option name="PHP" value="true" />
<option name="Twig" value="true" />
<option name="Vue" value="true" />
</context>
</template>
<template name="wa-pagination" value="&lt;div class=&quot;paging&quot;&gt;&#10; &lt;a class=&quot;selected&quot; href=&quot;#&quot;&gt;1&lt;/a&gt;&#10; &lt;a href=&quot;#&quot;&gt;2&lt;/a&gt;&#10; &lt;a href=&quot;#&quot;&gt;3&lt;/a&gt;&#10; ...&#10; &lt;a href=&quot;#&quot;&gt;10&lt;/a&gt;&#10; &lt;a class=&quot;prevnext&quot; href=&quot;#&quot;&gt;&lt;i class=&quot;icon10 larr&quot;&gt;&lt;/i&gt; пред&lt;/a&gt;&#10; &lt;a class=&quot;prevnext&quot; href=&quot;#&quot;&gt;след &lt;i class=&quot;icon10 rarr&quot;&gt;&lt;/i&gt;&lt;/a&gt;&#10;&lt;/div&gt;" toReformat="true" toShortenFQNames="true">
<context>
<option name="HTML" value="true" />
<option name="PHP" value="true" />
<option name="Twig" value="true" />
<option name="Vue" value="true" />
</context>
</template>
<template name="wa-profile" value="&lt;div class=&quot;block&quot;&gt;&#10; &lt;div class=&quot;profile image96px&quot;&gt;&#10; &lt;div class=&quot;image&quot;&gt;&#10; &lt;img src=&quot;/wa-content/img/userpic96.jpg&quot; /&gt;&#10; &lt;/div&gt;&#10; &lt;div class=&quot;details&quot;&gt;&#10; &lt;h2&gt;Vladimir Tuporshin, Sr.&lt;/h2&gt;&#10; &lt;p&gt;Vladimir Tuporshin, Sr. is the initial founder of the WebAsyst LLC. He is responsible for setting goals and targets in software development, and conducts overall management of the company. Position: director. Graduate of the Faculty of Physics at the Lomonosov Moscow State University. PhD of Physics and Mathematics. Goes in for sport and watercolor painting. Master of sports in decathlon.&lt;/p&gt;&#10; &lt;/div&gt;&#10; &lt;/div&gt;&#10;&lt;/div&gt;" toReformat="true" toShortenFQNames="true">
<context>
<option name="HTML" value="true" />
<option name="PHP" value="true" />
<option name="Twig" value="true" />
<option name="Vue" value="true" />
</context>
</template>
<template name="wa-progressbar" value="&lt;div class=&quot;block&quot;&gt;&#10; Installing Webasyst... &lt;i class=&quot;icon16 loading&quot;&gt;&lt;/i&gt;&#10;&#10; &lt;div class=&quot;progressbar blue&quot;&gt;&#10; &lt;div class=&quot;progressbar-outer&quot;&gt;&#10; &lt;div class=&quot;progressbar-inner&quot; id=&quot;my-custom-progressbar-id&quot; style=&quot;width: 37%;&quot;&gt;&#10; &lt;/div&gt;&#10; &lt;/div&gt;&#10; &lt;/div&gt;&#10; Unarchiving Stickies app...&#10;&#10; &lt;div class=&quot;progressbar small yellow&quot;&gt;&#10; &lt;div class=&quot;progressbar-outer&quot;&gt;&#10; &lt;div class=&quot;progressbar-inner&quot; id=&quot;my-custom-progressbar-id&quot; style=&quot;width: 83%;&quot;&gt;&#10; &lt;/div&gt;&#10; &lt;/div&gt;&#10; &lt;/div&gt;&#10;&lt;/div&gt;" toReformat="true" toShortenFQNames="true">
<context>
<option name="HTML" value="true" />
<option name="PHP" value="true" />
<option name="Twig" value="true" />
<option name="Vue" value="true" />
</context>
</template>
<template name="wa-setting" value="'setting' =&gt; array(&#10; 'title' =&gt; '',&#10; 'description' =&gt; '',&#10; 'control_type' =&gt; '',&#10; 'value' =&gt; ''&#10;)" description="array for webasyst setting definition" toReformat="false" toShortenFQNames="true">
<context>
<option name="PHP" value="true" />
</context>
</template>
<template name="wa-sidebar" value="&lt;div class=&quot;sidebar left200px&quot; style=&quot;background: #ffa;&quot;&gt;&#10; &lt;div class=&quot;block double-padded&quot;&gt;&#10; &lt;h3&gt;Left sidebar 200px&lt;/h3&gt;&#10; Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lobortis porta mi, eget vulputate orci viverra at. Mauris blandit risus consequat mi consequat rhoncus.&#10; &lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;div class=&quot;sidebar right100px&quot; style=&quot;background: #faf;&quot;&gt;&#10; &lt;div class=&quot;block double-padded&quot;&gt;&#10; &lt;h3&gt;Right sidebar 100px&lt;/h3&gt;&#10; Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lobortis porta mi, eget vulputate orci viverra at. Mauris blandit risus consequat mi consequat rhoncus.&#10; &lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;div class=&quot;content left200px right100px&quot; style=&quot;background: #aff;&quot;&gt;&#10; &lt;div class=&quot;block double-padded&quot;&gt;&#10; &lt;h1&gt;Content&lt;/h1&gt;&#10; Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus lobortis porta mi, eget vulputate orci viverra at. Mauris blandit risus consequat mi consequat rhoncus. Aenean ac aliquet lorem. Duis mauris arcu, iaculis sit amet venenatis eu, dapibus et erat. Donec eros augue, gravida vel pretium id, varius eu augue. In lorem arcu, ullamcorper sit amet adipiscing vel, facilisis a sapien. Nunc elit justo, rhoncus nec rutrum vel, pellentesque id purus. Fusce interdum, diam eu commodo accumsan, turpis libero euismod libero, at posuere ante diam non augue.&#10; &lt;/div&gt;&#10;&lt;/div&gt;" toReformat="true" toShortenFQNames="true">
<context>
<option name="HTML" value="true" />
<option name="PHP" value="true" />
<option name="Twig" value="true" />
<option name="Vue" value="true" />
</context>
</template>
<template name="wa-tabs" value="&lt;div class=&quot;block&quot;&gt;&#10; &lt;ul class=&quot;tabs&quot;&gt;&#10; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;привет&lt;/a&gt;&lt;/li&gt;&#10; &lt;li class=&quot;selected&quot;&gt;&lt;a href=&quot;#&quot;&gt;hello&lt;/a&gt;&lt;/li&gt;&#10; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;hola&lt;/a&gt;&lt;/li&gt;&#10; &lt;li&gt;&lt;a href=&quot;#&quot;&gt;bonjour&lt;/a&gt;&lt;/li&gt;&#10; &lt;li class=&quot;no-tab&quot;&gt;&lt;a href=&quot;#&quot;&gt;(source)&lt;/a&gt;&lt;/li&gt;&#10; &lt;/ul&gt;&#10; &lt;div class=&quot;tab-content &quot;&gt;&#10; &lt;div class=&quot;block&quot;&gt;&#10; Hello, with that spelling, was used in publications as early as 1833. The word was extensively used in literature by the 1860s.&#10; &lt;/div&gt;&#10; &lt;/div&gt;&#10;&lt;/div&gt;" toReformat="true" toShortenFQNames="true">
<context>
<option name="HTML" value="true" />
<option name="PHP" value="true" />
<option name="Twig" value="true" />
<option name="Vue" value="true" />
</context>
</template>
<template name="wa-thumbs" value="&lt;div class=&quot;block&quot;&gt;&#10; &lt;ul class=&quot;thumbs li100px&quot;&gt;&#10; &lt;li&gt;&#10; &lt;div&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;img src=&quot;/wa-content/img/userpic96.jpg&quot;&gt;&lt;/a&gt;&#10; &lt;/div&gt;&#10; &lt;div&gt;&#10; &lt;input type=&quot;checkbox&quot; /&gt;&#10; &lt;a href=&quot;#&quot;&gt;Jimmy W. Clark&lt;/a&gt;&#10; &lt;/div&gt;&#10; &lt;/li&gt;&#10; &lt;li class=&quot;highlighted&quot;&gt;&#10; &lt;div&gt;&#10; &lt;img src=&quot;/wa-content/img/userpic96.jpg&quot;&gt;&#10; &lt;/div&gt;&#10; &lt;div&gt;&#10; You do not have permissions to view this user profile&#10; &lt;/div&gt;&#10; &lt;/li&gt;&#10; &lt;li class=&quot;selected&quot;&gt;&#10; &lt;div&gt;&#10; &lt;a href=&quot;#&quot;&gt;&lt;img src=&quot;/wa-content/img/userpic96.jpg&quot;&gt;&lt;/a&gt;&#10; &lt;/div&gt;&#10; &lt;div&gt;&#10; &lt;input type=&quot;checkbox&quot; checked /&gt;&#10; &lt;a href=&quot;#&quot;&gt;Partner&lt;/a&gt;&#10; &lt;/div&gt;&#10; &lt;/li&gt;&#10; &lt;/ul&gt;&#10;&lt;/div&gt;" toReformat="true" toShortenFQNames="true">
<context>
<option name="HTML" value="true" />
<option name="PHP" value="true" />
<option name="Twig" value="true" />
<option name="Vue" value="true" />
</context>
</template>
@SergeR
Copy link

SergeR commented Apr 3, 2018

<template name="wa:field" value="&lt;div class=&quot;field&quot;&gt;&#10;    &lt;div class=&quot;name&quot;&gt;&lt;/div&gt;&#10;    &lt;div class=&quot;value&quot;&gt;&lt;/div&gt;&#10;&lt;/div&gt;" description="Field in Standard Webasyst Form" toReformat="true" toShortenFQNames="true">
  <context>
    <option name="HTML" value="true" />
    <option name="JSP" value="false" />
  </context>
</template>
<template name="wa:setting" value="'setting' =&gt; array(&#10;    'title' =&gt; '',&#10;    'description' =&gt; '',&#10;    'control_type' =&gt; '',&#10;    'value' =&gt; ''&#10;)" description="array for webasyst setting definition" toReformat="false" toShortenFQNames="true">
  <context>
    <option name="PHP" value="true" />
  </context>
</template>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment