|
|
@@ -130,8 +130,22 @@ module.exports = function(crowi, app) {
|
|
|
var settingForm;
|
|
|
settingForm = Config.setupCofigFormData('crowi', req.config);
|
|
|
|
|
|
+ const highlightJsCssSelectorOptions = {
|
|
|
+ "atom-one-dark": 'Atom One Dark',
|
|
|
+ "atom-one-light": 'Atom One Light',
|
|
|
+ "github-gist": 'Github Gist',
|
|
|
+ "github": 'Github',
|
|
|
+ "hybrid": 'Hybrid',
|
|
|
+ "monokai": 'Monokai',
|
|
|
+ "tomorrow-night": 'Tomorrow Night',
|
|
|
+ "vs": 'Vs',
|
|
|
+ "vs2015": 'Vs 2015',
|
|
|
+ "xcode": 'Xcode'
|
|
|
+ }
|
|
|
+
|
|
|
return res.render('admin/customize', {
|
|
|
settingForm: settingForm,
|
|
|
+ highlightJsCssSelectorOptions: highlightJsCssSelectorOptions
|
|
|
});
|
|
|
};
|
|
|
|