From 0d3ba7b25243e2e0a44001e5ec167fc47eb98d60 Mon Sep 17 00:00:00 2001
From: Kenneth Sequeira <33246109+kennethsequeira@users.noreply.github.com>
Date: Thu, 25 Oct 2018 15:25:56 +0530
Subject: [PATCH] Livestream page (#348)
Add Conference Settings page with livestream url
---
.../doctype/conference_settings/__init__.py | 0
.../conference_settings.js | 8 ++
.../conference_settings.json | 95 +++++++++++++++++++
.../conference_settings.py | 10 ++
foundation/www/conf/2018/livestream.html | 34 +++++++
.../img/articles/global-search/__init__.py | 0
6 files changed, 147 insertions(+)
create mode 100644 foundation/erpnext_foundation/doctype/conference_settings/__init__.py
create mode 100644 foundation/erpnext_foundation/doctype/conference_settings/conference_settings.js
create mode 100644 foundation/erpnext_foundation/doctype/conference_settings/conference_settings.json
create mode 100644 foundation/erpnext_foundation/doctype/conference_settings/conference_settings.py
create mode 100644 foundation/www/conf/2018/livestream.html
create mode 100644 foundation/www/docs/assets/img/articles/global-search/__init__.py
diff --git a/foundation/erpnext_foundation/doctype/conference_settings/__init__.py b/foundation/erpnext_foundation/doctype/conference_settings/__init__.py
new file mode 100644
index 00000000..e69de29b
diff --git a/foundation/erpnext_foundation/doctype/conference_settings/conference_settings.js b/foundation/erpnext_foundation/doctype/conference_settings/conference_settings.js
new file mode 100644
index 00000000..d0692ff8
--- /dev/null
+++ b/foundation/erpnext_foundation/doctype/conference_settings/conference_settings.js
@@ -0,0 +1,8 @@
+// Copyright (c) 2018, EOSSF and contributors
+// For license information, please see license.txt
+
+frappe.ui.form.on('Conference Settings', {
+ refresh: function(frm) {
+
+ }
+});
diff --git a/foundation/erpnext_foundation/doctype/conference_settings/conference_settings.json b/foundation/erpnext_foundation/doctype/conference_settings/conference_settings.json
new file mode 100644
index 00000000..643d0674
--- /dev/null
+++ b/foundation/erpnext_foundation/doctype/conference_settings/conference_settings.json
@@ -0,0 +1,95 @@
+{
+ "allow_copy": 0,
+ "allow_events_in_timeline": 0,
+ "allow_guest_to_view": 0,
+ "allow_import": 0,
+ "allow_rename": 0,
+ "beta": 0,
+ "creation": "2018-10-25 15:15:22.842234",
+ "custom": 0,
+ "docstatus": 0,
+ "doctype": "DocType",
+ "document_type": "",
+ "editable_grid": 1,
+ "engine": "InnoDB",
+ "fields": [
+ {
+ "allow_bulk_edit": 0,
+ "allow_in_quick_entry": 0,
+ "allow_on_submit": 0,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "fieldname": "livestream_url",
+ "fieldtype": "Data",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Livestream URL",
+ "length": 0,
+ "no_copy": 0,
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 0,
+ "print_hide_if_no_value": 0,
+ "read_only": 0,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
+ "translatable": 0,
+ "unique": 0
+ }
+ ],
+ "has_web_view": 0,
+ "hide_heading": 0,
+ "hide_toolbar": 0,
+ "idx": 0,
+ "image_view": 0,
+ "in_create": 0,
+ "is_submittable": 0,
+ "issingle": 1,
+ "istable": 0,
+ "max_attachments": 0,
+ "modified": "2018-10-25 15:23:08.695489",
+ "modified_by": "Administrator",
+ "module": "ERPNext Foundation",
+ "name": "Conference Settings",
+ "name_case": "",
+ "owner": "Administrator",
+ "permissions": [
+ {
+ "amend": 0,
+ "cancel": 0,
+ "create": 1,
+ "delete": 1,
+ "email": 1,
+ "export": 0,
+ "if_owner": 0,
+ "import": 0,
+ "permlevel": 0,
+ "print": 1,
+ "read": 1,
+ "report": 0,
+ "role": "System Manager",
+ "set_user_permissions": 0,
+ "share": 1,
+ "submit": 0,
+ "write": 1
+ }
+ ],
+ "quick_entry": 1,
+ "read_only": 0,
+ "read_only_onload": 0,
+ "show_name_in_global_search": 0,
+ "sort_field": "modified",
+ "sort_order": "DESC",
+ "track_changes": 1,
+ "track_seen": 0,
+ "track_views": 0
+}
\ No newline at end of file
diff --git a/foundation/erpnext_foundation/doctype/conference_settings/conference_settings.py b/foundation/erpnext_foundation/doctype/conference_settings/conference_settings.py
new file mode 100644
index 00000000..062168fe
--- /dev/null
+++ b/foundation/erpnext_foundation/doctype/conference_settings/conference_settings.py
@@ -0,0 +1,10 @@
+# -*- coding: utf-8 -*-
+# Copyright (c) 2018, EOSSF and contributors
+# For license information, please see license.txt
+
+from __future__ import unicode_literals
+import frappe
+from frappe.model.document import Document
+
+class ConferenceSettings(Document):
+ pass
diff --git a/foundation/www/conf/2018/livestream.html b/foundation/www/conf/2018/livestream.html
new file mode 100644
index 00000000..b76e0c7a
--- /dev/null
+++ b/foundation/www/conf/2018/livestream.html
@@ -0,0 +1,34 @@
+{% extends "templates/web.html" %}
+
+{% block title %}
+ERPNext Conference 2018 - Livestream
+{% endblock %}
+
+{% block page_content %}
+
+
+
+
+ Livestream begins on
+
+
+ 26 October 2018 10:00 AM IST
+