ObsidianSimpleTimeTracker/src/settings-tab.ts

25 lines
988 B
TypeScript
Raw Normal View History

2022-09-27 15:36:25 +02:00
import { App, PluginSettingTab } from "obsidian";
import SimpleTimeTrackerPlugin from "./main";
export class SimpleTimeTrackerSettingsTab extends PluginSettingTab {
plugin: SimpleTimeTrackerPlugin;
constructor(app: App, plugin: SimpleTimeTrackerPlugin) {
super(app, plugin);
this.plugin = plugin;
}
display(): void {
this.containerEl.empty();
2022-09-27 22:15:16 +02:00
this.containerEl.createEl("h2", { text: "Super Simple Time Tracker Settings" });
2022-09-27 15:36:25 +02:00
2022-09-27 22:15:16 +02:00
this.containerEl.createEl("p", { text: "Settings coming soon!" });
2022-09-27 15:36:25 +02:00
this.containerEl.createEl("hr");
this.containerEl.createEl("p", { text: "If you like this plugin and want to support its development, you can do so through my website by clicking this fancy image!" });
this.containerEl.createEl("a", { href: "https://ellpeck.de/support" })
.createEl("img", { attr: { src: "https://ellpeck.de/res/generalsupport.png" }, cls: "simple-time-tracker-support" });
}
}