diff options
| author | Paramjit Singh Sahota <psa@tinyerp.com> | 2013-08-30 17:27:23 +0530 |
|---|---|---|
| committer | Paramjit Singh Sahota <psa@tinyerp.com> | 2013-08-30 17:27:23 +0530 |
| commit | 33d1107dd36dce457028e9d405487aaeaab03fea (patch) | |
| tree | 6a8ad54d1cb87832d5239f90f203e889d3c24d47 /addons/website/static/src/xml/website.xml | |
| parent | f6707c2ee8a05d383832e57a72009d88cbf82430 (diff) | |
| parent | 3db7d635c00ea31454ad2d96872318b8cc36ad57 (diff) | |
[MERGE] Merged trunk-website-al and done changes according to that.
bzr revid: psa@tinyerp.com-20130830115723-f35ej71osh2axv97
Diffstat (limited to 'addons/website/static/src/xml/website.xml')
| -rw-r--r-- | addons/website/static/src/xml/website.xml | 113 |
1 files changed, 66 insertions, 47 deletions
diff --git a/addons/website/static/src/xml/website.xml b/addons/website/static/src/xml/website.xml index c1d593ee2c7..431d567ea50 100644 --- a/addons/website/static/src/xml/website.xml +++ b/addons/website/static/src/xml/website.xml @@ -39,60 +39,76 @@ </t> <t t-name="website.mobile_preview"> - <div id="mobile-preview" class="modal hide fade oe_mobile_preview" tabindex="-1" role="dialog" aria-labelledby="mobile-preview-title" aria-hidden="true"> - <div class="modal-header oe_mobile_preview_header"> - <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> - <h3 id="mobile-preview-title" class="oe_mobile_preview_title modal-title">Mobile preview</h3> - </div> - <div class="modal-body"> - <div class="oe_mobile_preview"> - <iframe id="mobile-viewport" class="oe_mobile_viewport" src="?mobile-preview=true"></iframe> + <div class="modal fade oe_mobile_preview" tabindex="-1" role="dialog"> + <div class="modal-dialog"> + <div class="modal-content"> + <div class="modal-header"> + <button title="Close" type="button" class="close" data-dismiss="modal">×</button> + <h3 class="modal-title">Mobile preview</h3> + </div> + <div class="modal-body"> + <div> + <iframe id="mobile-viewport" class="oe_mobile_viewport" src="?mobile-preview=true"></iframe> + </div> + </div> </div> </div> </div> </t> <t t-name="website.seo_configuration"> - <div class="modal fade oe_seo_configuration" tabindex="-1" role="dialog" aria-labelledby="js_seo_page_url" aria-hidden="true"> - <div class="modal-header"> - <button title="Close" type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> - <h2>Promote <small class="js_seo_page_url"></small></h2> - <h4>Get your page efficiently referenced in Google to attract more visitors with relevant content.</h4> - </div> - <div class="modal-body"> - <div class="js_seo_tips" /> - - <h3 class="page-header">1. Define keywords <small>describing your page content</small></h3> - <div class="form-group form-horizontal oe_seo_keywords_area"> - <label class="col-md-2 control-label" for="seo_page_keywords">Keyword</label> - <div class="col-md-3"> - <div class="input-group"> - <input type="text" name="seo_page_keywords" class="form-control" data-provide="typeahead" autocomplete="off" maxlength="20" size="24" placeholder=""/> - <span class="input-group-btn"><button data-action="add" class="btn" type="button">Add</button></span> - </div> - <div class="container oe_seo_keywords_list js_seo_keywords_list"> - - <!-- filled in JS --> - - </div> - </div> - </div><br/><br/> - - <h3 class="page-header">2. Choose a title and description <small>containing keywords relevant to what people are searching on the web</small></h3> - <div class="form-group form-horizontal"> - <label class="col-md-2 control-label" for="seo_page_title">Title</label> - <div class="col-md-3"> - <input type="text" class="form-control" name="seo_page_title" maxlength="70" size="70"/> + <div class="modal fade oe_seo_configuration" tabindex="-1" role="dialog"> + <div class="modal-dialog"> + <div class="modal-content"> + <div class="modal-header"> + <button title="Close" type="button" class="close" data-dismiss="modal">×</button> + <h2 class="modal-title">Promote <small class="js_seo_page_url"></small></h2> + <h4>Get your page efficiently referenced in Google to attract more visitors.</h4> </div> - </div><br/><br/><br/> - <div class="form-group form-horizontal"> - <label class="col-md-2 control-label" for="seo_page_description">Description</label> - <div class="col-md-3"> - <textarea name="seo_page_description" class="form-control" rows="3" cols="70" size="160"/> + <div class="modal-body"> + <div class="js_seo_tips" /> + <section> + <h3 class="page-header">1. Define keywords <small>describing your page content</small></h3> + <div class="form-horizontal" role="form"> + <div class="form-group"> + <label for="seo_page_keywords" class="col-lg-2 control-label">Keyword</label> + <div class="col-lg-8"> + <div class="input-group"> + <input type="text" name="seo_page_keywords" class="form-control" maxlength="20" size="24"/> + <span class="input-group-btn"> + <button data-action="add" class="btn btn-default" type="button">Add</button> + </span> + </div> + </div> + </div> + </div> + <div class="container oe_seo_keywords_list js_seo_keywords_list"> + <!-- filled in JS --> + </div> + </section> + <section> + <h3 class="page-header">2. Choose a title and description <small>containing keywords relevant to what people are searching on the web</small></h3> + <div class="form-horizontal" role="form"> + <div class="form-group"> + <label for="seo_page_title" class="col-lg-2 control-label">Title</label> + <div class="col-lg-8"> + <input type="text" name="seo_page_title" class="form-control" maxlength="70" size="70"/> + </div> + </div> + <div class="form-group"> + <label for="seo_page_description" class="col-lg-2 control-label">Description</label> + <div class="col-lg-8"> + <textarea name="seo_page_description" class="form-control" rows="3" cols="70" size="160"/> + </div> + </div> + </div> + </section> + <hr/> + <section> + <button type="button" data-action="update" class="btn btn-primary">Apply changes</button> or <a data-action="discard" data-dismiss="modal" href="#">Discard</a> + </section> </div> - </div><br/><br/><br/> - <hr/> - <a data-action="update" href="#" class="btn btn-primary">Update page</a> + </div> </div> </div> </t> @@ -105,7 +121,10 @@ </t> <t t-name="website.seo_keyword"> - <div class="oe_seo_keyword"><a href="#" class="oe_remove" data-action="remove-keyword"><i class="icon-trash"/></a> <span class="label js_seo_keyword"><t t-raw="widget.keyword"/></span></div> + <div class="oe_seo_keyword"> + <a href="#" class="oe_remove" data-action="remove-keyword"><i class="icon-trash"/></a> + <span class="label label-default js_seo_keyword"><t t-raw="widget.keyword"/></span> + </div> </t> <t t-name="website.carousel"> |
