mirror of
https://github.com/HaitiData/haitidata.git
synced 2026-10-26 17:35:17 +00:00
Add CNIGS official data mark
This commit is contained in:
1 parent
a5fb0c8a6f
commit
081a089db3
3 files changed
+33
-4
No files matched your search
@@ -7281,6 +7281,15 @@ footer select {
|
||||
.item-thumb img {
|
||||
width: 100%;
|
||||
}
|
||||
.item-thumb .cnigs-logo {
|
||||
border-radius: 50%;
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
right: 5px;
|
||||
height: 42px;
|
||||
width: 42px;
|
||||
z-index: 99;
|
||||
}
|
||||
.item-details {
|
||||
background: white;
|
||||
color: #37474f;
|
||||
@@ -7298,12 +7307,15 @@ footer select {
|
||||
font-size: 0.875em;
|
||||
}
|
||||
.item-details .item-meta {
|
||||
font-size: 0.75em;
|
||||
margin-top: 1em;
|
||||
}
|
||||
.item-details .item-meta .item-category {
|
||||
font-size: 0.75em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.item-details .item-meta a {
|
||||
color: #37474f;
|
||||
}
|
||||
.item-details .btn-xs {
|
||||
border-color: #eceff1;
|
||||
border-bottom-right-radius: 0;
|
||||
|
||||
@@ -651,10 +651,18 @@ footer {
|
||||
.item-thumb {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
}
|
||||
.cnigs-logo {
|
||||
border-radius: 50%;
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
right: 5px;
|
||||
height: 42px;
|
||||
width: 42px;
|
||||
z-index: 99;
|
||||
}
|
||||
}
|
||||
|
||||
.item-details {
|
||||
@@ -671,11 +679,14 @@ footer {
|
||||
font-size: 0.875em;
|
||||
}
|
||||
.item-meta {
|
||||
font-size: 0.75em;
|
||||
margin-top: 1em;
|
||||
.item-category {
|
||||
font-size: 0.75em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
a {
|
||||
color: @gray-darker;
|
||||
}
|
||||
}
|
||||
.btn-xs {
|
||||
border-color: @gray-lighter;
|
||||
|
||||
@@ -9,12 +9,18 @@
|
||||
<div class="col-xs-12 profile-avatar">
|
||||
<div class="col-xs-4 item-thumb">
|
||||
<a href="{{ item.detail_url }}"><img ng-src="{{ item.thumbnail_url }}" /></a>
|
||||
<span ng-if="item.owner__username == 'cnigs'" ng-cloak>
|
||||
<img class="cnigs-logo" src="/uploaded/avatars/cnigs/resized/42/cnigs-logo.jpg" />
|
||||
</span>
|
||||
</div>
|
||||
<div class="col-xs-8 item-details">
|
||||
{% endverbatim %}
|
||||
<button class="btn btn-default btn-xs pull-right" ng-if="cart" ng-click="cart.toggleItem(item)"><i ng-class="cart.getFaClass(item.id)" class="fa fa-lg"></i></button>
|
||||
{% verbatim %}
|
||||
<p class="item-meta"><span class="item-category">{{ item.category__gn_description }}</span></p>
|
||||
<p class="item-meta">
|
||||
<span ng-if="item.owner__username == 'cnigs'" ng-cloak><a href="/layers/?owner__username__in=cnigs">CNIGS Official Data</a> | </span>
|
||||
<span class="item-category">{{ item.category__gn_description }}</span>
|
||||
</p>
|
||||
<h4><a href="{{ item.detail_url }}">{{ item.title | limitTo: 48 }}{{ item.title.length > 48 ? '...' : ''}}</a></h4>
|
||||
<p class="abstract">{{ item.abstract | limitTo: 300 }}{{ item.abstract.length > 300 ? '...' : ''}}</p>
|
||||
<div class="row">
|
||||
|
||||
Reference in new issue
Block a user