- Titano.Ui: DESIGN.md tokens (dark/light), generated 16-px icon set, styles for all standard controls, custom chrome window with snap layouts, rail, job bar, Auto/manual slider, chips, toasts. - Titano desktop shell with sections, Settings (language, theme), About and a --capture screenshot mode. - Titano Server skeleton: env/server.json configuration, self-signed TLS with fingerprint, /health, /server/info, i18n endpoint and the embedded admin panel; in-process server tests. - Docker image (multi-arch, PUID/PGID, health check), compose file, Unraid template; CI, release and nightly workflows; changelog tool. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
18 lines
674 B
C#
18 lines
674 B
C#
using System.Windows;
|
|
using System.Windows.Controls;
|
|
|
|
namespace Titano.Ui.Controls;
|
|
|
|
/// <summary>Empty state: the mark, one sentence and the action buttons supplied as content (BRIEF §0.2 rule 6).</summary>
|
|
public class EmptyState : ContentControl
|
|
{
|
|
public static readonly DependencyProperty MessageProperty = DependencyProperty.Register(nameof(Message), typeof(string), typeof(EmptyState));
|
|
|
|
static EmptyState()
|
|
{
|
|
DefaultStyleKeyProperty.OverrideMetadata(typeof(EmptyState), new FrameworkPropertyMetadata(typeof(EmptyState)));
|
|
}
|
|
|
|
public string? Message { get => (string?)GetValue(MessageProperty); set => SetValue(MessageProperty, value); }
|
|
}
|