1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-18 07:52:23 +01:00

style component

This commit is contained in:
Sylvain 2019-05-21 11:57:44 +02:00
parent 7bbea22e76
commit dfb0ea12f0
3 changed files with 25 additions and 1 deletions

View File

@ -34,6 +34,7 @@
@import "app.plugins"; @import "app.plugins";
@import "modules/invoice"; @import "modules/invoice";
@import "modules/signup"; @import "modules/signup";
@import "modules/abuses";
@import "app.responsive"; @import "app.responsive";

View File

@ -0,0 +1,23 @@
li.abuse {
list-style: none;
border: 1px solid #ddd;
border-radius: 2px;
.signaled {
background-color: #f5f5f5;
border-bottom: 1px solid #ddd;
padding: 1em;
}
.report {
padding: 2em;
cite {
display: block;
border-left: 4px solid #ddd;
padding-left: 1em;
margin-top: 1em;
}
}
}

View File

@ -17,7 +17,7 @@
<div class="row m-b-md"> <div class="row m-b-md">
<span ng-show="abuses.length === 0" translate>{{ 'manage_abuses.no_reports' }}</span> <span ng-show="abuses.length === 0" translate>{{ 'manage_abuses.no_reports' }}</span>
<ul ng-show="abuses.length > 0"> <ul ng-show="abuses.length > 0">
<li ng-repeat="abuse in abuses"> <li class="abuse" ng-repeat="abuse in abuses">
<div class="signaled"> <div class="signaled">
<a ui-sref="app.public.projects_show({id:abuse.signaled.slug})">{{abuse.signaled.name}}</a>, <a ui-sref="app.public.projects_show({id:abuse.signaled.slug})">{{abuse.signaled.name}}</a>,
<span translate>{{ 'manage_abuses.published_by' }}</span> <span translate>{{ 'manage_abuses.published_by' }}</span>