Files @ 6af3e67cc576
Branch filter:

Location: kallithea/rhodecode/templates/admin/settings/settings_mapping.html - annotation

Bradley M. Kuhn
Add Twitter's Bootstrap 3.0.0 CSS and Javascript files, under Apache License 2.0

These files are exactly as they appear the upstream release 3.0.0 of
Bootstrap, which Twitter released under the Apache License 2.0. To extract
these files, I did the following:

I downloaded the following file:
https://github.com/twbs/bootstrap/archive/v3.0.0.zip

with sha256sum of:
$ sha256sum v3.0.0.zip
2d54f345f4abc6bf65ea648c323e9bae577e6febf755650e62555f2d7a222e17 v3.0.0.zip

And extracted from it these two files:
bootstrap-3.0.0/dist/css/bootstrap.css
bootstrap-3.0.0/dist/js/bootstrap.js
which are licensed under the Apache License 2.0.

and placed them into:
rhodecode/public/css/bootstrap.css
rhodecode/public/js/bootstrap.js
respectively.
${h.form(url('admin_settings_mapping'), method='post')}
    <div class="form">
        <div class="fields">
            <div class="field">
                <div class="label label-checkbox">
                    <label for="destroy">${_('Rescan option')}:</label>
                </div>
                <div class="checkboxes">
                    <div class="checkbox">
                        ${h.checkbox('destroy',True)}
                        <label for="destroy">${_('Destroy old data')}</label>
                    </div>
                    <span class="help-block">${_('In case a repository was deleted from filesystem and it still exists in the database check this option to scan obsolete data in database and remove it.')}</span>

                    <div class="checkbox">
                        ${h.checkbox('invalidate',True)}
                        <label for="invalidate"> ${_('Invalidate cache for all repositories')}</label>
                    </div>
                    <span class="help-block">${_('Each cache data for repositories will be cleaned with this option selected. Use this to reload data and clear cache keys.')}</span>

                    <div class="checkbox">
                        ${h.checkbox('hooks',True)}
                        <label for="hooks"> ${_('Install GIT hooks')} </label>
                    </div>
                    <span class="help-block">${_('Verify if RhodeCodes GIT hooks are installed for each repository. Current hooks will be updated to latest version')}</span>
                </div>

                </div>
            </div>

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