Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to properly display the info with carriage returns?
Message
 
 
À
07/04/2016 04:27:26
Information générale
Forum:
Javascript
Catégorie:
Autre
Divers
Thread ID:
01634462
Message ID:
01634509
Vues:
23
This worked nicely without any replacements needed:
 <div class="alert alert-danger" ng-show="alertType === 'serverError'">
                <button type="button" class="close" ng-click="alertType=''" data-dismiss="!alertType==='serverError'">
                <span aria-hidden="true">×</span><span class="sr-only">@Labels.close</span></button>
                <i class="fa fa-exclamation-circle fa-2x"></i>
                < pre >{{ alertMessage }}< /pre >
            </div>
The only thing missing is the white background of a pre instead of the red. I'll try applying the same alert class on the pre and re-test.

UPDATE. This is how it looks now and I like it. The other missing thing is the ability to resize and move the modal form.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform