Update Customizer.html
parent
5e4cd77313
commit
ee02b17196
|
|
@ -101,7 +101,7 @@
|
||||||
<script>
|
<script>
|
||||||
$(function () {
|
$(function () {
|
||||||
let ClockSize, ClockSizeURL
|
let ClockSize, ClockSizeURL
|
||||||
let ClockFace, ClockFaceDots, ClockFaceURL
|
let ClockFace, ClockFaceNumerals, ClockFaceDots, ClockFaceURL
|
||||||
let ClockHands, SecondHand, ClockHandsURL, FillColor
|
let ClockHands, SecondHand, ClockHandsURL, FillColor
|
||||||
let ComplicationTL, ComplicationTLURL
|
let ComplicationTL, ComplicationTLURL
|
||||||
let ComplicationT, ComplicationTURL
|
let ComplicationT, ComplicationTURL
|
||||||
|
|
@ -120,6 +120,7 @@
|
||||||
ClockSizeURL = ($('#clock-size-custom-url').val() || '').trim()
|
ClockSizeURL = ($('#clock-size-custom-url').val() || '').trim()
|
||||||
|
|
||||||
ClockFace = $('input[name="clock-face"]:checked').val()
|
ClockFace = $('input[name="clock-face"]:checked').val()
|
||||||
|
ClockFaceNumerals = $('input[name="clock-face-numerals"]:checked').val()
|
||||||
ClockFaceDots = $('input[name="clock-face-dots"]:checked').val()
|
ClockFaceDots = $('input[name="clock-face-dots"]:checked').val()
|
||||||
ClockFaceURL = ($('#clock-face-custom-url').val() || '').trim()
|
ClockFaceURL = ($('#clock-face-custom-url').val() || '').trim()
|
||||||
|
|
||||||
|
|
@ -275,6 +276,7 @@
|
||||||
function chosenSecondHand () { return chosenColor(SecondHand) }
|
function chosenSecondHand () { return chosenColor(SecondHand) }
|
||||||
function chosenFillColor () { return chosenColor(FillColor) }
|
function chosenFillColor () { return chosenColor(FillColor) }
|
||||||
|
|
||||||
|
function chosenNumerals () { return (ClockFaceNumerals === 'roman' ? 'true' : 'false') }
|
||||||
function chosenDots () { return (ClockFaceDots === 'with-dots' ? 'true' : 'false') }
|
function chosenDots () { return (ClockFaceDots === 'with-dots' ? 'true' : 'false') }
|
||||||
|
|
||||||
let AppSource = `
|
let AppSource = `
|
||||||
|
|
@ -298,10 +300,11 @@ Clockwork.windUp({
|
||||||
br:${chosenComplicationAt('br')},
|
br:${chosenComplicationAt('br')},
|
||||||
}
|
}
|
||||||
},{
|
},{
|
||||||
Foreground:${chosenForeground()},
|
Foreground: ${chosenForeground()},
|
||||||
Background:${chosenBackground()},
|
Background: ${chosenBackground()},
|
||||||
Seconds: ${chosenSecondHand()},
|
Seconds: ${chosenSecondHand()},
|
||||||
withDots: ${chosenDots()},
|
withDots: ${chosenDots()},
|
||||||
|
romanNumerals:${chosenNumerals()},
|
||||||
FillColor: ${chosenFillColor()}
|
FillColor: ${chosenFillColor()}
|
||||||
});
|
});
|
||||||
`
|
`
|
||||||
|
|
@ -431,6 +434,11 @@ console.log(AppSource)
|
||||||
</p><p>
|
</p><p>
|
||||||
Clock faces are drawn in the configured foreground and background colors
|
Clock faces are drawn in the configured foreground and background colors
|
||||||
(you may select them at the end of this form)
|
(you may select them at the end of this form)
|
||||||
|
</p><p>
|
||||||
|
"Four-fold" clock faces may draw indian-arabic or roman numerals. Which do you prefer?
|
||||||
|
</p><p>
|
||||||
|
<input type="radio" name="clock-face-numerals" value="indian" checked> indian-arabic (3, 6, 9, 12)<br>
|
||||||
|
<input type="radio" name="clock-face-numerals" value="roman"> roman (III, VI, IX, XII)
|
||||||
</p><p>
|
</p><p>
|
||||||
The "twelve-fold" and "rainbow"-colored faces may be drawn with or without
|
The "twelve-fold" and "rainbow"-colored faces may be drawn with or without
|
||||||
dots marking the position of every minute. Which variant do you prefer?
|
dots marking the position of every minute. Which variant do you prefer?
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue