├── ._.DS_Store
├── .gitignore
├── MANIFEST.in
├── README.md
├── go1_cms
├── ._.DS_Store
├── __init__.py
├── config
│ ├── __init__.py
│ ├── desktop.py
│ └── docs.py
├── go1_cms
│ ├── ._.DS_Store
│ ├── __init__.py
│ ├── after_install.py
│ ├── api.py
│ ├── device_detect
│ │ ├── detect.py
│ │ └── utilities.py
│ ├── doctype
│ │ ├── ._.DS_Store
│ │ ├── __init__.py
│ │ ├── background_gradient
│ │ │ ├── __init__.py
│ │ │ ├── background_gradient.js
│ │ │ ├── background_gradient.json
│ │ │ ├── background_gradient.py
│ │ │ └── test_background_gradient.py
│ │ ├── background_mask
│ │ │ ├── __init__.py
│ │ │ ├── background_mask.js
│ │ │ ├── background_mask.json
│ │ │ ├── background_mask.py
│ │ │ └── test_background_mask.py
│ │ ├── background_pattern
│ │ │ ├── __init__.py
│ │ │ ├── background_pattern.js
│ │ │ ├── background_pattern.json
│ │ │ ├── background_pattern.py
│ │ │ └── test_background_pattern.py
│ │ ├── cms_route
│ │ │ ├── __init__.py
│ │ │ ├── cms_route.js
│ │ │ ├── cms_route.json
│ │ │ ├── cms_route.py
│ │ │ └── test_cms_route.py
│ │ ├── cms_settings
│ │ │ ├── __init__.py
│ │ │ ├── cms_settings.js
│ │ │ ├── cms_settings.json
│ │ │ ├── cms_settings.py
│ │ │ ├── section_content.js
│ │ │ └── test_cms_settings.py
│ │ ├── color_palette
│ │ │ ├── __init__.py
│ │ │ ├── color_palette.js
│ │ │ ├── color_palette.json
│ │ │ ├── color_palette.py
│ │ │ └── test_color_palette.py
│ │ ├── contact_enquiry
│ │ │ ├── __init__.py
│ │ │ ├── contact_enquiry.js
│ │ │ ├── contact_enquiry.json
│ │ │ ├── contact_enquiry.py
│ │ │ └── test_contact_enquiry.py
│ │ ├── css_font
│ │ │ ├── __init__.py
│ │ │ ├── css_font.js
│ │ │ ├── css_font.json
│ │ │ ├── css_font.py
│ │ │ └── test_css_font.py
│ │ ├── css_group
│ │ │ ├── __init__.py
│ │ │ ├── css_group.js
│ │ │ ├── css_group.json
│ │ │ ├── css_group.py
│ │ │ └── test_css_group.py
│ │ ├── css_list
│ │ │ ├── __init__.py
│ │ │ ├── css_list.json
│ │ │ └── css_list.py
│ │ ├── css_property
│ │ │ ├── __init__.py
│ │ │ ├── css_property.js
│ │ │ ├── css_property.json
│ │ │ ├── css_property.py
│ │ │ └── test_css_property.py
│ │ ├── custom_query
│ │ │ ├── __init__.py
│ │ │ ├── custom_query.js
│ │ │ ├── custom_query.json
│ │ │ ├── custom_query.py
│ │ │ └── test_custom_query.py
│ │ ├── detail_page_layout
│ │ │ ├── __init__.py
│ │ │ ├── detail_page_layout.js
│ │ │ ├── detail_page_layout.json
│ │ │ ├── detail_page_layout.py
│ │ │ └── test_detail_page_layout.py
│ │ ├── faq
│ │ │ ├── __init__.py
│ │ │ ├── faq.js
│ │ │ ├── faq.json
│ │ │ ├── faq.py
│ │ │ └── test_faq.py
│ │ ├── faq_category
│ │ │ ├── __init__.py
│ │ │ ├── faq_category.js
│ │ │ ├── faq_category.json
│ │ │ ├── faq_category.py
│ │ │ └── test_faq_category.py
│ │ ├── field_types_property
│ │ │ ├── __init__.py
│ │ │ ├── field_types_property.json
│ │ │ └── field_types_property.py
│ │ ├── fonts_file
│ │ │ ├── __init__.py
│ │ │ ├── fonts_file.js
│ │ │ ├── fonts_file.json
│ │ │ ├── fonts_file.py
│ │ │ └── test_fonts_file.py
│ │ ├── footer_component
│ │ │ ├── __init__.py
│ │ │ ├── footer_component.js
│ │ │ ├── footer_component.json
│ │ │ ├── footer_component.py
│ │ │ └── test_footer_component.py
│ │ ├── footer_component_item
│ │ │ ├── __init__.py
│ │ │ ├── footer_component_item.json
│ │ │ └── footer_component_item.py
│ │ ├── footer_layout
│ │ │ ├── __init__.py
│ │ │ ├── footer_layout.js
│ │ │ ├── footer_layout.json
│ │ │ ├── footer_layout.py
│ │ │ └── test_footer_layout.py
│ │ ├── footer_template
│ │ │ ├── __init__.py
│ │ │ ├── footer_template.js
│ │ │ ├── footer_template.json
│ │ │ ├── footer_template.py
│ │ │ └── test_footer_template.py
│ │ ├── gallery
│ │ │ ├── __init__.py
│ │ │ ├── gallery.js
│ │ │ ├── gallery.json
│ │ │ ├── gallery.py
│ │ │ └── test_gallery.py
│ │ ├── gallery_files
│ │ │ ├── __init__.py
│ │ │ ├── gallery_files.json
│ │ │ └── gallery_files.py
│ │ ├── global_fonts
│ │ │ ├── __init__.py
│ │ │ ├── global_fonts.json
│ │ │ └── global_fonts.py
│ │ ├── header_component
│ │ │ ├── __init__.py
│ │ │ ├── header_component.js
│ │ │ ├── header_component.json
│ │ │ ├── header_component.py
│ │ │ └── test_header_component.py
│ │ ├── header_layout
│ │ │ ├── __init__.py
│ │ │ ├── header_layout.js
│ │ │ ├── header_layout.json
│ │ │ ├── header_layout.py
│ │ │ └── test_header_layout.py
│ │ ├── header_template
│ │ │ ├── __init__.py
│ │ │ ├── header_template.js
│ │ │ ├── header_template.json
│ │ │ ├── header_template.py
│ │ │ └── test_header_template.py
│ │ ├── js_list
│ │ │ ├── __init__.py
│ │ │ ├── js_list.json
│ │ │ └── js_list.py
│ │ ├── layout
│ │ │ ├── __init__.py
│ │ │ ├── layout.js
│ │ │ ├── layout.json
│ │ │ ├── layout.py
│ │ │ └── test_layout.py
│ │ ├── menu
│ │ │ ├── __init__.py
│ │ │ ├── menu.js
│ │ │ ├── menu.json
│ │ │ ├── menu.py
│ │ │ └── test_menu.py
│ │ ├── menus_item
│ │ │ ├── __init__.py
│ │ │ ├── menus_item.json
│ │ │ └── menus_item.py
│ │ ├── mobile_page_section
│ │ │ ├── __init__.py
│ │ │ ├── mobile_page_section.json
│ │ │ └── mobile_page_section.py
│ │ ├── page_section
│ │ │ ├── __init__.py
│ │ │ ├── page_section.js
│ │ │ ├── page_section.json
│ │ │ ├── page_section.py
│ │ │ └── test_page_section.py
│ │ ├── page_template
│ │ │ ├── __init__.py
│ │ │ ├── page_template.js
│ │ │ ├── page_template.json
│ │ │ ├── page_template.py
│ │ │ └── test_page_template.py
│ │ ├── proposal
│ │ │ ├── __init__.py
│ │ │ ├── proposal.js
│ │ │ ├── proposal.json
│ │ │ ├── proposal.py
│ │ │ ├── templates
│ │ │ │ ├── proposal.html
│ │ │ │ └── proposal_row.html
│ │ │ └── test_proposal.py
│ │ ├── section_column_css
│ │ │ ├── __init__.py
│ │ │ ├── section_column_css.json
│ │ │ └── section_column_css.py
│ │ ├── section_component
│ │ │ ├── __init__.py
│ │ │ ├── section_component.js
│ │ │ ├── section_component.json
│ │ │ ├── section_component.py
│ │ │ ├── templates
│ │ │ │ ├── section_component.html
│ │ │ │ └── section_component_row.html
│ │ │ └── test_section_component.py
│ │ ├── section_component_group
│ │ │ ├── __init__.py
│ │ │ ├── section_component_group.js
│ │ │ ├── section_component_group.json
│ │ │ ├── section_component_group.py
│ │ │ └── test_section_component_group.py
│ │ ├── section_content
│ │ │ ├── __init__.py
│ │ │ ├── section_content.json
│ │ │ └── section_content.py
│ │ ├── section_dividers
│ │ │ ├── __init__.py
│ │ │ ├── section_dividers.js
│ │ │ ├── section_dividers.json
│ │ │ ├── section_dividers.py
│ │ │ └── test_section_dividers.py
│ │ ├── section_template
│ │ │ ├── __init__.py
│ │ │ ├── section_content.js
│ │ │ ├── section_template.js
│ │ │ ├── section_template.json
│ │ │ ├── section_template.py
│ │ │ └── test_section_template.py
│ │ ├── section_template_group
│ │ │ ├── __init__.py
│ │ │ ├── section_template_group.js
│ │ │ ├── section_template_group.json
│ │ │ ├── section_template_group.py
│ │ │ └── test_section_template_group.py
│ │ ├── section_template_layout
│ │ │ ├── __init__.py
│ │ │ ├── section_template_layout.js
│ │ │ ├── section_template_layout.json
│ │ │ ├── section_template_layout.py
│ │ │ └── test_section_template_layout.py
│ │ ├── service
│ │ │ ├── __init__.py
│ │ │ ├── service.js
│ │ │ ├── service.json
│ │ │ ├── service.py
│ │ │ ├── templates
│ │ │ │ ├── service.html
│ │ │ │ ├── service_row.html
│ │ │ │ ├── services.html
│ │ │ │ └── services_row.html
│ │ │ └── test_service.py
│ │ ├── service_category
│ │ │ ├── __init__.py
│ │ │ ├── service_category.js
│ │ │ ├── service_category.json
│ │ │ ├── service_category.py
│ │ │ └── test_service_category.py
│ │ ├── services
│ │ │ ├── __init__.py
│ │ │ ├── services.json
│ │ │ ├── services.py
│ │ │ ├── templates
│ │ │ │ ├── services.html
│ │ │ │ └── services_row.html
│ │ │ └── test_services.py
│ │ ├── slider
│ │ │ ├── __init__.py
│ │ │ ├── slider.js
│ │ │ ├── slider.json
│ │ │ ├── slider.py
│ │ │ └── test_slider.py
│ │ ├── social_link
│ │ │ ├── __init__.py
│ │ │ ├── social_link.json
│ │ │ └── social_link.py
│ │ ├── testimonial
│ │ │ ├── __init__.py
│ │ │ ├── test_testimonial.py
│ │ │ ├── testimonial.js
│ │ │ ├── testimonial.json
│ │ │ └── testimonial.py
│ │ ├── theme
│ │ │ ├── __init__.py
│ │ │ ├── test_theme.py
│ │ │ ├── theme.js
│ │ │ ├── theme.json
│ │ │ └── theme.py
│ │ ├── theme_category
│ │ │ ├── __init__.py
│ │ │ ├── test_theme_category.py
│ │ │ ├── theme_category.js
│ │ │ ├── theme_category.json
│ │ │ └── theme_category.py
│ │ ├── theme_category_mapping
│ │ │ ├── __init__.py
│ │ │ ├── theme_category_mapping.json
│ │ │ └── theme_category_mapping.py
│ │ ├── theme_fonts
│ │ │ ├── __init__.py
│ │ │ ├── theme_fonts.json
│ │ │ └── theme_fonts.py
│ │ ├── theme_pages
│ │ │ ├── __init__.py
│ │ │ ├── theme_pages.json
│ │ │ └── theme_pages.py
│ │ ├── theme_settings
│ │ │ ├── __init__.py
│ │ │ ├── test_theme_settings.py
│ │ │ ├── theme_settings.js
│ │ │ ├── theme_settings.json
│ │ │ └── theme_settings.py
│ │ ├── typography_default_color
│ │ │ ├── __init__.py
│ │ │ ├── typography_default_color.json
│ │ │ └── typography_default_color.py
│ │ ├── typography_heading
│ │ │ ├── __init__.py
│ │ │ ├── typography_heading.json
│ │ │ └── typography_heading.py
│ │ ├── typography_text
│ │ │ ├── __init__.py
│ │ │ ├── typography_text.json
│ │ │ └── typography_text.py
│ │ ├── viewed_customer_detail
│ │ │ ├── __init__.py
│ │ │ ├── viewed_customer_detail.json
│ │ │ └── viewed_customer_detail.py
│ │ ├── web_page_builder
│ │ │ ├── __init__.py
│ │ │ ├── templates
│ │ │ │ ├── web_page_builder.html
│ │ │ │ └── web_page_builder_row.html
│ │ │ ├── test_web_page_builder.py
│ │ │ ├── web_page_builder.js
│ │ │ ├── web_page_builder.json
│ │ │ ├── web_page_builder.py
│ │ │ └── web_page_builder_list.js
│ │ ├── web_theme
│ │ │ ├── __init__.py
│ │ │ ├── test_web_theme.py
│ │ │ ├── web_theme.js
│ │ │ ├── web_theme.json
│ │ │ └── web_theme.py
│ │ └── web_theme_button
│ │ │ ├── __init__.py
│ │ │ ├── web_theme_button.json
│ │ │ └── web_theme_button.py
│ ├── json_data
│ │ ├── ._.DS_Store
│ │ ├── ._background_gradients.json
│ │ ├── ._cms_settings.json
│ │ ├── ._color_palletes.json
│ │ ├── ._footer_components.json
│ │ ├── ._footer_layouts.json
│ │ ├── ._header-layout.json
│ │ ├── ._header_components.json
│ │ ├── ._web_themes.json
│ │ ├── background_gradients.json
│ │ ├── background_masks.json
│ │ ├── cms_settings.json
│ │ ├── color_palletes.json
│ │ ├── css_fonts.json
│ │ ├── custom_query.json
│ │ ├── faq.json
│ │ ├── footer_components.json
│ │ ├── footer_layouts.json
│ │ ├── footer_sections.json
│ │ ├── header-layout.json
│ │ ├── header_components.json
│ │ ├── header_layouts.json
│ │ ├── header_sections.json
│ │ ├── menus.json
│ │ ├── sample_pages
│ │ │ ├── about_us.json
│ │ │ ├── about_us_sections.json
│ │ │ ├── our_team.json
│ │ │ ├── our_team_sections.json
│ │ │ ├── testimonials.json
│ │ │ └── testimonials_sections.json
│ │ ├── section_component_groups.json
│ │ ├── section_components.json
│ │ ├── section_groups.json
│ │ ├── section_templates.json
│ │ ├── testimonial.json
│ │ ├── web_themes.json
│ │ ├── webpage_builder.json
│ │ ├── webpage_sections.json
│ │ ├── workspacev13.json
│ │ └── workspacev14.json
│ ├── page
│ │ ├── ._.DS_Store
│ │ ├── __init__.py
│ │ ├── go1cms_builder
│ │ │ ├── __init__.py
│ │ │ ├── builder_column_selector.html
│ │ │ ├── builder_field.html
│ │ │ ├── builder_layout.html
│ │ │ ├── builder_section.html
│ │ │ ├── builder_sidebar.html
│ │ │ ├── components.html
│ │ │ ├── go1cms_builder.css
│ │ │ ├── go1cms_builder.js
│ │ │ ├── go1cms_builder.json
│ │ │ ├── page_format_builder.css
│ │ │ ├── predefined_section.html
│ │ │ ├── print_format_builder_start.html
│ │ │ ├── regular.html
│ │ │ └── templates.html
│ │ └── print_page_builder
│ │ │ ├── __init__.py
│ │ │ ├── components.html
│ │ │ ├── page_format_builder.css
│ │ │ ├── print-format-builder.js
│ │ │ ├── print_format_builder_column_selector.html
│ │ │ ├── print_format_builder_field.html
│ │ │ ├── print_format_builder_layout.html
│ │ │ ├── print_format_builder_section.html
│ │ │ ├── print_format_builder_sidebar.html
│ │ │ ├── print_format_builder_start.html
│ │ │ ├── print_page_builder.css
│ │ │ ├── print_page_builder.js
│ │ │ ├── print_page_builder.json
│ │ │ ├── templates.html
│ │ │ └── test_page.html
│ ├── proposal_api.py
│ └── section_images.zip
├── hooks.py
├── modules.txt
├── patches.txt
├── public
│ ├── ._.DS_Store
│ ├── css
│ │ ├── ._font-awesome.min.css
│ │ ├── bootstrap.min.css
│ │ ├── cms.css
│ │ ├── font-awesome.min.css
│ │ ├── jodit.min.css
│ │ ├── multi_mobile_menu.css
│ │ ├── owl.carousel.min.css
│ │ └── owl.theme.default.min.css
│ ├── fonts
│ │ ├── icomoon.dev.svg
│ │ ├── icomoon.eot
│ │ ├── icomoon.svg
│ │ ├── icomoon.ttf
│ │ ├── icomoon.woff
│ │ └── license.txt
│ ├── images
│ │ ├── call1.png
│ │ ├── location.png
│ │ ├── phone.png
│ │ ├── product-loading.gif
│ │ └── section-icon.svg
│ ├── js
│ │ ├── bootstrap.bundle.min.js
│ │ ├── cms.js
│ │ ├── jodit.min.js
│ │ ├── jquery-migrate.min.js
│ │ ├── jquery-ui.min.js
│ │ ├── jquery.dlmenu.js
│ │ ├── jquery.min.js
│ │ ├── jquery.slimscroll.min.js
│ │ ├── jquery.ui.min.js
│ │ ├── jquery3.6.min.js
│ │ ├── jquery_1.dlmenu.js
│ │ ├── lazysizes.min.js
│ │ ├── modernizr-2.6.2.min.js
│ │ ├── modernizr.min.js
│ │ ├── owl.carousel.js
│ │ ├── owl.carousel.min.js
│ │ ├── owl1.carousel.js
│ │ ├── owljquery.min.js
│ │ ├── proposal.js
│ │ ├── uppy.min.css
│ │ └── uppy.min.js
│ └── webthemes
│ │ └── theme-settings
│ │ └── theme.css
├── templates
│ ├── ._.DS_Store
│ ├── Layouts
│ │ └── layout.html
│ ├── __init__.py
│ ├── footer
│ │ └── footer.html
│ ├── header
│ │ ├── header.html
│ │ └── header1.html
│ ├── includes
│ │ ├── footer.css
│ │ ├── header.css
│ │ ├── themes.css
│ │ └── web_themes.css
│ └── pages
│ │ ├── __init__.py
│ │ ├── custom_html
│ │ ├── 4-column-card-image-with-link-36e2173861.html
│ │ ├── 4-column-card-image-with-link-af73505dfb.html
│ │ ├── 4-column-card-image-with-link-be224d32e1.html
│ │ ├── 4-column-card-image-with-link-ps-22-00002.html
│ │ ├── 4-column-card-image-with-link-ps-22-00004.html
│ │ ├── 4-column-card-image-with-link-ps-22-00023.html
│ │ ├── 4-column-card-image-with-link-ps-22-00027.html
│ │ ├── 4-column-card-image-with-link-ps-22-00028.html
│ │ ├── __init__.py
│ │ ├── about-us-content-section-ps-22-00001.html
│ │ ├── about-us-content-section-ps-22-00006.html
│ │ ├── about-us-content-section-ps-22-00015.html
│ │ ├── about-us-content-section-ps-22-00016.html
│ │ ├── about-us-content-section-ps-22-00017.html
│ │ ├── about-us-content-section-ps-22-00018.html
│ │ ├── center-title-with-content-and-center-image-ps-22-00005.html
│ │ ├── left-content-right-image-ps-22-00025.html
│ │ ├── right-content-left-image-ps-22-00026.html
│ │ ├── test-ps-22-00007.html
│ │ ├── test-ps-22-00008.html
│ │ ├── test-ps-22-00011.html
│ │ └── test-ps-22-00012.html
│ │ └── proposal.html
├── utlis
│ ├── __init__.py
│ ├── setup.py
│ └── utils.py
└── www
│ ├── __init__.py
│ └── printview.py
├── license.txt
├── requirements.txt
└── setup.py
/._.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/._.DS_Store
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | *.pyc
3 | *.egg-info
4 | *.swp
5 | tags
6 | go1_cms/docs/current
--------------------------------------------------------------------------------
/MANIFEST.in:
--------------------------------------------------------------------------------
1 | include MANIFEST.in
2 | include requirements.txt
3 | include *.json
4 | include *.md
5 | include *.py
6 | include *.txt
7 | recursive-include go1_cms *.css
8 | recursive-include go1_cms *.csv
9 | recursive-include go1_cms *.html
10 | recursive-include go1_cms *.ico
11 | recursive-include go1_cms *.js
12 | recursive-include go1_cms *.json
13 | recursive-include go1_cms *.md
14 | recursive-include go1_cms *.png
15 | recursive-include go1_cms *.py
16 | recursive-include go1_cms *.svg
17 | recursive-include go1_cms *.txt
18 | recursive-exclude go1_cms *.pyc
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | ## Go1 CMS
2 |
3 | Go1 CMS - Its a Advanced Content Management System built on top of Frappe with Advanced Page builder. Lead your business towards the future of website development and content-editing without any developer support.
4 |
5 | This advanced open source app encourages both editors and designers to create websites with zero creative limitations and zero coding knowledge.
6 |
7 | #### CREATING WEBSITES INTO GROWTH ENGINES
8 | * Get a quick blueprint of Go1 CMS page builder: Experience our interactive design tool
9 |
10 | * Powerful code-free website builder built using Frappe, Ionic, and Angular technologies.
11 |
12 | * Advanced, customizable Page Builder Interface with existing CMS Market standards.
13 |
14 | * Pre-defined, multiple beautiful Templates to build or re-use section and component slices.
15 |
16 | * Easy drag-and-drop like positioning of UI block elements forming unique page layouts.
17 |
18 | * Form, blog, content segmentation and header footer with heaps of detailed doc types.
19 |
20 | * Follow the latest trends to sparkle creativity with flexible font styles and color elements.
21 |
22 | * Create and assemble compelling contents for engaging pages.
23 |
24 | * Easy-to-manage and well-optimized SEO parameters.
25 |
26 | * Custom plugin options and other marketing integrations available.
27 |
28 | Go1 CMS is proudly part of the Frappe family, born to support many Frappe Community members, developers, Enterprises with our highly versatile builder platform, giving creative wings to fly globally online.
29 |
30 | #### GO1 CMS Screens
31 | 
32 |
33 | * Page Builder
34 |
35 | * Page Template
36 |
37 | * Section Templates
38 |
39 | * Page Sections
40 |
41 | * Header Templates
42 |
43 | * Footer Templates
44 |
45 |
--------------------------------------------------------------------------------
/go1_cms/._.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/._.DS_Store
--------------------------------------------------------------------------------
/go1_cms/__init__.py:
--------------------------------------------------------------------------------
1 |
2 | __version__ = '0.0.1'
3 |
4 |
--------------------------------------------------------------------------------
/go1_cms/config/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/config/__init__.py
--------------------------------------------------------------------------------
/go1_cms/config/desktop.py:
--------------------------------------------------------------------------------
1 | from frappe import _
2 |
3 | def get_data():
4 | return [
5 | {
6 | "module_name": "Go1 CMS",
7 | "color": "grey",
8 | "icon": "octicon octicon-file-directory",
9 | "type": "module",
10 | "label": _("Go1 CMS")
11 | }
12 | ]
13 |
--------------------------------------------------------------------------------
/go1_cms/config/docs.py:
--------------------------------------------------------------------------------
1 | """
2 | Configuration for docs
3 | """
4 |
5 | # source_link = "https://github.com/[org_name]/go1_cms"
6 | # docs_base_url = "https://[org_name].github.io/go1_cms"
7 | # headline = "App that does everything"
8 | # sub_heading = "Yes, you got that right the first time, everything"
9 |
10 | def get_context(context):
11 | context.brand_html = "Go1 CMS"
12 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/._.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/._.DS_Store
--------------------------------------------------------------------------------
/go1_cms/go1_cms/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/device_detect/utilities.py:
--------------------------------------------------------------------------------
1 | """
2 |
3 | Misc. utilities to deal with HTTP user agent sniffing
4 |
5 | """
6 |
7 | try:
8 | from hashlib import md5
9 | except ImportError:
10 | # Python 2.4
11 | from md5 import new as md5
12 |
13 | def get_environ(request):
14 | """ Cross-python framework compatible way to extract HTTP headers from the request object.
15 |
16 |
17 | @return: Dict of HTTP headers
18 | """
19 |
20 | if hasattr(request, "environ"):
21 | # WSGI
22 | return request.environ
23 | elif hasattr(request, "META"):
24 | # Django
25 | return request.META
26 | elif hasattr(request, "other"):
27 | # ZServer
28 | return request.other
29 |
30 | raise RuntimeError("Unknown HTTP request class:" + str(request.__class__))
31 |
32 | def get_user_agent(request):
33 | """ Get the user agent string from the request.
34 |
35 | Deal with proxy pecularies and such.
36 |
37 | @param: WSGIRequest like object
38 | @return: Real user agent string
39 | """
40 |
41 | # We might have conflicting request types - assume request.environ is used
42 | environ = get_environ(request)
43 |
44 | agent = None
45 |
46 | if "HTTP_X_OPERAMINI_PHONE_UA" in environ:
47 | # Opera mini proxy specia case
48 | agent = environ["HTTP_X_OPERAMINI_PHONE_UA"]
49 | elif "HTTP_USER_AGENT" in environ:
50 | agent = environ["HTTP_USER_AGENT"]
51 |
52 | return agent
53 |
54 | def get_user_agent_hash(request):
55 | """ Helper function to get hashed user agent string.
56 |
57 | By adding this hash to URL you can make user agent specific URLs unique to caches,
58 | making cache problems disappear with image resizes. etc.
59 |
60 | Note: Do not persistent this hash. Hashing algorithm is subject to
61 | change any time.
62 | """
63 | user_agent = get_user_agent(request)
64 | if user_agent:
65 | user_agent_md5 = md5(user_agent).hexdigest()
66 | else:
67 | # User agent will be None in unit tests
68 | user_agent_md5 = ""
69 |
70 | return user_agent_md5
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/._.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/._.DS_Store
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/background_gradient/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/background_gradient/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/background_gradient/background_gradient.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2022, Tridotstech and contributors
2 | // For license information, please see license.txt
3 |
4 | frappe.ui.form.on('Background Gradient', {
5 | // refresh: function(frm) {
6 |
7 | // }
8 | });
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/background_gradient/background_gradient.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "autoname": "BG.#####",
5 | "creation": "2022-09-15 16:40:44.057348",
6 | "doctype": "DocType",
7 | "editable_grid": 1,
8 | "engine": "InnoDB",
9 | "field_order": [
10 | "title",
11 | "css_properties",
12 | "image"
13 | ],
14 | "fields": [
15 | {
16 | "fieldname": "title",
17 | "fieldtype": "Data",
18 | "in_list_view": 1,
19 | "label": "Title"
20 | },
21 | {
22 | "fieldname": "css_properties",
23 | "fieldtype": "Small Text",
24 | "in_list_view": 1,
25 | "label": "CSS Properties"
26 | },
27 | {
28 | "fieldname": "image",
29 | "fieldtype": "Image",
30 | "label": "Image"
31 | }
32 | ],
33 | "index_web_pages_for_search": 1,
34 | "links": [],
35 | "modified": "2022-09-15 17:28:44.277194",
36 | "modified_by": "Administrator",
37 | "module": "Go1 CMS",
38 | "name": "Background Gradient",
39 | "owner": "Administrator",
40 | "permissions": [
41 | {
42 | "create": 1,
43 | "delete": 1,
44 | "email": 1,
45 | "export": 1,
46 | "print": 1,
47 | "read": 1,
48 | "report": 1,
49 | "role": "System Manager",
50 | "share": 1,
51 | "write": 1
52 | }
53 | ],
54 | "sort_field": "modified",
55 | "sort_order": "DESC"
56 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/background_gradient/background_gradient.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class BackgroundGradient(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/background_gradient/test_background_gradient.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestBackgroundGradient(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/background_mask/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/background_mask/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/background_mask/background_mask.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2022, Tridotstech and contributors
2 | // For license information, please see license.txt
3 |
4 | frappe.ui.form.on('Background Mask', {
5 | // refresh: function(frm) {
6 |
7 | // }
8 | });
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/background_mask/background_mask.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "autoname": "BM.#####",
5 | "creation": "2022-09-16 18:57:19.921788",
6 | "doctype": "DocType",
7 | "editable_grid": 1,
8 | "engine": "InnoDB",
9 | "field_order": [
10 | "title",
11 | "css_properties",
12 | "image"
13 | ],
14 | "fields": [
15 | {
16 | "fieldname": "title",
17 | "fieldtype": "Data",
18 | "in_list_view": 1,
19 | "label": "Title"
20 | },
21 | {
22 | "fieldname": "css_properties",
23 | "fieldtype": "Small Text",
24 | "in_list_view": 1,
25 | "label": "CSS Properties"
26 | },
27 | {
28 | "fieldname": "image",
29 | "fieldtype": "Image",
30 | "label": "Image"
31 | }
32 | ],
33 | "index_web_pages_for_search": 1,
34 | "links": [],
35 | "modified": "2022-09-16 18:57:19.921788",
36 | "modified_by": "Administrator",
37 | "module": "Go1 CMS",
38 | "name": "Background Mask",
39 | "owner": "Administrator",
40 | "permissions": [
41 | {
42 | "create": 1,
43 | "delete": 1,
44 | "email": 1,
45 | "export": 1,
46 | "print": 1,
47 | "read": 1,
48 | "report": 1,
49 | "role": "System Manager",
50 | "share": 1,
51 | "write": 1
52 | }
53 | ],
54 | "sort_field": "modified",
55 | "sort_order": "DESC"
56 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/background_mask/background_mask.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class BackgroundMask(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/background_mask/test_background_mask.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestBackgroundMask(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/background_pattern/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/background_pattern/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/background_pattern/background_pattern.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2022, Tridotstech and contributors
2 | // For license information, please see license.txt
3 |
4 | frappe.ui.form.on('Background Pattern', {
5 | // refresh: function(frm) {
6 |
7 | // }
8 | });
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/background_pattern/background_pattern.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "autoname": "BP.#####",
5 | "creation": "2022-09-16 18:57:44.551734",
6 | "doctype": "DocType",
7 | "editable_grid": 1,
8 | "engine": "InnoDB",
9 | "field_order": [
10 | "title",
11 | "css_properties",
12 | "image"
13 | ],
14 | "fields": [
15 | {
16 | "fieldname": "title",
17 | "fieldtype": "Data",
18 | "in_list_view": 1,
19 | "label": "Title"
20 | },
21 | {
22 | "fieldname": "css_properties",
23 | "fieldtype": "Small Text",
24 | "in_list_view": 1,
25 | "label": "CSS Properties"
26 | },
27 | {
28 | "fieldname": "image",
29 | "fieldtype": "Image",
30 | "label": "Image"
31 | }
32 | ],
33 | "index_web_pages_for_search": 1,
34 | "links": [],
35 | "modified": "2022-09-16 18:57:44.551734",
36 | "modified_by": "Administrator",
37 | "module": "Go1 CMS",
38 | "name": "Background Pattern",
39 | "owner": "Administrator",
40 | "permissions": [
41 | {
42 | "create": 1,
43 | "delete": 1,
44 | "email": 1,
45 | "export": 1,
46 | "print": 1,
47 | "read": 1,
48 | "report": 1,
49 | "role": "System Manager",
50 | "share": 1,
51 | "write": 1
52 | }
53 | ],
54 | "sort_field": "modified",
55 | "sort_order": "DESC"
56 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/background_pattern/background_pattern.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class BackgroundPattern(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/background_pattern/test_background_pattern.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestBackgroundPattern(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/cms_route/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/cms_route/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/cms_route/cms_route.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2022, Tridotstech and contributors
2 | // For license information, please see license.txt
3 |
4 | frappe.ui.form.on('CMS Route', {
5 | // refresh: function(frm) {
6 |
7 | // }
8 | });
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/cms_route/cms_route.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "creation": "2022-10-06 13:13:24.469554",
5 | "doctype": "DocType",
6 | "editable_grid": 1,
7 | "engine": "InnoDB",
8 | "field_order": [
9 | "page_type",
10 | "page_prefix"
11 | ],
12 | "fields": [
13 | {
14 | "fieldname": "page_type",
15 | "fieldtype": "Select",
16 | "in_list_view": 1,
17 | "label": "Page Type",
18 | "options": "Regular\nList\nDetail",
19 | "reqd": 1
20 | },
21 | {
22 | "fieldname": "page_prefix",
23 | "fieldtype": "Data",
24 | "in_list_view": 1,
25 | "label": "Page Prefix",
26 | "reqd": 1
27 | }
28 | ],
29 | "index_web_pages_for_search": 1,
30 | "istable": 1,
31 | "links": [],
32 | "modified": "2022-10-06 13:16:04.873309",
33 | "modified_by": "Administrator",
34 | "module": "Go1 CMS",
35 | "name": "CMS Route",
36 | "owner": "Administrator",
37 | "permissions": [],
38 | "sort_field": "modified",
39 | "sort_order": "DESC"
40 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/cms_route/cms_route.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class CMSRoute(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/cms_route/test_cms_route.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestCMSRoute(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/cms_settings/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/cms_settings/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/cms_settings/cms_settings.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2020, Tridots Tech and contributors
2 | // For license information, please see license.txt
3 |
4 | frappe.ui.form.on('CMS Settings', {
5 | // refresh: function(frm) {
6 |
7 | // }
8 | });
9 | {% include 'go1_cms/go1_cms/doctype/cms_settings/section_content.js' %}
10 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/cms_settings/cms_settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "creation": "2022-08-09 15:53:24.282958",
5 | "doctype": "DocType",
6 | "editable_grid": 1,
7 | "engine": "InnoDB",
8 | "field_order": [
9 | "settings_section",
10 | "enable_go1_builder",
11 | "generate_html",
12 | "styles_to_update",
13 | "field_type_properties",
14 | "route_prefix_section",
15 | "route_prefix",
16 | "website_settings_section",
17 | "use_other_domain",
18 | "domain"
19 | ],
20 | "fields": [
21 | {
22 | "fieldname": "settings_section",
23 | "fieldtype": "Section Break",
24 | "label": "Settings"
25 | },
26 | {
27 | "default": "0",
28 | "fieldname": "generate_html",
29 | "fieldtype": "Check",
30 | "label": "Generate Pages as a HTML"
31 | },
32 | {
33 | "fieldname": "styles_to_update",
34 | "fieldtype": "Code",
35 | "label": "Styles To Update"
36 | },
37 | {
38 | "fieldname": "field_type_properties",
39 | "fieldtype": "Table",
40 | "label": "Field Type Properties",
41 | "options": "Field Types Property"
42 | },
43 | {
44 | "default": "0",
45 | "fieldname": "enable_go1_builder",
46 | "fieldtype": "Check",
47 | "label": "Enable Go1 CMS Builder"
48 | },
49 | {
50 | "fieldname": "website_settings_section",
51 | "fieldtype": "Section Break",
52 | "label": "Website Settings"
53 | },
54 | {
55 | "default": "0",
56 | "fieldname": "use_other_domain",
57 | "fieldtype": "Check",
58 | "label": "Use Other Domain"
59 | },
60 | {
61 | "depends_on": "eval:doc.use_other_domain==1",
62 | "fieldname": "domain",
63 | "fieldtype": "Data",
64 | "label": "Domain"
65 | },
66 | {
67 | "fieldname": "route_prefix_section",
68 | "fieldtype": "Section Break",
69 | "label": "Route Prefix"
70 | },
71 | {
72 | "fieldname": "route_prefix",
73 | "fieldtype": "Table",
74 | "label": "Route Prefix",
75 | "options": "CMS Route"
76 | }
77 | ],
78 | "index_web_pages_for_search": 1,
79 | "issingle": 1,
80 | "links": [],
81 | "modified": "2022-10-06 13:14:04.149793",
82 | "modified_by": "Administrator",
83 | "module": "Go1 CMS",
84 | "name": "CMS Settings",
85 | "owner": "Administrator",
86 | "permissions": [
87 | {
88 | "create": 1,
89 | "delete": 1,
90 | "email": 1,
91 | "print": 1,
92 | "read": 1,
93 | "role": "System Manager",
94 | "share": 1,
95 | "write": 1
96 | }
97 | ],
98 | "sort_field": "modified",
99 | "sort_order": "DESC",
100 | "track_changes": 1
101 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/cms_settings/cms_settings.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class CMSSettings(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/cms_settings/test_cms_settings.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestCMSSettings(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/color_palette/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/color_palette/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/color_palette/color_palette.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | import frappe
5 | from frappe.model.document import Document
6 |
7 | class ColorPalette(Document):
8 | pass
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/color_palette/test_color_palette.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestColorPalette(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/contact_enquiry/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/contact_enquiry/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/contact_enquiry/contact_enquiry.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2022, Tridotstech and contributors
2 | // For license information, please see license.txt
3 |
4 | frappe.ui.form.on('Contact Enquiry', {
5 | // refresh: function(frm) {
6 |
7 | // }
8 | });
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/contact_enquiry/contact_enquiry.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "autoname": "naming_series:",
5 | "creation": "2022-08-08 20:08:32.464216",
6 | "doctype": "DocType",
7 | "editable_grid": 1,
8 | "engine": "InnoDB",
9 | "field_order": [
10 | "full_name",
11 | "subject",
12 | "column_break_3",
13 | "email_id",
14 | "phone_number",
15 | "section_break_6",
16 | "message",
17 | "naming_series"
18 | ],
19 | "fields": [
20 | {
21 | "fieldname": "full_name",
22 | "fieldtype": "Data",
23 | "in_list_view": 1,
24 | "label": "Full Name",
25 | "reqd": 1
26 | },
27 | {
28 | "fieldname": "subject",
29 | "fieldtype": "Data",
30 | "in_list_view": 1,
31 | "label": "Subject",
32 | "reqd": 1
33 | },
34 | {
35 | "fieldname": "column_break_3",
36 | "fieldtype": "Column Break"
37 | },
38 | {
39 | "fieldname": "email_id",
40 | "fieldtype": "Data",
41 | "label": "Email Id",
42 | "options": "Email"
43 | },
44 | {
45 | "fieldname": "phone_number",
46 | "fieldtype": "Data",
47 | "in_list_view": 1,
48 | "label": "Phone Number",
49 | "reqd": 1
50 | },
51 | {
52 | "fieldname": "section_break_6",
53 | "fieldtype": "Section Break"
54 | },
55 | {
56 | "fieldname": "message",
57 | "fieldtype": "Long Text",
58 | "label": "Message",
59 | "reqd": 1
60 | },
61 | {
62 | "fieldname": "naming_series",
63 | "fieldtype": "Select",
64 | "hidden": 1,
65 | "label": "Naming Series",
66 | "options": "CE-"
67 | }
68 | ],
69 | "index_web_pages_for_search": 1,
70 | "links": [],
71 | "modified": "2022-08-08 20:08:46.171749",
72 | "modified_by": "Administrator",
73 | "module": "Go1 CMS",
74 | "name": "Contact Enquiry",
75 | "owner": "Administrator",
76 | "permissions": [
77 | {
78 | "create": 1,
79 | "delete": 1,
80 | "email": 1,
81 | "export": 1,
82 | "print": 1,
83 | "read": 1,
84 | "report": 1,
85 | "role": "System Manager",
86 | "share": 1,
87 | "write": 1
88 | }
89 | ],
90 | "sort_field": "modified",
91 | "sort_order": "DESC"
92 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/contact_enquiry/contact_enquiry.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class ContactEnquiry(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/contact_enquiry/test_contact_enquiry.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestContactEnquiry(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/css_font/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/css_font/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/css_font/css_font.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2022, Tridotstech and contributors
2 | // For license information, please see license.txt
3 |
4 | frappe.ui.form.on('CSS Font', {
5 | // refresh: function(frm) {
6 |
7 | // }
8 | });
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/css_font/css_font.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "autoname": "field:font_name",
5 | "creation": "2022-08-08 21:12:08.352836",
6 | "doctype": "DocType",
7 | "editable_grid": 1,
8 | "engine": "InnoDB",
9 | "field_order": [
10 | "font_name",
11 | "font_type",
12 | "font_url",
13 | "font_family",
14 | "column_break_5",
15 | "font_family_category",
16 | "font_files_section",
17 | "font_files"
18 | ],
19 | "fields": [
20 | {
21 | "fieldname": "font_name",
22 | "fieldtype": "Data",
23 | "in_list_view": 1,
24 | "label": "Font Name",
25 | "reqd": 1,
26 | "unique": 1
27 | },
28 | {
29 | "fieldname": "font_type",
30 | "fieldtype": "Select",
31 | "label": "Font Type",
32 | "options": "Google\nCustom"
33 | },
34 | {
35 | "depends_on": "eval:doc.font_type == \"Google\"",
36 | "fieldname": "font_url",
37 | "fieldtype": "Data",
38 | "label": "Font Url"
39 | },
40 | {
41 | "fieldname": "font_family",
42 | "fieldtype": "Data",
43 | "label": "Font Family"
44 | },
45 | {
46 | "depends_on": "eval:doc.font_type == \"Custom\"",
47 | "fieldname": "font_files_section",
48 | "fieldtype": "Section Break",
49 | "label": "Font Files"
50 | },
51 | {
52 | "fieldname": "font_files",
53 | "fieldtype": "Table",
54 | "label": "Font Files",
55 | "options": "Fonts File"
56 | },
57 | {
58 | "fieldname": "column_break_5",
59 | "fieldtype": "Column Break"
60 | },
61 | {
62 | "fieldname": "font_family_category",
63 | "fieldtype": "Select",
64 | "label": "Font Family Category",
65 | "options": "\nSans-serif\nSerif"
66 | }
67 | ],
68 | "index_web_pages_for_search": 1,
69 | "links": [],
70 | "modified": "2022-09-02 12:41:06.575343",
71 | "modified_by": "Administrator",
72 | "module": "Go1 CMS",
73 | "name": "CSS Font",
74 | "owner": "Administrator",
75 | "permissions": [
76 | {
77 | "create": 1,
78 | "delete": 1,
79 | "email": 1,
80 | "export": 1,
81 | "print": 1,
82 | "read": 1,
83 | "report": 1,
84 | "role": "System Manager",
85 | "share": 1,
86 | "write": 1
87 | }
88 | ],
89 | "sort_field": "modified",
90 | "sort_order": "DESC"
91 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/css_font/css_font.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class CSSFont(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/css_font/test_css_font.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestCSSFont(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/css_group/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/css_group/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/css_group/css_group.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2022, Tridotstech and contributors
2 | // For license information, please see license.txt
3 |
4 | frappe.ui.form.on('CSS Group', {
5 | // refresh: function(frm) {
6 |
7 | // }
8 | });
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/css_group/css_group.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "creation": "2022-08-09 16:00:21.993528",
5 | "doctype": "DocType",
6 | "editable_grid": 1,
7 | "engine": "InnoDB",
8 | "field_order": [
9 | "title"
10 | ],
11 | "fields": [
12 | {
13 | "fieldname": "title",
14 | "fieldtype": "Data",
15 | "in_list_view": 1,
16 | "label": "Title",
17 | "reqd": 1,
18 | "unique": 1
19 | }
20 | ],
21 | "index_web_pages_for_search": 1,
22 | "links": [],
23 | "modified": "2022-08-09 16:13:07.600103",
24 | "modified_by": "Administrator",
25 | "module": "Go1 CMS",
26 | "name": "CSS Group",
27 | "owner": "Administrator",
28 | "permissions": [
29 | {
30 | "create": 1,
31 | "delete": 1,
32 | "email": 1,
33 | "export": 1,
34 | "print": 1,
35 | "read": 1,
36 | "report": 1,
37 | "role": "System Manager",
38 | "share": 1,
39 | "write": 1
40 | }
41 | ],
42 | "quick_entry": 1,
43 | "sort_field": "modified",
44 | "sort_order": "DESC",
45 | "track_changes": 1
46 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/css_group/css_group.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class CSSGroup(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/css_group/test_css_group.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestCSSGroup(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/css_list/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/css_list/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/css_list/css_list.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "creation": "2022-08-12 12:39:17.560090",
5 | "doctype": "DocType",
6 | "editable_grid": 1,
7 | "engine": "InnoDB",
8 | "field_order": [
9 | "css_file"
10 | ],
11 | "fields": [
12 | {
13 | "fieldname": "css_file",
14 | "fieldtype": "Attach",
15 | "in_list_view": 1,
16 | "label": "Css File"
17 | }
18 | ],
19 | "index_web_pages_for_search": 1,
20 | "istable": 1,
21 | "links": [],
22 | "modified": "2022-08-12 14:37:15.186159",
23 | "modified_by": "Administrator",
24 | "module": "Go1 CMS",
25 | "name": "Css List",
26 | "owner": "Administrator",
27 | "permissions": [],
28 | "sort_field": "modified",
29 | "sort_order": "DESC"
30 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/css_list/css_list.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class CssList(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/css_property/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/css_property/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/css_property/css_property.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2022, Tridotstech and contributors
2 | // For license information, please see license.txt
3 |
4 | frappe.ui.form.on('CSS Property', {
5 | // refresh: function(frm) {
6 |
7 | // }
8 | });
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/css_property/css_property.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "creation": "2022-08-09 16:00:29.459853",
5 | "doctype": "DocType",
6 | "editable_grid": 1,
7 | "engine": "InnoDB",
8 | "field_order": [
9 | "title",
10 | "property_name",
11 | "column_break_3",
12 | "css_group",
13 | "value_type",
14 | "possible_option_section",
15 | "options_json"
16 | ],
17 | "fields": [
18 | {
19 | "fieldname": "title",
20 | "fieldtype": "Data",
21 | "in_list_view": 1,
22 | "label": "Title",
23 | "reqd": 1,
24 | "unique": 1
25 | },
26 | {
27 | "fieldname": "property_name",
28 | "fieldtype": "Data",
29 | "in_list_view": 1,
30 | "label": "Property Name",
31 | "reqd": 1
32 | },
33 | {
34 | "fieldname": "column_break_3",
35 | "fieldtype": "Column Break"
36 | },
37 | {
38 | "fieldname": "css_group",
39 | "fieldtype": "Link",
40 | "in_list_view": 1,
41 | "label": "CSS Group",
42 | "options": "CSS Group",
43 | "reqd": 1
44 | },
45 | {
46 | "fieldname": "value_type",
47 | "fieldtype": "Select",
48 | "in_list_view": 1,
49 | "label": "Value Type",
50 | "options": "Data\nNumber\nColor\nSelect\nAttach",
51 | "reqd": 1
52 | },
53 | {
54 | "depends_on": "eval: {{ doc.value_type == \"Select\" }}",
55 | "fieldname": "possible_option_section",
56 | "fieldtype": "Section Break",
57 | "label": "Possible Options"
58 | },
59 | {
60 | "fieldname": "options_json",
61 | "fieldtype": "Code",
62 | "label": "Options JSON"
63 | }
64 | ],
65 | "index_web_pages_for_search": 1,
66 | "links": [],
67 | "modified": "2022-08-09 16:12:25.488573",
68 | "modified_by": "Administrator",
69 | "module": "Go1 CMS",
70 | "name": "CSS Property",
71 | "owner": "Administrator",
72 | "permissions": [
73 | {
74 | "create": 1,
75 | "delete": 1,
76 | "email": 1,
77 | "export": 1,
78 | "print": 1,
79 | "read": 1,
80 | "report": 1,
81 | "role": "System Manager",
82 | "share": 1,
83 | "write": 1
84 | }
85 | ],
86 | "sort_field": "modified",
87 | "sort_order": "DESC",
88 | "track_changes": 1
89 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/css_property/css_property.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class CSSProperty(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/css_property/test_css_property.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestCSSProperty(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/custom_query/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/custom_query/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/custom_query/custom_query.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2022, Tridotstech and contributors
2 | // For license information, please see license.txt
3 |
4 | frappe.ui.form.on('Custom Query', {
5 | // refresh: function(frm) {
6 |
7 | // }
8 | });
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/custom_query/custom_query.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "autoname": "field:title",
5 | "creation": "2022-08-09 17:38:51.500078",
6 | "doctype": "DocType",
7 | "editable_grid": 1,
8 | "engine": "InnoDB",
9 | "field_order": [
10 | "title",
11 | "query"
12 | ],
13 | "fields": [
14 | {
15 | "fieldname": "query",
16 | "fieldtype": "Text",
17 | "label": "Query"
18 | },
19 | {
20 | "fieldname": "title",
21 | "fieldtype": "Data",
22 | "label": "Title",
23 | "unique": 1
24 | }
25 | ],
26 | "index_web_pages_for_search": 1,
27 | "links": [],
28 | "modified": "2022-09-05 21:06:50.392434",
29 | "modified_by": "Administrator",
30 | "module": "Go1 CMS",
31 | "name": "Custom Query",
32 | "owner": "Administrator",
33 | "permissions": [
34 | {
35 | "create": 1,
36 | "delete": 1,
37 | "email": 1,
38 | "export": 1,
39 | "print": 1,
40 | "read": 1,
41 | "report": 1,
42 | "role": "System Manager",
43 | "share": 1,
44 | "write": 1
45 | }
46 | ],
47 | "sort_field": "modified",
48 | "sort_order": "DESC",
49 | "track_changes": 1
50 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/custom_query/custom_query.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class CustomQuery(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/custom_query/test_custom_query.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestCustomQuery(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/detail_page_layout/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/detail_page_layout/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/detail_page_layout/detail_page_layout.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2022, Tridotstech and contributors
2 | // For license information, please see license.txt
3 |
4 | frappe.ui.form.on('Detail Page Layout', {
5 | // refresh: function(frm) {
6 |
7 | // }
8 | });
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/detail_page_layout/detail_page_layout.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "autoname": "DPL-.#####",
5 | "creation": "2022-09-20 15:50:22.271494",
6 | "doctype": "DocType",
7 | "editable_grid": 1,
8 | "engine": "InnoDB",
9 | "field_order": [
10 | "title",
11 | "image",
12 | "layout_json"
13 | ],
14 | "fields": [
15 | {
16 | "fieldname": "title",
17 | "fieldtype": "Data",
18 | "in_list_view": 1,
19 | "label": "Title",
20 | "reqd": 1
21 | },
22 | {
23 | "fieldname": "image",
24 | "fieldtype": "Attach Image",
25 | "label": "Image"
26 | },
27 | {
28 | "fieldname": "layout_json",
29 | "fieldtype": "Code",
30 | "label": "Layout Json",
31 | "reqd": 1
32 | }
33 | ],
34 | "index_web_pages_for_search": 1,
35 | "links": [],
36 | "modified": "2022-09-20 15:53:39.344062",
37 | "modified_by": "Administrator",
38 | "module": "Go1 CMS",
39 | "name": "Detail Page Layout",
40 | "owner": "Administrator",
41 | "permissions": [
42 | {
43 | "create": 1,
44 | "delete": 1,
45 | "email": 1,
46 | "export": 1,
47 | "print": 1,
48 | "read": 1,
49 | "report": 1,
50 | "role": "System Manager",
51 | "share": 1,
52 | "write": 1
53 | }
54 | ],
55 | "sort_field": "modified",
56 | "sort_order": "DESC"
57 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/detail_page_layout/detail_page_layout.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class DetailPageLayout(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/detail_page_layout/test_detail_page_layout.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestDetailPageLayout(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/faq/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/faq/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/faq/faq.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2022, Tridotstech and contributors
2 | // For license information, please see license.txt
3 |
4 | frappe.ui.form.on('FAQ', {
5 | // refresh: function(frm) {
6 |
7 | // }
8 | });
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/faq/faq.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "autoname": "naming_series:",
5 | "creation": "2022-08-08 20:00:05.374343",
6 | "doctype": "DocType",
7 | "editable_grid": 1,
8 | "engine": "InnoDB",
9 | "field_order": [
10 | "faq_category",
11 | "question",
12 | "answer",
13 | "naming_series"
14 | ],
15 | "fields": [
16 | {
17 | "allow_in_quick_entry": 1,
18 | "fieldname": "faq_category",
19 | "fieldtype": "Link",
20 | "label": "FAQ Category",
21 | "options": "FAQ Category"
22 | },
23 | {
24 | "fieldname": "question",
25 | "fieldtype": "Data",
26 | "in_list_view": 1,
27 | "label": "Question",
28 | "reqd": 1
29 | },
30 | {
31 | "fieldname": "answer",
32 | "fieldtype": "Long Text",
33 | "in_list_view": 1,
34 | "label": "Answer",
35 | "reqd": 1
36 | },
37 | {
38 | "fieldname": "naming_series",
39 | "fieldtype": "Select",
40 | "label": "Naming Series",
41 | "options": "FAQ-"
42 | }
43 | ],
44 | "index_web_pages_for_search": 1,
45 | "links": [],
46 | "modified": "2022-08-08 20:06:07.528477",
47 | "modified_by": "Administrator",
48 | "module": "Go1 CMS",
49 | "name": "FAQ",
50 | "owner": "Administrator",
51 | "permissions": [
52 | {
53 | "create": 1,
54 | "delete": 1,
55 | "email": 1,
56 | "export": 1,
57 | "print": 1,
58 | "read": 1,
59 | "report": 1,
60 | "role": "System Manager",
61 | "share": 1,
62 | "write": 1
63 | }
64 | ],
65 | "quick_entry": 1,
66 | "sort_field": "modified",
67 | "sort_order": "DESC"
68 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/faq/faq.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class FAQ(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/faq/test_faq.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestFAQ(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/faq_category/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/faq_category/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/faq_category/faq_category.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2022, Tridotstech and contributors
2 | // For license information, please see license.txt
3 |
4 | frappe.ui.form.on('FAQ Category', {
5 | // refresh: function(frm) {
6 |
7 | // }
8 | });
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/faq_category/faq_category.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "autoname": "field:faq_category_name",
5 | "creation": "2022-08-08 19:58:24.415438",
6 | "doctype": "DocType",
7 | "editable_grid": 1,
8 | "engine": "InnoDB",
9 | "field_order": [
10 | "faq_category_name",
11 | "category_image"
12 | ],
13 | "fields": [
14 | {
15 | "fieldname": "faq_category_name",
16 | "fieldtype": "Data",
17 | "in_list_view": 1,
18 | "label": "FAQ Category Name",
19 | "reqd": 1,
20 | "unique": 1
21 | },
22 | {
23 | "allow_in_quick_entry": 1,
24 | "fieldname": "category_image",
25 | "fieldtype": "Attach Image",
26 | "label": "Category Image"
27 | }
28 | ],
29 | "index_web_pages_for_search": 1,
30 | "links": [],
31 | "modified": "2022-08-08 20:06:15.346038",
32 | "modified_by": "Administrator",
33 | "module": "Go1 CMS",
34 | "name": "FAQ Category",
35 | "owner": "Administrator",
36 | "permissions": [
37 | {
38 | "create": 1,
39 | "delete": 1,
40 | "email": 1,
41 | "export": 1,
42 | "print": 1,
43 | "read": 1,
44 | "report": 1,
45 | "role": "System Manager",
46 | "share": 1,
47 | "write": 1
48 | }
49 | ],
50 | "quick_entry": 1,
51 | "sort_field": "modified",
52 | "sort_order": "DESC"
53 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/faq_category/faq_category.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class FAQCategory(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/faq_category/test_faq_category.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestFAQCategory(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/field_types_property/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/field_types_property/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/field_types_property/field_types_property.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "creation": "2022-08-08 21:08:35.430953",
5 | "doctype": "DocType",
6 | "editable_grid": 1,
7 | "engine": "InnoDB",
8 | "field_order": [
9 | "field_type",
10 | "choose_style_properties",
11 | "css_properties_list"
12 | ],
13 | "fields": [
14 | {
15 | "fieldname": "field_type",
16 | "fieldtype": "Select",
17 | "label": "Field Type",
18 | "options": "Text\nSmall Text\nLong Text\nAttach\nButton\nBorder\nh1\nh2\nh3\nh4\nh5\nh6\np - Paragraph\na - Anchor\nblockquote - Quote\npre - Formatted\nli - List\nprimary - btn\nsecondary - btn\ntertiary - btn\ncp - h1\ncp - h2\ncp - h3\ncp - h4\ncp - h5\ncp - h6\ncp - p - Paragraph\ncp - a - Anchor\ncp - blockquote - Quote\ncp - pre - Formatted\ncp - primary - btn\ncp - secondary - btn\ncp - tertiary - btn\nPage Section\nSection Column"
19 | },
20 | {
21 | "fieldname": "choose_style_properties",
22 | "fieldtype": "Button",
23 | "label": "Choose Style Properties"
24 | },
25 | {
26 | "fieldname": "css_properties_list",
27 | "fieldtype": "Code",
28 | "label": "CSS Properties List"
29 | }
30 | ],
31 | "index_web_pages_for_search": 1,
32 | "istable": 1,
33 | "links": [],
34 | "modified": "2022-09-20 20:09:43.612290",
35 | "modified_by": "Administrator",
36 | "module": "Go1 CMS",
37 | "name": "Field Types Property",
38 | "owner": "Administrator",
39 | "permissions": [],
40 | "sort_field": "modified",
41 | "sort_order": "DESC"
42 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/field_types_property/field_types_property.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class FieldTypesProperty(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/fonts_file/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/fonts_file/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/fonts_file/fonts_file.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2022, Tridotstech and contributors
2 | // For license information, please see license.txt
3 |
4 | frappe.ui.form.on('Fonts File', {
5 | // refresh: function(frm) {
6 |
7 | // }
8 | });
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/fonts_file/fonts_file.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "creation": "2022-08-08 21:11:41.579175",
5 | "doctype": "DocType",
6 | "editable_grid": 1,
7 | "engine": "InnoDB",
8 | "field_order": [
9 | "format",
10 | "upload_file"
11 | ],
12 | "fields": [
13 | {
14 | "fieldname": "format",
15 | "fieldtype": "Data",
16 | "in_list_view": 1,
17 | "label": "Format",
18 | "reqd": 1
19 | },
20 | {
21 | "fieldname": "upload_file",
22 | "fieldtype": "Attach",
23 | "in_list_view": 1,
24 | "label": "Upload File",
25 | "reqd": 1
26 | }
27 | ],
28 | "index_web_pages_for_search": 1,
29 | "istable": 1,
30 | "links": [],
31 | "modified": "2022-08-08 21:11:48.164572",
32 | "modified_by": "Administrator",
33 | "module": "Go1 CMS",
34 | "name": "Fonts File",
35 | "owner": "Administrator",
36 | "permissions": [],
37 | "sort_field": "modified",
38 | "sort_order": "DESC"
39 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/fonts_file/fonts_file.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class FontsFile(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/fonts_file/test_fonts_file.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestFontsFile(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/footer_component/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/footer_component/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/footer_component/footer_component.py:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | # Copyright (c) 2022, Tridots Tech and contributors
3 | # For license information, please see license.txt
4 |
5 |
6 | from __future__ import unicode_literals
7 | import frappe
8 | import json
9 | import os
10 | import urllib.parse
11 | from frappe.utils import encode, get_files_path, getdate
12 | from frappe.model.mapper import get_mapped_doc
13 | from frappe.website.website_generator import WebsiteGenerator
14 | # from ecommerce_business_store.ecommerce_business_store.api import check_domain, get_business_from_login
15 | from frappe.model.naming import make_autoname
16 | # from ecommerce_business_store.utils.setup import get_settings_from_domain, \
17 | # get_settings_value_from_domain, get_theme_settings
18 | # from ecommerce_business_store.cms.api import get_template_folder, unescape
19 | from urllib.parse import urljoin, unquote, urlencode
20 | from frappe.model.document import Document
21 |
22 | class FooterComponent(Document):
23 | def on_update(self):
24 | self.construct_html('web', 'web_section')
25 |
26 | def construct_html(self, view_type, ref_field):
27 | result = self.get_json_data(ref_field)
28 | path = get_files_path()
29 | if not os.path.exists(os.path.join(path,'data_source')):
30 | frappe.create_folder(os.path.join(path,'data_source'))
31 | with open(os.path.join(path,'data_source', (self.name.lower().replace(' ', '_')+ '_' + view_type + '.json')), "w") as f:
32 | if view_type == "mobile":
33 | content = json.dumps(json.loads(frappe.as_json(result)), separators=(',', ':'))
34 | # f.write(frappe.as_json(result))
35 | f.write(content)
36 | else:
37 | # f.write(frappe.as_json(result))
38 | content = json.dumps(json.loads(frappe.as_json(result)), separators=(',', ':'))
39 | # f.write(frappe.as_json(result))
40 | # frappe.log_error(content,'content')
41 | f.write(content)
42 |
43 | def get_json_data(self, ref_field):
44 | results = []
45 | for item in self.as_dict()[ref_field]:
46 | doc = frappe.get_doc('Page Section', item.section)
47 | obj = doc.run_method('section_data')
48 | obj["layout_json"] = self.layout_json
49 | obj["column_index"] = item.get("column_index")
50 | results.append(obj)
51 | return results
52 |
53 | @frappe.whitelist()
54 | def get_footer_layouts():
55 | try:
56 | final_data=[]
57 | all__data = frappe.db.get_list("Footer Layout",fields=["name","title","preview","layout_json"],filters={"is_active":1})
58 | for k in all__data:
59 | final_data.append({"layout_json":json.loads(k.layout_json),"preview":k.preview,"title":k.title,"name":k.name})
60 | return final_data
61 | except Exception:
62 | frappe.log_error(frappe.get_traceback(),"go1_cms.go1_cms.doctype.footer_component.footer_component.get_footer_layouts")
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/footer_component/test_footer_component.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestFooterComponent(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/footer_component_item/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/footer_component_item/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/footer_component_item/footer_component_item.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "creation": "2022-08-09 13:13:24.976155",
5 | "doctype": "DocType",
6 | "editable_grid": 1,
7 | "engine": "InnoDB",
8 | "field_order": [
9 | "title",
10 | "section_type",
11 | "column_count",
12 | "menu"
13 | ],
14 | "fields": [
15 | {
16 | "fieldname": "title",
17 | "fieldtype": "Data",
18 | "label": "Title "
19 | },
20 | {
21 | "fieldname": "section_type",
22 | "fieldtype": "Select",
23 | "in_list_view": 1,
24 | "label": "Section Type",
25 | "options": "Menu\nAbout Us\nContact\nContact Form\nNewsletter Subscription Form\nAddress and Download App\nPayment Gateways\nDownload App\nPayment Gateways and Download App"
26 | },
27 | {
28 | "fieldname": "column_count",
29 | "fieldtype": "Select",
30 | "in_list_view": 1,
31 | "label": "Column Count",
32 | "options": "1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12"
33 | },
34 | {
35 | "fieldname": "menu",
36 | "fieldtype": "Link",
37 | "label": "Menu",
38 | "options": "Menu"
39 | }
40 | ],
41 | "index_web_pages_for_search": 1,
42 | "istable": 1,
43 | "links": [],
44 | "modified": "2022-08-09 13:13:24.976155",
45 | "modified_by": "Administrator",
46 | "module": "Go1 CMS",
47 | "name": "Footer Component Item",
48 | "owner": "Administrator",
49 | "permissions": [],
50 | "sort_field": "modified",
51 | "sort_order": "DESC"
52 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/footer_component_item/footer_component_item.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class FooterComponentItem(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/footer_layout/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/footer_layout/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/footer_layout/footer_layout.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2022, Tridotstech and contributors
2 | // For license information, please see license.txt
3 |
4 | frappe.ui.form.on('Footer Layout', {
5 | // refresh: function(frm) {
6 |
7 | // }
8 | });
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/footer_layout/footer_layout.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "autoname": "FCl-.####",
5 | "creation": "2022-09-13 13:54:34.601980",
6 | "doctype": "DocType",
7 | "editable_grid": 1,
8 | "engine": "InnoDB",
9 | "field_order": [
10 | "title",
11 | "is_active",
12 | "column_break_2",
13 | "preview",
14 | "json_section",
15 | "layout_json"
16 | ],
17 | "fields": [
18 | {
19 | "fieldname": "title",
20 | "fieldtype": "Data",
21 | "in_list_view": 1,
22 | "in_standard_filter": 1,
23 | "label": "Title"
24 | },
25 | {
26 | "fieldname": "column_break_2",
27 | "fieldtype": "Column Break"
28 | },
29 | {
30 | "fieldname": "preview",
31 | "fieldtype": "Attach Image",
32 | "label": "Preview"
33 | },
34 | {
35 | "fieldname": "json_section",
36 | "fieldtype": "Section Break",
37 | "label": "Json"
38 | },
39 | {
40 | "fieldname": "layout_json",
41 | "fieldtype": "Code",
42 | "label": "Layout Json"
43 | },
44 | {
45 | "default": "0",
46 | "fieldname": "is_active",
47 | "fieldtype": "Check",
48 | "label": "Is Active"
49 | }
50 | ],
51 | "image_field": "preview",
52 | "index_web_pages_for_search": 1,
53 | "links": [],
54 | "modified": "2022-09-19 15:22:30.161361",
55 | "modified_by": "Administrator",
56 | "module": "Go1 CMS",
57 | "name": "Footer Layout",
58 | "owner": "Administrator",
59 | "permissions": [
60 | {
61 | "create": 1,
62 | "delete": 1,
63 | "email": 1,
64 | "export": 1,
65 | "print": 1,
66 | "read": 1,
67 | "report": 1,
68 | "role": "System Manager",
69 | "share": 1,
70 | "write": 1
71 | }
72 | ],
73 | "sort_field": "modified",
74 | "sort_order": "DESC",
75 | "title_field": "title"
76 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/footer_layout/footer_layout.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class FooterLayout(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/footer_layout/test_footer_layout.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestFooterLayout(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/footer_template/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/footer_template/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/footer_template/footer_template.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2022, Tridotstech and contributors
2 | // For license information, please see license.txt
3 |
4 | frappe.ui.form.on('Footer Template', {
5 | // refresh: function(frm) {
6 |
7 | // }
8 | });
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/footer_template/footer_template.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "autoname": "field:footer_title",
5 | "creation": "2022-08-09 13:10:10.788389",
6 | "doctype": "DocType",
7 | "editable_grid": 1,
8 | "engine": "InnoDB",
9 | "field_order": [
10 | "file_name",
11 | "footer_title",
12 | "footer_content",
13 | "route"
14 | ],
15 | "fields": [
16 | {
17 | "fieldname": "file_name",
18 | "fieldtype": "Data",
19 | "label": "File Name"
20 | },
21 | {
22 | "fieldname": "footer_title",
23 | "fieldtype": "Data",
24 | "label": "Footer Title",
25 | "unique": 1
26 | },
27 | {
28 | "fieldname": "footer_content",
29 | "fieldtype": "Text",
30 | "label": "Footer Content"
31 | },
32 | {
33 | "fieldname": "route",
34 | "fieldtype": "Data",
35 | "hidden": 1,
36 | "label": "Route"
37 | }
38 | ],
39 | "index_web_pages_for_search": 1,
40 | "links": [],
41 | "modified": "2022-08-12 17:22:23.965221",
42 | "modified_by": "Administrator",
43 | "module": "Go1 CMS",
44 | "name": "Footer Template",
45 | "owner": "Administrator",
46 | "permissions": [
47 | {
48 | "create": 1,
49 | "delete": 1,
50 | "email": 1,
51 | "export": 1,
52 | "print": 1,
53 | "read": 1,
54 | "report": 1,
55 | "role": "System Manager",
56 | "share": 1,
57 | "write": 1
58 | }
59 | ],
60 | "sort_field": "modified",
61 | "sort_order": "DESC",
62 | "track_changes": 1
63 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/footer_template/footer_template.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class FooterTemplate(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/footer_template/test_footer_template.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestFooterTemplate(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/gallery/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/gallery/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/gallery/gallery.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "autoname": "G-.#####",
5 | "creation": "2022-08-24 16:34:37.216563",
6 | "doctype": "DocType",
7 | "editable_grid": 1,
8 | "engine": "InnoDB",
9 | "field_order": [
10 | "title",
11 | "column_break_2",
12 | "cover_image",
13 | "section_break_5",
14 | "attach_files",
15 | "gallery"
16 | ],
17 | "fields": [
18 | {
19 | "fieldname": "title",
20 | "fieldtype": "Data",
21 | "in_list_view": 1,
22 | "label": "Title",
23 | "reqd": 1
24 | },
25 | {
26 | "fieldname": "gallery",
27 | "fieldtype": "Table",
28 | "label": "Gallery",
29 | "options": "Gallery Files"
30 | },
31 | {
32 | "fieldname": "attach_files",
33 | "fieldtype": "Button",
34 | "label": "Attach Files"
35 | },
36 | {
37 | "fieldname": "cover_image",
38 | "fieldtype": "Data",
39 | "label": "Cover Image",
40 | "read_only": 1
41 | },
42 | {
43 | "fieldname": "column_break_2",
44 | "fieldtype": "Column Break"
45 | },
46 | {
47 | "fieldname": "section_break_5",
48 | "fieldtype": "Section Break"
49 | }
50 | ],
51 | "links": [],
52 | "modified": "2022-09-05 13:56:48.821780",
53 | "modified_by": "Administrator",
54 | "module": "Go1 CMS",
55 | "name": "Gallery",
56 | "owner": "Administrator",
57 | "permissions": [
58 | {
59 | "create": 1,
60 | "delete": 1,
61 | "email": 1,
62 | "export": 1,
63 | "print": 1,
64 | "read": 1,
65 | "report": 1,
66 | "role": "System Manager",
67 | "share": 1,
68 | "write": 1
69 | }
70 | ],
71 | "sort_field": "modified",
72 | "sort_order": "DESC"
73 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/gallery/gallery.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | import frappe
5 | from frappe.model.document import Document
6 |
7 | class Gallery(Document):
8 | # pass
9 | def validate(self):
10 | try:
11 | if self.gallery:
12 | count = 1
13 | for d in self.gallery:
14 | cover_image = frappe.get_list("Gallery Files",filters={"name":d.name,"is_cover_image":1})
15 | if not cover_image and d.is_cover_image==1 and not self.cover_image:
16 | d.is_cover_image =1
17 | cover_images = [x for x in self.gallery if x.is_cover_image==1]
18 | if cover_image and len(cover_images)>1:
19 | d.is_cover_image = 0
20 | cover_image_checked =1
21 | if len(cover_images)==0 and count==1:
22 | d.is_cover_image =1
23 | if self.gallery:
24 | for d in self.gallery:
25 | if d.is_cover_image:
26 | self.cover_image = d.image__video
27 |
28 | except Exception as e:
29 | frappe.log_error(frappe.get_traceback(),"coverImages")
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/gallery/test_gallery.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestGallery(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/gallery_files/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/gallery_files/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/gallery_files/gallery_files.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "creation": "2022-08-24 16:31:57.869964",
5 | "doctype": "DocType",
6 | "editable_grid": 1,
7 | "engine": "InnoDB",
8 | "field_order": [
9 | "image__video",
10 | "display_order",
11 | "is_cover_image"
12 | ],
13 | "fields": [
14 | {
15 | "fieldname": "image__video",
16 | "fieldtype": "Attach",
17 | "in_list_view": 1,
18 | "label": "Image"
19 | },
20 | {
21 | "fieldname": "display_order",
22 | "fieldtype": "Int",
23 | "in_list_view": 1,
24 | "label": "Display Order"
25 | },
26 | {
27 | "default": "0",
28 | "fieldname": "is_cover_image",
29 | "fieldtype": "Check",
30 | "in_list_view": 1,
31 | "label": "Is Cover Image"
32 | }
33 | ],
34 | "index_web_pages_for_search": 1,
35 | "istable": 1,
36 | "links": [],
37 | "modified": "2022-09-05 13:57:48.831712",
38 | "modified_by": "Administrator",
39 | "module": "Go1 CMS",
40 | "name": "Gallery Files",
41 | "owner": "Administrator",
42 | "permissions": [],
43 | "sort_field": "modified",
44 | "sort_order": "DESC"
45 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/gallery_files/gallery_files.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class GalleryFiles(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/global_fonts/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/global_fonts/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/global_fonts/global_fonts.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "creation": "2022-09-13 19:25:08.501582",
5 | "doctype": "DocType",
6 | "editable_grid": 1,
7 | "engine": "InnoDB",
8 | "field_order": [
9 | "title",
10 | "column_break_2",
11 | "font_family",
12 | "column_break_4",
13 | "font_weight",
14 | "font_family_name"
15 | ],
16 | "fields": [
17 | {
18 | "fieldname": "title",
19 | "fieldtype": "Data",
20 | "in_global_search": 1,
21 | "in_list_view": 1,
22 | "in_standard_filter": 1,
23 | "label": "Title",
24 | "read_only": 1
25 | },
26 | {
27 | "fieldname": "column_break_2",
28 | "fieldtype": "Column Break"
29 | },
30 | {
31 | "fieldname": "font_family",
32 | "fieldtype": "Link",
33 | "in_list_view": 1,
34 | "in_standard_filter": 1,
35 | "label": "Font Family",
36 | "options": "CSS Font"
37 | },
38 | {
39 | "fieldname": "column_break_4",
40 | "fieldtype": "Column Break"
41 | },
42 | {
43 | "fieldname": "font_weight",
44 | "fieldtype": "Select",
45 | "in_list_view": 1,
46 | "in_standard_filter": 1,
47 | "label": "Font Weight",
48 | "options": "\n100\n200\n300\n400\n500\n600\n700\n800\n900"
49 | },
50 | {
51 | "fetch_from": "font_family.font_family",
52 | "fieldname": "font_family_name",
53 | "fieldtype": "Data",
54 | "hidden": 1,
55 | "label": "Font Family Name",
56 | "read_only": 1
57 | }
58 | ],
59 | "index_web_pages_for_search": 1,
60 | "istable": 1,
61 | "links": [],
62 | "modified": "2022-09-16 15:00:30.505484",
63 | "modified_by": "Administrator",
64 | "module": "Go1 CMS",
65 | "name": "Global Fonts",
66 | "owner": "Administrator",
67 | "permissions": [],
68 | "sort_field": "modified",
69 | "sort_order": "DESC"
70 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/global_fonts/global_fonts.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class GlobalFonts(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/header_component/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/header_component/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/header_component/test_header_component.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestHeaderComponent(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/header_layout/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/header_layout/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/header_layout/header_layout.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2022, Tridotstech and contributors
2 | // For license information, please see license.txt
3 |
4 | frappe.ui.form.on('Header Layout', {
5 | refresh: function(frm) {
6 | frm.r___id = Math.floor(Math.random() * 100)
7 | frm.trigger("render_image_preview")
8 | },
9 | render_image_preview(frm){
10 | frm.image_pre_wrapper = frm.get_field("preview_html").$wrapper
11 | $(frm.image_pre_wrapper).empty()
12 | if(frm.doc.preview){
13 | let html = `
`
29 | frm.image_pre_wrapper.html(html)
30 | refresh_field("preview_html")
31 | }
32 | }
33 | });
34 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/header_layout/header_layout.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "autoname": "HL-.#####",
5 | "creation": "2022-09-15 10:44:19.651255",
6 | "doctype": "DocType",
7 | "editable_grid": 1,
8 | "engine": "InnoDB",
9 | "field_order": [
10 | "title",
11 | "is_active",
12 | "column_break_2",
13 | "preview",
14 | "preview_html",
15 | "json_section",
16 | "layout_json"
17 | ],
18 | "fields": [
19 | {
20 | "fieldname": "title",
21 | "fieldtype": "Data",
22 | "in_list_view": 1,
23 | "in_standard_filter": 1,
24 | "label": "Title"
25 | },
26 | {
27 | "default": "0",
28 | "fieldname": "is_active",
29 | "fieldtype": "Check",
30 | "label": "Is Active"
31 | },
32 | {
33 | "fieldname": "column_break_2",
34 | "fieldtype": "Column Break"
35 | },
36 | {
37 | "fieldname": "preview",
38 | "fieldtype": "Attach Image",
39 | "label": "Preview"
40 | },
41 | {
42 | "fieldname": "json_section",
43 | "fieldtype": "Section Break",
44 | "label": "Json"
45 | },
46 | {
47 | "fieldname": "layout_json",
48 | "fieldtype": "Code",
49 | "label": "Layout Json"
50 | },
51 | {
52 | "fieldname": "preview_html",
53 | "fieldtype": "HTML"
54 | }
55 | ],
56 | "image_field": "preview",
57 | "index_web_pages_for_search": 1,
58 | "links": [],
59 | "modified": "2022-09-19 15:21:40.106667",
60 | "modified_by": "Administrator",
61 | "module": "Go1 CMS",
62 | "name": "Header Layout",
63 | "owner": "Administrator",
64 | "permissions": [
65 | {
66 | "create": 1,
67 | "delete": 1,
68 | "email": 1,
69 | "export": 1,
70 | "print": 1,
71 | "read": 1,
72 | "report": 1,
73 | "role": "System Manager",
74 | "share": 1,
75 | "write": 1
76 | }
77 | ],
78 | "sort_field": "modified",
79 | "sort_order": "DESC",
80 | "title_field": "title"
81 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/header_layout/header_layout.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class HeaderLayout(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/header_layout/test_header_layout.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestHeaderLayout(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/header_template/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/header_template/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/header_template/header_template.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2022, Tridotstech and contributors
2 | // For license information, please see license.txt
3 |
4 | frappe.ui.form.on('Header Template', {
5 | // refresh: function(frm) {
6 |
7 | // }
8 | });
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/header_template/header_template.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "creation": "2022-08-09 12:55:15.230124",
5 | "doctype": "DocType",
6 | "editable_grid": 1,
7 | "engine": "InnoDB",
8 | "field_order": [
9 | "file_name",
10 | "header_title",
11 | "header_content",
12 | "route"
13 | ],
14 | "fields": [
15 | {
16 | "fieldname": "file_name",
17 | "fieldtype": "Data",
18 | "label": "File Name",
19 | "read_only": 1
20 | },
21 | {
22 | "fieldname": "header_title",
23 | "fieldtype": "Data",
24 | "label": "Header Title"
25 | },
26 | {
27 | "fieldname": "header_content",
28 | "fieldtype": "Text",
29 | "label": "Header Content"
30 | },
31 | {
32 | "fieldname": "route",
33 | "fieldtype": "Data",
34 | "hidden": 1,
35 | "label": "Route"
36 | }
37 | ],
38 | "index_web_pages_for_search": 1,
39 | "links": [],
40 | "modified": "2022-08-09 12:55:15.230124",
41 | "modified_by": "Administrator",
42 | "module": "Go1 CMS",
43 | "name": "Header Template",
44 | "owner": "Administrator",
45 | "permissions": [
46 | {
47 | "create": 1,
48 | "delete": 1,
49 | "email": 1,
50 | "export": 1,
51 | "print": 1,
52 | "read": 1,
53 | "report": 1,
54 | "role": "System Manager",
55 | "share": 1,
56 | "write": 1
57 | }
58 | ],
59 | "sort_field": "modified",
60 | "sort_order": "DESC",
61 | "track_changes": 1
62 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/header_template/header_template.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class HeaderTemplate(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/header_template/test_header_template.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestHeaderTemplate(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/js_list/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/js_list/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/js_list/js_list.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "creation": "2022-08-12 12:43:49.809842",
5 | "doctype": "DocType",
6 | "editable_grid": 1,
7 | "engine": "InnoDB",
8 | "field_order": [
9 | "js_file"
10 | ],
11 | "fields": [
12 | {
13 | "fieldname": "js_file",
14 | "fieldtype": "Attach",
15 | "in_list_view": 1,
16 | "label": "Js File"
17 | }
18 | ],
19 | "index_web_pages_for_search": 1,
20 | "istable": 1,
21 | "links": [],
22 | "modified": "2022-08-12 14:37:03.732391",
23 | "modified_by": "Administrator",
24 | "module": "Go1 CMS",
25 | "name": "Js List",
26 | "owner": "Administrator",
27 | "permissions": [],
28 | "sort_field": "modified",
29 | "sort_order": "DESC"
30 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/js_list/js_list.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class JsList(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/layout/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/layout/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/layout/layout.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2022, Tridotstech and contributors
2 | // For license information, please see license.txt
3 |
4 | frappe.ui.form.on('Layout', {
5 | // refresh: function(frm) {
6 |
7 | // }
8 | });
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/layout/layout.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "creation": "2022-08-09 16:02:21.013822",
5 | "doctype": "DocType",
6 | "editable_grid": 1,
7 | "engine": "InnoDB",
8 | "field_order": [
9 | "layout_title",
10 | "web_layout",
11 | "tab_layout",
12 | "mobile_layout"
13 | ],
14 | "fields": [
15 | {
16 | "fieldname": "layout_title",
17 | "fieldtype": "Data",
18 | "in_list_view": 1,
19 | "label": "Layout Title",
20 | "reqd": 1
21 | },
22 | {
23 | "fieldname": "web_layout",
24 | "fieldtype": "Data",
25 | "in_list_view": 1,
26 | "label": "Web Layout",
27 | "reqd": 1
28 | },
29 | {
30 | "fieldname": "tab_layout",
31 | "fieldtype": "Data",
32 | "in_list_view": 1,
33 | "label": "Tab Layout",
34 | "reqd": 1
35 | },
36 | {
37 | "fieldname": "mobile_layout",
38 | "fieldtype": "Data",
39 | "in_list_view": 1,
40 | "label": "Mobile Layout",
41 | "reqd": 1
42 | }
43 | ],
44 | "index_web_pages_for_search": 1,
45 | "links": [],
46 | "modified": "2022-08-09 16:02:21.013822",
47 | "modified_by": "Administrator",
48 | "module": "Go1 CMS",
49 | "name": "Layout",
50 | "owner": "Administrator",
51 | "permissions": [
52 | {
53 | "create": 1,
54 | "delete": 1,
55 | "email": 1,
56 | "export": 1,
57 | "print": 1,
58 | "read": 1,
59 | "report": 1,
60 | "role": "System Manager",
61 | "share": 1,
62 | "write": 1
63 | }
64 | ],
65 | "quick_entry": 1,
66 | "sort_field": "modified",
67 | "sort_order": "DESC",
68 | "track_changes": 1
69 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/layout/layout.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class Layout(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/layout/test_layout.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestLayout(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/menu/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/menu/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/menu/menu.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2022, Tridotstech and contributors
2 | // For license information, please see license.txt
3 |
4 | frappe.ui.form.on('Menu', {
5 | // on_update: function(frm) {
6 | // console.log('kk')
7 | // }
8 | });
9 |
10 | frappe.ui.form.on('Menus Item', {
11 | form_render: function(frm,cdt,cdn) {
12 | let item = locals[cdt][cdn]
13 | if (item.is_mega_menu){
14 | $(`[data-name="${cdn}"] [data-fieldname="mega_m_col_index"]`).hide()
15 | $(`[data-name="${cdn}"] [data-fieldname="parent_menu"]`).hide()
16 | }
17 | if(item.parent_menu){
18 | $(`[data-name="${cdn}"] [data-fieldname="is_mega_menu"]`).hide()
19 | $(`[data-name="${cdn}"] [data-fieldname="no_of_column"]`).hide()
20 | $(`[data-name="${cdn}"] [data-fieldname="mega_m_col_index"]`).hide()
21 | cur_frm.doc.menus.map(res=>{
22 | if(res.menu_label == item.parent_menu){
23 | if(res.is_mega_menu){
24 | $(`[data-name="${cdn}"] [data-fieldname="mega_m_col_index"]`).show()
25 | }
26 | }
27 | })
28 |
29 | }
30 | },
31 | is_mega_menu(frm,cdt,cdn){
32 | let item = locals[cdt][cdn]
33 | if(item.is_mega_menu){
34 | item.parent_menu = ""
35 | item.mega_m_col_index =""
36 | $(`[data-name="${cdn}"] [data-fieldname="parent_menu"]`).hide()
37 | $(`[data-name="${cdn}"] [data-fieldname="mega_m_col_index"]`).hide()
38 | refresh_field('menu')
39 | }
40 | else{
41 | $(`[data-name="${cdn}"] [data-fieldname="parent_menu"]`).show()
42 | $(`[data-name="${cdn}"] [data-fieldname="mega_m_col_index"]`).show()
43 | }
44 | },
45 | parent_menu(frm,cdt,cdn){
46 | let item = locals[cdt][cdn]
47 | if(item.parent_menu){
48 | $(`[data-name="${cdn}"] [data-fieldname="mega_m_col_index"]`).show()
49 | $(`[data-name="${cdn}"] [data-fieldname="is_mega_menu"]`).hide()
50 | $(`[data-name="${cdn}"] [data-fieldname="no_of_column"]`).hide()
51 | item.is_mega_menu = 0
52 | item.no_of_column = 0
53 | refresh_field('menu')
54 | }
55 | else{
56 | $(`[data-name="${cdn}"] [data-fieldname="is_mega_menu"]`).show()
57 | $(`[data-name="${cdn}"] [data-fieldname="no_of_column"]`).show()
58 | }
59 | },
60 | mega_m_col_index(frm,cdt,cdn){
61 | let item = locals[cdt][cdn]
62 | cur_frm.doc.menus.map(res=>{
63 | if(res.menu_label == item.parent_menu){
64 | if(item.mega_m_col_index > res.no_of_column){
65 | frappe.msgprint(`Index value can't be greater than mega menu columns`)
66 | item.mega_m_col_index = 0
67 | refresh_field('menu')
68 | }
69 | }
70 | })
71 | },
72 | });
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/menu/menu.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "autoname": "field:title",
5 | "creation": "2022-08-09 13:07:03.834511",
6 | "doctype": "DocType",
7 | "editable_grid": 1,
8 | "engine": "InnoDB",
9 | "field_order": [
10 | "title",
11 | "is_static_menu",
12 | "menus"
13 | ],
14 | "fields": [
15 | {
16 | "fieldname": "title",
17 | "fieldtype": "Data",
18 | "in_list_view": 1,
19 | "label": "Title",
20 | "reqd": 1,
21 | "unique": 1
22 | },
23 | {
24 | "default": "1",
25 | "fieldname": "is_static_menu",
26 | "fieldtype": "Check",
27 | "hidden": 1,
28 | "label": "Is Static Menu"
29 | },
30 | {
31 | "fieldname": "menus",
32 | "fieldtype": "Table",
33 | "label": "Menus",
34 | "options": "Menus Item"
35 | }
36 | ],
37 | "index_web_pages_for_search": 1,
38 | "links": [],
39 | "modified": "2022-11-25 13:50:09.646957",
40 | "modified_by": "Administrator",
41 | "module": "Go1 CMS",
42 | "name": "Menu",
43 | "owner": "Administrator",
44 | "permissions": [
45 | {
46 | "create": 1,
47 | "delete": 1,
48 | "email": 1,
49 | "export": 1,
50 | "print": 1,
51 | "read": 1,
52 | "report": 1,
53 | "role": "System Manager",
54 | "share": 1,
55 | "write": 1
56 | }
57 | ],
58 | "quick_entry": 1,
59 | "sort_field": "modified",
60 | "sort_order": "DESC",
61 | "track_changes": 1
62 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/menu/menu.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | import frappe
5 | from frappe.model.document import Document
6 |
7 | class Menu(Document):
8 | pass
9 | # def validate(self):
10 | # if self.mega_menu_number_of_columns > 4:
11 | # frappe.throw('Maximun no of columns should be less than or euqal to 4')
12 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/menu/test_menu.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestMenu(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/menus_item/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/menus_item/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/menus_item/menus_item.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "creation": "2022-08-09 13:06:42.424351",
5 | "doctype": "DocType",
6 | "editable_grid": 1,
7 | "engine": "InnoDB",
8 | "field_order": [
9 | "menu_label",
10 | "parent_menu",
11 | "is_mega_menu",
12 | "no_of_column",
13 | "mega_m_col_index",
14 | "column_break_4",
15 | "redirect_url",
16 | "position",
17 | "icon"
18 | ],
19 | "fields": [
20 | {
21 | "fieldname": "menu_label",
22 | "fieldtype": "Data",
23 | "in_list_view": 1,
24 | "label": "Menu Label"
25 | },
26 | {
27 | "fieldname": "parent_menu",
28 | "fieldtype": "Data",
29 | "label": "Parent Menu"
30 | },
31 | {
32 | "fieldname": "redirect_url",
33 | "fieldtype": "Data",
34 | "in_list_view": 1,
35 | "label": "Redirect URL"
36 | },
37 | {
38 | "fieldname": "position",
39 | "fieldtype": "Select",
40 | "in_list_view": 1,
41 | "label": "Position",
42 | "options": "Left\nRight"
43 | },
44 | {
45 | "fieldname": "icon",
46 | "fieldtype": "Attach Image",
47 | "label": "Icon"
48 | },
49 | {
50 | "fieldname": "column_break_4",
51 | "fieldtype": "Column Break"
52 | },
53 | {
54 | "fieldname": "mega_m_col_index",
55 | "fieldtype": "Int",
56 | "label": "Mega Menu Column Index"
57 | },
58 | {
59 | "default": "0",
60 | "depends_on": "eval:!doc.parent_menu",
61 | "fieldname": "is_mega_menu",
62 | "fieldtype": "Check",
63 | "label": "Is Mega Menu"
64 | },
65 | {
66 | "fieldname": "no_of_column",
67 | "fieldtype": "Int",
68 | "label": "Number Of Columns"
69 | }
70 | ],
71 | "index_web_pages_for_search": 1,
72 | "istable": 1,
73 | "links": [],
74 | "modified": "2022-11-25 15:26:35.455337",
75 | "modified_by": "Administrator",
76 | "module": "Go1 CMS",
77 | "name": "Menus Item",
78 | "owner": "Administrator",
79 | "permissions": [],
80 | "sort_field": "modified",
81 | "sort_order": "DESC"
82 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/menus_item/menus_item.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class MenusItem(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/mobile_page_section/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/mobile_page_section/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/mobile_page_section/mobile_page_section.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "creation": "2022-08-09 13:34:28.753154",
5 | "doctype": "DocType",
6 | "editable_grid": 1,
7 | "engine": "InnoDB",
8 | "field_order": [
9 | "section",
10 | "section_title",
11 | "custom_title",
12 | "section_name",
13 | "section_type",
14 | "content_type",
15 | "route",
16 | "allow_update_to_style",
17 | "column_index"
18 | ],
19 | "fields": [
20 | {
21 | "fieldname": "section",
22 | "fieldtype": "Link",
23 | "in_list_view": 1,
24 | "label": "Section",
25 | "options": "Page Section",
26 | "reqd": 1
27 | },
28 | {
29 | "fetch_from": "section.section_title",
30 | "fieldname": "section_title",
31 | "fieldtype": "Data",
32 | "in_list_view": 1,
33 | "label": "Section Title"
34 | },
35 | {
36 | "fieldname": "custom_title",
37 | "fieldtype": "Data",
38 | "label": "Custom Title"
39 | },
40 | {
41 | "fetch_from": "section.section_name",
42 | "fieldname": "section_name",
43 | "fieldtype": "Data",
44 | "in_list_view": 1,
45 | "label": "Section Name"
46 | },
47 | {
48 | "fieldname": "section_type",
49 | "fieldtype": "Data",
50 | "label": "Section Type"
51 | },
52 | {
53 | "fieldname": "content_type",
54 | "fieldtype": "Data",
55 | "label": "Content Type"
56 | },
57 | {
58 | "fetch_from": "section.route",
59 | "fieldname": "route",
60 | "fieldtype": "Data",
61 | "label": "Route"
62 | },
63 | {
64 | "default": "0",
65 | "fieldname": "allow_update_to_style",
66 | "fieldtype": "Check",
67 | "label": "Allow Update to Style"
68 | },
69 | {
70 | "default": "1",
71 | "fieldname": "column_index",
72 | "fieldtype": "Int",
73 | "label": "Column Index"
74 | }
75 | ],
76 | "index_web_pages_for_search": 1,
77 | "istable": 1,
78 | "links": [],
79 | "modified": "2022-09-14 12:31:36.164387",
80 | "modified_by": "Administrator",
81 | "module": "Go1 CMS",
82 | "name": "Mobile Page Section",
83 | "owner": "Administrator",
84 | "permissions": [],
85 | "sort_field": "modified",
86 | "sort_order": "DESC"
87 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/mobile_page_section/mobile_page_section.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class MobilePageSection(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/page_section/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/page_section/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/page_section/page_section.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2022, Tridotstech and contributors
2 | // For license information, please see license.txt
3 |
4 | frappe.ui.form.on('Page Section', {
5 | // refresh: function(frm) {
6 |
7 | // }
8 | });
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/page_section/test_page_section.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestPageSection(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/page_template/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/page_template/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/page_template/page_template.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class PageTemplate(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/page_template/test_page_template.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestPageTemplate(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/proposal/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/proposal/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/proposal/templates/proposal.html:
--------------------------------------------------------------------------------
1 | {% extends "templates/web.html" %}
2 |
3 | {% block page_content %}
4 | {{ title }}
5 | {% endblock %}
6 |
7 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/proposal/templates/proposal_row.html:
--------------------------------------------------------------------------------
1 |
4 |
5 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/proposal/test_proposal.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, valiantsystems.com and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | from frappe.tests.utils import FrappeTestCase
6 |
7 |
8 | class TestProposal(FrappeTestCase):
9 | pass
10 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/section_column_css/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/section_column_css/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/section_column_css/section_column_css.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "creation": "2022-09-20 20:04:42.673378",
5 | "doctype": "DocType",
6 | "editable_grid": 1,
7 | "engine": "InnoDB",
8 | "field_order": [
9 | "page_section",
10 | "column_class",
11 | "css_json",
12 | "css_text"
13 | ],
14 | "fields": [
15 | {
16 | "fieldname": "page_section",
17 | "fieldtype": "Data",
18 | "label": "Page Section"
19 | },
20 | {
21 | "fieldname": "column_class",
22 | "fieldtype": "Data",
23 | "label": "Column Class"
24 | },
25 | {
26 | "fieldname": "css_json",
27 | "fieldtype": "Code",
28 | "label": "Css JSON"
29 | },
30 | {
31 | "fieldname": "css_text",
32 | "fieldtype": "Code",
33 | "label": "CSS Text"
34 | }
35 | ],
36 | "index_web_pages_for_search": 1,
37 | "istable": 1,
38 | "links": [],
39 | "modified": "2022-09-20 20:04:42.673378",
40 | "modified_by": "Administrator",
41 | "module": "Go1 CMS",
42 | "name": "Section Column CSS",
43 | "owner": "Administrator",
44 | "permissions": [],
45 | "sort_field": "modified",
46 | "sort_order": "DESC"
47 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/section_column_css/section_column_css.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class SectionColumnCSS(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/section_component/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/section_component/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/section_component/section_component.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | import frappe
5 | import json
6 | from frappe.website.website_generator import WebsiteGenerator
7 |
8 | class SectionComponent(WebsiteGenerator):
9 | def validate(self):
10 | if not self.route:
11 | self.route = self.scrub(self.title)
12 |
13 | @frappe.whitelist()
14 | def get_css_fields():
15 | result = frappe.db.get_single_value('CMS Settings', 'styles_to_update')
16 | return json.loads(result)
17 |
18 | @frappe.whitelist()
19 | def get_component_details():
20 | try:
21 | group_data =[]
22 | query_1 = ''' SELECT group_name FROM `tabSection Component Group`'''
23 | groups = frappe.db.sql(query_1,as_dict=1)
24 | # frappe.log_error(groups,">> groups <<")
25 | for each_grp in groups:
26 | # query_2 = ''' SELECT sc.name as unique_id,sc.title as name,sc.group_name as section_group,sc.icon,sc.preview_image as image,sc.allow_update_to_style,sc.css_field_list,sec.field_label,
27 | # sec.field_key,sec.field_type,sec.content_type,sec.image_dimension,sec.allow_update_to_style,sec.css_properties_list,
28 | # sec.content,sec.fields_json,sec.css_json,sec.css_text FROM `tabSection Component` sc INNER JOIN `tabSection Content` sec ON sec.parent=sc.name WHERE sc.group_name="%s"'''%each_grp.group_name
29 | query_2 = ''' SELECT name as unique_id,group_name,allow_update_to_style,css_field_list,title as name,icon as image,css_field_list FROM `tabSection Component` WHERE group_name="%s"'''%each_grp.group_name
30 | each_data = frappe.db.sql(query_2,as_dict=1)
31 | if each_data and len(each_data) > 0:
32 | for k in each_data:
33 | group_data.append(k)
34 | return {"template_groups":groups,"templates":group_data}
35 | except Exception:
36 | frappe.log_error(frappe.get_traceback(),"go1_cms.go1_cms.doctype.section_component.section_component.get_component_details")
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/section_component/templates/section_component.html:
--------------------------------------------------------------------------------
1 | {% extends "templates/web.html" %}
2 |
3 | {% block page_content %}
4 | {{ title }}
5 | {% endblock %}
6 |
7 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/section_component/templates/section_component_row.html:
--------------------------------------------------------------------------------
1 |
4 |
5 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/section_component/test_section_component.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestSectionComponent(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/section_component_group/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/section_component_group/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/section_component_group/section_component_group.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2022, Tridotstech and contributors
2 | // For license information, please see license.txt
3 |
4 | frappe.ui.form.on('Section Component Group', {
5 | // refresh: function(frm) {
6 |
7 | // }
8 | });
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/section_component_group/section_component_group.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "autoname": "field:group_name",
5 | "creation": "2022-09-15 17:07:10.940543",
6 | "doctype": "DocType",
7 | "editable_grid": 1,
8 | "engine": "InnoDB",
9 | "field_order": [
10 | "group_name"
11 | ],
12 | "fields": [
13 | {
14 | "fieldname": "group_name",
15 | "fieldtype": "Data",
16 | "in_list_view": 1,
17 | "label": "Group Name",
18 | "reqd": 1,
19 | "unique": 1
20 | }
21 | ],
22 | "index_web_pages_for_search": 1,
23 | "links": [],
24 | "modified": "2022-09-15 17:07:10.940543",
25 | "modified_by": "Administrator",
26 | "module": "Go1 CMS",
27 | "name": "Section Component Group",
28 | "owner": "Administrator",
29 | "permissions": [
30 | {
31 | "create": 1,
32 | "delete": 1,
33 | "email": 1,
34 | "export": 1,
35 | "print": 1,
36 | "read": 1,
37 | "report": 1,
38 | "role": "System Manager",
39 | "share": 1,
40 | "write": 1
41 | }
42 | ],
43 | "quick_entry": 1,
44 | "sort_field": "modified",
45 | "sort_order": "DESC"
46 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/section_component_group/section_component_group.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class SectionComponentGroup(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/section_component_group/test_section_component_group.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestSectionComponentGroup(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/section_content/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/section_content/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/section_content/section_content.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class SectionContent(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/section_dividers/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/section_dividers/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/section_dividers/section_dividers.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2022, Tridotstech and contributors
2 | // For license information, please see license.txt
3 |
4 | frappe.ui.form.on('Section Dividers', {
5 | // refresh: function(frm) {
6 |
7 | // }
8 | });
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/section_dividers/section_dividers.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "autoname": "SD.####",
5 | "creation": "2022-09-15 17:01:55.758466",
6 | "doctype": "DocType",
7 | "editable_grid": 1,
8 | "engine": "InnoDB",
9 | "field_order": [
10 | "title",
11 | "svg_code",
12 | "svg_file"
13 | ],
14 | "fields": [
15 | {
16 | "fieldname": "title",
17 | "fieldtype": "Data",
18 | "in_list_view": 1,
19 | "label": "Title"
20 | },
21 | {
22 | "fieldname": "svg_code",
23 | "fieldtype": "Long Text",
24 | "ignore_xss_filter": 1,
25 | "label": "Svg code"
26 | },
27 | {
28 | "fieldname": "svg_file",
29 | "fieldtype": "Attach Image",
30 | "label": "Svg File"
31 | }
32 | ],
33 | "index_web_pages_for_search": 1,
34 | "links": [],
35 | "modified": "2022-09-19 14:43:53.792827",
36 | "modified_by": "Administrator",
37 | "module": "Go1 CMS",
38 | "name": "Section Dividers",
39 | "owner": "Administrator",
40 | "permissions": [
41 | {
42 | "create": 1,
43 | "delete": 1,
44 | "email": 1,
45 | "export": 1,
46 | "print": 1,
47 | "read": 1,
48 | "report": 1,
49 | "role": "System Manager",
50 | "share": 1,
51 | "write": 1
52 | }
53 | ],
54 | "sort_field": "modified",
55 | "sort_order": "DESC"
56 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/section_dividers/section_dividers.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class SectionDividers(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/section_dividers/test_section_dividers.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestSectionDividers(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/section_template/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/section_template/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/section_template/section_template.py:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | # Copyright (c) 2018, info@valiantsystems.com and contributors
3 | # For license information, please see license.txt
4 |
5 | from __future__ import unicode_literals
6 | import frappe
7 | import json
8 | from frappe.model.document import Document
9 |
10 | class SectionTemplate(Document):
11 | def validate(self):
12 | if self.content:
13 | for item in self.content:
14 | if item.field_label and not item.field_key:
15 | item.field_key = item.field_label.lower().replace(' ', '_')
16 | check_existing = list(filter(lambda x: (x.field_key == item.field_key and x.name != item.name), self.content))
17 | if check_existing:
18 | item.field_key = item.field_key + '{0}'.format(frappe.generate_hash(length=4))
19 | if item.field_type == "List":
20 | if item.content:
21 | ct_json = json.loads(item.content)
22 | for index, ct_item in enumerate(ct_json):
23 | ct_item['idx'] = index + 1
24 | item.content = json.dumps(ct_json)
25 |
26 |
27 | import re
28 | self.route = re.sub('[^a-zA-Z0-9 \n\.]', '-', self.name.lower())
29 |
30 | @frappe.whitelist()
31 | def get_linked_documents(dt, image_option):
32 | document_fields = frappe.get_meta(dt, cached=True)
33 | filtered_list = []
34 | if image_option == 'Child Table':
35 | filtered_list = list(filter(lambda x: x.fieldtype == 'Table', document_fields.fields))
36 | else:
37 | filtered_list = list(filter(lambda x: x.fieldtype == 'Link', document_fields.fields))
38 | if filtered_list:
39 | docs_list = []
40 | for item in filtered_list:
41 | docs_meta = frappe.get_meta(item.options, cached=True)
42 | attach_fields = list(filter(lambda x: x.fieldtype in ['Attach Image', 'Attach'], docs_meta.fields))
43 | if attach_fields:
44 | docs_list.append({'document': item.options, 'fields': attach_fields})
45 | return docs_list
46 |
47 |
48 | @frappe.whitelist()
49 | def get_css_fields():
50 | # result = frappe.get_list("CSS Fields",fields=['*'])
51 | # return result
52 | result = frappe.db.get_single_value('CMS Settings', 'styles_to_update')
53 | return json.loads(result)
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/section_template/test_section_template.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestSectionTemplate(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/section_template_group/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/section_template_group/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/section_template_group/section_template_group.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2022, Tridotstech and contributors
2 | // For license information, please see license.txt
3 |
4 | frappe.ui.form.on('Section Template Group', {
5 | // refresh: function(frm) {
6 |
7 | // }
8 | });
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/section_template_group/section_template_group.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "autoname": "field:group_name",
5 | "creation": "2022-08-08 21:13:17.788315",
6 | "doctype": "DocType",
7 | "editable_grid": 1,
8 | "engine": "InnoDB",
9 | "field_order": [
10 | "group_name"
11 | ],
12 | "fields": [
13 | {
14 | "fieldname": "group_name",
15 | "fieldtype": "Data",
16 | "in_list_view": 1,
17 | "label": "Group Name",
18 | "reqd": 1,
19 | "unique": 1
20 | }
21 | ],
22 | "index_web_pages_for_search": 1,
23 | "links": [],
24 | "modified": "2022-08-08 21:13:17.788315",
25 | "modified_by": "Administrator",
26 | "module": "Go1 CMS",
27 | "name": "Section Template Group",
28 | "owner": "Administrator",
29 | "permissions": [
30 | {
31 | "create": 1,
32 | "delete": 1,
33 | "email": 1,
34 | "export": 1,
35 | "print": 1,
36 | "read": 1,
37 | "report": 1,
38 | "role": "System Manager",
39 | "share": 1,
40 | "write": 1
41 | }
42 | ],
43 | "quick_entry": 1,
44 | "sort_field": "modified",
45 | "sort_order": "DESC"
46 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/section_template_group/section_template_group.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class SectionTemplateGroup(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/section_template_group/test_section_template_group.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestSectionTemplateGroup(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/section_template_layout/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/section_template_layout/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/section_template_layout/section_template_layout.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2022, Tridotstech and contributors
2 | // For license information, please see license.txt
3 |
4 | frappe.ui.form.on('Section Template Layout', {
5 | refresh: function(frm) {
6 | frm.r___id = Math.floor(Math.random() * 100)
7 | frm.trigger("render_image_preview")
8 | },
9 | render_image_preview(frm){
10 | frm.image_pre_wrapper = frm.get_field("preview_html").$wrapper
11 | $(frm.image_pre_wrapper).empty()
12 | if(frm.doc.preview){
13 | let html = ``
29 | frm.image_pre_wrapper.html(html)
30 | refresh_field("preview_html")
31 | }
32 | }
33 | });
34 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/section_template_layout/section_template_layout.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "autoname": "STL-.####",
5 | "creation": "2022-09-09 13:50:02.295199",
6 | "doctype": "DocType",
7 | "editable_grid": 1,
8 | "engine": "InnoDB",
9 | "field_order": [
10 | "title",
11 | "type",
12 | "column_break_2",
13 | "preview",
14 | "preview_html",
15 | "json_section",
16 | "layout_json"
17 | ],
18 | "fields": [
19 | {
20 | "fieldname": "title",
21 | "fieldtype": "Data",
22 | "in_list_view": 1,
23 | "in_standard_filter": 1,
24 | "label": "Title"
25 | },
26 | {
27 | "fieldname": "layout_json",
28 | "fieldtype": "Code",
29 | "label": "Layout Json"
30 | },
31 | {
32 | "fieldname": "preview",
33 | "fieldtype": "Attach Image",
34 | "label": "Preview"
35 | },
36 | {
37 | "fieldname": "column_break_2",
38 | "fieldtype": "Column Break"
39 | },
40 | {
41 | "fieldname": "json_section",
42 | "fieldtype": "Section Break",
43 | "label": "Json"
44 | },
45 | {
46 | "fieldname": "type",
47 | "fieldtype": "Select",
48 | "in_list_view": 1,
49 | "in_standard_filter": 1,
50 | "label": "Type",
51 | "options": "Regular Section\nSpeciality Section"
52 | },
53 | {
54 | "fieldname": "preview_html",
55 | "fieldtype": "HTML"
56 | }
57 | ],
58 | "index_web_pages_for_search": 1,
59 | "links": [],
60 | "modified": "2022-09-19 11:20:53.518295",
61 | "modified_by": "Administrator",
62 | "module": "Go1 CMS",
63 | "name": "Section Template Layout",
64 | "owner": "Administrator",
65 | "permissions": [
66 | {
67 | "create": 1,
68 | "delete": 1,
69 | "email": 1,
70 | "export": 1,
71 | "print": 1,
72 | "read": 1,
73 | "report": 1,
74 | "role": "System Manager",
75 | "share": 1,
76 | "write": 1
77 | }
78 | ],
79 | "sort_field": "modified",
80 | "sort_order": "DESC",
81 | "title_field": "title"
82 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/section_template_layout/test_section_template_layout.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestSectionTemplateLayout(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/service/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/service/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/service/service.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2022, Tridotstech and contributors
2 | // For license information, please see license.txt
3 |
4 | frappe.ui.form.on('Service', {
5 | // refresh: function(frm) {
6 |
7 | // }
8 | });
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/service/service.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.website.website_generator import WebsiteGenerator
6 |
7 | class Service(WebsiteGenerator):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/service/templates/service.html:
--------------------------------------------------------------------------------
1 | {% extends "templates/web.html" %}
2 |
3 | {% block page_content %}
4 | {{ title }}
5 | {% endblock %}
6 |
7 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/service/templates/service_row.html:
--------------------------------------------------------------------------------
1 |
4 |
5 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/service/templates/services.html:
--------------------------------------------------------------------------------
1 | {% extends "templates/web.html" %}
2 |
3 | {% block page_content %}
4 | {{ title }}
5 | {% endblock %}
6 |
7 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/service/templates/services_row.html:
--------------------------------------------------------------------------------
1 |
4 |
5 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/service/test_service.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestService(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/service_category/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/service_category/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/service_category/service_category.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2022, Tridotstech and contributors
2 | // For license information, please see license.txt
3 |
4 | frappe.ui.form.on('Service Category', {
5 | // refresh: function(frm) {
6 |
7 | // }
8 | });
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/service_category/service_category.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "creation": "2022-09-22 13:58:08.718208",
5 | "doctype": "DocType",
6 | "editable_grid": 1,
7 | "engine": "InnoDB",
8 | "field_order": [
9 | "category_name",
10 | "description",
11 | "is_group",
12 | "parent_category",
13 | "category_image",
14 | "category_icon"
15 | ],
16 | "fields": [
17 | {
18 | "fieldname": "category_name",
19 | "fieldtype": "Data",
20 | "label": "Category Name"
21 | },
22 | {
23 | "fieldname": "description",
24 | "fieldtype": "Long Text",
25 | "label": "Description"
26 | },
27 | {
28 | "default": "0",
29 | "fieldname": "is_group",
30 | "fieldtype": "Check",
31 | "label": "Is Group"
32 | },
33 | {
34 | "fieldname": "parent_category",
35 | "fieldtype": "Link",
36 | "label": "Parent Category",
37 | "options": "Service Category"
38 | },
39 | {
40 | "fieldname": "category_image",
41 | "fieldtype": "Image",
42 | "label": "Category Image"
43 | },
44 | {
45 | "fieldname": "category_icon",
46 | "fieldtype": "Icon",
47 | "label": "Category Icon"
48 | }
49 | ],
50 | "index_web_pages_for_search": 1,
51 | "links": [],
52 | "modified": "2022-09-22 13:58:08.718208",
53 | "modified_by": "Administrator",
54 | "module": "Go1 CMS",
55 | "name": "Service Category",
56 | "owner": "Administrator",
57 | "permissions": [
58 | {
59 | "create": 1,
60 | "delete": 1,
61 | "email": 1,
62 | "export": 1,
63 | "print": 1,
64 | "read": 1,
65 | "report": 1,
66 | "role": "System Manager",
67 | "share": 1,
68 | "write": 1
69 | }
70 | ],
71 | "sort_field": "modified",
72 | "sort_order": "DESC"
73 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/service_category/service_category.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class ServiceCategory(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/service_category/test_service_category.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestServiceCategory(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/services/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/services/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/services/services.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.website.website_generator import WebsiteGenerator
6 |
7 | class Services(WebsiteGenerator):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/services/templates/services.html:
--------------------------------------------------------------------------------
1 | {% extends "templates/web.html" %}
2 |
3 | {% block page_content %}
4 | {{ title }}
5 | {% endblock %}
6 |
7 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/services/templates/services_row.html:
--------------------------------------------------------------------------------
1 |
4 |
5 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/services/test_services.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestServices(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/slider/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/slider/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/slider/slider.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2022, Tridotstech and contributors
2 | // For license information, please see license.txt
3 |
4 | frappe.ui.form.on('Slider', {
5 | // refresh: function(frm) {
6 |
7 | // }
8 | });
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/slider/slider.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class Slider(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/slider/test_slider.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestSlider(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/social_link/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/social_link/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/social_link/social_link.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "creation": "2022-09-19 19:50:27.056248",
5 | "doctype": "DocType",
6 | "editable_grid": 1,
7 | "engine": "InnoDB",
8 | "field_order": [
9 | "social_type",
10 | "icon",
11 | "link_url"
12 | ],
13 | "fields": [
14 | {
15 | "fieldname": "social_type",
16 | "fieldtype": "Select",
17 | "in_list_view": 1,
18 | "label": "Social Type",
19 | "options": "Facebook\nInstagram\nLinkedIn\nPinterest\nTumblr\nTwitter\nYouTube",
20 | "reqd": 1
21 | },
22 | {
23 | "fieldname": "icon",
24 | "fieldtype": "Attach",
25 | "in_list_view": 1,
26 | "label": "Icon"
27 | },
28 | {
29 | "fieldname": "link_url",
30 | "fieldtype": "Data",
31 | "in_list_view": 1,
32 | "label": "Link URL",
33 | "reqd": 1
34 | }
35 | ],
36 | "index_web_pages_for_search": 1,
37 | "istable": 1,
38 | "links": [],
39 | "modified": "2022-09-19 20:57:58.274882",
40 | "modified_by": "Administrator",
41 | "module": "Go1 CMS",
42 | "name": "Social Link",
43 | "owner": "Administrator",
44 | "permissions": [],
45 | "sort_field": "modified",
46 | "sort_order": "DESC"
47 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/social_link/social_link.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class SocialLink(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/testimonial/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/testimonial/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/testimonial/test_testimonial.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestTestimonial(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/testimonial/testimonial.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2022, Tridotstech and contributors
2 | // For license information, please see license.txt
3 |
4 | frappe.ui.form.on('Testimonial', {
5 | // refresh: function(frm) {
6 |
7 | // }
8 | });
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/testimonial/testimonial.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "autoname": "naming_series:",
5 | "creation": "2022-08-08 19:54:31.314515",
6 | "doctype": "DocType",
7 | "editable_grid": 1,
8 | "engine": "InnoDB",
9 | "field_order": [
10 | "title",
11 | "posted_by",
12 | "image",
13 | "column_break_4",
14 | "name1",
15 | "role",
16 | "company_logo",
17 | "content_section",
18 | "content",
19 | "naming_series"
20 | ],
21 | "fields": [
22 | {
23 | "fieldname": "title",
24 | "fieldtype": "Data",
25 | "in_list_view": 1,
26 | "label": "Title",
27 | "reqd": 1
28 | },
29 | {
30 | "fieldname": "posted_by",
31 | "fieldtype": "Data",
32 | "in_list_view": 1,
33 | "label": "Posted By",
34 | "reqd": 1
35 | },
36 | {
37 | "allow_in_quick_entry": 1,
38 | "fieldname": "image",
39 | "fieldtype": "Attach Image",
40 | "label": "Image"
41 | },
42 | {
43 | "fieldname": "content",
44 | "fieldtype": "Long Text",
45 | "in_list_view": 1,
46 | "label": "Content",
47 | "reqd": 1
48 | },
49 | {
50 | "fieldname": "naming_series",
51 | "fieldtype": "Select",
52 | "hidden": 1,
53 | "label": "Naming Series",
54 | "options": "TSM-"
55 | },
56 | {
57 | "fieldname": "column_break_4",
58 | "fieldtype": "Column Break"
59 | },
60 | {
61 | "fieldname": "name1",
62 | "fieldtype": "Data",
63 | "label": "Name"
64 | },
65 | {
66 | "fieldname": "role",
67 | "fieldtype": "Data",
68 | "label": "Role"
69 | },
70 | {
71 | "fieldname": "company_logo",
72 | "fieldtype": "Attach Image",
73 | "label": "Company Logo"
74 | },
75 | {
76 | "fieldname": "content_section",
77 | "fieldtype": "Section Break",
78 | "label": "Content"
79 | }
80 | ],
81 | "index_web_pages_for_search": 1,
82 | "links": [],
83 | "modified": "2022-10-03 19:08:49.411991",
84 | "modified_by": "Administrator",
85 | "module": "Go1 CMS",
86 | "name": "Testimonial",
87 | "owner": "Administrator",
88 | "permissions": [
89 | {
90 | "create": 1,
91 | "delete": 1,
92 | "email": 1,
93 | "export": 1,
94 | "print": 1,
95 | "read": 1,
96 | "report": 1,
97 | "role": "System Manager",
98 | "share": 1,
99 | "write": 1
100 | }
101 | ],
102 | "quick_entry": 1,
103 | "sort_field": "modified",
104 | "sort_order": "DESC"
105 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/testimonial/testimonial.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class Testimonial(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/theme/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/theme/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/theme/test_theme.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestTheme(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/theme/theme.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2022, Tridotstech and contributors
2 | // For license information, please see license.txt
3 |
4 | frappe.ui.form.on('Theme', {
5 | // refresh: function(frm) {
6 |
7 | // }
8 | });
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/theme/theme.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "creation": "2022-08-09 15:50:29.574443",
5 | "doctype": "DocType",
6 | "editable_grid": 1,
7 | "engine": "InnoDB",
8 | "field_order": [
9 | "theme_name",
10 | "disabled",
11 | "category",
12 | "home_page",
13 | "route",
14 | "column_break_6",
15 | "about",
16 | "features_section",
17 | "theme_features",
18 | "pages_section",
19 | "section_break_11",
20 | "theme_json"
21 | ],
22 | "fields": [
23 | {
24 | "fieldname": "theme_name",
25 | "fieldtype": "Data",
26 | "in_list_view": 1,
27 | "label": "Theme Name",
28 | "reqd": 1,
29 | "unique": 1
30 | },
31 | {
32 | "default": "0",
33 | "fieldname": "disabled",
34 | "fieldtype": "Check",
35 | "label": "Disabled"
36 | },
37 | {
38 | "fieldname": "category",
39 | "fieldtype": "Table MultiSelect",
40 | "label": "Category",
41 | "options": "Theme Category Mapping"
42 | },
43 | {
44 | "fieldname": "home_page",
45 | "fieldtype": "Data",
46 | "label": "Home Page"
47 | },
48 | {
49 | "fieldname": "route",
50 | "fieldtype": "Data",
51 | "label": "Route",
52 | "read_only": 1
53 | },
54 | {
55 | "fieldname": "column_break_6",
56 | "fieldtype": "Column Break"
57 | },
58 | {
59 | "fieldname": "about",
60 | "fieldtype": "Small Text",
61 | "label": "About Theme"
62 | },
63 | {
64 | "collapsible": 1,
65 | "fieldname": "features_section",
66 | "fieldtype": "Section Break",
67 | "label": "Features"
68 | },
69 | {
70 | "fieldname": "theme_features",
71 | "fieldtype": "Table",
72 | "label": "Theme Features",
73 | "options": "Theme Features"
74 | },
75 | {
76 | "fieldname": "pages_section",
77 | "fieldtype": "Section Break",
78 | "label": "Pages"
79 | },
80 | {
81 | "fieldname": "section_break_11",
82 | "fieldtype": "Section Break"
83 | },
84 | {
85 | "fieldname": "theme_json",
86 | "fieldtype": "Code",
87 | "label": "Theme JSON"
88 | }
89 | ],
90 | "index_web_pages_for_search": 1,
91 | "links": [],
92 | "modified": "2022-08-09 16:15:48.139261",
93 | "modified_by": "Administrator",
94 | "module": "Go1 CMS",
95 | "name": "Theme",
96 | "owner": "Administrator",
97 | "permissions": [
98 | {
99 | "create": 1,
100 | "delete": 1,
101 | "email": 1,
102 | "export": 1,
103 | "print": 1,
104 | "read": 1,
105 | "report": 1,
106 | "role": "System Manager",
107 | "share": 1,
108 | "write": 1
109 | }
110 | ],
111 | "sort_field": "modified",
112 | "sort_order": "DESC",
113 | "track_changes": 1
114 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/theme/theme.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class Theme(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/theme_category/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/theme_category/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/theme_category/test_theme_category.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestThemeCategory(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/theme_category/theme_category.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2022, Tridotstech and contributors
2 | // For license information, please see license.txt
3 |
4 | frappe.ui.form.on('Theme Category', {
5 | // refresh: function(frm) {
6 |
7 | // }
8 | });
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/theme_category/theme_category.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "creation": "2022-08-09 14:11:07.867860",
5 | "doctype": "DocType",
6 | "editable_grid": 1,
7 | "engine": "InnoDB",
8 | "field_order": [
9 | "category",
10 | "disabled"
11 | ],
12 | "fields": [
13 | {
14 | "fieldname": "category",
15 | "fieldtype": "Data",
16 | "in_list_view": 1,
17 | "label": "Category",
18 | "unique": 1
19 | },
20 | {
21 | "allow_in_quick_entry": 1,
22 | "default": "0",
23 | "fieldname": "disabled",
24 | "fieldtype": "Check",
25 | "label": "Disabled"
26 | }
27 | ],
28 | "index_web_pages_for_search": 1,
29 | "links": [],
30 | "modified": "2022-08-09 16:18:49.221372",
31 | "modified_by": "Administrator",
32 | "module": "Go1 CMS",
33 | "name": "Theme Category",
34 | "owner": "Administrator",
35 | "permissions": [
36 | {
37 | "create": 1,
38 | "delete": 1,
39 | "email": 1,
40 | "export": 1,
41 | "print": 1,
42 | "read": 1,
43 | "report": 1,
44 | "role": "System Manager",
45 | "share": 1,
46 | "write": 1
47 | }
48 | ],
49 | "quick_entry": 1,
50 | "sort_field": "modified",
51 | "sort_order": "DESC",
52 | "track_changes": 1
53 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/theme_category/theme_category.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class ThemeCategory(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/theme_category_mapping/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/theme_category_mapping/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/theme_category_mapping/theme_category_mapping.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "creation": "2022-08-09 14:11:21.140896",
5 | "doctype": "DocType",
6 | "editable_grid": 1,
7 | "engine": "InnoDB",
8 | "field_order": [
9 | "category"
10 | ],
11 | "fields": [
12 | {
13 | "fieldname": "category",
14 | "fieldtype": "Link",
15 | "in_list_view": 1,
16 | "label": "Category",
17 | "options": "Theme Category",
18 | "reqd": 1
19 | }
20 | ],
21 | "index_web_pages_for_search": 1,
22 | "istable": 1,
23 | "links": [],
24 | "modified": "2022-08-09 14:11:21.140896",
25 | "modified_by": "Administrator",
26 | "module": "Go1 CMS",
27 | "name": "Theme Category Mapping",
28 | "owner": "Administrator",
29 | "permissions": [],
30 | "sort_field": "modified",
31 | "sort_order": "DESC"
32 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/theme_category_mapping/theme_category_mapping.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class ThemeCategoryMapping(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/theme_fonts/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/theme_fonts/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/theme_fonts/theme_fonts.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "creation": "2022-08-12 12:36:11.906850",
5 | "doctype": "DocType",
6 | "editable_grid": 1,
7 | "engine": "InnoDB",
8 | "field_order": [
9 | "font_family_url"
10 | ],
11 | "fields": [
12 | {
13 | "fieldname": "font_family_url",
14 | "fieldtype": "Data",
15 | "in_list_view": 1,
16 | "label": "Font Family URL",
17 | "reqd": 1
18 | }
19 | ],
20 | "index_web_pages_for_search": 1,
21 | "istable": 1,
22 | "links": [],
23 | "modified": "2022-08-12 12:36:11.906850",
24 | "modified_by": "Administrator",
25 | "module": "Go1 CMS",
26 | "name": "Theme Fonts",
27 | "owner": "Administrator",
28 | "permissions": [],
29 | "sort_field": "modified",
30 | "sort_order": "DESC"
31 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/theme_fonts/theme_fonts.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class ThemeFonts(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/theme_pages/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/theme_pages/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/theme_pages/theme_pages.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "creation": "2022-08-09 13:36:56.832925",
5 | "doctype": "DocType",
6 | "editable_grid": 1,
7 | "engine": "InnoDB",
8 | "field_order": [
9 | "page_name",
10 | "page_preview",
11 | "is_primary_page"
12 | ],
13 | "fields": [
14 | {
15 | "fieldname": "page_name",
16 | "fieldtype": "Data",
17 | "in_list_view": 1,
18 | "label": "Page Name",
19 | "reqd": 1
20 | },
21 | {
22 | "fieldname": "page_preview",
23 | "fieldtype": "Attach Image",
24 | "label": "Page Preview"
25 | },
26 | {
27 | "default": "0",
28 | "fieldname": "is_primary_page",
29 | "fieldtype": "Check",
30 | "label": "Is Primary Page?"
31 | }
32 | ],
33 | "index_web_pages_for_search": 1,
34 | "istable": 1,
35 | "links": [],
36 | "modified": "2022-08-09 13:36:56.832925",
37 | "modified_by": "Administrator",
38 | "module": "Go1 CMS",
39 | "name": "Theme Pages",
40 | "owner": "Administrator",
41 | "permissions": [],
42 | "sort_field": "modified",
43 | "sort_order": "DESC"
44 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/theme_pages/theme_pages.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class ThemePages(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/theme_settings/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/theme_settings/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/theme_settings/test_theme_settings.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestThemeSettings(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/theme_settings/theme_settings.js:
--------------------------------------------------------------------------------
1 | // Copyright (c) 2022, Tridotstech and contributors
2 | // For license information, please see license.txt
3 |
4 | frappe.ui.form.on('Theme Settings', {
5 | // refresh: function(frm) {
6 |
7 | // }
8 | });
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/typography_default_color/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/typography_default_color/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/typography_default_color/typography_default_color.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "creation": "2022-09-08 12:23:13.190869",
5 | "doctype": "DocType",
6 | "editable_grid": 1,
7 | "engine": "InnoDB",
8 | "field_order": [
9 | "type",
10 | "column_break_2",
11 | "edit_styles",
12 | "css_design",
13 | "style_json"
14 | ],
15 | "fields": [
16 | {
17 | "fieldname": "type",
18 | "fieldtype": "Select",
19 | "in_list_view": 1,
20 | "in_standard_filter": 1,
21 | "label": "Type",
22 | "options": "h1\nh2\nh3\nh4\nh5\nh6\np - Paragraph\na - Anchor\nblockquote - Quote\npre - Formatted\nprimary - btn\nsecondary - btn\ntertiary - btn",
23 | "read_only": 1
24 | },
25 | {
26 | "fieldname": "column_break_2",
27 | "fieldtype": "Column Break"
28 | },
29 | {
30 | "fieldname": "edit_styles",
31 | "fieldtype": "Button",
32 | "in_list_view": 1,
33 | "in_standard_filter": 1,
34 | "label": "Edit Styles"
35 | },
36 | {
37 | "fieldname": "css_design",
38 | "fieldtype": "Code",
39 | "hidden": 1,
40 | "label": "Css Design",
41 | "read_only": 1
42 | },
43 | {
44 | "fieldname": "style_json",
45 | "fieldtype": "Code",
46 | "hidden": 1,
47 | "label": "Style Json",
48 | "read_only": 1
49 | }
50 | ],
51 | "index_web_pages_for_search": 1,
52 | "istable": 1,
53 | "links": [],
54 | "modified": "2022-09-08 15:17:53.657994",
55 | "modified_by": "Administrator",
56 | "module": "Go1 CMS",
57 | "name": "Typography Default Color",
58 | "owner": "Administrator",
59 | "permissions": [],
60 | "sort_field": "modified",
61 | "sort_order": "DESC"
62 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/typography_default_color/typography_default_color.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class TypographyDefaultColor(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/typography_heading/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/typography_heading/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/typography_heading/typography_heading.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "creation": "2022-09-02 18:22:39.148540",
5 | "doctype": "DocType",
6 | "editable_grid": 1,
7 | "engine": "InnoDB",
8 | "field_order": [
9 | "name1",
10 | "column_break_2",
11 | "type",
12 | "column_break_4",
13 | "edit_styles",
14 | "css_design",
15 | "style_json"
16 | ],
17 | "fields": [
18 | {
19 | "fieldname": "name1",
20 | "fieldtype": "Data",
21 | "in_list_view": 1,
22 | "in_standard_filter": 1,
23 | "label": "Name",
24 | "read_only": 1
25 | },
26 | {
27 | "fieldname": "type",
28 | "fieldtype": "Select",
29 | "in_list_view": 1,
30 | "in_standard_filter": 1,
31 | "label": "Type",
32 | "options": "\nh1\nh2\nh3\nh4\nh5\nh6",
33 | "read_only": 1
34 | },
35 | {
36 | "fieldname": "edit_styles",
37 | "fieldtype": "Button",
38 | "in_list_view": 1,
39 | "in_standard_filter": 1,
40 | "label": "Edit Styles"
41 | },
42 | {
43 | "fieldname": "column_break_2",
44 | "fieldtype": "Column Break"
45 | },
46 | {
47 | "fieldname": "column_break_4",
48 | "fieldtype": "Column Break"
49 | },
50 | {
51 | "fieldname": "css_design",
52 | "fieldtype": "Code",
53 | "hidden": 1,
54 | "label": "Css Design",
55 | "read_only": 1
56 | },
57 | {
58 | "fieldname": "style_json",
59 | "fieldtype": "Code",
60 | "hidden": 1,
61 | "label": "Style Json",
62 | "read_only": 1
63 | }
64 | ],
65 | "index_web_pages_for_search": 1,
66 | "istable": 1,
67 | "links": [],
68 | "modified": "2022-09-03 16:53:37.504661",
69 | "modified_by": "Administrator",
70 | "module": "Go1 CMS",
71 | "name": "Typography Heading",
72 | "owner": "Administrator",
73 | "permissions": [],
74 | "sort_field": "modified",
75 | "sort_order": "DESC"
76 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/typography_heading/typography_heading.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class TypographyHeading(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/typography_text/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/typography_text/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/typography_text/typography_text.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "creation": "2022-09-02 18:25:02.338844",
5 | "doctype": "DocType",
6 | "editable_grid": 1,
7 | "engine": "InnoDB",
8 | "field_order": [
9 | "name1",
10 | "column_break_2",
11 | "type",
12 | "column_break_4",
13 | "edit_styles",
14 | "css_design",
15 | "style_json"
16 | ],
17 | "fields": [
18 | {
19 | "fieldname": "name1",
20 | "fieldtype": "Data",
21 | "in_list_view": 1,
22 | "in_standard_filter": 1,
23 | "label": "Name",
24 | "read_only_depends_on": "eval:(doc.name1==\"Paragraph\") || (doc.name1 == \"Anchor\") || (doc.name1==\"Quote\") || (doc.name1 == \"Formatted\")"
25 | },
26 | {
27 | "fieldname": "type",
28 | "fieldtype": "Select",
29 | "in_list_view": 1,
30 | "in_standard_filter": 1,
31 | "label": "Type",
32 | "options": "\np - Paragraph\na - Anchor\nblockquote - Quote\npre - Formatted\nli - List",
33 | "read_only_depends_on": "eval:(doc.name1==\"Paragraph\") || (doc.name1 == \"Anchor\") || (doc.name1==\"Quote\") || (doc.name1 == \"Formatted\")"
34 | },
35 | {
36 | "fieldname": "edit_styles",
37 | "fieldtype": "Button",
38 | "in_list_view": 1,
39 | "in_standard_filter": 1,
40 | "label": "Edit Styles"
41 | },
42 | {
43 | "fieldname": "column_break_2",
44 | "fieldtype": "Column Break"
45 | },
46 | {
47 | "fieldname": "column_break_4",
48 | "fieldtype": "Column Break"
49 | },
50 | {
51 | "fieldname": "css_design",
52 | "fieldtype": "Code",
53 | "hidden": 1,
54 | "label": "Css Design",
55 | "read_only": 1
56 | },
57 | {
58 | "fieldname": "style_json",
59 | "fieldtype": "Code",
60 | "hidden": 1,
61 | "label": "Style Json",
62 | "read_only": 1
63 | }
64 | ],
65 | "index_web_pages_for_search": 1,
66 | "istable": 1,
67 | "links": [],
68 | "modified": "2022-09-17 21:37:21.073198",
69 | "modified_by": "Administrator",
70 | "module": "Go1 CMS",
71 | "name": "Typography Text",
72 | "owner": "Administrator",
73 | "permissions": [],
74 | "sort_field": "modified",
75 | "sort_order": "DESC"
76 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/typography_text/typography_text.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class TypographyText(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/viewed_customer_detail/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/viewed_customer_detail/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/viewed_customer_detail/viewed_customer_detail.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "creation": "2022-12-03 01:10:20.747057",
5 | "default_view": "List",
6 | "doctype": "DocType",
7 | "engine": "InnoDB",
8 | "field_order": [
9 | "customer_ip"
10 | ],
11 | "fields": [
12 | {
13 | "fieldname": "customer_ip",
14 | "fieldtype": "Data",
15 | "in_list_view": 1,
16 | "label": "Customer IP"
17 | }
18 | ],
19 | "index_web_pages_for_search": 1,
20 | "istable": 1,
21 | "links": [],
22 | "modified": "2022-12-19 01:38:28.976521",
23 | "modified_by": "Administrator",
24 | "module": "Go1 CMS",
25 | "name": "Viewed Customer Detail",
26 | "owner": "Administrator",
27 | "permissions": [],
28 | "sort_field": "modified",
29 | "sort_order": "DESC",
30 | "states": []
31 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/viewed_customer_detail/viewed_customer_detail.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class ViewedCustomerDetail(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/web_page_builder/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/web_page_builder/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/web_page_builder/templates/web_page_builder_row.html:
--------------------------------------------------------------------------------
1 |
4 |
5 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/web_page_builder/test_web_page_builder.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestWebPageBuilder(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/web_page_builder/web_page_builder_list.js:
--------------------------------------------------------------------------------
1 | frappe.listview_settings['Web Page Builder'] = {
2 | onload(listview) {
3 | listview.page.set_secondary_action('Load Sample Pages', () => load_sample_data(), 'refresh');
4 |
5 | },
6 |
7 | };
8 | function load_sample_data(){
9 | frappe.call({
10 | method: 'go1_cms.go1_cms.after_install.load_sample_pages',
11 | args: {
12 | },
13 | freeze: true,
14 | callback: function(r) {
15 |
16 | }
17 | });
18 |
19 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/web_theme/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/web_theme/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/web_theme/test_web_theme.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and Contributors
2 | # See license.txt
3 |
4 | # import frappe
5 | import unittest
6 |
7 | class TestWebTheme(unittest.TestCase):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/web_theme_button/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/doctype/web_theme_button/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/web_theme_button/web_theme_button.json:
--------------------------------------------------------------------------------
1 | {
2 | "actions": [],
3 | "allow_rename": 1,
4 | "creation": "2022-09-07 11:32:48.450539",
5 | "doctype": "DocType",
6 | "editable_grid": 1,
7 | "engine": "InnoDB",
8 | "field_order": [
9 | "name1",
10 | "column_break_2",
11 | "type",
12 | "column_break_4",
13 | "edit_styles",
14 | "css_design",
15 | "style_json"
16 | ],
17 | "fields": [
18 | {
19 | "fieldname": "name1",
20 | "fieldtype": "Data",
21 | "in_list_view": 1,
22 | "in_standard_filter": 1,
23 | "label": "Name",
24 | "read_only_depends_on": "eval:(doc.name1==\"Primary Button\") || (doc.name1 == \"Secondary Button\") || (doc.name1==\"Tertiary Button\")"
25 | },
26 | {
27 | "fieldname": "column_break_2",
28 | "fieldtype": "Column Break"
29 | },
30 | {
31 | "fieldname": "type",
32 | "fieldtype": "Select",
33 | "in_list_view": 1,
34 | "in_standard_filter": 1,
35 | "label": "Type",
36 | "options": "primary - btn\nsecondary - btn\ntertiary - btn",
37 | "read_only_depends_on": "eval:(doc.name1==\"Primary Button\") || (doc.name1 == \"Secondary Button\") || (doc.name1==\"Tertiary Button\")"
38 | },
39 | {
40 | "fieldname": "column_break_4",
41 | "fieldtype": "Column Break"
42 | },
43 | {
44 | "fieldname": "edit_styles",
45 | "fieldtype": "Button",
46 | "in_list_view": 1,
47 | "in_standard_filter": 1,
48 | "label": "Edit Styles"
49 | },
50 | {
51 | "fieldname": "css_design",
52 | "fieldtype": "Code",
53 | "hidden": 1,
54 | "label": "Css Design",
55 | "read_only": 1
56 | },
57 | {
58 | "fieldname": "style_json",
59 | "fieldtype": "Code",
60 | "hidden": 1,
61 | "label": "Style Json",
62 | "read_only": 1
63 | }
64 | ],
65 | "index_web_pages_for_search": 1,
66 | "istable": 1,
67 | "links": [],
68 | "modified": "2022-09-08 11:42:47.033824",
69 | "modified_by": "Administrator",
70 | "module": "Go1 CMS",
71 | "name": "Web Theme Button",
72 | "owner": "Administrator",
73 | "permissions": [],
74 | "sort_field": "modified",
75 | "sort_order": "DESC"
76 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/doctype/web_theme_button/web_theme_button.py:
--------------------------------------------------------------------------------
1 | # Copyright (c) 2022, Tridotstech and contributors
2 | # For license information, please see license.txt
3 |
4 | # import frappe
5 | from frappe.model.document import Document
6 |
7 | class WebThemeButton(Document):
8 | pass
9 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/json_data/._.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/json_data/._.DS_Store
--------------------------------------------------------------------------------
/go1_cms/go1_cms/json_data/._background_gradients.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/json_data/._background_gradients.json
--------------------------------------------------------------------------------
/go1_cms/go1_cms/json_data/._cms_settings.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/json_data/._cms_settings.json
--------------------------------------------------------------------------------
/go1_cms/go1_cms/json_data/._color_palletes.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/json_data/._color_palletes.json
--------------------------------------------------------------------------------
/go1_cms/go1_cms/json_data/._footer_components.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/json_data/._footer_components.json
--------------------------------------------------------------------------------
/go1_cms/go1_cms/json_data/._footer_layouts.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/json_data/._footer_layouts.json
--------------------------------------------------------------------------------
/go1_cms/go1_cms/json_data/._header-layout.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/json_data/._header-layout.json
--------------------------------------------------------------------------------
/go1_cms/go1_cms/json_data/._header_components.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/json_data/._header_components.json
--------------------------------------------------------------------------------
/go1_cms/go1_cms/json_data/._web_themes.json:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/json_data/._web_themes.json
--------------------------------------------------------------------------------
/go1_cms/go1_cms/json_data/custom_query.json:
--------------------------------------------------------------------------------
1 | [
2 | {"doctype": "Custom Query","title":"Blog Post", "query":"select thumbnail_image,title,published_on,blog_intro,route from `tabBlog Post` where published=1 order by published desc"},
3 | {"doctype": "Custom Query","title":"FAQs", "query":"select question,answer from `tabFAQ` order by creation desc"}
4 | ]
--------------------------------------------------------------------------------
/go1_cms/go1_cms/json_data/faq.json:
--------------------------------------------------------------------------------
1 | [
2 | {"name":"FAQ-00001","owner":"Administrator","creation":"2022-08-16 19:16:28.312403","modified":"2022-09-22 13:44:02.320633","modified_by":"Administrator","idx":0,"docstatus":0,"question":"What does Lorem mean?","answer":"Lorem ipsum dolor sit amet, consectetur adipisici elit…’ (complete text) is dummy text that is not meant to mean anything. It is used as a placeholder in magazine layouts, for example, in order to give an impression of the finished document. The text is intentionally unintelligible so that the viewer is not distracted by the content. The language is not real Latin and even the first word ‘Lorem’ does not exist. It is said that the lorem ipsum text has been common among typesetters since the 16th century","naming_series":"FAQ-","doctype":"FAQ","__last_sync_on":"2022-09-30T13:39:50.942Z"},
3 | {"name":"FAQ-00002","owner":"Administrator","creation":"2022-08-16 19:17:02.387591","modified":"2022-08-16 19:17:02.387591","modified_by":"Administrator","idx":0,"docstatus":0,"question":"Where can I subscribe to your newsletter?","answer":"We often send out our newsletter with news and great offers. We will never disclose your data to third parties and you can unsubscribe from the newsletter at any time. Subscribe here to our newsletter","naming_series":"FAQ-","doctype":"FAQ","__last_sync_on":"2022-09-30T13:40:03.585Z"},
4 | {"name":"FAQ-00003","owner":"Administrator","creation":"2022-08-16 19:17:37.842068","modified":"2022-08-16 19:17:37.842068","modified_by":"Administrator","idx":0,"docstatus":0,"question":"Where can in edit my address?","answer":"If you created a new account after or while ordering you can edit both addresses (for billing and shipping) in your customer account.","naming_series":"FAQ-","doctype":"FAQ","__last_sync_on":"2022-09-30T13:40:12.706Z"},
5 | {"name":"FAQ-00004","owner":"Administrator","creation":"2022-08-16 19:18:23.346451","modified":"2022-08-16 19:18:23.346451","modified_by":"Administrator","idx":0,"docstatus":0,"question":"Can I order a free copy of a magazine to sample?","answer":"Unfortunately, we’re unable to offer free samples. As a retailer, we buy all magazines from their publishers at the regular trade price. However, you could contact the magazine’s publisher directly to ask if they can send you a free copy.","naming_series":"FAQ-","doctype":"FAQ","__last_sync_on":"2022-09-30T13:40:22.400Z"},
6 | {"name":"FAQ-00005","owner":"Administrator","creation":"2022-08-16 19:18:57.031856","modified":"2022-08-16 19:18:57.031856","modified_by":"Administrator","idx":0,"docstatus":0,"question":"Do you accept orders via Phone or E-mail?","answer":"No, we are an online shop and we do not take orders via Phone, E-mail or Social Media.","naming_series":"FAQ-","doctype":"FAQ","__last_sync_on":"2022-09-30T13:40:31.550Z"}
7 | ]
--------------------------------------------------------------------------------
/go1_cms/go1_cms/json_data/footer_components.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "name": "Default Footer",
4 | "owner": "Administrator",
5 | "creation": "2022-09-21 11:36:42.518201",
6 | "modified": "2022-09-22 10:34:30.957927",
7 | "modified_by": "Administrator",
8 | "idx": 0,
9 | "docstatus": 0,
10 | "title": "Default Footer",
11 | "layout_json": "[{\"fullwidth\":true,\"columns\":[{\"width\":\"25%\",\"rows\":[]},{\"width\":\"18.75%\",\"rows\":[]},{\"width\":\"18.75%\",\"rows\":[]},{\"width\":\"18.75%\",\"rows\":[]},{\"width\":\"18.75%\",\"rows\":[]}]}]",
12 | "preview": "/files/footer-five-columns-left-01.svg",
13 | "background_color": "",
14 | "text_color": "#363636",
15 | "link_color": "#222222",
16 | "link_hover_color": "#171717",
17 | "enable_link_icon": 0,
18 | "footer_vertical_padding": "50px",
19 | "font_family": "Outfit",
20 | "f_title_line_height": "1.4",
21 | "enable_title_border": 0,
22 | "f_title_wt": "600",
23 | "f_title_ls": "1px",
24 | "f_title_size": "15px",
25 | "f_title_color": "#575555",
26 | "f_txt_font_family": "Outfit",
27 | "f_txt_line_height": "1.5",
28 | "f_txt_font_wt": "400",
29 | "f_txt_ls": "1px",
30 | "f_txt_size": "16px",
31 | "f_txt_color": "#222222",
32 | "enable_copyright": 1,
33 | "copyright_layout": "One Column",
34 | "fc_ct_type": "Custom",
35 | "sc_ct_type": "Social Links",
36 | "cp_fc_alignment": "Center",
37 | "cp_sc_alignment": "Right",
38 | "cp_fc_content": "@2021 Go1 CMS ,All Rights Reserved",
39 | "copyright_font_size": "14px",
40 | "enable_footer_border": 1,
41 | "footer_border_color": "#ffffff",
42 | "copyright_vertical_padding": "15px",
43 | "cr_bg_color": "#f9f9f9",
44 | "cp_text_color": "#1c1b1b",
45 | "cpy_link_color": "#575555",
46 | "page_type": "Responsive",
47 | "doctype": "Footer Component",
48 | "table_3": [],
49 | "update_theme":0,
50 | "__last_sync_on": "2022-09-26T07:32:54.806Z"
51 | }]
--------------------------------------------------------------------------------
/go1_cms/go1_cms/json_data/footer_sections.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "idx": 1,
4 | "section_title": "Footer About",
5 | "section_type": "Static Section",
6 | "column_index": 0
7 | },
8 | {
9 | "idx": 2,
10 | "section_title": "Menu",
11 | "section_type": "Menu",
12 | "column_index": 1,
13 | "menu":"Pages"
14 | },
15 | {
16 |
17 | "idx": 3,
18 | "section_title": "Menu",
19 | "section_type": "Menu",
20 | "column_index": 2,
21 | "menu":"Company"
22 | },
23 | {
24 | "idx": 4,
25 | "section_title": "Menu",
26 | "section_type": "Menu",
27 | "column_index": 3,
28 | "menu":"Contact Us"
29 |
30 | },
31 | {
32 | "idx": 5,
33 | "section_title": "Menu",
34 | "section_type": "Menu",
35 | "column_index": 4,
36 | "menu":"Social Media"
37 |
38 | },
39 | {
40 |
41 | "idx": 6,
42 | "section_title": "Social Links",
43 | "section_type": "Static Section",
44 | "column_index": 0
45 | }]
--------------------------------------------------------------------------------
/go1_cms/go1_cms/json_data/header-layout.json:
--------------------------------------------------------------------------------
1 | [
2 | {"name":"HL-00003","owner":"Administrator","creation":"2022-09-21 19:34:01.846626","modified":"2022-09-21 19:34:01.846626","modified_by":"Administrator","idx":0,"docstatus":0,"title":"3 Columns Alt Center","is_active":1,"preview":"/files/footer-three-columns.svg","layout_json":"[\r\n {\r\n \"fullwidth\": true,\r\n \r\n \"columns\": [\r\n {\r\n \"width\": \"20%\", \r\n \"rows\": []\r\n },\r\n {\r\n \"width\": \"60%\", \r\n \"rows\": []\r\n },\r\n {\r\n \"width\": \"20%\", \r\n \"rows\": []\r\n }\r\n ]\r\n }\r\n\r\n]","doctype":"Header Layout","__last_sync_on":"2022-09-21T14:08:25.971Z"}
3 | ,{"name":"HL-00002","owner":"Administrator","creation":"2022-09-15 11:38:05.873393","modified":"2022-09-15 11:38:05.873393","modified_by":"Administrator","idx":0,"docstatus":0,"title":"2 Columns","is_active":1,"layout_json":"[\r\n {\r\n \"fullwidth\": true,\r\n \r\n \"columns\": [\r\n {\r\n \"width\": \"50%\", \r\n \"rows\": []\r\n },\r\n {\r\n \"width\": \"50%\", \r\n \"rows\": []\r\n }\r\n ]\r\n }\r\n\r\n]\r\n","doctype":"Header Layout","__last_sync_on":"2022-09-21T13:57:51.486Z"}
4 | ,{"name":"HL-00001","owner":"Administrator","creation":"2022-09-15 11:31:15.762921","modified":"2022-09-15 11:31:15.762921","modified_by":"Administrator","idx":0,"docstatus":0,"title":"3 Columns","is_active":1,"preview":"/files/footer-three-columns.svg","layout_json":"[\r\n {\r\n \"fullwidth\": true,\r\n \r\n \"columns\": [\r\n {\r\n \"width\": \"33.33%\", \r\n \"rows\": []\r\n },\r\n {\r\n \"width\": \"33.33%\", \r\n \"rows\": []\r\n },\r\n {\r\n \"width\": \"33.33%\", \r\n \"rows\": []\r\n }\r\n ]\r\n }\r\n\r\n]","doctype":"Header Layout","__last_sync_on":"2022-09-21T13:58:15.642Z"}
5 | ]
--------------------------------------------------------------------------------
/go1_cms/go1_cms/json_data/header_layouts.json:
--------------------------------------------------------------------------------
1 | [
2 | {"name":"HL-00003","owner":"Administrator","creation":"2022-09-21 19:34:01.846626","modified":"2022-09-21 19:34:01.846626","modified_by":"Administrator","idx":0,"docstatus":0,"title":"3 Columns Alt Center","is_active":1,"preview":"/files/footer-three-columns.svg","layout_json":"[\r\n {\r\n \"fullwidth\": true,\r\n \r\n \"columns\": [\r\n {\r\n \"width\": \"20%\", \r\n \"rows\": []\r\n },\r\n {\r\n \"width\": \"60%\", \r\n \"rows\": []\r\n },\r\n {\r\n \"width\": \"20%\", \r\n \"rows\": []\r\n }\r\n ]\r\n }\r\n\r\n]","doctype":"Header Layout","__last_sync_on":"2022-09-21T14:08:25.971Z"}
3 | ,{"name":"HL-00002","owner":"Administrator","creation":"2022-09-15 11:38:05.873393","modified":"2022-09-15 11:38:05.873393","modified_by":"Administrator","idx":0,"docstatus":0,"title":"2 Columns","is_active":1,"layout_json":"[\r\n {\r\n \"fullwidth\": true,\r\n \r\n \"columns\": [\r\n {\r\n \"width\": \"50%\", \r\n \"rows\": []\r\n },\r\n {\r\n \"width\": \"50%\", \r\n \"rows\": []\r\n }\r\n ]\r\n }\r\n\r\n]\r\n","doctype":"Header Layout","__last_sync_on":"2022-09-21T13:57:51.486Z"}
4 | ,{"name":"HL-00001","owner":"Administrator","creation":"2022-09-15 11:31:15.762921","modified":"2022-09-15 11:31:15.762921","modified_by":"Administrator","idx":0,"docstatus":0,"title":"3 Columns","is_active":1,"preview":"/files/footer-three-columns.svg","layout_json":"[\r\n {\r\n \"fullwidth\": true,\r\n \r\n \"columns\": [\r\n {\r\n \"width\": \"33.33%\", \r\n \"rows\": []\r\n },\r\n {\r\n \"width\": \"33.33%\", \r\n \"rows\": []\r\n },\r\n {\r\n \"width\": \"33.33%\", \r\n \"rows\": []\r\n }\r\n ]\r\n }\r\n\r\n]","doctype":"Header Layout","__last_sync_on":"2022-09-21T13:58:15.642Z"}
5 | ]
--------------------------------------------------------------------------------
/go1_cms/go1_cms/json_data/header_sections.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 |
4 | "idx": 1,
5 | "section_title": "Header Logo",
6 | "section_type": "Static Section",
7 | "column_index": 0
8 | },
9 | {
10 | "idx": 2,
11 | "section_title": "Header Menu",
12 | "section_type": "Menu",
13 | "column_index": 1,
14 | "menu":"Default Header menu"
15 | },
16 | {
17 |
18 | "idx": 3,
19 | "section_title": "Header Button",
20 | "section_type": "Static Section",
21 | "column_index": 2
22 | }]
--------------------------------------------------------------------------------
/go1_cms/go1_cms/json_data/sample_pages/about_us.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "name": "About Us",
4 | "owner": "Administrator",
5 | "creation": "2022-09-20 12:56:46.550717",
6 | "modified": "2022-10-06 14:01:10.161260",
7 | "modified_by": "Administrator",
8 | "idx": 0,
9 | "docstatus": 0,
10 | "business": "",
11 | "page_title": "About Us",
12 | "page_type": "Responsive",
13 | "use_page_builder": 1,
14 | "published": 1,
15 | "route": "about-us",
16 | "hf_settings": "Use Global",
17 | "enable_side_menu": 0,
18 | "side_menu_position": "Left",
19 | "redirect_to_detail_": 1,
20 | "sort_by": "ASC",
21 | "edit_header_style": 0,
22 | "menu_hover_bg": "#FFFFFF",
23 | "is_transparent_header": 0,
24 | "menu_hover_text_color": "#222222",
25 | "menu_text_color": "#FFFFFF",
26 | "enable_related_items": 0,
27 | "related_records_count": "10",
28 | "enable_recent_posts": 0,
29 | "recent_records_count": 5,
30 | "enable_sub_header": 1,
31 | "enable_breadcrumbs": 1,
32 | "is_transparent_sub_header": 0,
33 | "sub_header_bg_img": "/files/67ed22ea84_sub-header_400.jpg",
34 | "container_max_width": "50%",
35 | "sub_header_title": "About Us",
36 | "text_color": "#ffffff",
37 | "title_text_align": "Center",
38 | "file_path": "",
39 | "meta_title": "About Us",
40 | "meta_description": "About: About Us",
41 | "meta_keywords": "About, Us",
42 | "is_converted_to_template": 0,
43 | "is_location_based": 0,
44 | "doctype": "Web Page Builder",
45 | "__last_sync_on": "2022-10-06T12:50:33.421Z"
46 | }]
--------------------------------------------------------------------------------
/go1_cms/go1_cms/json_data/sample_pages/our_team.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "name": "Our Team",
4 | "owner": "Administrator",
5 | "creation": "2022-08-18 15:37:48.565664",
6 | "modified": "2022-10-06 14:14:00.046469",
7 | "modified_by": "Administrator",
8 | "idx": 0,
9 | "docstatus": 0,
10 | "business": "",
11 | "page_title": "Our Team",
12 | "page_type": "Responsive",
13 | "use_page_builder": 1,
14 | "published": 1,
15 | "route": "our-team",
16 | "hf_settings": "Use Global",
17 | "enable_side_menu": 0,
18 | "side_menu_position": "Left",
19 | "redirect_to_detail_": 1,
20 | "edit_header_style": 0,
21 | "menu_hover_bg": "#FFFFFF",
22 | "is_transparent_header": 0,
23 | "menu_hover_text_color": "#222222",
24 | "menu_text_color": "#FFFFFF",
25 | "enable_related_items": 0,
26 | "related_records_count": "10",
27 | "enable_recent_posts": 0,
28 | "recent_records_count": 5,
29 | "enable_sub_header": 1,
30 | "enable_breadcrumbs": 1,
31 | "is_transparent_sub_header": 0,
32 | "sub_header_bg_img": "/files/67ed22ea84_sub-header_400.jpg",
33 | "container_max_width": "50%",
34 | "sub_header_title": "Our Team",
35 | "text_color": "#ffffff",
36 | "title_text_align": "Center",
37 | "file_path": "",
38 | "meta_title": "Our Team",
39 | "meta_description": "About: Our Team",
40 | "meta_keywords": "Our, Team",
41 | "is_converted_to_template": 0,
42 | "is_location_based": 0,
43 | "doctype": "Web Page Builder",
44 |
45 | "__onload":
46 | {
47 | "is_website_generator": true,
48 | "published": true
49 | },
50 | "__last_sync_on": "2022-10-06T13:48:09.367Z"
51 | }]
--------------------------------------------------------------------------------
/go1_cms/go1_cms/json_data/sample_pages/testimonials.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "name": "Testimonials",
4 | "idx": 0,
5 | "docstatus": 0,
6 | "page_title": "Testimonials",
7 | "page_type": "Responsive",
8 | "use_page_builder": 1,
9 | "published": 1,
10 | "route": "testimonials",
11 | "hf_settings": "Use Global",
12 | "enable_side_menu": 0,
13 | "side_menu_position": "Left",
14 | "redirect_to_detail_": 1,
15 | "columns_mapping": "",
16 | "edit_header_style": 0,
17 | "menu_hover_bg": "#FFFFFF",
18 | "is_transparent_header": 0,
19 | "menu_hover_text_color": "#222222",
20 | "menu_text_color": "#FFFFFF",
21 | "enable_related_items": 0,
22 | "related_records_count": "10",
23 | "enable_recent_posts": 0,
24 | "recent_records_count": 5,
25 | "enable_sub_header": 1,
26 | "enable_breadcrumbs": 0,
27 | "is_transparent_sub_header": 0,
28 | "sub_header_bg_img": "/files/67ed22ea84_sub-header_400.jpg",
29 | "container_max_width": "50%%",
30 | "sub_header_title": "Testimonials",
31 | "text_color": "#ffffff",
32 | "title_text_align": "Center",
33 | "file_path": "",
34 | "meta_title": "Testimonials",
35 | "meta_description": "About: Testimonials",
36 | "meta_keywords": "Testimonials",
37 | "is_converted_to_template": 0,
38 | "is_location_based": 0,
39 | "doctype": "Web Page Builder",
40 | "__onload":
41 | {
42 | "is_website_generator": true,
43 | "published": true
44 | },
45 | "__last_sync_on": "2022-10-07T07:15:21.243Z"
46 | }]
--------------------------------------------------------------------------------
/go1_cms/go1_cms/json_data/section_component_groups.json:
--------------------------------------------------------------------------------
1 | [
2 | {"name":"General","owner":"Administrator","creation":"2022-09-16 21:16:02.830518","modified":"2022-09-16 21:16:02.830518","modified_by":"Administrator","idx":0,"docstatus":0,"group_name":"General","doctype":"Section Component Group","__last_sync_on":"2022-09-26T15:22:34.704Z"}
3 | ]
--------------------------------------------------------------------------------
/go1_cms/go1_cms/json_data/section_groups.json:
--------------------------------------------------------------------------------
1 | [
2 | {"doctype": "Section Template Group", "group_name":"List Components"},
3 | {"doctype": "Section Template Group", "group_name":"Blogs"},
4 | {"doctype": "Section Template Group", "group_name":"CTA"},
5 | {"doctype": "Section Template Group", "group_name":"About Us"},
6 | {"doctype": "Section Template Group", "group_name":"Slider"},
7 | {"doctype": "Section Template Group", "group_name":"Clients"},
8 | {"doctype": "Section Template Group", "group_name":"Testimonials"},
9 | {"doctype": "Section Template Group", "group_name":"FAQ"},
10 | {"doctype": "Section Template Group", "group_name":"Our Team"},
11 | {"doctype": "Section Template Group", "group_name":"Counters"},
12 | {"doctype": "Section Template Group", "group_name":"Features"},
13 | {"doctype": "Section Template Group", "group_name":"Footer"},
14 | {"doctype": "Section Template Group", "group_name":"Page List Style"},
15 | {"doctype": "Section Template Group", "group_name":"Header"},
16 | {"doctype": "Section Template Group", "group_name":"List Sections"},
17 | {"doctype": "Section Template Group", "group_name":"General"}
18 | ]
19 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/json_data/webpage_builder.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "name": "Default Home Page",
4 | "owner": "Administrator",
5 | "creation": "2022-09-21 09:58:06.559153",
6 | "modified": "2022-10-01 17:56:30.650023",
7 | "modified_by": "Administrator",
8 | "idx": 0,
9 | "docstatus": 0,
10 | "business": "",
11 | "page_title": "Default Home Page",
12 | "page_type": "Responsive",
13 | "w_page_type": "Regular",
14 | "use_page_builder": 1,
15 | "published": 1,
16 | "route": "core-home",
17 | "hf_settings": "Custom",
18 | "header_component": "Default Header",
19 | "footer_component": "Default Footer",
20 | "enable_side_menu": 0,
21 | "side_menu_position": "Left",
22 | "redirect_to_detail_": 1,
23 | "columns_mapping": "",
24 | "sort_by": "ASC",
25 | "edit_header_style": 1,
26 | "menu_hover_bg": "",
27 | "is_transparent_header": 1,
28 | "menu_hover_text_color": "#ffffff",
29 | "menu_text_color": "#ffffff",
30 | "enable_related_items": 0,
31 | "related_records_count": "10",
32 | "enable_recent_posts": 0,
33 | "recent_records_count": 5,
34 | "enable_sub_header": 0,
35 | "enable_breadcrumbs": 0,
36 | "is_transparent_sub_header": 0,
37 | "sub_header_bg_color": "#ECAD4B",
38 | "container_max_width": "50%",
39 | "sub_header_title": "Home",
40 | "text_color": "#ffffff",
41 | "title_text_align": "Left",
42 | "file_path": "",
43 | "meta_title": "Go1CMS",
44 | "meta_description": "Go1CMS",
45 | "meta_keywords": "Go1CMS",
46 | "is_converted_to_template": 0,
47 | "is_location_based": 0,
48 | "doctype": "Web Page Builder",
49 | "__onload": {
50 | "is_website_generator": true,
51 | "published": true
52 | },
53 | "__last_sync_on": "2022-10-01T13:34:53.425Z"
54 | }
55 | ]
--------------------------------------------------------------------------------
/go1_cms/go1_cms/page/._.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/page/._.DS_Store
--------------------------------------------------------------------------------
/go1_cms/go1_cms/page/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/page/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/page/go1cms_builder/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/page/go1cms_builder/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/page/go1cms_builder/builder_column_selector.html:
--------------------------------------------------------------------------------
1 | {{ __("Check columns to select, drag to set order.") }}
2 | {{ __("Widths can be set in px or %.") }}
3 |
4 | {{ __("Some columns might get cut off when printing to PDF. Try to keep number of columns under 10.") }}
5 |
6 |
10 |
11 | {% for (i=0; i < fields.length; i++) { var f = fields[i]; %}
12 | {% var selected = in_list(column_names, f.fieldname) %}
13 |
14 |
15 |
16 |
17 |
18 |
19 |
25 |
26 |
27 |
28 |
33 |
34 |
35 | {% } %}
36 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/page/go1cms_builder/builder_layout.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | {% for(var i=0; i < data.length; i++) { %}
7 | {%= frappe.render_template("print_format_builder_section",
8 | {section: data[i], me:me}) %}
9 | {% } %}
10 |
11 |
12 |
13 | {%= __("Add a new section") %}
14 |
15 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/page/go1cms_builder/components.html:
--------------------------------------------------------------------------------
1 |
10 |
11 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/page/go1cms_builder/go1cms_builder.json:
--------------------------------------------------------------------------------
1 | {
2 | "content": null,
3 | "creation": "2022-09-12 16:57:15.313616",
4 | "docstatus": 0,
5 | "doctype": "Page",
6 | "idx": 0,
7 | "modified": "2022-09-12 16:57:15.313616",
8 | "modified_by": "Administrator",
9 | "module": "Go1 CMS",
10 | "name": "go1cms-builder",
11 | "owner": "Administrator",
12 | "page_name": "go1cms-builder",
13 | "roles": [],
14 | "script": null,
15 | "standard": "Yes",
16 | "style": null,
17 | "system_page": 0
18 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/page/go1cms_builder/predefined_section.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Predefined Section
5 |
6 |
7 |
8 |
9 |
10 |
11 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
24 | {{title}}
25 |
26 |
40 |
41 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/page/go1cms_builder/print_format_builder_start.html:
--------------------------------------------------------------------------------
1 |
2 |
{%= __("Select an existing format to edit or start a new format.") %}
3 |
4 |
5 |
6 |
7 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/page/print_page_builder/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/page/print_page_builder/__init__.py
--------------------------------------------------------------------------------
/go1_cms/go1_cms/page/print_page_builder/components.html:
--------------------------------------------------------------------------------
1 |
20 |
21 |
22 | {% if data =="Header" %}
23 |
24 |
25 |
{{data}}
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 | {% endif %}
34 | {% if data =="Title" %}
35 | {{data}}
36 | {% endif %}
37 | {% if data =="Subtitle" %}
38 |
43 | {% endif %}
44 | {% if data =="Image" %}
45 |
46 |
47 |

48 |
49 |
50 | {% endif %}
51 | {% if data =="Card" %}
52 |
53 |
54 |
{{data}}
55 |
56 |
57 |
58 |
59 |
60 | {% endif %}
61 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/page/print_page_builder/print_format_builder_column_selector.html:
--------------------------------------------------------------------------------
1 | {{ __("Check columns to select, drag to set order.") }}
2 | {{ __("Widths can be set in px or %.") }}
3 |
4 | {{ __("Some columns might get cut off when printing to PDF. Try to keep number of columns under 10.") }}
5 |
6 |
10 |
11 | {% for (i=0; i < fields.length; i++) { var f = fields[i]; %}
12 | {% var selected = in_list(column_names, f.fieldname) %}
13 |
14 |
15 |
16 |
17 |
18 |
19 |
25 |
26 |
27 |
28 |
33 |
34 |
35 | {% } %}
36 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/page/print_page_builder/print_format_builder_layout.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | {%= __("Drag elements from the sidebar to add. Drag them back to trash.") %}
4 |
5 |
6 |
7 |
8 |
9 |
10 |
24 |
25 | {% for(var i=0; i < data.length; i++) { %}
26 | {%= frappe.render_template("print_format_builder_section",
27 | {section: data[i], me:me}) %}
28 | {% } %}
29 |
30 |
31 |
34 | {%= __("Add a new section") %}
35 |
36 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/page/print_page_builder/print_format_builder_start.html:
--------------------------------------------------------------------------------
1 |
2 |
{%= __("Select an existing format to edit or start a new format.") %}
3 |
4 |
5 |
6 |
7 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
18 |
19 |
--------------------------------------------------------------------------------
/go1_cms/go1_cms/page/print_page_builder/print_page_builder.json:
--------------------------------------------------------------------------------
1 | {
2 | "content": null,
3 | "creation": "2022-09-09 20:43:23.856611",
4 | "docstatus": 0,
5 | "doctype": "Page",
6 | "idx": 0,
7 | "modified": "2022-09-09 20:43:23.856611",
8 | "modified_by": "Administrator",
9 | "module": "Go1 CMS",
10 | "name": "print-page-builder",
11 | "owner": "Administrator",
12 | "page_name": "print-page-builder",
13 | "roles": [],
14 | "script": null,
15 | "standard": "Yes",
16 | "style": null,
17 | "system_page": 0
18 | }
--------------------------------------------------------------------------------
/go1_cms/go1_cms/section_images.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/go1_cms/section_images.zip
--------------------------------------------------------------------------------
/go1_cms/modules.txt:
--------------------------------------------------------------------------------
1 | Go1 CMS
--------------------------------------------------------------------------------
/go1_cms/patches.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/patches.txt
--------------------------------------------------------------------------------
/go1_cms/public/._.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/public/._.DS_Store
--------------------------------------------------------------------------------
/go1_cms/public/css/._font-awesome.min.css:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/public/css/._font-awesome.min.css
--------------------------------------------------------------------------------
/go1_cms/public/css/cms.css:
--------------------------------------------------------------------------------
1 | [data-route^="Form/Web Page Builder"] .modal-backdrop.show {
2 | z-index: 9999;
3 | }
4 | [data-route^="Form/Web Page Builder"] .modal.fade.show {
5 | z-index: 9999 !important;
6 | }
7 | .ui-helper-hidden-accessible {
8 | display: none;
9 | }
10 |
--------------------------------------------------------------------------------
/go1_cms/public/css/owl.theme.default.min.css:
--------------------------------------------------------------------------------
1 | /**
2 | * Owl Carousel v2.3.4
3 | * Copyright 2013-2018 David Deutsch
4 | * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE
5 | */
6 | .owl-theme .owl-dots,
7 | .owl-theme .owl-nav {
8 | text-align: center;
9 | -webkit-tap-highlight-color: transparent
10 | }
11 | .owl-theme .owl-nav {
12 | margin-top: 10px
13 | }
14 | .owl-theme .owl-nav [class*=owl-] {
15 | color: #FFF;
16 | font-size: 14px;
17 | margin: 5px;
18 | padding: 4px 7px;
19 | background: #D6D6D6;
20 | display: inline-block;
21 | cursor: pointer;
22 | border-radius: 3px
23 | }
24 | .owl-theme .owl-nav [class*=owl-]:hover {
25 | background: #869791;
26 | color: #FFF;
27 | text-decoration: none
28 | }
29 | .owl-theme .owl-nav .disabled {
30 | opacity: .5;
31 | cursor: default
32 | }
33 | .owl-theme .owl-nav.disabled + .owl-dots {
34 | margin-top: 10px
35 | }
36 | .owl-theme .owl-dots .owl-dot {
37 | display: inline-block;
38 | zoom: 1
39 | }
40 | .owl-theme .owl-dots .owl-dot span {
41 | width: 10px;
42 | height: 10px;
43 | margin: 5px 7px;
44 | background: #D6D6D6;
45 | display: block;
46 | -webkit-backface-visibility: visible;
47 | transition: opacity .2s ease;
48 | border-radius: 30px
49 | }
50 | .owl-theme .owl-dots .owl-dot.active span,
51 | .owl-theme .owl-dots .owl-dot:hover span {
52 | background: #869791
53 | }
--------------------------------------------------------------------------------
/go1_cms/public/fonts/icomoon.dev.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/go1_cms/public/fonts/icomoon.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/public/fonts/icomoon.eot
--------------------------------------------------------------------------------
/go1_cms/public/fonts/icomoon.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/go1_cms/public/fonts/icomoon.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/public/fonts/icomoon.ttf
--------------------------------------------------------------------------------
/go1_cms/public/fonts/icomoon.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/public/fonts/icomoon.woff
--------------------------------------------------------------------------------
/go1_cms/public/fonts/license.txt:
--------------------------------------------------------------------------------
1 | Icon Set: IcoMoon - Free -- http://keyamoon.com/icomoon/
2 | License: CC BY-SA 3.0 -- http://creativecommons.org/licenses/by-sa/3.0/
--------------------------------------------------------------------------------
/go1_cms/public/images/call1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/public/images/call1.png
--------------------------------------------------------------------------------
/go1_cms/public/images/location.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/public/images/location.png
--------------------------------------------------------------------------------
/go1_cms/public/images/phone.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/public/images/phone.png
--------------------------------------------------------------------------------
/go1_cms/public/images/product-loading.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/public/images/product-loading.gif
--------------------------------------------------------------------------------
/go1_cms/public/webthemes/theme-settings/theme.css:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/public/webthemes/theme-settings/theme.css
--------------------------------------------------------------------------------
/go1_cms/templates/._.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/templates/._.DS_Store
--------------------------------------------------------------------------------
/go1_cms/templates/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/templates/__init__.py
--------------------------------------------------------------------------------
/go1_cms/templates/pages/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/templates/pages/__init__.py
--------------------------------------------------------------------------------
/go1_cms/templates/pages/custom_html/4-column-card-image-with-link-36e2173861.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/templates/pages/custom_html/4-column-card-image-with-link-36e2173861.html
--------------------------------------------------------------------------------
/go1_cms/templates/pages/custom_html/4-column-card-image-with-link-af73505dfb.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/templates/pages/custom_html/4-column-card-image-with-link-af73505dfb.html
--------------------------------------------------------------------------------
/go1_cms/templates/pages/custom_html/4-column-card-image-with-link-be224d32e1.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/templates/pages/custom_html/4-column-card-image-with-link-be224d32e1.html
--------------------------------------------------------------------------------
/go1_cms/templates/pages/custom_html/4-column-card-image-with-link-ps-22-00002.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/templates/pages/custom_html/4-column-card-image-with-link-ps-22-00002.html
--------------------------------------------------------------------------------
/go1_cms/templates/pages/custom_html/4-column-card-image-with-link-ps-22-00004.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/templates/pages/custom_html/4-column-card-image-with-link-ps-22-00004.html
--------------------------------------------------------------------------------
/go1_cms/templates/pages/custom_html/4-column-card-image-with-link-ps-22-00023.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/templates/pages/custom_html/4-column-card-image-with-link-ps-22-00023.html
--------------------------------------------------------------------------------
/go1_cms/templates/pages/custom_html/4-column-card-image-with-link-ps-22-00027.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/templates/pages/custom_html/4-column-card-image-with-link-ps-22-00027.html
--------------------------------------------------------------------------------
/go1_cms/templates/pages/custom_html/4-column-card-image-with-link-ps-22-00028.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/templates/pages/custom_html/4-column-card-image-with-link-ps-22-00028.html
--------------------------------------------------------------------------------
/go1_cms/templates/pages/custom_html/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/templates/pages/custom_html/__init__.py
--------------------------------------------------------------------------------
/go1_cms/templates/pages/custom_html/about-us-content-section-ps-22-00001.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/templates/pages/custom_html/about-us-content-section-ps-22-00001.html
--------------------------------------------------------------------------------
/go1_cms/templates/pages/custom_html/about-us-content-section-ps-22-00006.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/templates/pages/custom_html/about-us-content-section-ps-22-00006.html
--------------------------------------------------------------------------------
/go1_cms/templates/pages/custom_html/about-us-content-section-ps-22-00015.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/templates/pages/custom_html/about-us-content-section-ps-22-00015.html
--------------------------------------------------------------------------------
/go1_cms/templates/pages/custom_html/about-us-content-section-ps-22-00016.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/templates/pages/custom_html/about-us-content-section-ps-22-00016.html
--------------------------------------------------------------------------------
/go1_cms/templates/pages/custom_html/about-us-content-section-ps-22-00017.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/templates/pages/custom_html/about-us-content-section-ps-22-00017.html
--------------------------------------------------------------------------------
/go1_cms/templates/pages/custom_html/about-us-content-section-ps-22-00018.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/templates/pages/custom_html/about-us-content-section-ps-22-00018.html
--------------------------------------------------------------------------------
/go1_cms/templates/pages/custom_html/center-title-with-content-and-center-image-ps-22-00005.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/templates/pages/custom_html/center-title-with-content-and-center-image-ps-22-00005.html
--------------------------------------------------------------------------------
/go1_cms/templates/pages/custom_html/left-content-right-image-ps-22-00025.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/templates/pages/custom_html/left-content-right-image-ps-22-00025.html
--------------------------------------------------------------------------------
/go1_cms/templates/pages/custom_html/right-content-left-image-ps-22-00026.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/templates/pages/custom_html/right-content-left-image-ps-22-00026.html
--------------------------------------------------------------------------------
/go1_cms/templates/pages/custom_html/test-ps-22-00007.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/templates/pages/custom_html/test-ps-22-00007.html
--------------------------------------------------------------------------------
/go1_cms/templates/pages/custom_html/test-ps-22-00008.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/templates/pages/custom_html/test-ps-22-00008.html
--------------------------------------------------------------------------------
/go1_cms/templates/pages/custom_html/test-ps-22-00011.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/templates/pages/custom_html/test-ps-22-00011.html
--------------------------------------------------------------------------------
/go1_cms/templates/pages/custom_html/test-ps-22-00012.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/templates/pages/custom_html/test-ps-22-00012.html
--------------------------------------------------------------------------------
/go1_cms/utlis/__init__.py:
--------------------------------------------------------------------------------
1 | import json
2 |
3 | @frappe.whitelist()
4 | def str_to_json(json_str):
5 | return json.loads(json_str)
6 |
--------------------------------------------------------------------------------
/go1_cms/www/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TridotsTech/go1cms/e0675aca18bee4d733e1795741d46f461f9227e7/go1_cms/www/__init__.py
--------------------------------------------------------------------------------
/license.txt:
--------------------------------------------------------------------------------
1 | License: MIT
--------------------------------------------------------------------------------
/requirements.txt:
--------------------------------------------------------------------------------
1 | # frappe -- https://github.com/frappe/frappe is installed via 'bench init'
--------------------------------------------------------------------------------
/setup.py:
--------------------------------------------------------------------------------
1 | from setuptools import setup, find_packages
2 |
3 | with open("requirements.txt") as f:
4 | install_requires = f.read().strip().split("\n")
5 |
6 | # get version from __version__ variable in go1_cms/__init__.py
7 | from go1_cms import __version__ as version
8 |
9 | setup(
10 | name="go1_cms",
11 | version=version,
12 | description="Go1 CMS",
13 | author="Tridotstech",
14 | author_email="info@tridotstech.com",
15 | packages=find_packages(),
16 | zip_safe=False,
17 | include_package_data=True,
18 | install_requires=install_requires
19 | )
20 |
--------------------------------------------------------------------------------