Files @ bbbb013a0e94
Branch filter:

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

Bradley M. Kuhn
Import some of the files from Select2 3.5.0 Javascript system.

RhodeCode 2.2.5 used a version of Select2. Herein, we bring into
Kallithea only a few files directly from Select2 3.5.0 (6ef7155) upstream,
using the commands indicated below:

(cd /tmp; \
git clone https://github.com/ivaynberg/select2.git; \
cd select2; \
git checkout 3.5.0 \
)
mkdir rhodecode/public/js/select2
cp -pa /tmp/select2/select2.{js,css,png} rhodecode/public/js/select2/
cp -pa /tmp/select2/select2x2.png rhodecode/public/js/select2/
cp -pa /tmp/select2/select2-spinner.gif rhodecode/public/js/select2/
hg add rhodecode/public/js/select2/
${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()}