mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-18 07:59:03 +01:00
.
This commit is contained in:
parent
078ca3262d
commit
e4820dd6bd
3 changed files with 12 additions and 7 deletions
|
|
@ -139,6 +139,10 @@ export default class DhpDowntime extends HandlebarsApplicationMixin(ApplicationV
|
|||
moves: moves,
|
||||
actor: this.actor.uuid
|
||||
},
|
||||
speaker: cls.getSpeaker(),
|
||||
title: game.i18n.localize(
|
||||
`DAGGERHEART.APPLICATIONS.Downtime.${this.shortrest ? 'shortRest' : 'longRest'}.title`
|
||||
),
|
||||
content: await foundry.applications.handlebars.renderTemplate(
|
||||
'systems/daggerheart/templates/ui/chat/downtime.hbs',
|
||||
{
|
||||
|
|
|
|||
|
|
@ -18,10 +18,12 @@
|
|||
background-image: url('../assets/parchments/dh-parchment-dark.png');
|
||||
|
||||
.message-header {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
padding: 0 8px 8px;
|
||||
|
||||
.message-header-section {
|
||||
width: 100%;
|
||||
.message-header-metadata {
|
||||
flex: none;
|
||||
display: flex;
|
||||
|
||||
.message-metadata {
|
||||
|
|
@ -29,13 +31,12 @@
|
|||
}
|
||||
}
|
||||
|
||||
.message-sub-header {
|
||||
width: 100%;
|
||||
.message-header-main {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
|
||||
.actor-img {
|
||||
flex: none;
|
||||
border-radius: 50%;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
<li class="chat-message message flexcol {{cssClass}}" data-message-id="{{message._id}}"
|
||||
{{#if borderColor}}style="border-color:{{borderColor}}"{{/if}}>
|
||||
<header class="message-header flexrow">
|
||||
<div class="message-sub-header">
|
||||
<div class="message-header-main">
|
||||
<img class="actor-img" src="{{actor.img}}" />
|
||||
<div class="message-sub-header-container">
|
||||
<h4>{{ifThen message.title message.title alias}}</h4>
|
||||
<div>{{actor.name}}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="message-header-section">
|
||||
<div class="message-header-metadata">
|
||||
<span class="message-metadata">
|
||||
<time class="message-timestamp">{{timeSince message.timestamp}}</time>
|
||||
{{#if canDelete}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue