Refactor of plugin structure to make more sense compared to the default template
This commit is contained in:
55
Jellyfin.Plugin.MediaCleaner/Pages/configuration.html
Normal file
55
Jellyfin.Plugin.MediaCleaner/Pages/configuration.html
Normal file
@@ -0,0 +1,55 @@
|
||||
<div id="MediaCleanerConfigPage" data-role="page" class="page type-interior pluginConfigurationPage" data-require="emby-input,emby-button,emby-select,emby-checkbox" data-controller="__plugin/configuration.js">
|
||||
<div data-role="content">
|
||||
<div class="content-primary">
|
||||
<form id="MediaCleanerConfigForm">
|
||||
<h2>Media Cleaner Configuration</h2>
|
||||
<div class="inputContainer">
|
||||
<label class="inputLabel inputLabelUnfocused" for="RadarrHTTPAddress">Radarr Address (http)</label>
|
||||
<input id="RadarrHTTPAddress" name="RadarrHTTPAddress" type="text" is="emby-input" />
|
||||
<div class="fieldDescription">The http address of your radarr instance.</div>
|
||||
</div>
|
||||
<div class="inputContainer">
|
||||
<label class="inputLabel inputLabelUnfocused" for="RadarrPort">Radarr Port</label>
|
||||
<input id="RadarrPort" name="RadarrPort" type="text" is="emby-input" />
|
||||
<div class="fieldDescription">The port of your radarr instance.</div>
|
||||
</div>
|
||||
<div class="inputContainer">
|
||||
<label class="inputLabel inputLabelUnfocused" for="RadarrAPIKey">Radarr API Key</label>
|
||||
<input id="RadarrAPIKey" name="RadarrAPIKey" type="text" is="emby-input" />
|
||||
<div class="fieldDescription">The api key used by your radarr instance</div>
|
||||
</div>
|
||||
<div class="inputContainer">
|
||||
<label class="inputLabel inputLabelUnfocused" for="SonarrHTTPAddress">Sonarr Address (http)</label>
|
||||
<input id="SonarrHTTPAddress" name="SonarrHTTPAddress" type="text" is="emby-input" />
|
||||
<div class="fieldDescription">The http address of your sonarr instance.</div>
|
||||
</div>
|
||||
<div class="inputContainer">
|
||||
<label class="inputLabel inputLabelUnfocused" for="SonarrPort">Sonarr Port</label>
|
||||
<input id="SonarrPort" name="SonarrPort" type="text" is="emby-input" />
|
||||
<div class="fieldDescription">The port of your sonarr instance.</div>
|
||||
</div>
|
||||
<div class="inputContainer">
|
||||
<label class="inputLabel inputLabelUnfocused" for="SonarrAPIKey">Sonarr API Key</label>
|
||||
<input id="SonarrAPIKey" name="SonarrAPIKey" type="text" is="emby-input" />
|
||||
<div class="fieldDescription">The api key used by your sonarr instance</div>
|
||||
</div>
|
||||
<div class="inputContainer">
|
||||
<label class="inputLabel inputLabelUnfocused" for="StaleMediaCutoff">Stale Media Cutoff</label>
|
||||
<input id="StaleMediaCutoff" name="StaleMediaCutoff" type="number" is="emby-input" style="width: 20%;"/>
|
||||
<div class="fieldDescription">How many days to wait before marking files as stale</div>
|
||||
</div>
|
||||
<div class="checkboxContainer checkboxContainer-withDescription">
|
||||
<label class="emby-checkbox-label">
|
||||
<input id="DebugMode" name="DebugMode" type="checkbox" is="emby-checkbox" />
|
||||
<span>Debug Mode</span>
|
||||
</label>
|
||||
</div>
|
||||
<div>
|
||||
<button is="emby-button" type="submit" class="raised button-submit block emby-button">
|
||||
<span>Save</span>
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user