admin: Improve title and toasts rendering

This commit is contained in:
nemunaire 2022-05-31 16:41:36 +02:00
commit 1856a78d10
4 changed files with 22 additions and 14 deletions

View file

@ -1,7 +1,11 @@
<h2>
{{theme.name}} <small>{{theme.authors | stripHTML}}</small>
<a href="{{theme.forge_link}}" target="_blank" class="float-right ml-2 btn btn-sm btn-dark" ng-if="theme.forge_link"><span class="glyphicon glyphicon-folder-open" aria-hidden="true"></span> Voir sur la forge</a>
</h2>
<div class="d-flex align-items-start">
<h2 class="text-truncate">
{{theme.name}} <small class="text-muted" title="{{theme.authors | stripHTML}}">{{theme.authors | stripHTML}}</small>
</h2>
<div class="ml-auto d-flex flex-row-reverse text-nowrap">
<a href="{{theme.forge_link}}" target="_blank" class="ml-2 btn btn-sm btn-dark" ng-if="theme.forge_link"><span class="glyphicon glyphicon-folder-open" aria-hidden="true"></span> Voir sur la forge</a>
</div>
</div>
<div class="row">
<form ng-submit="saveTheme()" class="col-4">