<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!-- vim:fdl=1:
-->
<templates id="template" xml:space="preserve">

<t t-name="WebClient">
    <div data-role="page" id="oe_login"></div>
    <div id="oe_header" />
    <div id="oe_footer" />
    <div data-role="page" id="oe_sec_menu"></div>
    <div data-role="page" id="oe_sec_menu_new"></div>
    <div data-role="page" id="oe_list"></div>
    <div data-role="page" id="oe_form"></div>
    <div data-role="page" id="oe_shortcuts"></div>
    <div data-role="page" id="oe_menu"></div>
    <div data-role="page" id="oe_options"></div>
</t>

<t t-name="Login">
     <div data-role="header" data-theme="b">
        <h1>OpenERP</h1>
    </div>
    <div data-role="content">
        <fieldset>
            <div data-role="fieldcontain">
                <label for="database" class="select">Database:</label>
                <select id="database" name="database" data-native-menu="false">
                    <t t-if="db_list">
                        <t t-foreach="db_list" t-as="opt">
                            <option t-att-value="opt"><t t-esc="opt"/></option>
                        </t>
                    </t>
                </select>
                <label for="login">Login:</label>
                <input type="text" id="login" name="login" value=""/><br/>
                <label for="password">Password:</label>
                <input type="password" id="password" name="password" value=""/><br/>
                <a id="login_btn" data-theme="c" href="#" data-role="button">Login</a>
                <div class="login_error_message ui-btn-inner ui-btn-corner-all">
                    <span class="ui-btn-text">Bad username or password</span>
                </div>
             </div>
        </fieldset>
    </div>
</t>

<t t-name="Header">
    <div data-role="header" data-theme="b" data-position="fixed">
        <h1></h1>
        <a id="home" class="ui-btn-right" data-iconpos="notext" data-icon="home" href="#" title="Home" data-theme="b"></a>
    </div>
</t>

<t t-name="Footer">
    <div data-role="footer" data-theme="b" data-position="fixed">
        <a id="shrotcuts" href="#" title="Favourite" data-theme="b">Favourite</a>
        <a id="preference" href="#" title="Preference" data-theme="b">Preference</a>
    </div>
</t>

<t t-name="Shortcuts">
    <t t-call="Header" />
    <div id="content" data-role="content">
        <ul data-role="listview" data-inset="true">
            <li data-theme="c" t-foreach="sc" t-as="opt">
                <a href="#" t-att-data-menu="opt.id" t-att-data-name="opt.name" t-att-data-res="opt.res_id">
                    <span><t t-esc="opt.name"/></span>
                </a>
            </li>
       </ul>
   </div>
   <t t-call="Footer" />
</t>
<t t-name="Menu">
    <t t-call="Header" />
    <div id="content" data-role="content">
        <ul data-role="listview" data-inset="true">
            <li data-theme="c" t-foreach="data.children" t-as="menu">
                <a href="#" t-att-data-menu="menu.id" t-att-data-name="menu.name">
                    <span><t t-esc="menu.name"/></span>
                </a>
            </li>
        </ul>
    </div>
    <t t-call="Footer" />
</t>

<t t-name="Menu.secondary"><commit_msg>[IMP] Improved footer to use navbar with icons instead of buttons.<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!-- vim:fdl=1:
-->
<templates id="template" xml:space="preserve">

<t t-name="WebClient">
    <div data-role="page" id="oe_login"></div>
    <div id="oe_header" />
    <div id="oe_footer" />
    <div data-role="page" id="oe_sec_menu"></div>
    <div data-role="page" id="oe_sec_menu_new"></div>
    <div data-role="page" id="oe_list"></div>
    <div data-role="page" id="oe_form"></div>
    <div data-role="page" id="oe_shortcuts"></div>
    <div data-role="page" id="oe_menu"></div>
    <div data-role="page" id="oe_options"></div>
</t>

<t t-name="Login">
     <div data-role="header" data-theme="b">
        <h1>OpenERP</h1>
    </div>
    <div data-role="content">
        <fieldset>
            <div data-role="fieldcontain">
                <label for="database" class="select">Database:</label>
                <select id="database" name="database" data-native-menu="false">
                    <t t-if="db_list">
                        <t t-foreach="db_list" t-as="opt">
                            <option t-att-value="opt"><t t-esc="opt"/></option>
                        </t>
                    </t>
                </select>
                <label for="login">Login:</label>
                <input type="text" id="login" name="login" value=""/><br/>
                <label for="password">Password:</label>
                <input type="password" id="password" name="password" value=""/><br/>
                <a id="login_btn" data-theme="c" href="#" data-role="button">Login</a>
                <div class="login_error_message ui-btn-inner ui-btn-corner-all">
                    <span class="ui-btn-text">Bad username or password</span>
                </div>
             </div>
        </fieldset>
    </div>
</t>

<t t-name="Header">
    <div data-role="header" data-theme="b" data-position="fixed">
        <h1></h1>
        <a id="home" class="ui-btn-right" data-iconpos="notext" data-icon="home" href="#" title="Home" data-theme="b"></a>
    </div>
</t>

<t t-name="Footer">
    <div data-role="footer" data-theme="b" data-position="fixed">
        <div data-role="navbar">
            <ul>
                <li><a id="shrotcuts" href="#" title="Favourite" data-theme="b" data-icon="star" >Favourite</a></li>
                <li><a id="preference" href="#" title="Preference" data-theme="b" data-icon="gear">Preference</a></li>
            </ul>
        </div>
    </div>
</t>

<t t-name="Shortcuts">
    <t t-call="Header" />
    <div id="content" data-role="content">
        <ul data-role="listview" data-inset="true">
            <li data-theme="c" t-foreach="sc" t-as="opt">
                <a href="#" t-att-data-menu="opt.id" t-att-data-name="opt.name" t-att-data-res="opt.res_id">
                    <span><t t-esc="opt.name"/></span>
                </a>
            </li>
       </ul>
   </div>
   <t t-call="Footer" />
</t>
<t t-name="Menu">
    <t t-call="Header" />
    <div id="content" data-role="content">
        <ul data-role="listview" data-inset="true">
            <li data-theme="c" t-foreach="data.children" t-as="menu">
                <a href="#" t-att-data-menu="menu.id" t-att-data-name="menu.name">
                    <span><t t-esc="menu.name"/></span>
                </a>
            </li>
        </ul>
    </div>
    <t t-call="Footer" />
</t>

<t t-name="Menu.secondary">
{'fraction_non_alphanumeric': 0.21722230527732098, 'fraction_numerical': 0.0023919868440723576, 'mean_word_length': 2.1393711872360393, 'pattern_counts': {'":': 0, '<': 225, '<?xml version=': 2, '>': 225, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6807708', 'n_tokens_mistral': 2358, 'n_tokens_neox': 2291, 'n_words': 403}