Files @ 158ef33603b8
Branch filter:

Location: kallithea/rhodecode/templates/admin/settings/settings_search.html

Bradley M. Kuhn
Add mousetrap.js file from Mousetrap 1.4.5, under the Apache license.

The file was download and verified via these commands:
$ git clone https://github.com/ccampbell/mousetrap.git
$ cd mousetrap; git checkout 1.4.5

The file in that repository named mousetrap.js is exactly the same one that
appeared in RhodeCode 2.2.5 in changeset c8d3c0d61d95.

The mousetrap.js states clearly that it is licensed under Apache-2.0.
${h.form(url('admin_settings_search'), method='post')}
    <div class="form">

        <div class="fields">
            <div class="field">
                <div class="label label-checkbox">
                    <label>${_('Index build option')}:</label>
                </div>
                <div class="checkboxes">
                    <div class="checkbox">
                        ${h.checkbox('full_index',True)}
                        <label for="full_index">${_('Build from scratch')}</label>

                    </div>
                    <span class="help-block">${_('This option completely reindex all the files within RhodeCode for proper fulltext search capabilities.')}</span>

                </div>
            </div>

            <div class="buttons">
            ${h.submit('reindex',_('Reindex'),class_="btn")}
            </div>
        </div>
    </div>
${h.end_form()}