mirror of
https://github.com/fergalmoran/Quartzmin.git
synced 2025-12-22 09:27:38 +00:00
Add logo and product name to SelfHost
This commit is contained in:
@@ -18,6 +18,9 @@ namespace Quartzmin.SelfHost
|
||||
public string DefaultDateFormat { get; set; }
|
||||
public string DefaultTimeFormat { get; set; }
|
||||
|
||||
public string Logo { get; set; }
|
||||
public string ProductName { get; set; }
|
||||
|
||||
private IScheduler _scheduler;
|
||||
private IDisposable _webApp;
|
||||
|
||||
@@ -73,6 +76,10 @@ namespace Quartzmin.SelfHost
|
||||
options.DefaultDateFormat = DefaultDateFormat;
|
||||
if (!string.IsNullOrEmpty(DefaultTimeFormat))
|
||||
options.DefaultTimeFormat = DefaultTimeFormat;
|
||||
if (!string.IsNullOrEmpty(Logo))
|
||||
options.Logo = Logo;
|
||||
if (!string.IsNullOrEmpty(ProductName))
|
||||
options.ProductName = ProductName;
|
||||
|
||||
return options;
|
||||
}
|
||||
|
||||
@@ -37,8 +37,8 @@
|
||||
<div class="ui header item">
|
||||
<img class="logo" src="{{Logo}}">{{ProductName}} Quartzmin
|
||||
</div>
|
||||
{{MenuItemActionLink text='Overview' controller='Scheduler'
|
||||
}}
|
||||
|
||||
{{MenuItemActionLink text='Overview' controller='Scheduler'}}
|
||||
{{MenuItemActionLink 'Jobs'}}
|
||||
{{MenuItemActionLink 'Triggers'}}
|
||||
{{MenuItemActionLink 'Executions'}}
|
||||
|
||||
Reference in New Issue
Block a user