Files @ 1f94dd1e2757
Branch filter:

Location: kallithea/kallithea/templates/admin/settings/settings_global.html

Na'Tosha Bard
Fix readability issues in comments
${h.form(url('admin_settings_global'), method='post')}
    <div class="form">

        <div class="fields">

             <div class="field">
                <div class="label">
                    <label for="title">${_('Site branding')}:</label>
                </div>
                <div class="input">
                    ${h.text('title',size=30)}
                    <span class="help-block">${_('Set a custom title for your Kallithea Service.')}</span>
                </div>
             </div>

            <div class="field">
                <div class="label">
                    <label for="realm">${_('HTTP authentication realm')}:</label>
                </div>
                <div class="input">
                    ${h.text('realm',size=30)}
                </div>
            </div>

            <div class="field">
                <div class="label">
                    <label for="ga_code">${_('Analytics HTML block')}:</label>
                </div>
                <div class="input">
                    ${h.textarea('ga_code', cols=80, rows=10)}
                    <span class="help-block">${_('HTML with JavaScript for web analytics systems like Google Analytics or Piwik. This will be added at the bottom of every page.')}</span>
                </div>
            </div>

            <div class="field">
                <div class="label">
                    <label for="captcha_public_key">${_('ReCaptcha public key')}:</label>
                </div>
                <div class="input">
                    ${h.text('captcha_public_key',size=60)}
                    <span class="help-block">${_('Public key for reCaptcha system.')}</span>
                </div>
            </div>

            <div class="field">
                <div class="label">
                    <label for="captcha_private_key">${_('ReCaptcha private key')}:</label>
                </div>
                <div class="input">
                    ${h.text('captcha_private_key',size=60)}
                    <span class="help-block">${_('Private key for reCaptcha system. Setting this value will enable captcha on registration')}</span>
                </div>
            </div>

            <div class="buttons">
                ${h.submit('save',_('Save settings'),class_="btn")}
                ${h.reset('reset',_('Reset'),class_="btn")}
           </div>
        </div>
    </div>
${h.end_form()}