|
@@ -148,7 +148,7 @@
|
|
|
<legend>ハイライト設定</legend>
|
|
<legend>ハイライト設定</legend>
|
|
|
<div class="form-group">
|
|
<div class="form-group">
|
|
|
<div class="col-xs-3">
|
|
<div class="col-xs-3">
|
|
|
- <select class="form-control" id="number" name="number">
|
|
|
|
|
|
|
+ <select class="form-control" name="settingForm[customize:highlight]">
|
|
|
<option value="github">Github</option>
|
|
<option value="github">Github</option>
|
|
|
<option value="atom-one-dark">Atom One Dark</option>
|
|
<option value="atom-one-dark">Atom One Dark</option>
|
|
|
<option value="atom-one-light">Atom One Light</option>
|
|
<option value="atom-one-light">Atom One Light</option>
|
|
@@ -166,7 +166,6 @@
|
|
|
</fieldset>
|
|
</fieldset>
|
|
|
</form>
|
|
</form>
|
|
|
|
|
|
|
|
-
|
|
|
|
|
<form action="/_api/admin/customize/features" method="post" class="form-horizontal" id="customfeaturesSettingForm" role="form">
|
|
<form action="/_api/admin/customize/features" method="post" class="form-horizontal" id="customfeaturesSettingForm" role="form">
|
|
|
<fieldset>
|
|
<fieldset>
|
|
|
<legend>機能</legend>
|
|
<legend>機能</legend>
|
|
@@ -405,8 +404,8 @@ window.addEventListener('load', (event) => {
|
|
|
return false;
|
|
return false;
|
|
|
});
|
|
});
|
|
|
});
|
|
});
|
|
|
- // TODO 保存した highlight の値を selector に復元する
|
|
|
|
|
- $('#cutomhighlightSettingForm select').val('github')
|
|
|
|
|
|
|
+ // 保存した highlight の値を selector に復元する
|
|
|
|
|
+ $('#cutomhighlightSettingForm select').val('{{ highlightType() }}');
|
|
|
|
|
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|