Close #26
This commit is contained in:
parent
d946e3339f
commit
92c8c9f25d
@ -135,7 +135,7 @@ if (!is_empty($VARS['siteid'])) {
|
|||||||
<div class="list-group-item">
|
<div class="list-group-item">
|
||||||
<div class="d-flex justify-content-between">
|
<div class="d-flex justify-content-between">
|
||||||
<div class="form-check form-check-inline">
|
<div class="form-check form-check-inline">
|
||||||
<input class="form-check-input" type="radio" name="color" id="color_<?php echo $t; ?>_<?php echo $c; ?>" value="<?php echo $c; ?>" <?php echo $checked; ?>>
|
<input class="form-check-input" type="radio" name="color" id="color_<?php echo $t; ?>_<?php echo $c; ?>" value="<?php echo $c; ?>" data-theme="<?php echo $t; ?>" <?php echo $checked; ?>>
|
||||||
<label class="form-check-label" for="color_<?php echo $t; ?>_<?php echo $c; ?>">
|
<label class="form-check-label" for="color_<?php echo $t; ?>_<?php echo $c; ?>">
|
||||||
<b><?php echo $color["title"]; ?></b>
|
<b><?php echo $color["title"]; ?></b>
|
||||||
</label>
|
</label>
|
||||||
|
@ -4,4 +4,9 @@
|
|||||||
|
|
||||||
$('#name').on('input propertychange paste', function () {
|
$('#name').on('input propertychange paste', function () {
|
||||||
$('#name_title').text($('#name').val());
|
$('#name_title').text($('#name').val());
|
||||||
|
});
|
||||||
|
|
||||||
|
$("input[type=radio][name=color]").change(function () {
|
||||||
|
var theme = $(this).data("theme");
|
||||||
|
$("input[type=radio][name=theme][value=" + theme + "]").prop("checked", true);
|
||||||
});
|
});
|
Loading…
x
Reference in New Issue
Block a user