mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-11-20 21:46:04 -05:00
MediaCMS frontend, initial commit
This commit is contained in:
26
templates/config/installation/contents.html
Normal file
26
templates/config/installation/contents.html
Normal file
@@ -0,0 +1,26 @@
|
||||
MediaCMS.contents = {
|
||||
sidebar: {
|
||||
navMenuItems: [{
|
||||
text: "About",
|
||||
link: "/about",
|
||||
icon: 'contact_support',
|
||||
},
|
||||
{
|
||||
text: "Terms",
|
||||
link: "/tos",
|
||||
icon: 'insert_drive_file',
|
||||
},
|
||||
{
|
||||
text: "Contact",
|
||||
link: "/contact",
|
||||
icon: 'alternate_email',
|
||||
}
|
||||
],
|
||||
belowNavMenu: null,
|
||||
footer: 'Powered by <a href="//mediacms.io" title="mediacms.io" target="_blank">mediacms.io</a>',
|
||||
},
|
||||
uploader: {
|
||||
belowUploadArea: "{{PRE_UPLOAD_MEDIA_MESSAGE}}",
|
||||
postUploadMessage: "{{POST_UPLOAD_AUTHOR_MESSAGE_UNLISTED_NO_COMMENTARY}}",
|
||||
},
|
||||
};
|
||||
28
templates/config/installation/features.html
Normal file
28
templates/config/installation/features.html
Normal file
@@ -0,0 +1,28 @@
|
||||
MediaCMS.features = {
|
||||
embeddedVideo: {
|
||||
initialDimensions: { // In pixels.
|
||||
width: 560,
|
||||
height: 315,
|
||||
},
|
||||
},
|
||||
headerBar:{
|
||||
hideLogin: {% if CAN_LOGIN %}false{% else %}true{% endif %},
|
||||
hideRegister: {% if CAN_REGISTER %}false{% else %}true{% endif %},
|
||||
},
|
||||
media:{
|
||||
actions:{
|
||||
share: {% if CAN_SHARE_MEDIA %}true{% else %}false{% endif %},
|
||||
report: {% if CAN_REPORT_MEDIA %}true{% else %}false{% endif %},
|
||||
like: {% if CAN_LIKE_MEDIA %}true{% else %}false{% endif %},
|
||||
dislike: {% if CAN_DISLIKE_MEDIA %}true{% else %}false{% endif %},
|
||||
download: true,
|
||||
comment: true,
|
||||
},
|
||||
shareOptions: [ 'embed', 'fb', 'tw', 'whatsapp', 'telegram', 'reddit', 'tumblr', 'vk', 'pinterest', 'mix', 'linkedin', 'email' ],
|
||||
},
|
||||
mediaItem:{
|
||||
hideDate: false,
|
||||
hideViews: false,
|
||||
hideAuthor: false,
|
||||
},
|
||||
};
|
||||
22
templates/config/installation/pages.html
Normal file
22
templates/config/installation/pages.html
Normal file
@@ -0,0 +1,22 @@
|
||||
MediaCMS.pages = {
|
||||
home: {
|
||||
sections:{
|
||||
latest:{
|
||||
title: 'Latest',
|
||||
},
|
||||
},
|
||||
},
|
||||
media: {
|
||||
categoriesWithTitle: false,
|
||||
htmlInDescription: false,
|
||||
hideViews: false,
|
||||
related:{
|
||||
initialSize: 15,
|
||||
},
|
||||
},
|
||||
profile:{
|
||||
htmlInDescription: false,
|
||||
includeHistory: false,
|
||||
includeLikedMedia: false,
|
||||
},
|
||||
};
|
||||
52
templates/config/installation/site.html
Normal file
52
templates/config/installation/site.html
Normal file
@@ -0,0 +1,52 @@
|
||||
MediaCMS.site = {
|
||||
id: 'mediacms',
|
||||
title: "{{PORTAL_NAME}}",
|
||||
url: '{{FRONTEND_HOST}}/',
|
||||
api: '{{FRONTEND_HOST}}/api/v1',
|
||||
theme: {
|
||||
mode: 'light', // Valid values: 'light', 'dark'.
|
||||
switch: {
|
||||
position: 'header', // Valid values: 'header', 'sidebar'.
|
||||
},
|
||||
},
|
||||
logo:{
|
||||
lightMode:{
|
||||
img: "{{FRONTEND_HOST}}/static/images/logo_light.png",
|
||||
svg: "{{FRONTEND_HOST}}/static/images/logo_light.svg",
|
||||
},
|
||||
darkMode:{
|
||||
img: "{{FRONTEND_HOST}}/static/images/logo_dark.png",
|
||||
svg: "{{FRONTEND_HOST}}/static/images/logo_dark.svg",
|
||||
},
|
||||
},
|
||||
pages: {
|
||||
latest:{
|
||||
title: 'Recent uploads',
|
||||
},
|
||||
featured:{
|
||||
title: 'Featured',
|
||||
},
|
||||
recommended:{
|
||||
title: 'Recommended',
|
||||
},
|
||||
members:{
|
||||
title: 'Members',
|
||||
},
|
||||
},
|
||||
userPages: {
|
||||
liked: {
|
||||
title: 'Liked media',
|
||||
},
|
||||
history: {
|
||||
title: 'History',
|
||||
},
|
||||
},
|
||||
taxonomies: {
|
||||
tags: {
|
||||
title: 'Tags',
|
||||
},
|
||||
categories: {
|
||||
title: 'Categories',
|
||||
},
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user