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