Skip to content

Commit

Permalink
small design improvements for self-service
Browse files Browse the repository at this point in the history
  • Loading branch information
josxha committed Mar 8, 2024
1 parent e08f182 commit 07a28ec
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions KratosSelfService/Views/Sessions/Sessions.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,14 @@
</p>
}
</td>
<td>@Model.CurrentSession.AuthenticatedAt</td>
<td>@Model.CurrentSession.ExpiresAt</td>
<td>
@Model.CurrentSession.AuthenticatedAt.ToShortDateString()
@Model.CurrentSession.AuthenticatedAt.ToShortTimeString()
</td>
<td>
@Model.CurrentSession.ExpiresAt.ToShortDateString()
@Model.CurrentSession.ExpiresAt.ToShortTimeString()
</td>
</tr>
</tbody>
</table>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
var isFullWidth = Model.FlowType != FlowType.Settings;
var buttonType = attributes.Name switch
{
"lookup_secret_disable" or "webauthn_remove" or "totp_unlink" or "unlink" => "is-warning",
"lookup_secret_disable" or "webauthn_remove" or "totp_unlink" or "unlink" or "lookup_secret_confirm" => "is-warning",
_ => "is-info"
};
}
Expand Down

0 comments on commit 07a28ec

Please sign in to comment.