[FIX] website: snippets
[odoo/odoo.git] / addons / website / static / src / xml / website.snippets.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <templates id="template" xml:space="preserve">
3
4     <!--
5         Snippets to remove:
6           - top-bottom handlers must be on all snippets
7           - left-right handlers must be on all children of row
8     -->
9
10     <div t-name="website.snippets.resize" data-snippet-id='resize'>
11         <!-- custom data for the widget -->
12         <div class='oe_handles'>
13             <div class='oe_handle n'></div>
14             <div class='oe_handle e'></div>
15             <div class='oe_handle w'></div>
16             <div class='oe_handle s'></div>
17         </div>
18         <div class='oe_snippet_thumbnail oe_label'>Margin resize</div>
19     </div>
20
21     <div t-name="website.snippets.colmd" data-snippet-id='colmd' data-action='insert' data-selector-vertical-childs='.row'>
22         <div class='oe_snippet_thumbnail oe_label'>Column</div>
23     </div>
24
25     <!-- Structure Snippets -->
26
27     <div t-name="website.snippets.carousel" data-snippet-id='carousel' data-category='structure' data-action='insert' data-selector-childs='.oe_structure, [data-oe-type=html]'>
28         
29         <!-- editor bar to display inside the top edit bar -->
30         <li class='oe_snippet_options'>
31             <a href="#" class="button js_add">Add Slide</a>
32         </li>
33         <li class='oe_snippet_options'>
34             <a href="#" class="button js_remove">Remove Slide</a>
35         </li>
36         <li class='oe_snippet_options'>
37             <a class="carousel-background">
38                 Background
39                 <select class="form-control" name="carousel-background">
40                     <option value="/website/static/src/img/banner/aqua.jpg">Aqua</option>
41                     <option value="/website/static/src/img/banner/baby_blue.jpg">Baby Blue</option>
42                     <option value="/website/static/src/img/banner/black.jpg">Black</option>
43                     <option value="/website/static/src/img/banner/business_guy.jpg">Business Guy</option>
44                     <option value="/website/static/src/img/banner/color_splash.jpg">Color Splash</option>
45                     <option value="/website/static/src/img/banner/flower_field.jpg">Flowers Field</option>
46                     <option value="/website/static/src/img/banner/greenfields.jpg">Greenfields</option>
47                     <option value="/website/static/src/img/banner/landscape.jpg">Landscape</option>
48                     <option value="/website/static/src/img/banner/mango.jpg">Mango</option>
49                     <option value="/website/static/src/img/banner/mountains.jpg">Mountains</option>
50                     <option value="/website/static/src/img/banner/orange_red.jpg">Orange Red</option>
51                     <option value="/website/static/src/img/banner/flower.jpg">Purple</option>
52                     <option value="/website/static/src/img/banner/velour.jpg">Velour</option>
53                     <option value="/website/static/src/img/banner/wood.jpg">Wood</option>
54                     <option value="/website/static/src/img/banner/yellow_green.jpg">Yellow Green</option>
55                 </select>
56                 <input class="form-control input-sm" type="text" placeholder="http://...."/>
57             </a>
58         </li>
59         <li class='oe_snippet_options'>
60             <a class="carousel-style">
61                 Style
62                 <select class="form-control" name="carousel-style">
63                     <option value="text_only">Text Only</option>
64                     <option value="image_text">Image - Text</option>
65                     <option value="text_image">Text - Image</option>
66                 </select>
67             </a>
68         </li>
69
70         <!-- thumbnail to display inside the bottom widget list editor -->
71         <div class='oe_snippet_thumbnail oe_label'>Banner</div>
72
73         <!-- body to insert after drag and drop thumbnail -->
74         <div id="myCarousel" class="oe_snippet_body carousel slide" data-interval="10000">
75             <!-- Carousel items -->
76             <div class="carousel-inner" style="height: 280px">
77                 <div class="item image_text active" style="background-image: url(/website/static/src/img/banner/color_splash.jpg); background-size: cover;">
78                     <div class="container">
79                         <div class="carousel-caption content">
80                             <h1>Set Your Banner Title</h1>
81                             <h3>Customize with the top-left menu</h3>
82                             <p>
83                                 <a href="/page/website.contactus" class="btn btn-success btn-large">Contact us</a>
84                             </p>
85                         </div>
86                         <div class="carousel-image">
87                             <img src="/website/static/src/img/banner/banner_picture.png" alt="Banner OpenERP Image"/>
88                         </div>
89                     </div>
90                 </div>
91             </div>
92             <!-- Carousel nav -->
93             <a class="carousel-control left" href="#myCarousel" data-slide="prev" style="width: 10%"></a>
94             <a class="carousel-control right" href="#myCarousel" data-slide="next" style="width: 10%"></a>
95         </div>
96     </div>
97
98     <div t-name="website.snippets.darken" data-snippet-id='darken' data-category='style' data-action='mutate' data-selector='section, .container'>
99         <div class='oe_snippet_thumbnail oe_label'>Darken</div>
100     </div>
101
102     <div t-name="website.snippets.well" data-snippet-id='well' data-category='content' data-action='insert' data-selector-siblings='div p h1 h2 h3 blockquote'>
103         <div class='oe_snippet_thumbnail oe_label'>Well</div>
104         <div class="oe_snippet_body well">
105             Manage your sales funnel with no effort with OpenERP CRM. Attract
106             leads, follow-up on phone calls and meetings. Analyse the quality
107             of your leads to make informed decisions.
108         </div>
109     </div>
110
111     <div t-name="website.snippets.quote" data-snippet-id='quote' data-category='content' data-action='insert' data-selector-siblings='div p h1 h2 h3 blockquote'>
112         <div class='oe_snippet_thumbnail oe_label'>Quote</div>
113         <blockquote class="oe_snippet_body">
114             <p>
115                 OpenERP provides essential platform for our project management.
116                 Things are better organized and more visible with it.
117             </p>
118             <small>John Doe, CEO</small>
119         </blockquote>
120     </div>
121
122     <div t-name="website.snippets.panel" data-snippet-id='panel' data-category='content' data-action='insert' data-selector-siblings='div p h1 h2 h3 blockquote'>
123         <div class='oe_snippet_thumbnail oe_label'>Panel</div>
124         <div class="oe_snippet_body panel panel-default">
125             <div class="panel-heading">
126                 <h3 class="panel-title">OpenERP Features</h3>
127             </div>
128             <div class="panel-body">
129                 OpenERP's collaborative and realtime project management helps
130                 your team get work done. Keep track of everything, from the big
131                 picture to the minute details, from the customer contract to
132                 the billing.
133             </div>
134         </div>
135     </div>
136
137     <div t-name="website.snippets.surprise" data-snippet-id='vomify' data-category='content' data-action='mutate' data-selector='.container'>
138         <div class="oe_snippet_body" style="display: none;"></div>
139         <div class='oe_snippet_thumbnail oe_label' style='background-image:radial-gradient(red,orange,yellow,green,blue);'>Surprise!</div>
140     </div>
141
142     <div t-name="website.snippets.title" data-snippet-id='title' data-category='structure' data-action='insert' data-selector-childs='.oe_structure, [data-oe-type=html]'>
143         <div class='oe_snippet_thumbnail oe_label'>Title</div>
144         <section class="oe_snippet_body container">
145             <div class="row">
146                 <div class="col-md-12 text-center">
147                     <h1>Your Great Title</h1>
148                     <h2 class="text-muted">a slogan reinforcing the title</h2>
149                 </div>
150             </div>
151         </section>
152     </div>
153
154     <div t-name="website.snippets.text-image" data-snippet-id='text-image' data-category='structure' data-action='insert' data-selector-childs='.oe_structure, [data-oe-type=html]'>
155         <div class='oe_snippet_thumbnail oe_label'>Text-Image</div>
156         <section class="oe_snippet_body dark">
157             <div class="container">
158                 <div class="row">
159                     <div class="col-md-6">
160                         <h3 class="mt48">Enterprise Social Network</h3>
161                         <p>
162                             Make every employee feel more connected and engaged
163                             with twitter-like features for your own company. Follow
164                             people, share best practices, 'like' top ideas, etc.
165                         </p><p>
166                             Connect with experts, follow what interests you, share
167                             documents and promote best practices with OpenERP
168                             Social application. Get work done with effective
169                             collaboration across departments, geographies
170                             and business applications.
171                         </p>
172                     </div>
173                     <div class="col-md-6">
174                         <img class="img-responsive shadow mt32 mb32" src="/website/static/src/img/text_image.png"/>
175                     </div>
176                 </div>
177             </div>
178         </section>
179     </div>
180
181     <div t-name="website.snippets.image-text" data-snippet-id='image-text' data-category='structure' data-action='insert' data-selector-childs='.oe_structure, [data-oe-type=html]'>
182         <div class='oe_snippet_thumbnail oe_label'>Image-Text</div>
183         <section class="oe_snippet_body">
184             <div class="container">
185                 <div class="row">
186                     <div class="col-md-6">
187                         <img class="img-responsive shadow mt32 mb32" src="/website/static/src/img/image_text.jpg"/>
188                     </div>
189                     <div class="col-md-6">
190                         <h3 class="mt48">Manage Your Shops</h3>
191                         <p>
192                             OpenERP's Point of Sale introduces a super clean
193                             interface with no installation required that runs
194                             online and offline on modern hardwares.
195                         </p><p>
196                             It's full integration with the company inventory
197                             and accounting, gives you real time statistics and
198                             consolidations amongst all shops without the hassle
199                             of integrating several applications.
200                         </p>
201                     </div>
202                 </div>
203             </div>
204         </section>
205     </div>
206
207     <div t-name="website.snippets.jumbotron" data-snippet-id='jumbotron' data-category='structure' data-action='insert' data-selector-childs='.oe_structure, [data-oe-type=html]'>
208         <div class='oe_snippet_thumbnail oe_label'>Jumbotron</div>
209         <section class="oe_snippet_body jumbotron mt16 mb16">
210             <div class="container">
211                 <h1>Sell Online. Easily.</h1>
212                 <p>
213                     Get your online shop ready in a few clicks with OpenERP Commerce.
214                 </p>
215                 <p>
216                     <a class="btn btn-primary btn-lg" href="/website.contactus">
217                         Contact us
218                     </a>
219                 </p>
220             </div>
221         </section>
222     </div>
223
224     <div t-name="website.snippets.text-block" data-snippet-id='text-block' data-category='structure' data-action='insert' data-selector-childs='.oe_structure, [data-oe-type=html]'>
225         <div class='oe_snippet_thumbnail oe_label'>Text Block</div>
226         <section class="oe_snippet_body mt16 mb16">
227             <div class="container">
228                 <div class="row">
229                     <div class="col-md-12 text-center mt16 mb32">
230                         <h2>OpenERP Project Management</h2>
231                         <h3 class="text-muted">Infinitely flexible. Incredibly easy to use.</h3>
232                     </div>
233                     <div class="col-md-12 mb16 mt16">
234                         <p>
235                             OpenERP's <b>collaborative and realtime</b> project
236                             management helps your team get work done. Keep
237                             track of everything, from the big picture to the
238                             minute details, from the customer contract to the
239                             billing.
240                         </p><p>
241                             Organize projects around your own processes. Work
242                             on tasks and issues using the kanban view, schedule
243                             tasks using the gantt chart and control deadlines
244                             in the calendar view. Every project may have it's
245                             own stages allowing teams to optimize their job.
246                         </p>
247                     </div>
248                 </div>
249             </div>
250         </section>
251     </div>
252
253     <div t-name="website.snippets.big-picture" data-snippet-id='big-picture' data-category='structure' data-action='insert' data-selector-childs='.oe_structure, [data-oe-type=html]'>
254         <div class='oe_snippet_thumbnail oe_label'>Big Picture</div>
255         <section class="oe_snippet_body dark mt16 mb16">
256             <div class="container">
257                 <div class="row">
258                     <div class="col-md-12 text-center mt32 mb16">
259                         <h2>Work with the hardware you already have...</h2>
260                     </div>
261                     <div class="col-md-12">
262                         <img class="img-responsive" src="/website/static/src/img/big_picture.png" style="margin: 0 auto;"/>
263                     </div>
264                     <div class="col-md-6 col-md-offset-3 mb16 mt16">
265                         <p class="text-center">
266                             <b>No installation required</b>
267                         </p>
268                         <p class="text-center">
269                             OpenERP's Point of Sale introduces a super clean
270                             interface with no installation required that runs
271                             online and offline on modern hardware. Laptops,
272                             tablets, industrial POS, it runs on everything.
273                         </p>
274                         <p class="text-center">
275                             <a href="/page/website.contactus">Get more information Â»</a>
276                         </p>
277                     </div>
278                 </div>
279             </div>
280         </section>
281     </div>
282
283
284     <div t-name="website.snippets.three-columns" data-snippet-id='three-columns' data-category='structure' data-action='insert' data-selector-childs='.oe_structure, [data-oe-type=html]'>
285         <div class='oe_snippet_thumbnail oe_label'>Three Columns</div>
286         <section class="oe_snippet_body mt16 mb16">
287             <div class="container">
288                 <div class="row">
289                     <div class="col-md-12 text-center mt16 mb16">
290                         <h2>OpenERP HR Features</h2>
291                         <h3 class="text-muted">Manage your company most important asset: People</h3>
292                     </div>
293                 </div>
294                 <div class="row">
295                     <div class="col-md-4">
296                         <img class="img-rounded img-responsive" src="/website/static/src/img/china_thumb.jpg"/>
297                         <h4 class="mt16">Streamline Recruitments</h4>
298                         <p>
299                             Post job offers and keep track of each application
300                             received. Follow applicants in your recruitment process
301                             with the smart kanban view.
302                         </p><p>
303                             Save time by automating some communications with email
304                             templates. Resumes are indexed automatically, allowing
305                             you to easily find for specific profiles.
306                         </p>
307                     </div>
308                     <div class="col-md-4">
309                         <img class="img-rounded img-responsive" src="/website/static/src/img/desert_thumb.jpg"/>
310                         <h4 class="mt16">Enterprise Social Network</h4>
311                         <p>
312                             Break down information silos. Share knowledge and best
313                             practices amongst all employees. Follow specific people
314                             or documents and join groups of interests to share
315                             expertise and documents.
316                         </p><p>
317                             Interact with your collegues in real time with live chat.
318                         </p>
319                     </div>
320                     <div class="col-md-4">
321                         <img class="img-rounded img-responsive" src="/website/static/src/img/deers_thumb.jpg"/>
322                         <h4 class="mt16">Leaves Management</h4>
323                         <p>
324                             Keep track of the vacation days accrued by each
325                             employee. Employees enter their requests (paid
326                             holidays, sick leave, etc), for managers to approve and
327                             validate. It's all done in just a few clicks. The
328                             agenda of each employee is updated accordingly.
329                         </p>
330                     </div>
331                 </div>
332             </div>
333         </section>
334     </div>
335
336     <div t-name="website.snippets.image-gallery" data-snippet-id='image-gallery' data-category='structure' data-action='insert' data-selector-childs='.oe_structure, [data-oe-type=html]'>
337         <div class='oe_snippet_thumbnail oe_label'>Image Gallery</div>
338         <section class="oe_snippet_body">
339             <div class="container">
340                 <div class="row">
341                     <div class="col-md-12 text-center mt16 mb32">
342                         <h2>Our Customer References</h2>
343                         <h4 class="text-muted">More than 500 successful projects</h4>
344                     </div>
345                     <div class="col-md-6">
346                         <img class="img-thumbnail img-responsive mb16" src="/website/static/src/img/desert.jpg"/>
347                     </div>
348                     <div class="col-md-3">
349                         <img class="img-thumbnail img-responsive mb16" src="/website/static/src/img/china_thumb.jpg"/>
350                     </div>
351                     <div class="col-md-3">
352                         <img class="img-thumbnail img-responsive mb16" src="/website/static/src/img/deers_thumb.jpg"/>
353                     </div>
354                     <div class="col-md-3">
355                         <img class="img-thumbnail img-responsive mb16" src="/website/static/src/img/desert_thumb.jpg"/>
356                     </div>
357                     <div class="col-md-3">
358                         <img class="img-thumbnail img-responsive mb16" src="/website/static/src/img/china_thumb.jpg"/>
359                     </div>
360                     <div class="col-md-3">
361                         <img class="img-thumbnail img-responsive mb16" src="/website/static/src/img/deers_thumb.jpg"/>
362                     </div>
363                     <div class="col-md-6">
364                         <img class="img-thumbnail img-responsive mb16" src="/website/static/src/img/landscape.jpg"/>
365                     </div>
366                     <div class="col-md-3">
367                         <img class="img-thumbnail img-responsive mb16" src="/website/static/src/img/china_thumb.jpg"/>
368                     </div>
369                 </div>
370             </div>
371         </section>
372     </div>
373
374     <div t-name="website.snippets.pricing" data-snippet-id='pricing' data-category='business' data-action='insert' data-selector-childs='.oe_structure, [data-oe-type=html]'>
375         <div class='oe_snippet_thumbnail oe_label'>Comparisons</div>
376         <section class="oe_snippet_body">
377             <div class="container">
378               <div class="row">
379                 <div class="col-md-12 text-center mt16 mb32">
380                     <h2>Our Offers</h2>
381                 </div>
382
383                 <div class="col-md-4">
384                     <div class="panel panel-info">
385                       <!-- Default panel contents -->
386                       <div class="panel-heading text-center">
387                           <h2 style="margin: 0">Beginner</h2>
388                           <p style="margin: 0" class="text-muted">
389                               Starter package
390                           </p>
391                       </div>
392                       <div class="panel-body text-center text-muted" style="background-color: rgba(0,0,0,0.1)">
393                         <h2 style="margin: 0"><span>$</span><b style="font-size: 60px">450</b><small>.00</small></h2>
394                         <div>per month</div>
395                       </div>
396
397                       <!-- List group -->
398                       <ul class="list-group">
399                         <li class="list-group-item">Battery: 8 hours</li>
400                         <li class="list-group-item">Screen: 2.5 inch</li>
401                         <li class="list-group-item">Weight: 1.1 ounces</li>
402                         <li class="list-group-item">No support</li>
403                       </ul>
404                       <div class="panel-footer text-center">
405                           <p class="text-muted">
406                               <i>Free shipping, satisfied or reimbursed.</i>
407                           </p>
408                           <a href="/page/website.contactus" class="btn btn-primary btn-lg">Order now</a>
409                       </div>
410                     </div>
411                 </div>
412                 <div class="col-md-4">
413                     <div class="panel panel-primary">
414                       <!-- Default panel contents -->
415                       <div class="panel-heading text-center">
416                           <h2 style="margin: 0">Professional</h2>
417                           <p style="margin: 0">
418                               Enterprise package
419                           </p>
420                       </div>
421                       <div class="panel-body text-center text-muted" style="background-color: rgba(0,0,0,0.1)">
422                         <h2 style="margin: 0"><span>$</span><b style="font-size: 60px">590</b><small>.00</small></h2>
423                         <div>per month</div>
424                       </div>
425
426                       <!-- List group -->
427                       <ul class="list-group">
428                         <li class="list-group-item">Battery: 12 hours</li>
429                         <li class="list-group-item">Screen: 2.8 inch</li>
430                         <li class="list-group-item">Weight: 1.2 ounces</li>
431                         <li class="list-group-item">Limited support</li>
432                       </ul>
433                       <div class="panel-footer text-center">
434                           <p class="text-muted">
435                               <i>Free shipping, satisfied or reimbursed.</i>
436                           </p>
437                           <a href="/page/website.contactus" class="btn btn-primary btn-lg">Order now</a>
438                       </div>
439                     </div>
440                 </div>
441                 <div class="col-md-4">
442                     <div class="panel panel-info">
443                       <!-- Default panel contents -->
444                       <div class="panel-heading text-center">
445                           <h2 style="margin: 0">Expert</h2>
446                           <p style="margin: 0" class="text-muted">
447                               The top of the top
448                           </p>
449                       </div>
450                       <div class="panel-body text-center text-muted" style="background-color: rgba(0,0,0,0.1)">
451                         <h2 style="margin: 0"><span>$</span><b style="font-size: 60px">890</b><small>.00</small></h2>
452                         <div>per month</div>
453                       </div>
454
455                       <!-- List group -->
456                       <ul class="list-group">
457                         <li class="list-group-item">Battery: 20 hours</li>
458                         <li class="list-group-item">Screen: 2.8 inch</li>
459                         <li class="list-group-item">Weight: 1.2 ounces</li>
460                         <li class="list-group-item">Unlimited support</li>
461                       </ul>
462                       <div class="panel-footer text-center">
463                           <p class="text-muted">
464                               <i>Free shipping, satisfied or reimbursed.</i>
465                           </p>
466                           <a href="/page/website.contactus" class="btn btn-primary btn-lg">Contact us</a>
467                       </div>
468                     </div>
469
470                 </div>
471               </div>
472             </div>
473         </section>
474     </div>
475
476     <div t-name="website.snippets.cta" data-snippet-id='cta' data-category='business' data-action='insert' data-selector-childs='.oe_structure, [data-oe-type=html]'>
477         <div class='oe_snippet_thumbnail oe_label'>Call-to-actions</div>
478         <section class="oe_snippet_body dark">
479             <div class="container">
480               <div class="row">
481                 <div class="col-md-12 text-center mt16 mb16">
482                     <a href="/shop" class="btn btn-info btn-lg">View Products</a>
483                     <a href="/page/website.contactus" class="btn btn-primary btn-lg">Contact us</a>
484                 </div>
485               </div>
486             </div>
487         </section>
488     </div>
489
490
491 </templates>