1 <?xml version="1.0" encoding="utf-8"?>
2 <templates id="template" xml:space="preserve">
4 <t t-name="website.editorbar.menu.promote">
5 <li><a data-action="promote-current-page" href="#"><span title="Promote page on the web">Promote</span></a></li>
8 <t t-name="website.seo_configuration">
9 <div class="modal fade oe_seo_configuration js_seo_configuration" tabindex="-1" role="dialog">
10 <div class="modal-dialog">
11 <div class="modal-content">
12 <div class="modal-header">
13 <button title="Close" type="button" class="close" data-dismiss="modal">×</button>
14 <div class="h2">Promote This Page</div>
15 <div class="text-muted">
16 Get this page efficiently referenced in Google to attract more visitors.
19 <div class="modal-body">
20 <div class="js_seo_tips" />
21 <section class="js_seo_keywords_list">
22 <h3 class="page-header mt16">1. Define Keywords <small>describing your page content</small></h3>
23 <div class="form-horizontal" role="form">
24 <div class="form-group">
25 <label for="seo_page_keywords" class="col-sm-3 control-label">Add keyword:</label>
26 <div class="col-sm-4">
27 <div class="input-group">
28 <input type="text" name="seo_page_keywords" class="form-control" maxlength="30"/>
29 <span class="input-group-btn">
30 <button data-action="add" class="btn btn-default" type="button">Add</button>
36 <span class="text-muted">Most searched topics related to your keywords, ordered by importance:</span>
40 <h3 class="page-header">2. Reference Your Page <small>using above suggested keywords</small></h3>
41 <div class="form-horizontal mt16" role="form">
42 <div class="form-group">
43 <label for="seo_page_title" class="col-sm-2 control-label">Title</label>
44 <div class="col-sm-8">
45 <input type="text" name="seo_page_title" class="form-control" maxlength="70" size="70"/>
48 <div class="form-group">
49 <label for="seo_page_description" class="col-sm-2 control-label">Description</label>
50 <div class="col-sm-8">
51 <textarea name="seo_page_description" class="form-control" rows="3" cols="70" t-att-maxlength="widget.maxDescriptionSize"/>
57 <h3 class="page-header">3. Preview <small>how your page will be listed on Google</small></h3>
58 <div class="js_seo_preview"></div>
61 <section class="js_image_section">
62 <h3 class="page-header">4. Describe your images</h3>
63 <div class="row js_seo_image_list">
68 <div class="modal-footer">
69 <button type="button" data-action="update" class="btn btn-primary">Save</button>
71 <a data-action="discard" data-dismiss="modal" href="#" >Discard</a>
78 <t t-name="website.seo_suggestion_list">
79 <ul class="list-inline mb0">
84 <t t-name="website.seo_list">
90 <t t-name="website.seo_tip">
91 <div t-attf-class="alert alert-#{ widget.type }">
92 <t t-raw="widget.message"/>
96 <t t-name="website.seo_keyword">
97 <dl class="dl-horizontal mt8 mb8">
99 <span t-attf-title="#{ widget.tooltip() }" t-attf-class="oe_seo_keyword #{ widget.highlight() } js_seo_keyword" t-att-data-keyword="widget.keyword">
100 <a href="#" class="oe_remove" data-action="remove-keyword">x</a> <t t-raw="widget.keyword"/>
103 <dd class="js_seo_keyword_suggestion">
104 <!-- filled in JS -->
109 <t t-name="website.seo_suggestion">
110 <li class="oe_seo_suggestion">
111 <span t-attf-title="#{ widget.tooltip() }" t-attf-class="oe_seo_keyword #{ widget.highlight() } js_seo_suggestion" t-att-data-keyword="widget.keyword">
112 <t t-raw="widget.keyword"/>
117 <t t-name="website.seo_image">
118 <div class="col-sm-6 col-md-3 oe_seo_image_preview">
119 <img t-att-src="widget.src" class="img-rounded thumbnail"/>
120 <input type="text" class="form-control" t-att-src="widget.src" t-att-value="widget.alt" placeholder="Description..."/>
124 <t t-name="website.seo_preview">
125 <li class="oe_seo_preview_g">
127 <span class="altcts"></span>
130 <em><t t-esc="widget.title"/></em>
135 <div class="f kv" style="white-space:nowrap">
136 <cite><t t-esc="widget.url"/></cite>
138 <div class="f slp"></div>
139 <span class="st"><t t-esc="widget.description"/></span>