<?xml version="1.0" encoding="UTF-8"?>
<!-- vim:fdl=1:
-->
<templates id="template" xml:space="preserve">
    <t t-name="website.mobile_preview">
        <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">
                        <iframe id="mobile-viewport" class="oe_mobile_viewport" src="?mobile-preview=true" style="width: 326px"></iframe>
                    </div>
                </div>
            </div>
        </div>
    </t>

    <t t-name="website.error_dialog">
        <div class="modal fade" 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>
                        <div class="h2"><t t-esc="title"/></div>
                    </div>
                    <div class="modal-body" t-if="message or backend_url">
                        <section>
                            <t t-raw="message"/>
                        </section>
                        <section class="mt32" t-if="backend_url">
                            <p>The web site has encountered an error.</p>
                            <p>
                                It might be possible to edit the relevant items
                                or fix the issue in <a t-attf-href="#{backend_url}">
                                the classic Odoo interface</a>.
                            </p>
                        </section>
                    </div>
                    <div class="modal-footer">
                        <button type="button" data-dismiss="modal" class="btn btn-primary">Close</button>
                    </div>
                </div>
            </div>
        </div>
    </t>

    <t t-name="website.prompt">
        <div class="modal" tabindex="-1" role="dialog" aria-hidden="true">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-header" t-if="window_title">
                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                        <h3 class="modal-title"><t t-esc="window_title"/></h3>
                    </div>
                    <div class="modal-body">
                        <form class="form-horizontal" role="form" t-att-id="id">
                        <div class="form-group mb0">
                            <label for="page-name" class="col-sm-3 control-label">
                                <t t-esc="field_name"/>:
                            </label>
                            <div class="col-sm-9">
                                <input t-if="field_type == 'input'" type="text" class="form-control" required="required"/>
                                <textarea t-if="field_type == 'textarea'" class="form-control" required="required" rows="5"></textarea>
                                <select t-if="field_type == 'select'" class="form-control"></select>
                            </div>
                        </div>
                        </form>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-primary">Continue</button>
                        <button type="button" class="btn" data-dismiss="modal" aria-hidden="true">Cancel</button>
                    </div>
                </div>
            </div>
        </div>
    </t>
</templates>
