1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-17 06:52:27 +01:00

improved results page

This commit is contained in:
Sylvain 2019-09-30 12:49:50 +02:00
parent ba3161589c
commit 8bd1d72fdf
6 changed files with 29 additions and 4 deletions

View File

@ -319,6 +319,17 @@ p, .widget p {
width: auto; width: auto;
vertical-align: sub; vertical-align: sub;
} }
// the two classes above are used in import results page for "import failed"
.fa-stack-inside {
font-size: 0.8em !important;
}
.fa-stack-outside {
font-size: 1.3em !important;
line-height: 1.7em !important;
}
.contrast-250 { -webkit-filter: contrast(250%); filter: contrast(250%); } .contrast-250 { -webkit-filter: contrast(250%); filter: contrast(250%); }
.clear{display:block;overflow: hidden;} .clear{display:block;overflow: hidden;}

View File

@ -42,10 +42,16 @@
<div ng-if="resultRow.status"> <div ng-if="resultRow.status">
<i class="fa fa-arrow-right m-l-lg m-r"></i> <i class="fa fa-arrow-right m-l-lg m-r"></i>
<span class="m-r-md">{{ 'members_import_result.status_' + resultRow.status | translate:{ID:resultRow.user} }}</span> <span class="m-r-md">{{ 'members_import_result.status_' + resultRow.status | translate:{ID:resultRow.user} }}</span>
<span ng-show="resultRow.result"><i class="fa fa-check-square-o green v-middle text-lg"></i></span> <span ng-show="resultRow.result" class="green font-bold">
<span ng-hide="resultRow.result" class="fa-stack red v-middle"> <i class="fa fa-check-square-o fa-stack-outside"></i>
<i class="fa fa-square-o fa-stack-2x"></i> <span class="m-l" translate>{{ 'members_import_result.success' }}</span>
<i class="fa fa-times fa-stack-1x"></i> </span>
<span ng-hide="resultRow.result" class="red font-bold">
<span class="fa-stack v-bottom">
<i class="fa fa-square-o fa-stack-1x fa-stack-outside"></i>
<i class="fa fa-times fa-stack-1x fa-stack-inside"></i>
</span>
<span class="m-l" translate>{{ 'members_import_result.failed' }}</span>
</span> </span>
</div> </div>
<div class="m-l-lg red" ng-if="!resultRow.row && !resultRow.status"> <div class="m-l-lg red" ng-if="!resultRow.row && !resultRow.status">

View File

@ -605,6 +605,8 @@ en:
pending: "Pending..." pending: "Pending..."
status_create: "Creating a new user" status_create: "Creating a new user"
status_update: "Updating user {{ID}}" # angular interpolation status_update: "Updating user {{ID}}" # angular interpolation
success: "Success"
failed: "Failed"
error_details: "Error's details:" error_details: "Error's details:"
members_edit: members_edit:

View File

@ -605,6 +605,8 @@ es:
pending: "Pending..." # translation_missing pending: "Pending..." # translation_missing
status_create: "Creating a new user" # translation_missing status_create: "Creating a new user" # translation_missing
status_update: "Updating user {{ID}}" # angular interpolation # translation_missing status_update: "Updating user {{ID}}" # angular interpolation # translation_missing
success: "Success" # translation_missing
failed: "Failed" # translation_missing
error_details: "Error's details:" # translation_missing error_details: "Error's details:" # translation_missing
members_edit: members_edit:

View File

@ -605,6 +605,8 @@ fr:
pending: "En cours..." pending: "En cours..."
status_create: "Création d'un nouvel utilisateur" status_create: "Création d'un nouvel utilisateur"
status_update: "Mise à jour de l'utilisateur {{ID}}" # angular interpolation status_update: "Mise à jour de l'utilisateur {{ID}}" # angular interpolation
success: "Succès"
failed: "Échec"
error_details: "Détails de l'erreur :" error_details: "Détails de l'erreur :"
members_edit: members_edit:

View File

@ -605,6 +605,8 @@ pt:
pending: "Pending..." # translation_missing pending: "Pending..." # translation_missing
status_create: "Creating a new user" # translation_missing status_create: "Creating a new user" # translation_missing
status_update: "Updating user {{ID}}" # angular interpolation # translation_missing status_update: "Updating user {{ID}}" # angular interpolation # translation_missing
success: "Success" # translation_missing
failed: "Failed" # translation_missing
error_details: "Error's details:" # translation_missing error_details: "Error's details:" # translation_missing
members_edit: members_edit: