<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!-- vim:fdl=1:
-->
<templates id="template" xml:space="preserve">
<t t-name="EmptyComponent">
    <div></div>
</t>
<t t-name="Loading">
    <div class="oe_loading">
        Loading...
    </div>
</t>
<t t-name="Notification">
    <div class="oe_notification" t-translation="off">
        <div id="oe_notification_default">
            <a class="ui-notify-cross ui-notify-close" href="#">x</a>
            <h1>#{title}</h1>
            <p>#{text}</p>
        </div>
        <div id="oe_notification_alert" class="ui-state-error">
            <a class="ui-notify-cross ui-notify-close" href="#">x</a>
            <span style="float:left; margin:2px 5px 0 0;" class="ui-icon ui-icon-alert"></span>
            <h1>#{title}</h1>
            <p>#{text}</p>
        </div>
    </div>
</t>
<t t-name="Tipsy.alert">
    <a class="oe_tooltip_close oe_e">[</a>
    <span style="float:left; margin:2px 5px 0 0;" class="ui-icon ui-icon-alert ui-state-error"></span>
    <div class="oe_tooltip_message">
        <t t-esc="message"/>
    </div>
</t>

<t t-name="CrashManager.warning">
    <table cellspacing="0" cellpadding="0" border="0" class="oe_dialog_warning">
    <tr>
        <td><img t-att-src='_s + "/web/static/src/img/warning.png"' class="oe_dialog_icon"/></td>
        <td>
            <p>
                <t t-js="d">
                    var message = d.message ? d.message : d.error.data.fault_code;
                    d.html_error = context.engine.tools.html_escape(message)
                        .replace(/\n/g, '<br/>');
                </t>
                <t t-raw="html_error"/>
            </p>
        </td>
    </tr>
    </table>
</t>
<t t-name="CrashManager.error">
    <div class="oe_error_detail">
        <pre><t t-esc="error.message"/></pre>
        <hr/>
        <pre><t t-esc="error.data.debug"/></pre>
    </div>
</t>

<t t-name="Login">
    <div class="oe_login">
        <div class="oe_login_bottom"> </div>
        <div class="oe_login_error_message">Invalid username or password</div>
        <div class="oe_login_pane">
            <div class="oe_login_logo"><img src='/web/static/src/img/logo2.png'/></div>
            <form action="" method="post">
                <div class="oe_login_dbpane" >
                    Database:
                    <input name="db" t-att-value="widget.selected_db || ''"/>
                </div>
                <ul>
                    <li>Username</li>
                    <li><input type="text" name="login" t-att-value="widget.selected_login || ''" autofocus="autofocus"/></li>
                    <li>Password</li>
                    <li><input type="password" name="password" t-att-value="widget.selected_password || ''"/></li>
                    <li><button name="submit">Log in</button></li>
                </ul>
            </form>
            <div class="oe_login_footer">
                <a href="#" class="oe_login_manage_db">Manage Databases</a> |
                <a href="http://www.openerp.com">Powered by <span>OpenERP</span></a>
            </div>
        </div>
    </div>
</t>
<t t-name="Login.dblist">
    <select name="db">
        <t t-foreach="db_list" t-as="db">
            <t t-if="selected_db === db">
                <option t-att-value="db" selected="true">
                    <t t-esc="db"/></option>
            </t>
            <t t-if="selected_db !== db">
                <option t-att-value="db"><t t-esc="db"/></option>
            </t>
        </t>
    </select>
</t>


<t t-name="DatabaseManager">
    <div class="oe_view_manager_view_form">
        <div class="oe_form">
            <form id="db_create" name="create_db_form" style="display: block;">
                <div class="oe_view_manager oe_view_manager_current">
                    <div class="oe_view_manager_header" style="padding: 8px;">
                        <div class="oe_header_row">
                            <h2 class="oe_view_title">
                                <span class="oe_view_title_text oe_breadcrumb_title">Create Database</span>
                            </h2>
                            <button type="submit" class="oe_button oe_highlight db_create">Create</button>
                        </div>
                    </div>
                </div>
                <table align="center" class="db_option_table">
                    <tr>
                        <td><label for="super_admin_pwd">Master password:</label></td>
                        <td><input type="password" name="<PASSWORD>admin_pwd" class="required" value="<PASSWORD>" /></td>
                    </tr>
                    <tr>
                        <td><label for="db_name">New database name:</label></td>
                        <td><input type="text" name="db_name" class="required" matches="^[a-zA-Z][a-zA-Z0-9_]+$" autofocus="true"/></td>
                    </tr>
                    <tr>
                        <td><label for="demo_data">Load Demonstration data:</label></td>
                        <td class="oe_form_group_cell">
                            <span class="oe_form_field oe_form_field_boolean">
                                <input type="checkbox" name="demo_data" />
                            </span>
                        </td>
                    </tr>
                    <tr>
                        <td><label for="db_lang">Default language:</label></td>
                        <td class="oe_form_field oe_form_field_selection ">
                            <select name="db_lang" t-if="widget.lang_list">
                                <t t-foreach="widget.lang_list" t-as="lang">
                                    <option t-att-value="lang[0]" t-att-selected="lang[0] === 'en_US' ? 'selected' : undefined">
                                        <t t-esc="lang[1]" />
                                    </option>
                                </t>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td><label for="create_admin_pwd">Admin password:</label></td>
                        <td><input type="password" name="create_admin_pwd" class="required" /></td>
                    </tr>
                    <tr><commit_msg>[IMP] allow hyphens in dbnames<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!-- vim:fdl=1:
-->
<templates id="template" xml:space="preserve">
<t t-name="EmptyComponent">
    <div></div>
</t>
<t t-name="Loading">
    <div class="oe_loading">
        Loading...
    </div>
</t>
<t t-name="Notification">
    <div class="oe_notification" t-translation="off">
        <div id="oe_notification_default">
            <a class="ui-notify-cross ui-notify-close" href="#">x</a>
            <h1>#{title}</h1>
            <p>#{text}</p>
        </div>
        <div id="oe_notification_alert" class="ui-state-error">
            <a class="ui-notify-cross ui-notify-close" href="#">x</a>
            <span style="float:left; margin:2px 5px 0 0;" class="ui-icon ui-icon-alert"></span>
            <h1>#{title}</h1>
            <p>#{text}</p>
        </div>
    </div>
</t>
<t t-name="Tipsy.alert">
    <a class="oe_tooltip_close oe_e">[</a>
    <span style="float:left; margin:2px 5px 0 0;" class="ui-icon ui-icon-alert ui-state-error"></span>
    <div class="oe_tooltip_message">
        <t t-esc="message"/>
    </div>
</t>

<t t-name="CrashManager.warning">
    <table cellspacing="0" cellpadding="0" border="0" class="oe_dialog_warning">
    <tr>
        <td><img t-att-src='_s + "/web/static/src/img/warning.png"' class="oe_dialog_icon"/></td>
        <td>
            <p>
                <t t-js="d">
                    var message = d.message ? d.message : d.error.data.fault_code;
                    d.html_error = context.engine.tools.html_escape(message)
                        .replace(/\n/g, '<br/>');
                </t>
                <t t-raw="html_error"/>
            </p>
        </td>
    </tr>
    </table>
</t>
<t t-name="CrashManager.error">
    <div class="oe_error_detail">
        <pre><t t-esc="error.message"/></pre>
        <hr/>
        <pre><t t-esc="error.data.debug"/></pre>
    </div>
</t>

<t t-name="Login">
    <div class="oe_login">
        <div class="oe_login_bottom"> </div>
        <div class="oe_login_error_message">Invalid username or password</div>
        <div class="oe_login_pane">
            <div class="oe_login_logo"><img src='/web/static/src/img/logo2.png'/></div>
            <form action="" method="post">
                <div class="oe_login_dbpane" >
                    Database:
                    <input name="db" t-att-value="widget.selected_db || ''"/>
                </div>
                <ul>
                    <li>Username</li>
                    <li><input type="text" name="login" t-att-value="widget.selected_login || ''" autofocus="autofocus"/></li>
                    <li>Password</li>
                    <li><input type="password" name="password" t-att-value="widget.selected_password || ''"/></li>
                    <li><button name="submit">Log in</button></li>
                </ul>
            </form>
            <div class="oe_login_footer">
                <a href="#" class="oe_login_manage_db">Manage Databases</a> |
                <a href="http://www.openerp.com">Powered by <span>OpenERP</span></a>
            </div>
        </div>
    </div>
</t>
<t t-name="Login.dblist">
    <select name="db">
        <t t-foreach="db_list" t-as="db">
            <t t-if="selected_db === db">
                <option t-att-value="db" selected="true">
                    <t t-esc="db"/></option>
            </t>
            <t t-if="selected_db !== db">
                <option t-att-value="db"><t t-esc="db"/></option>
            </t>
        </t>
    </select>
</t>


<t t-name="DatabaseManager">
    <div class="oe_view_manager_view_form">
        <div class="oe_form">
            <form id="db_create" name="create_db_form" style="display: block;">
                <div class="oe_view_manager oe_view_manager_current">
                    <div class="oe_view_manager_header" style="padding: 8px;">
                        <div class="oe_header_row">
                            <h2 class="oe_view_title">
                                <span class="oe_view_title_text oe_breadcrumb_title">Create Database</span>
                            </h2>
                            <button type="submit" class="oe_button oe_highlight db_create">Create</button>
                        </div>
                    </div>
                </div>
                <table align="center" class="db_option_table">
                    <tr>
                        <td><label for="super_admin_pwd">Master password:</label></td>
                        <td><input type="password" name="super_admin_pwd" class="required" value="<PASSWORD>" /></td>
                    </tr>
                    <tr>
                        <td><label for="db_name">New database name:</label></td>
                        <td><input type="text" name="db_name" class="required" matches="^[a-zA-Z][a-zA-Z0-9_-]+$" autofocus="true"/></td>
                    </tr>
                    <tr>
                        <td><label for="demo_data">Load Demonstration data:</label></td>
                        <td class="oe_form_group_cell">
                            <span class="oe_form_field oe_form_field_boolean">
                                <input type="checkbox" name="demo_data" />
                            </span>
                        </td>
                    </tr>
                    <tr>
                        <td><label for="db_lang">Default language:</label></td>
                        <td class="oe_form_field oe_form_field_selection ">
                            <select name="db_lang" t-if="widget.lang_list">
                                <t t-foreach="widget.lang_list" t-as="lang">
                                    <option t-att-value="lang[0]" t-att-selected="lang[0] === 'en_US' ? 'selected' : undefined">
                                        <t t-esc="lang[1]" />
                                    </option>
                                </t>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td><label for="create_admin_pwd">Admin password:</label></td>
                        <td><input type="password" name="create_admin_pwd" class="required" /></td>
                    </tr>
                    <tr>
{'fraction_non_alphanumeric': 0.17130808402291534, 'fraction_numerical': 0.004455760661998727, 'mean_word_length': 1.512794882047181, 'pattern_counts': {'":': 0, '<': 404, '<?xml version=': 2, '>': 404, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4918694', 'n_tokens_mistral': 3916, 'n_tokens_neox': 3748, 'n_words': 633}