Files
@ 531ab818cc3d
Branch filter:
Location: kallithea/rhodecode/templates/admin/settings/settings_global.html - annotation
531ab818cc3d
2.3 KiB
text/html
Add javascript for Object Code excanvas (flot) version herein included and use that instead of minified version.
I had a bit of trouble finding the upstream on excanvas, as the version from
Google, which appears to be the original source, seems unmaintained.
However, it appears the version we're carrying in Kallithea is indeed from
the excanvas era of flot.
$ (cd /tmp; \
svn -r 135 checkout http://flot.googlecode.com/svn/trunk/ flot )
$ cp /tmp/flot/excanvas.js rhodecode/public/js/excanvas.js
I also verified the sha256sum of the min file matched ours:
$ sha256sum /tmp/flot/excanvas.min.js rhodecode/public/js/excanvas.min.js
5f94b032a110504b7b261eaf71392fa3e8d82cdc6455c0cba5c9f03cd34ed122 /tmp/flot/excanvas.min.js
5f94b032a110504b7b261eaf71392fa3e8d82cdc6455c0cba5c9f03cd34ed122 rhodecode/public/js/excanvas.min.js
I had a bit of trouble finding the upstream on excanvas, as the version from
Google, which appears to be the original source, seems unmaintained.
However, it appears the version we're carrying in Kallithea is indeed from
the excanvas era of flot.
$ (cd /tmp; \
svn -r 135 checkout http://flot.googlecode.com/svn/trunk/ flot )
$ cp /tmp/flot/excanvas.js rhodecode/public/js/excanvas.js
I also verified the sha256sum of the min file matched ours:
$ sha256sum /tmp/flot/excanvas.min.js rhodecode/public/js/excanvas.min.js
5f94b032a110504b7b261eaf71392fa3e8d82cdc6455c0cba5c9f03cd34ed122 /tmp/flot/excanvas.min.js
5f94b032a110504b7b261eaf71392fa3e8d82cdc6455c0cba5c9f03cd34ed122 rhodecode/public/js/excanvas.min.js
ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 ffd45b185016 | ${h.form(url('admin_settings_global'), method='post')}
<div class="form">
<div class="fields">
<div class="field">
<div class="label">
<label for="rhodecode_title">${_('Site branding')}:</label>
</div>
<div class="input">
${h.text('rhodecode_title',size=30)}
<span class="help-block">${_('Set a custom title for your RhodeCode Service.')}</span>
</div>
</div>
<div class="field">
<div class="label">
<label for="rhodecode_realm">${_('HTTP authentication realm')}:</label>
</div>
<div class="input">
${h.text('rhodecode_realm',size=30)}
</div>
</div>
<div class="field">
<div class="label">
<label for="rhodecode_ga_code">${_('Google Analytics code')}:</label>
</div>
<div class="input">
${h.text('rhodecode_ga_code',size=30)}
</div>
</div>
<div class="field">
<div class="label">
<label for="rhodecode_captcha_public_key">${_('ReCaptcha public key')}:</label>
</div>
<div class="input">
${h.text('rhodecode_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="rhodecode_captcha_private_key">${_('ReCaptcha private key')}:</label>
</div>
<div class="input">
${h.text('rhodecode_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()}
|