File size: 15,023 Bytes
2f81283 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 |
blockManager.add('layout-page-0', {
category: categories.pages,
attributes: {
title: 'Insert page'
},
label:
`
<div>
<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px"
width="42" height="57"
viewBox="0 0 172 172"
style=" fill:#000000;"><g fill="none" fill-rule="nonzero" stroke="none" stroke-width="1" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="10" stroke-dasharray="" stroke-dashoffset="0" font-family="none" font-weight="none" font-size="none" text-anchor="none" style="mix-blend-mode: normal"><path d="M0,172v-172h172v172z" fill="none"></path><g fill="#b6c6d8"><path d="M24.08,6.88v158.24h123.84v-114.9175l-0.9675,-1.075l-41.28,-41.28l-1.075,-0.9675zM30.96,13.76h68.8v27.52h-48.16v6.88h48.16v6.88h41.28v103.2h-110.08zM106.64,18.705l29.455,29.455h-29.455zM51.6,75.68v6.88h10.32v-6.88zM75.68,75.68v6.88h44.72v-6.88zM51.6,96.32v6.88h10.32v-6.88zM75.68,96.32v6.88h44.72v-6.88zM51.6,116.96v6.88h10.32v-6.88zM75.68,116.96v6.88h44.72v-6.88z"></path></g></g></svg>
<div class="uk-text-normal uk-text-bold">Home 0</div>
</div>
`,
content:
`
<div class="uk-section uk-section-default uk-padding-small uk-position-relative">
<div class="uk-container uk-margin-small uk-padding-medium uk-container-large">
<div id="ilqj" class="uk-box-shadow-small uk-border-rounded">
<div class="uk-grid uk-margin-remove">
<div id="im06m" class="uk-width-1-3 uk-flex uk-flex-middle uk-padding-medium">
<div class="uk-padding-small uk-text-left uk-width-medium">
<h1 class="uk-heading-small uk-width-1-1 uk-text-bold">Recipe
<br/>Contest
</h1>
<p class="uk-text-small uk-width-1-1">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in
</p>
<div id="i101" class="uk-width-1-1">
<a href="#" id="ihbt" class="uk-display-inline">How they work</a>
<div id="ik43h" class="uk-display-inline">
</div>
</div>
</div>
</div>
<div class="uk-width-expand uk-padding-small uk-height-large">
<div class="uk-height-1-1 uk-placeholder uk-flex uk-flex-middle uk-flex-center">[Remove and insert an image]
</div>
</div>
</div>
</div>
<div id="iwwqm" class="uk-margin-medium-top">
<div class="uk-grid uk-margin-remove">
<ul class="uk-nav uk-nav-default uk-width-1-5 uk-padding-small">
<li class="uk-active">
<a href="#" id="imyez" class="uk-text-bold uk-text-large">Filter By</a>
</li>
<li>
<a href="#" id="ir8xk">Contest Winners</a>
</li>
<li id="ihacp">
<a href="#" id="i59ca">Featured</a>
</li>
<li id="imz84">
<a href="#" id="ik4bt">Test Kitchen-Approved</a>
</li>
</ul>
<div class="uk-width-expand">
<div class="uk-text-center uk-grid">
<div id="itdh" class="uk-width-1-3 uk-padding-small">
<div id="idp1f" class="uk-height-small uk-border-rounded uk-box-shadow-medium uk-margin-small">
</div>
<div id="i8wvs">
<h1 id="ilthm" class="uk-text-left uk-margin-remove uk-text-small uk-text-bold">Kerala Chicken Curry
</h1>
<p class="uk-text-small uk-text-left uk-margin-remove">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in
</p>
</div>
<div id="ihon8" class="uk-width-1-1 uk-clearfix uk-margin-small-remove">
<a href="#" class="uk-margin-remove uk-align-left uk-text-small">By Sarah Elvis</a>
</div>
</div>
<div class="uk-width-1-3 uk-padding-small">
<div id="ibqq7" class="uk-height-small uk-border-rounded uk-box-shadow-medium uk-margin-small">
</div>
<div id="iqy5m">
<h1 class="uk-text-left uk-margin-remove uk-text-small uk-text-bold">Kerala Chicken Curry
</h1>
<p class="uk-text-small uk-text-left uk-margin-remove">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius
</p>
</div>
<div class="uk-width-1-1 uk-clearfix uk-margin-small-remove">
<a href="#" class="uk-margin-remove uk-align-left uk-text-small">By Sarah Elvis</a>
</div>
</div>
<div id="ipjr" class="uk-width-1-3 uk-padding-small">
<div id="i59ih" class="uk-height-small uk-border-rounded uk-box-shadow-medium uk-margin-small">
</div>
<div id="i7bxa">
<h1 class="uk-text-left uk-margin-remove uk-text-small uk-text-bold">Kerala Chicken Curry
</h1>
<p class="uk-text-small uk-text-left uk-margin-remove">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros
</p>
</div>
<div class="uk-width-1-1 uk-clearfix uk-margin-small-remove">
<a href="#" class="uk-margin-remove uk-align-left uk-text-small">By Sarah Elvis</a>
</div>
</div>
</div>
</div>
</div>
</div>
<hr/>
<div class="uk-margin-small-remove">
<div id="isuyk" class="uk-padding-small">
<h1 class="uk-text-bold uk-text-large uk-margin-remove">Featured
</h1>
<p class="uk-margin-remove">Some of our qualified listings.
</p>
</div>
<div class="uk-grid uk-margin-remove">
<div class="uk-width-expand">
<div class="uk-text-center uk-grid">
<div class="uk-padding-small uk-width-1-2">
<div class="uk-height-small uk-border-rounded uk-box-shadow-medium uk-margin-small">
</div>
<div>
<h1 class="uk-text-left uk-margin-remove uk-text-small uk-text-bold">Kerala Chicken Curry
</h1>
<p class="uk-text-small uk-text-left uk-margin-remove">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim inLorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim inLorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in
</p>
</div>
<div class="uk-width-1-1 uk-clearfix uk-margin-small-remove">
<a href="#" class="uk-margin-remove uk-align-left uk-text-small">By Sarah Elvis</a>
</div>
</div>
<div class="uk-padding-small uk-width-1-2">
<div class="uk-height-small uk-border-rounded uk-box-shadow-medium uk-margin-small">
</div>
<div>
<h1 class="uk-text-left uk-margin-remove uk-text-small uk-text-bold">Kerala Chicken Curry
</h1>
<p class="uk-text-small uk-text-left uk-margin-remove">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim inLorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim inLorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros
</p>
</div>
<div class="uk-width-1-1 uk-clearfix uk-margin-small-remove">
<a href="#" class="uk-margin-remove uk-align-left uk-text-small">By Sarah Elvis</a>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="uk-grid uk-margin-remove" id="i49l79">
<div class="uk-padding-large uk-width-1-2">
<div class="uk-flex uk-flex-middle uk-padding-medium uk-width-1-1 uk-flex-center">
<div class="uk-padding-small uk-text-left uk-text-center">
<h1 class="uk-heading-small uk-width-1-1 uk-text-bold">Recipes
</h1>
<p class="uk-text-small uk-width-medium uk-align-center uk-clearfix">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in
</p>
<div class="uk-width-1-1">
<a href="#" class="uk-display-inline">Show More Recipes</a>
<div class="uk-display-inline">
</div>
</div>
</div>
</div>
</div>
<div class="uk-padding-large uk-width-1-2">
<div class="uk-flex uk-flex-middle uk-padding-medium uk-width-1-1 uk-flex-center">
<div class="uk-padding-small uk-text-left uk-text-center">
<h1 class="uk-heading-small uk-width-1-1 uk-text-bold">Books
</h1>
<p class="uk-text-small uk-width-medium uk-align-center uk-clearfix">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in
</p>
<div class="uk-width-1-1">
<a href="#" class="uk-display-inline">Show More Books</a>
<div class="uk-display-inline">
</div>
</div>
</div>
</div>
</div>
</div>
<hr/>
<div class="uk-margin-small-remove">
<div id="iqljz" class="uk-padding-small">
<h1 id="i53ze" class="uk-text-bold uk-text-large uk-margin-remove">Restaurants Near You
</h1>
<p id="iyp9dj" class="uk-margin-remove">Very delicios places around your neighbourhood.
</p>
</div>
<div class="uk-grid uk-margin-remove">
<div class="uk-width-expand">
<div class="uk-text-center uk-grid">
<div class="uk-width-1-3 uk-padding-small">
<div class="uk-height-small uk-border-rounded uk-box-shadow-medium uk-margin-small">
</div>
<div>
<h1 class="uk-text-left uk-margin-remove uk-text-small uk-text-bold">Kerala Chicken Curry
</h1>
<p class="uk-text-small uk-text-left uk-margin-remove">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in
</p>
</div>
<div class="uk-width-1-1 uk-clearfix uk-margin-small-remove">
<a href="#" class="uk-margin-remove uk-align-left uk-text-small">By Sarah Elvis</a>
</div>
</div>
<div class="uk-width-1-3 uk-padding-small">
<div class="uk-height-small uk-border-rounded uk-box-shadow-medium uk-margin-small">
</div>
<div>
<h1 class="uk-text-left uk-margin-remove uk-text-small uk-text-bold">Kerala Chicken Curry
</h1>
<p class="uk-text-small uk-text-left uk-margin-remove">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius
</p>
</div>
<div class="uk-width-1-1 uk-clearfix uk-margin-small-remove">
<a href="#" class="uk-margin-remove uk-align-left uk-text-small">By Sarah Elvis</a>
</div>
</div>
<div class="uk-width-1-3 uk-padding-small">
<div class="uk-height-small uk-border-rounded uk-box-shadow-medium uk-margin-small">
</div>
<div>
<h1 class="uk-text-left uk-margin-remove uk-text-small uk-text-bold">Kerala Chicken Curry
</h1>
<p class="uk-text-small uk-text-left uk-margin-remove">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros
</p>
</div>
<div class="uk-width-1-1 uk-clearfix uk-margin-small-remove">
<a href="#" class="uk-margin-remove uk-align-left uk-text-small">By Sarah Elvis</a>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="uk-container uk-margin-small uk-padding-medium uk-container-large uk-margin-small-remove">
<div id="ilqj-2" class="uk-box-shadow-small uk-border-rounded uk-padding-large">
<div id="im06m-2" class="uk-flex uk-flex-middle uk-padding-medium uk-width-1-1 uk-flex-center">
<div class="uk-padding-small uk-text-left uk-text-center">
<h1 class="uk-heading-small uk-width-1-1 uk-text-bold">Recipe Contest
</h1>
<p class="uk-text-small uk-width-medium uk-align-center uk-clearfix">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in
</p>
<div id="i101-2" class="uk-width-1-1">
<a href="#" id="ihbt-2" class="uk-display-inline">How they work</a>
<div id="ik43h-2" class="uk-display-inline">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
`,
render: ({ model, className }) => `<div class="${className}__my-wrap"> ${model.get('label')} </div>`,
}); |