Files
@ e13a747e9c6a
Branch filter:
Location: kallithea/rhodecode/templates/admin/settings/settings_license.html - annotation
e13a747e9c6a
2.1 KiB
text/html
Migrate to jQuery 1.10.2 from 1.10.1.
Include the minified version of jQuery 1.10.2 instead of 1.10.1. The 1.10.2
files were download via these commands:
$ wget -N http://code.jquery.com/jquery-1.10.2.min.js
$ wget -N http://code.jquery.com/jquery-1.10.2.min.map
Meanwhile, since the Javascript code is covered by GPLv3, we should always
provide an up-to-date version of the source code. I have included it
here by creating the directory jquery-src. I extracted the correct version
of the source with the following commands:
$ git clone git://github.com/jquery/jquery.git
$ git checkout 1.10.2
which is what the jQuery website instructs to do: http://jquery.com/download/
This repository is mirrorred at https://kallithea-scm.org/repos/mirror/jquery/ .
Include the minified version of jQuery 1.10.2 instead of 1.10.1. The 1.10.2
files were download via these commands:
$ wget -N http://code.jquery.com/jquery-1.10.2.min.js
$ wget -N http://code.jquery.com/jquery-1.10.2.min.map
Meanwhile, since the Javascript code is covered by GPLv3, we should always
provide an up-to-date version of the source code. I have included it
here by creating the directory jquery-src. I extracted the correct version
of the source with the following commands:
$ git clone git://github.com/jquery/jquery.git
$ git checkout 1.10.2
which is what the jQuery website instructs to do: http://jquery.com/download/
This repository is mirrorred at https://kallithea-scm.org/repos/mirror/jquery/ .
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 | %if not c.license_loaded:
<strong>${_("Currently you're using a free license, which is limited to 20 users.")}</strong>
<br/><br/>
%endif
<dl class="dl-horizontal">
<%
elems = [
(_('RhodeCode version'), c.rhodecode_version, ''),
(_('License token'), h.literal('<pre>%s</pre>' % c.rhodecode_ini.get('license_token', _('No license token'))), ''),
]
if c.license_info:
elems.append((_('License issued to'), '%s %s (%s)' % (c.license_info.get('first_name'),c.license_info.get('last_name'),c.license_info.get('company')), ''))
elems.append((_('License issued on'), h.fmt_date(h.time_to_datetime(c.license_info.get('issue_date'))), ''))
elems.append((_('License users limit'), c.license_info.get('users') if c.license_info.get('users') != -1 else _('unlimited'), ''))
elems.append((_('License expires on'), h.fmt_date(h.time_to_datetime(c.license_info.get('valid_till'))), ''))
%>
%for dt, dd, tt in elems:
<dt style="width:150px; text-align: left">${dt}:</dt>
<dd style="margin-left: 160px" title="${tt}">${dd}</dd>
%endfor
</dl>
%if c.license_token:
${h.form(url('admin_settings_license'), method='post')}
<div class="form">
<div class="fields">
<div class="field">
<div class="label label-textarea">
<label for="rhodecode_license_key">${_('License key')}:</label>
</div>
<div class="textarea text-area editor">
${h.textarea('rhodecode_license_key', style="height:165px")}
<span class="help-block">${_('Paste your RhodeCode license key into that textarea.')}</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()}
%else:
<div>
${_('Please enter following lines (if yet not present) into [app:main] section of your .ini file. The token below is autogenerated.')}
<pre>
<%text>## license token</%text>
license_token = ${c.generated_license_token}
</pre>
</div>
%endif
|