Files
@ 6af3e67cc576
Branch filter:
Location: kallithea/rhodecode/templates/admin/notifications/notifications_data.html - annotation
6af3e67cc576
1.5 KiB
text/html
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.
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.
2aee0dc1784e 523b1011a625 2aee0dc1784e 2aee0dc1784e 2aee0dc1784e 8ee72933405f 64f7cf8f6a33 64f7cf8f6a33 64f7cf8f6a33 64f7cf8f6a33 64f7cf8f6a33 64f7cf8f6a33 c25cc1c7c65f 64f7cf8f6a33 64f7cf8f6a33 64f7cf8f6a33 ffd45b185016 64f7cf8f6a33 64f7cf8f6a33 ffd45b185016 64f7cf8f6a33 3fdf7c3be2c9 3fdf7c3be2c9 ffd45b185016 d5e42c00f3c1 3fdf7c3be2c9 64f7cf8f6a33 ffd45b185016 64f7cf8f6a33 64f7cf8f6a33 64f7cf8f6a33 64f7cf8f6a33 64f7cf8f6a33 64f7cf8f6a33 83aff72a1da7 64f7cf8f6a33 64f7cf8f6a33 64f7cf8f6a33 2aee0dc1784e 2aee0dc1784e f91d3f9b7230 |
%if c.notifications:
<%
unread = lambda n:{False:'unread'}.get(n)
%>
<div class="notification-list notification-table">
%for notification in c.notifications:
<div id="notification_${notification.notification.notification_id}" class="container ${unread(notification.read)}">
<div class="notification-header">
<div class="gravatar">
<img alt="gravatar" src="${h.gravatar_url(h.email_or_none(notification.notification.created_by_user.email),24)}"/>
</div>
<div class="desc ${unread(notification.read)}">
<a href="${url('notification', notification_id=notification.notification.notification_id)}">${notification.notification.description}</a>
</div>
<div class="delete-notifications">
<span id="${notification.notification.notification_id}" class="delete-notification"><i class="icon-minus-sign" id="yui-gen24" style="color: #b94a48"></i></span>
</div>
%if not notification.read:
<div class="read-notifications">
<span id="${notification.notification.notification_id}" class="read-notification"><i class="icon-ok-sign" id="yui-gen24" style="color: #4CBB17"></i></span>
</div>
%endif
</div>
<div class="notification-subject"></div>
</div>
%endfor
</div>
<div class="notification-paginator">
<div class="pagination-wh pagination-left">
${c.notifications.pager('$link_previous ~2~ $link_next',**request.GET.mixed())}
</div>
</div>
%else:
<div class="table">${_('No notifications here yet')}</div>
%endif
|