Files
@ 531ab818cc3d
Branch filter:
Location: kallithea/rhodecode/templates/bookmarks/bookmarks_data.html - annotation
531ab818cc3d
1.8 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
eaf09acf6872 f91d3f9b7230 eaf09acf6872 c20adbaf16af b4f401524060 ffd45b185016 eaf09acf6872 ffd45b185016 eaf09acf6872 eaf09acf6872 ffd45b185016 eaf09acf6872 574825da0d4e b4f401524060 c20adbaf16af c20adbaf16af b4f401524060 ffd45b185016 a3ee2611e6e8 a3ee2611e6e8 93de03499097 184557472f5c a3ee2611e6e8 184557472f5c ffd45b185016 f467c75544af b4f401524060 ffd45b185016 b4f401524060 184557472f5c 184557472f5c 184557472f5c f91d3f9b7230 574825da0d4e 574825da0d4e 574825da0d4e 574825da0d4e b4f401524060 c20adbaf16af a3ee2611e6e8 eaf09acf6872 a3ee2611e6e8 b4f401524060 f91d3f9b7230 | %if c.repo_bookmarks:
<div id="table_wrap" class="yui-skin-sam">
<table id="bookmarks_data">
<thead>
<tr>
<th class="left">Raw name</th> ##notranslation
<th class="left">${_('Name')}</th>
<th class="left">Raw date</th> ##notranslation
<th class="left">${_('Date')}</th>
<th class="left">${_('Author')}</th>
<th class="left">Raw rev</th> ##notranslation
<th class="left">${_('Revision')}</th>
<th class="left">${_('Compare')}</th>
</tr>
</thead>
%for cnt,book in enumerate(c.repo_bookmarks.items()):
<tr class="parity${cnt%2}">
<td>${book[0]}</td>
<td>
<span class="logbooks">
<span class="booktag">${h.link_to(book[0],
h.url('files_home',repo_name=c.repo_name,revision=book[1].raw_id))}</span>
</span>
</td>
<td>${book[1]._timestamp}</td>
<td><span class="tooltip" title="${h.tooltip(h.age(book[1].date))}">${h.fmt_date(book[1].date)}</span></td>
<td title="${book[1].author}">${h.person(book[1].author)}</td>
<td>${book[1].revision}</td>
<td>
<div>
<pre><a href="${h.url('files_home',repo_name=c.repo_name,revision=book[1].raw_id)}">r${book[1].revision}:${h.short_id(book[1].raw_id)}</a></pre>
</div>
</td>
<td>
<input class="branch-compare" type="radio" name="compare_org" value="${book[0]}"/>
<input class="branch-compare" type="radio" name="compare_other" value="${book[0]}"/>
</td>
</tr>
%endfor
</table>
</div>
%else:
${_('There are no bookmarks yet')}
%endif
|