fix!: make configuration program monospaced.

This commit is contained in:
redxef 2024-11-11 14:43:19 +01:00
parent 67cffd98ff
commit 8f832ed224
Signed by: redxef
GPG key ID: 7DAC3AA211CBD921

View file

@ -2,7 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>Template</title> <title>SmartPlaylist</title>
</head> </head>
<body> <body>
<div id="SmartPlaylistConfigPage" data-role="page" class="page type-interior pluginConfigurationPage" data-require="emby-input,emby-button,emby-select,emby-checkbox"> <div id="SmartPlaylistConfigPage" data-role="page" class="page type-interior pluginConfigurationPage" data-require="emby-input,emby-button,emby-select,emby-checkbox">
@ -12,7 +12,7 @@
<div class="inputContainer"> <div class="inputContainer">
<label class="inputLabel inputLabelUnfocused" for="InitialProgram">Initial Program</label> <label class="inputLabel inputLabelUnfocused" for="InitialProgram">Initial Program</label>
<div class="fieldDescription">A program which can set up the environment</div> <div class="fieldDescription">A program which can set up the environment</div>
<textarea id="InitialProgram" class="emby-input" name="InitialProgram" rows="24" cols="120"></textarea> <textarea id="InitialProgram" class="emby-input smartplaylist-monospace" name="InitialProgram" rows="16" cols="120"></textarea>
</div> </div>
<div> <div>
<button is="emby-button" type="submit" class="raised button-submit block emby-button"> <button is="emby-button" type="submit" class="raised button-submit block emby-button">
@ -22,6 +22,11 @@
</form> </form>
</div> </div>
</div> </div>
<style>
.smartplaylist-monospace {
font-family: monospace;
}
</style>
<script type="text/javascript"> <script type="text/javascript">
var SmartPlaylistConfig = { var SmartPlaylistConfig = {
pluginUniqueId: 'dd2326e3-4d3e-4bfc-80e6-28502c1131df' pluginUniqueId: 'dd2326e3-4d3e-4bfc-80e6-28502c1131df'