Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3aab94d
commit 2928daf
Showing
34 changed files
with
532 additions
and
216 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+6.8 KB
src/server/public/abecms/image/dark_logo_transparent_background_small.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file added
BIN
+4.52 KB
src/server/public/abecms/image/white_logo_transparent_background_small.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,42 @@ | ||
import pkg from '../../../package' | ||
import { | ||
config, | ||
Page, | ||
cmsData, | ||
cmsTemplates, | ||
coreUtils, | ||
abeExtend, | ||
Manager, | ||
User | ||
} from '../../cli' | ||
|
||
var route = function(req, res, next) { | ||
res.redirect('/abe/editor') | ||
var manager = {} | ||
manager.home = {files: []} | ||
manager.list = Manager.instance.getStructureAndTemplates() | ||
manager.config = JSON.stringify(config) | ||
|
||
var isHome = true | ||
var jsonPath = null | ||
var linkPath = null | ||
var template = null | ||
var fileName = null | ||
var folderPath = null | ||
|
||
var EditorVariables = { | ||
user: res.user, | ||
slugs: Manager.instance.getSlugs(), | ||
filename: fileName, | ||
folderPath: folderPath, | ||
abeUrl: '/abe/editor/', | ||
isHome: isHome, | ||
config: config, | ||
Locales: coreUtils.locales.instance.i18n, | ||
abeVersion: pkg.version, | ||
manager: manager | ||
} | ||
|
||
res.render('../views/template-home', EditorVariables) | ||
} | ||
|
||
export default route |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ body{ | |
} | ||
|
||
body.engine-open .ruler{ | ||
width: 5px; | ||
width: 1px; | ||
} | ||
|
||
.ruler{ | ||
|
Oops, something went wrong.