diff --git a/libradash/www/TEMPLATE.html b/libradash/www/TEMPLATE.html deleted file mode 100644 index 2bca89c..0000000 --- a/libradash/www/TEMPLATE.html +++ /dev/null @@ -1,169 +0,0 @@ - - - - - - - - - - Startmin - Bootstrap Admin Theme - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - -
-
- -
-
-

Page Title

-
-
- - - -
-
- -
- - - - - - - - - - - - - - - diff --git a/libradash/www/composer.json b/libradash/www/composer.json deleted file mode 100644 index 6d590bd..0000000 --- a/libradash/www/composer.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "name": "secondtruth/startmin", - "description": "Admin dashboard template for Bootstrap", - "homepage": "http://www.secondtruth.de", - "keywords": ["backend", "admin", "template", "theme", "web"], - "license": "ISC", - "authors": [ - { - "name": "Christian Neff", - "email": "christian.neff@gmail.com", - "homepage": "http://www.secondtruth.de", - "role": "Developer" - } - ] -} diff --git a/libradash/www/libradash.py b/libradash/www/libradash.py index 1534b78..e49740f 100644 --- a/libradash/www/libradash.py +++ b/libradash/www/libradash.py @@ -25,20 +25,20 @@ def new_orders(): month = datetime.now().month month_as_word = datetime.now().strftime('%B') year = datetime.now().year - qty = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-{month}-01' AND `transaction_date` <= '{year}-{month}-31'""".format(year=year, month=month), as_list=True)[0][0] + qty = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-{month}-01' AND `transaction_date` <= '{year}-{month}-31' AND `docstatus` = 1""".format(year=year, month=month), as_list=True)[0][0] return qty, month_as_word def new_deliverys(): month = datetime.now().month year = datetime.now().year - qty = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-{month}-01' AND `posting_date` <= '{year}-{month}-31'""".format(year=year, month=month), as_list=True)[0][0] + qty = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-{month}-01' AND `posting_date` <= '{year}-{month}-31' AND `docstatus` = 1""".format(year=year, month=month), as_list=True)[0][0] return qty def new_sinvs(): month = datetime.now().month year = datetime.now().year - qty = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-{month}-01' AND `posting_date` <= '{year}-{month}-31'""".format(year=year, month=month), as_list=True)[0][0] - total_value_sales_invoice = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-{month}-01' AND `posting_date` <= '{year}-{month}-31'""".format(year=year, month=month), as_list=True)[0][0] + qty = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-{month}-01' AND `posting_date` <= '{year}-{month}-31' AND `docstatus` = 1""".format(year=year, month=month), as_list=True)[0][0] + total_value_sales_invoice = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-{month}-01' AND `posting_date` <= '{year}-{month}-31' AND `docstatus` = 1""".format(year=year, month=month), as_list=True)[0][0] return qty, total_value_sales_invoice def new_issues(): @@ -52,47 +52,47 @@ def get_monetary_datas(): year = datetime.now().year datas = {} datas['sinv_total'] = {} - datas['sinv_total']['jan'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-01-01' AND `posting_date` <= '{year}-01-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['feb'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-02-01' AND `posting_date` <= '{year}-02-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['mar'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-03-01' AND `posting_date` <= '{year}-03-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['apr'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-04-01' AND `posting_date` <= '{year}-04-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['may'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-05-01' AND `posting_date` <= '{year}-05-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['jun'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-06-01' AND `posting_date` <= '{year}-06-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['jul'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-07-01' AND `posting_date` <= '{year}-07-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['aug'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-08-01' AND `posting_date` <= '{year}-08-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['sept'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-09-01' AND `posting_date` <= '{year}-09-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['oct'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-10-01' AND `posting_date` <= '{year}-10-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['nov'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-11-01' AND `posting_date` <= '{year}-11-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['dez'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-12-01' AND `posting_date` <= '{year}-12-31'""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['jan'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-01-01' AND `posting_date` <= '{year}-01-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['feb'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-02-01' AND `posting_date` <= '{year}-02-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['mar'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-03-01' AND `posting_date` <= '{year}-03-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['apr'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-04-01' AND `posting_date` <= '{year}-04-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['may'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-05-01' AND `posting_date` <= '{year}-05-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['jun'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-06-01' AND `posting_date` <= '{year}-06-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['jul'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-07-01' AND `posting_date` <= '{year}-07-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['aug'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-08-01' AND `posting_date` <= '{year}-08-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['sept'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-09-01' AND `posting_date` <= '{year}-09-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['oct'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-10-01' AND `posting_date` <= '{year}-10-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['nov'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-11-01' AND `posting_date` <= '{year}-11-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['dez'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-12-01' AND `posting_date` <= '{year}-12-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 datas['sales_orders'] = {} - datas['sales_orders']['jan'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-01-01' AND `transaction_date` <= '{year}-01-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['feb'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-02-01' AND `transaction_date` <= '{year}-02-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['mar'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-03-01' AND `transaction_date` <= '{year}-03-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['apr'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-04-01' AND `transaction_date` <= '{year}-04-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['may'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-05-01' AND `transaction_date` <= '{year}-05-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['jun'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-06-01' AND `transaction_date` <= '{year}-06-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['jul'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-07-01' AND `transaction_date` <= '{year}-07-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['aug'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-08-01' AND `transaction_date` <= '{year}-08-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['sept'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-09-01' AND `transaction_date` <= '{year}-09-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['oct'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-10-01' AND `transaction_date` <= '{year}-10-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['nov'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-11-01' AND `transaction_date` <= '{year}-11-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['dez'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-12-01' AND `transaction_date` <= '{year}-12-31'""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['jan'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-01-01' AND `transaction_date` <= '{year}-01-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['feb'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-02-01' AND `transaction_date` <= '{year}-02-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['mar'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-03-01' AND `transaction_date` <= '{year}-03-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['apr'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-04-01' AND `transaction_date` <= '{year}-04-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['may'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-05-01' AND `transaction_date` <= '{year}-05-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['jun'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-06-01' AND `transaction_date` <= '{year}-06-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['jul'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-07-01' AND `transaction_date` <= '{year}-07-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['aug'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-08-01' AND `transaction_date` <= '{year}-08-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['sept'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-09-01' AND `transaction_date` <= '{year}-09-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['oct'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-10-01' AND `transaction_date` <= '{year}-10-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['nov'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-11-01' AND `transaction_date` <= '{year}-11-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['dez'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-12-01' AND `transaction_date` <= '{year}-12-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] datas['delivery_notes'] = {} - datas['delivery_notes']['jan'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-01-01' AND `posting_date` <= '{year}-01-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['feb'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-02-01' AND `posting_date` <= '{year}-02-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['mar'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-03-01' AND `posting_date` <= '{year}-03-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['apr'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-04-01' AND `posting_date` <= '{year}-04-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['may'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-05-01' AND `posting_date` <= '{year}-05-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['jun'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-06-01' AND `posting_date` <= '{year}-06-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['jul'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-07-01' AND `posting_date` <= '{year}-07-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['aug'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-08-01' AND `posting_date` <= '{year}-08-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['sept'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-09-01' AND `posting_date` <= '{year}-09-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['oct'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-10-01' AND `posting_date` <= '{year}-10-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['nov'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-11-01' AND `posting_date` <= '{year}-11-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['dez'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-12-01' AND `posting_date` <= '{year}-12-31'""".format(year=year), as_list=True)[0][0] - datas['vekauft'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-01-01' AND `transaction_date` <= '{year}-12-31'""".format(year=year), as_list=True)[0][0] - datas['verrechnet'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-01-01' AND `posting_date` <= '{year}-12-31'""".format(year=year), as_list=True)[0][0] - datas['ausstehend'] = frappe.db.sql("""SELECT SUM(`outstanding_amount`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-01-01' AND `posting_date` <= '{year}-12-31'""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['jan'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-01-01' AND `posting_date` <= '{year}-01-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['feb'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-02-01' AND `posting_date` <= '{year}-02-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['mar'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-03-01' AND `posting_date` <= '{year}-03-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['apr'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-04-01' AND `posting_date` <= '{year}-04-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['may'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-05-01' AND `posting_date` <= '{year}-05-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['jun'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-06-01' AND `posting_date` <= '{year}-06-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['jul'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-07-01' AND `posting_date` <= '{year}-07-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['aug'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-08-01' AND `posting_date` <= '{year}-08-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['sept'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-09-01' AND `posting_date` <= '{year}-09-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['oct'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-10-01' AND `posting_date` <= '{year}-10-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['nov'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-11-01' AND `posting_date` <= '{year}-11-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['dez'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-12-01' AND `posting_date` <= '{year}-12-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['verkauft'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-01-01' AND `transaction_date` <= '{year}-12-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['verrechnet'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-01-01' AND `posting_date` <= '{year}-12-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['ausstehend'] = frappe.db.sql("""SELECT SUM(`outstanding_amount`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-01-01' AND `posting_date` <= '{year}-12-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 return datas @frappe.whitelist() @@ -100,44 +100,44 @@ def get_qty_based_datas(): year = datetime.now().year datas = {} datas['sinv_total'] = {} - datas['sinv_total']['jan'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-01-01' AND `posting_date` <= '{year}-01-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['feb'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-02-01' AND `posting_date` <= '{year}-02-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['mar'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-03-01' AND `posting_date` <= '{year}-03-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['apr'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-04-01' AND `posting_date` <= '{year}-04-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['may'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-05-01' AND `posting_date` <= '{year}-05-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['jun'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-06-01' AND `posting_date` <= '{year}-06-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['jul'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-07-01' AND `posting_date` <= '{year}-07-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['aug'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-08-01' AND `posting_date` <= '{year}-08-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['sept'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-09-01' AND `posting_date` <= '{year}-09-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['oct'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-10-01' AND `posting_date` <= '{year}-10-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['nov'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-11-01' AND `posting_date` <= '{year}-11-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['dez'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-12-01' AND `posting_date` <= '{year}-12-31'""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['jan'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-01-01' AND `posting_date` <= '{year}-01-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['feb'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-02-01' AND `posting_date` <= '{year}-02-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['mar'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-03-01' AND `posting_date` <= '{year}-03-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['apr'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-04-01' AND `posting_date` <= '{year}-04-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['may'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-05-01' AND `posting_date` <= '{year}-05-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['jun'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-06-01' AND `posting_date` <= '{year}-06-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['jul'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-07-01' AND `posting_date` <= '{year}-07-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['aug'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-08-01' AND `posting_date` <= '{year}-08-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['sept'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-09-01' AND `posting_date` <= '{year}-09-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['oct'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-10-01' AND `posting_date` <= '{year}-10-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['nov'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-11-01' AND `posting_date` <= '{year}-11-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['dez'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-12-01' AND `posting_date` <= '{year}-12-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 datas['sales_orders'] = {} - datas['sales_orders']['jan'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-01-01' AND `transaction_date` <= '{year}-01-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['feb'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-02-01' AND `transaction_date` <= '{year}-02-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['mar'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-03-01' AND `transaction_date` <= '{year}-03-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['apr'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-04-01' AND `transaction_date` <= '{year}-04-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['may'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-05-01' AND `transaction_date` <= '{year}-05-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['jun'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-06-01' AND `transaction_date` <= '{year}-06-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['jul'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-07-01' AND `transaction_date` <= '{year}-07-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['aug'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-08-01' AND `transaction_date` <= '{year}-08-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['sept'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-09-01' AND `transaction_date` <= '{year}-09-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['oct'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-10-01' AND `transaction_date` <= '{year}-10-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['nov'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-11-01' AND `transaction_date` <= '{year}-11-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['dez'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-12-01' AND `transaction_date` <= '{year}-12-31'""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['jan'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-01-01' AND `transaction_date` <= '{year}-01-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['feb'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-02-01' AND `transaction_date` <= '{year}-02-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['mar'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-03-01' AND `transaction_date` <= '{year}-03-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['apr'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-04-01' AND `transaction_date` <= '{year}-04-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['may'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-05-01' AND `transaction_date` <= '{year}-05-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['jun'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-06-01' AND `transaction_date` <= '{year}-06-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['jul'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-07-01' AND `transaction_date` <= '{year}-07-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['aug'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-08-01' AND `transaction_date` <= '{year}-08-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['sept'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-09-01' AND `transaction_date` <= '{year}-09-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['oct'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-10-01' AND `transaction_date` <= '{year}-10-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['nov'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-11-01' AND `transaction_date` <= '{year}-11-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['dez'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-12-01' AND `transaction_date` <= '{year}-12-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] datas['delivery_notes'] = {} - datas['delivery_notes']['jan'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-01-01' AND `posting_date` <= '{year}-01-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['feb'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-02-01' AND `posting_date` <= '{year}-02-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['mar'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-03-01' AND `posting_date` <= '{year}-03-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['apr'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-04-01' AND `posting_date` <= '{year}-04-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['may'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-05-01' AND `posting_date` <= '{year}-05-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['jun'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-06-01' AND `posting_date` <= '{year}-06-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['jul'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-07-01' AND `posting_date` <= '{year}-07-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['aug'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-08-01' AND `posting_date` <= '{year}-08-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['sept'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-09-01' AND `posting_date` <= '{year}-09-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['oct'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-10-01' AND `posting_date` <= '{year}-10-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['nov'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-11-01' AND `posting_date` <= '{year}-11-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['dez'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-12-01' AND `posting_date` <= '{year}-12-31'""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['jan'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-01-01' AND `posting_date` <= '{year}-01-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['feb'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-02-01' AND `posting_date` <= '{year}-02-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['mar'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-03-01' AND `posting_date` <= '{year}-03-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['apr'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-04-01' AND `posting_date` <= '{year}-04-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['may'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-05-01' AND `posting_date` <= '{year}-05-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['jun'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-06-01' AND `posting_date` <= '{year}-06-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['jul'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-07-01' AND `posting_date` <= '{year}-07-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['aug'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-08-01' AND `posting_date` <= '{year}-08-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['sept'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-09-01' AND `posting_date` <= '{year}-09-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['oct'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-10-01' AND `posting_date` <= '{year}-10-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['nov'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-11-01' AND `posting_date` <= '{year}-11-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['dez'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-12-01' AND `posting_date` <= '{year}-12-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] datas['issues'] = {} datas['issues']['jan'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabIssue` WHERE `opening_date` >= '{year}-01-01' AND `opening_date` <= '{year}-01-31'""".format(year=year), as_list=True)[0][0] datas['issues']['feb'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabIssue` WHERE `opening_date` >= '{year}-02-01' AND `opening_date` <= '{year}-02-31'""".format(year=year), as_list=True)[0][0] @@ -158,44 +158,44 @@ def get_prior_monetary_datas(): year = datetime.now().year - 1 datas = {} datas['sinv_total'] = {} - datas['sinv_total']['jan'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-01-01' AND `posting_date` <= '{year}-01-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['feb'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-02-01' AND `posting_date` <= '{year}-02-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['mar'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-03-01' AND `posting_date` <= '{year}-03-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['apr'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-04-01' AND `posting_date` <= '{year}-04-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['may'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-05-01' AND `posting_date` <= '{year}-05-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['jun'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-06-01' AND `posting_date` <= '{year}-06-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['jul'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-07-01' AND `posting_date` <= '{year}-07-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['aug'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-08-01' AND `posting_date` <= '{year}-08-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['sept'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-09-01' AND `posting_date` <= '{year}-09-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['oct'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-10-01' AND `posting_date` <= '{year}-10-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['nov'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-11-01' AND `posting_date` <= '{year}-11-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['dez'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-12-01' AND `posting_date` <= '{year}-12-31'""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['jan'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-01-01' AND `posting_date` <= '{year}-01-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['feb'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-02-01' AND `posting_date` <= '{year}-02-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['mar'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-03-01' AND `posting_date` <= '{year}-03-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['apr'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-04-01' AND `posting_date` <= '{year}-04-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['may'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-05-01' AND `posting_date` <= '{year}-05-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['jun'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-06-01' AND `posting_date` <= '{year}-06-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['jul'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-07-01' AND `posting_date` <= '{year}-07-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['aug'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-08-01' AND `posting_date` <= '{year}-08-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['sept'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-09-01' AND `posting_date` <= '{year}-09-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['oct'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-10-01' AND `posting_date` <= '{year}-10-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['nov'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-11-01' AND `posting_date` <= '{year}-11-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['dez'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-12-01' AND `posting_date` <= '{year}-12-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 datas['sales_orders'] = {} - datas['sales_orders']['jan'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-01-01' AND `transaction_date` <= '{year}-01-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['feb'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-02-01' AND `transaction_date` <= '{year}-02-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['mar'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-03-01' AND `transaction_date` <= '{year}-03-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['apr'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-04-01' AND `transaction_date` <= '{year}-04-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['may'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-05-01' AND `transaction_date` <= '{year}-05-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['jun'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-06-01' AND `transaction_date` <= '{year}-06-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['jul'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-07-01' AND `transaction_date` <= '{year}-07-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['aug'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-08-01' AND `transaction_date` <= '{year}-08-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['sept'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-09-01' AND `transaction_date` <= '{year}-09-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['oct'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-10-01' AND `transaction_date` <= '{year}-10-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['nov'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-11-01' AND `transaction_date` <= '{year}-11-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['dez'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-12-01' AND `transaction_date` <= '{year}-12-31'""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['jan'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-01-01' AND `transaction_date` <= '{year}-01-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['feb'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-02-01' AND `transaction_date` <= '{year}-02-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['mar'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-03-01' AND `transaction_date` <= '{year}-03-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['apr'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-04-01' AND `transaction_date` <= '{year}-04-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['may'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-05-01' AND `transaction_date` <= '{year}-05-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['jun'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-06-01' AND `transaction_date` <= '{year}-06-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['jul'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-07-01' AND `transaction_date` <= '{year}-07-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['aug'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-08-01' AND `transaction_date` <= '{year}-08-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['sept'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-09-01' AND `transaction_date` <= '{year}-09-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['oct'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-10-01' AND `transaction_date` <= '{year}-10-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['nov'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-11-01' AND `transaction_date` <= '{year}-11-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['dez'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-12-01' AND `transaction_date` <= '{year}-12-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] datas['delivery_notes'] = {} - datas['delivery_notes']['jan'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-01-01' AND `posting_date` <= '{year}-01-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['feb'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-02-01' AND `posting_date` <= '{year}-02-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['mar'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-03-01' AND `posting_date` <= '{year}-03-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['apr'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-04-01' AND `posting_date` <= '{year}-04-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['may'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-05-01' AND `posting_date` <= '{year}-05-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['jun'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-06-01' AND `posting_date` <= '{year}-06-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['jul'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-07-01' AND `posting_date` <= '{year}-07-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['aug'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-08-01' AND `posting_date` <= '{year}-08-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['sept'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-09-01' AND `posting_date` <= '{year}-09-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['oct'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-10-01' AND `posting_date` <= '{year}-10-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['nov'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-11-01' AND `posting_date` <= '{year}-11-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['dez'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-12-01' AND `posting_date` <= '{year}-12-31'""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['jan'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-01-01' AND `posting_date` <= '{year}-01-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['feb'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-02-01' AND `posting_date` <= '{year}-02-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['mar'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-03-01' AND `posting_date` <= '{year}-03-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['apr'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-04-01' AND `posting_date` <= '{year}-04-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['may'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-05-01' AND `posting_date` <= '{year}-05-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['jun'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-06-01' AND `posting_date` <= '{year}-06-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['jul'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-07-01' AND `posting_date` <= '{year}-07-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['aug'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-08-01' AND `posting_date` <= '{year}-08-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['sept'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-09-01' AND `posting_date` <= '{year}-09-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['oct'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-10-01' AND `posting_date` <= '{year}-10-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['nov'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-11-01' AND `posting_date` <= '{year}-11-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['dez'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-12-01' AND `posting_date` <= '{year}-12-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] return datas @frappe.whitelist() @@ -203,44 +203,44 @@ def get_prior_qty_based_datas(): year = datetime.now().year - 1 datas = {} datas['sinv_total'] = {} - datas['sinv_total']['jan'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-01-01' AND `posting_date` <= '{year}-01-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['feb'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-02-01' AND `posting_date` <= '{year}-02-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['mar'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-03-01' AND `posting_date` <= '{year}-03-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['apr'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-04-01' AND `posting_date` <= '{year}-04-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['may'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-05-01' AND `posting_date` <= '{year}-05-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['jun'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-06-01' AND `posting_date` <= '{year}-06-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['jul'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-07-01' AND `posting_date` <= '{year}-07-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['aug'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-08-01' AND `posting_date` <= '{year}-08-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['sept'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-09-01' AND `posting_date` <= '{year}-09-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['oct'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-10-01' AND `posting_date` <= '{year}-10-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['nov'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-11-01' AND `posting_date` <= '{year}-11-31'""".format(year=year), as_list=True)[0][0] or 0 - datas['sinv_total']['dez'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-12-01' AND `posting_date` <= '{year}-12-31'""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['jan'] = frappe.db.sql("""SELECT COUNT(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-01-01' AND `posting_date` <= '{year}-01-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['feb'] = frappe.db.sql("""SELECT COUNT(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-02-01' AND `posting_date` <= '{year}-02-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['mar'] = frappe.db.sql("""SELECT COUNT(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-03-01' AND `posting_date` <= '{year}-03-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['apr'] = frappe.db.sql("""SELECT COUNT(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-04-01' AND `posting_date` <= '{year}-04-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['may'] = frappe.db.sql("""SELECT COUNT(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-05-01' AND `posting_date` <= '{year}-05-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['jun'] = frappe.db.sql("""SELECT COUNT(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-06-01' AND `posting_date` <= '{year}-06-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['jul'] = frappe.db.sql("""SELECT COUNT(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-07-01' AND `posting_date` <= '{year}-07-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['aug'] = frappe.db.sql("""SELECT COUNT(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-08-01' AND `posting_date` <= '{year}-08-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['sept'] = frappe.db.sql("""SELECT COUNT(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-09-01' AND `posting_date` <= '{year}-09-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['oct'] = frappe.db.sql("""SELECT COUNT(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-10-01' AND `posting_date` <= '{year}-10-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['nov'] = frappe.db.sql("""SELECT COUNT(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-11-01' AND `posting_date` <= '{year}-11-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 + datas['sinv_total']['dez'] = frappe.db.sql("""SELECT COUNT(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-12-01' AND `posting_date` <= '{year}-12-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] or 0 datas['sales_orders'] = {} - datas['sales_orders']['jan'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-01-01' AND `transaction_date` <= '{year}-01-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['feb'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-02-01' AND `transaction_date` <= '{year}-02-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['mar'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-03-01' AND `transaction_date` <= '{year}-03-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['apr'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-04-01' AND `transaction_date` <= '{year}-04-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['may'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-05-01' AND `transaction_date` <= '{year}-05-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['jun'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-06-01' AND `transaction_date` <= '{year}-06-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['jul'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-07-01' AND `transaction_date` <= '{year}-07-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['aug'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-08-01' AND `transaction_date` <= '{year}-08-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['sept'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-09-01' AND `transaction_date` <= '{year}-09-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['oct'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-10-01' AND `transaction_date` <= '{year}-10-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['nov'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-11-01' AND `transaction_date` <= '{year}-11-31'""".format(year=year), as_list=True)[0][0] - datas['sales_orders']['dez'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-12-01' AND `transaction_date` <= '{year}-12-31'""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['jan'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-01-01' AND `transaction_date` <= '{year}-01-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['feb'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-02-01' AND `transaction_date` <= '{year}-02-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['mar'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-03-01' AND `transaction_date` <= '{year}-03-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['apr'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-04-01' AND `transaction_date` <= '{year}-04-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['may'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-05-01' AND `transaction_date` <= '{year}-05-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['jun'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-06-01' AND `transaction_date` <= '{year}-06-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['jul'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-07-01' AND `transaction_date` <= '{year}-07-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['aug'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-08-01' AND `transaction_date` <= '{year}-08-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['sept'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-09-01' AND `transaction_date` <= '{year}-09-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['oct'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-10-01' AND `transaction_date` <= '{year}-10-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['nov'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-11-01' AND `transaction_date` <= '{year}-11-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['sales_orders']['dez'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-12-01' AND `transaction_date` <= '{year}-12-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] datas['delivery_notes'] = {} - datas['delivery_notes']['jan'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-01-01' AND `posting_date` <= '{year}-01-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['feb'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-02-01' AND `posting_date` <= '{year}-02-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['mar'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-03-01' AND `posting_date` <= '{year}-03-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['apr'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-04-01' AND `posting_date` <= '{year}-04-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['may'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-05-01' AND `posting_date` <= '{year}-05-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['jun'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-06-01' AND `posting_date` <= '{year}-06-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['jul'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-07-01' AND `posting_date` <= '{year}-07-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['aug'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-08-01' AND `posting_date` <= '{year}-08-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['sept'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-09-01' AND `posting_date` <= '{year}-09-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['oct'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-10-01' AND `posting_date` <= '{year}-10-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['nov'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-11-01' AND `posting_date` <= '{year}-11-31'""".format(year=year), as_list=True)[0][0] - datas['delivery_notes']['dez'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-12-01' AND `posting_date` <= '{year}-12-31'""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['jan'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-01-01' AND `posting_date` <= '{year}-01-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['feb'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-02-01' AND `posting_date` <= '{year}-02-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['mar'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-03-01' AND `posting_date` <= '{year}-03-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['apr'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-04-01' AND `posting_date` <= '{year}-04-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['may'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-05-01' AND `posting_date` <= '{year}-05-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['jun'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-06-01' AND `posting_date` <= '{year}-06-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['jul'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-07-01' AND `posting_date` <= '{year}-07-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['aug'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-08-01' AND `posting_date` <= '{year}-08-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['sept'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-09-01' AND `posting_date` <= '{year}-09-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['oct'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-10-01' AND `posting_date` <= '{year}-10-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['nov'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-11-01' AND `posting_date` <= '{year}-11-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] + datas['delivery_notes']['dez'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-12-01' AND `posting_date` <= '{year}-12-31' AND `docstatus` = 1""".format(year=year), as_list=True)[0][0] datas['issues'] = {} datas['issues']['jan'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabIssue` WHERE `opening_date` >= '{year}-01-01' AND `opening_date` <= '{year}-01-31'""".format(year=year), as_list=True)[0][0] datas['issues']['feb'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabIssue` WHERE `opening_date` >= '{year}-02-01' AND `opening_date` <= '{year}-02-31'""".format(year=year), as_list=True)[0][0] @@ -262,14 +262,14 @@ def get_comparative_monetary_datas(): prior_year = datetime.now().year - 1 datas = {} datas['sinv_total'] = {} - datas['sinv_total']['prior'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-01-01' AND `posting_date` <= '{year}-12-31'""".format(year=prior_year), as_list=True)[0][0] - datas['sinv_total']['current'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-01-01' AND `posting_date` <= '{year}-12-31'""".format(year=current_year), as_list=True)[0][0] + datas['sinv_total']['prior'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-01-01' AND `posting_date` <= '{year}-12-31' AND `docstatus` = 1""".format(year=prior_year), as_list=True)[0][0] + datas['sinv_total']['current'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-01-01' AND `posting_date` <= '{year}-12-31' AND `docstatus` = 1""".format(year=current_year), as_list=True)[0][0] datas['dn_total'] = {} - datas['dn_total']['prior'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-01-01' AND `posting_date` <= '{year}-12-31'""".format(year=prior_year), as_list=True)[0][0] - datas['dn_total']['current'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-01-01' AND `posting_date` <= '{year}-12-31'""".format(year=current_year), as_list=True)[0][0] + datas['dn_total']['prior'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-01-01' AND `posting_date` <= '{year}-12-31' AND `docstatus` = 1""".format(year=prior_year), as_list=True)[0][0] + datas['dn_total']['current'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-01-01' AND `posting_date` <= '{year}-12-31' AND `docstatus` = 1""".format(year=current_year), as_list=True)[0][0] datas['so_total'] = {} - datas['so_total']['prior'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-01-01' AND `transaction_date` <= '{year}-12-31'""".format(year=prior_year), as_list=True)[0][0] - datas['so_total']['current'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-01-01' AND `transaction_date` <= '{year}-12-31'""".format(year=current_year), as_list=True)[0][0] + datas['so_total']['prior'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-01-01' AND `transaction_date` <= '{year}-12-31' AND `docstatus` = 1""".format(year=prior_year), as_list=True)[0][0] + datas['so_total']['current'] = frappe.db.sql("""SELECT SUM(`total`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-01-01' AND `transaction_date` <= '{year}-12-31' AND `docstatus` = 1""".format(year=current_year), as_list=True)[0][0] return datas @frappe.whitelist() @@ -278,14 +278,14 @@ def get_comparative_qty_based_datas(): prior_year = datetime.now().year - 1 datas = {} datas['sinv_total'] = {} - datas['sinv_total']['prior'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-01-01' AND `posting_date` <= '{year}-12-31'""".format(year=prior_year), as_list=True)[0][0] - datas['sinv_total']['current'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-01-01' AND `posting_date` <= '{year}-12-31'""".format(year=current_year), as_list=True)[0][0] + datas['sinv_total']['prior'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-01-01' AND `posting_date` <= '{year}-12-31' AND `docstatus` = 1""".format(year=prior_year), as_list=True)[0][0] + datas['sinv_total']['current'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Invoice` WHERE `posting_date` >= '{year}-01-01' AND `posting_date` <= '{year}-12-31' AND `docstatus` = 1""".format(year=current_year), as_list=True)[0][0] datas['dn_total'] = {} - datas['dn_total']['prior'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-01-01' AND `posting_date` <= '{year}-12-31'""".format(year=prior_year), as_list=True)[0][0] - datas['dn_total']['current'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-01-01' AND `posting_date` <= '{year}-12-31'""".format(year=current_year), as_list=True)[0][0] + datas['dn_total']['prior'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-01-01' AND `posting_date` <= '{year}-12-31' AND `docstatus` = 1""".format(year=prior_year), as_list=True)[0][0] + datas['dn_total']['current'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabDelivery Note` WHERE `posting_date` >= '{year}-01-01' AND `posting_date` <= '{year}-12-31' AND `docstatus` = 1""".format(year=current_year), as_list=True)[0][0] datas['so_total'] = {} - datas['so_total']['prior'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-01-01' AND `transaction_date` <= '{year}-12-31'""".format(year=prior_year), as_list=True)[0][0] - datas['so_total']['current'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-01-01' AND `transaction_date` <= '{year}-12-31'""".format(year=current_year), as_list=True)[0][0] + datas['so_total']['prior'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-01-01' AND `transaction_date` <= '{year}-12-31' AND `docstatus` = 1""".format(year=prior_year), as_list=True)[0][0] + datas['so_total']['current'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabSales Order` WHERE `transaction_date` >= '{year}-01-01' AND `transaction_date` <= '{year}-12-31' AND `docstatus` = 1""".format(year=current_year), as_list=True)[0][0] datas['iss_total'] = {} datas['iss_total']['prior'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabIssue` WHERE `opening_date` >= '{year}-01-01' AND `opening_date` <= '{year}-12-31'""".format(year=prior_year), as_list=True)[0][0] datas['iss_total']['current'] = frappe.db.sql("""SELECT COUNT(`name`) FROM `tabIssue` WHERE `opening_date` >= '{year}-01-01' AND `opening_date` <= '{year}-12-31'""".format(year=current_year), as_list=True)[0][0] diff --git a/libradash/www/pages/blank.html b/libradash/www/pages/blank.html deleted file mode 100644 index a902c21..0000000 --- a/libradash/www/pages/blank.html +++ /dev/null @@ -1,263 +0,0 @@ - - - - - - - - - - Startmin - Bootstrap Admin Theme - - - - - - - - - - - - - - - - - - - -
- - - - - -
-
-
-
-

Blank

-
- -
- -
- -
- - -
- - - - - - - - - - - - - - - - diff --git a/libradash/www/pages/buttons.html b/libradash/www/pages/buttons.html deleted file mode 100644 index 5a005b7..0000000 --- a/libradash/www/pages/buttons.html +++ /dev/null @@ -1,444 +0,0 @@ - - - - - - - - - - Startmin - Bootstrap Admin Theme - - - - - - - - - - - - - - - - - - - - - - -
- - - - - -
-
-
-
-

Buttons

-
- -
- -
-
-
-
- Default Buttons -
- -
-

Normal Buttons

-

- - - - - - - -

-
-

Disabled Buttons

-

- - - - - - - -

-
-

Button Sizes

-

- - - - -
-
- -

-
- -
- -
-
- Circle Icon Buttons with Font Awesome Icons -
- -
-

Normal Circle Buttons

- - - - - - -

-

Large Circle Buttons

- - - - - - -

-

Extra Large Circle Buttons

- - - - - - -
- -
- -
- -
-
-
- Outline Buttons with Smooth Transition -
- -
-

Outline Buttons

-

- - - - - - - -

-
-

Outline Button Sizes

-

- - - - -
-
- -

-
- -
- - - -
- -
- -
- -
- - -
- - - - - - - - - - - - - - - - diff --git a/libradash/www/pages/flot.html b/libradash/www/pages/flot.html deleted file mode 100644 index 946de9e..0000000 --- a/libradash/www/pages/flot.html +++ /dev/null @@ -1,375 +0,0 @@ - - - - - - - - - - Startmin - Bootstrap Admin Theme - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - -
-
-
-
-

Flot

-
- -
- -
-
-
-
- Line Chart Example -
- -
-
-
-
-
- -
- -
- -
-
-
- Pie Chart Example -
- -
-
-
-
-
- -
- -
- -
-
-
- Multiple Axes Line Chart Example -
- -
-
-
-
-
- -
- -
- -
-
-
- Moving Line Chart Example -
- -
-
-
-
-
- -
- -
- -
-
-
- Bar Chart Example -
- -
-
-
-
-
- -
- -
- -
-
-
- Flot Charts Usage -
- -
-

Flot is a pure JavaScript plotting library for jQuery, with a focus on simple usage, attractive looks, and interactive features. In SB Admin, we are using the most recent version of Flot along with a few plugins to enhance the user experience. The Flot plugins being used are the tooltip plugin for hoverable tooltips, and the resize plugin for fully responsive charts. The documentation for Flot Charts is available on their website, http://www.flotcharts.org/.

- View Flot Charts Documentation -
- -
- -
- -
- -
- -
- - -
- - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/libradash/www/pages/forms.html b/libradash/www/pages/forms.html deleted file mode 100644 index 749285a..0000000 --- a/libradash/www/pages/forms.html +++ /dev/null @@ -1,455 +0,0 @@ - - - - - - - - - - Startmin - Bootstrap Admin Theme - - - - - - - - - - - - - - - - - - - -
- - - - -
-
-
-
-

Forms

-
- -
- -
-
-
-
- Basic Form Elements -
-
-
-
-
-
- - -

Example block-level help text here.

-
-
- - -
-
- -

email@example.com

-
-
- - -
-
- - -
-
- -
- -
-
- -
-
- -
-
-
- - - - -
-
- -
- -
-
- -
-
- -
-
-
- - - - -
-
- - -
-
- - -
- - -
-
- -
-

Disabled Form States

-
-
-
- - -
-
- - -
-
- -
- -
-
-

Form Validation States

-
-
- - -
-
- - -
-
- - -
-
-

Input Groups

-
-
- @ - -
-
- - .00 -
-
- - - -
-
- $ - - .00 -
-
- - - - -
-
-
- -
- -
- -
- -
- -
- -
- -
- - -
- - - - - - - - - - - - - - - - diff --git a/libradash/www/pages/grid.html b/libradash/www/pages/grid.html deleted file mode 100644 index e082ad5..0000000 --- a/libradash/www/pages/grid.html +++ /dev/null @@ -1,558 +0,0 @@ - - - - - - - - - - Startmin - Bootstrap Admin Theme - - - - - - - - - - - - - - - - - - - -
- - - - -
-
-
-
-

Grid

-
- -
- -
-
-
-
-

Grid options

-

See how aspects of the Bootstrap grid system work across multiple devices with a handy table.

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Extra small devices - Phones (<768px) - - Small devices - Tablets (≥768px) - - Medium devices - Desktops (≥992px) - - Large devices - Desktops (≥1200px) -
Grid behaviorHorizontal at all timesCollapsed to start, horizontal above breakpoints
Max container widthNone (auto)750px970px1170px
Class prefix - .col-xs- - - .col-sm- - - .col-md- - - .col-lg- -
# of columns12
Max column widthAuto60px78px95px
Gutter width30px (15px on each side of a column)
NestableYes
OffsetsYes
Column orderingYes
-
-

Grid classes apply to devices with screen widths greater than or equal to the breakpoint sizes, and override grid classes targeted at smaller devices. Therefore, applying any - .col-md- class to an element will not only affect its styling on medium devices but also on large devices if a - .col-lg- class is not present.

-
-
-
- -
- - -
-
-
-
-

Example: Stacked-to-horizontal

-

Using a single set of - .col-md-* grid classes, you can create a default grid system that starts out stacked on mobile devices and tablet devices (the extra small to small range) before becoming horizontal on desktop (medium) devices. Place grid columns in any - .row.

-
-
.col-md-1
-
.col-md-1
-
.col-md-1
-
.col-md-1
-
.col-md-1
-
.col-md-1
-
.col-md-1
-
.col-md-1
-
.col-md-1
-
.col-md-1
-
.col-md-1
-
.col-md-1
-
-
-
.col-md-8
-
.col-md-4
-
-
-
.col-md-4
-
.col-md-4
-
.col-md-4
-
-
-
.col-md-6
-
.col-md-6
-
-
-
-
- -
- - -
-
-
-
-

Example: Mobile and desktop

-

Don't want your columns to simply stack in smaller devices? Use the extra small and medium device grid classes by adding - .col-xs-* - .col-md-* to your columns. See the example below for a better idea of how it all works.

-
-
.col-xs-12 .col-md-8
-
.col-xs-6 .col-md-4
-
-
-
.col-xs-6 .col-md-4
-
.col-xs-6 .col-md-4
-
.col-xs-6 .col-md-4
-
-
-
.col-xs-6
-
.col-xs-6
-
-
-
-
- -
- - -
-
-
-
-

Example: Mobile, tablet, desktops

-

Build on the previous example by creating even more dynamic and powerful layouts with tablet - .col-sm-* classes.

-
-
.col-xs-12 .col-sm-6 .col-md-8
-
.col-xs-6 .col-md-4
-
-
-
.col-xs-6 .col-sm-4
-
.col-xs-6 .col-sm-4
- -
-
.col-xs-6 .col-sm-4
-
-
-
-
- -
- - -
-
-
-
-

Responsive column resets

-

With the four tiers of grids available you're bound to run into issues where, at certain breakpoints, your columns don't clear quite right as one is taller than the other. To fix that, use a combination of a - .clearfix and our responsive utility classes.

-
-
- .col-xs-6 .col-sm-3 -
Resize your viewport or check it out on your phone for an example. -
-
.col-xs-6 .col-sm-3
- - -
- -
.col-xs-6 .col-sm-3
-
.col-xs-6 .col-sm-3
-
-
-
-
- -
- - -
-
-
-
-

Offsetting columns

-

Move columns to the right using - .col-md-offset-* classes. These classes increase the left margin of a column by - * columns. For example, - .col-md-offset-4 moves - .col-md-4 over four columns.

-
-
.col-md-4
-
.col-md-4 .col-md-offset-4
-
-
-
.col-md-3 .col-md-offset-3
-
.col-md-3 .col-md-offset-3
-
-
-
.col-md-6 .col-md-offset-3
-
-
-
-
- -
- - -
-
-
-
-

Nesting columns

-

To nest your content with the default grid, add a new - .row and set of - .col-md-* columns within an existing - .col-md-* column. Nested rows should include a set of columns that add up to 12.

-
-
- Level 1: .col-md-9 -
-
- Level 2: .col-md-6 -
-
- Level 2: .col-md-6 -
-
-
-
-
-
-
- -
- - -
-
-
-
-

Column ordering

-

Easily change the order of our built-in grid columns with - .col-md-push-* and - .col-md-pull-* modifier classes.

-
-
.col-md-9 .col-md-push-3
-
.col-md-3 .col-md-pull-9
-
-
-
-
- -
- -
- -
- - -
- - - - - - - - - - - - - - - - - - diff --git a/libradash/www/pages/icons.html b/libradash/www/pages/icons.html deleted file mode 100644 index bcde9df..0000000 --- a/libradash/www/pages/icons.html +++ /dev/null @@ -1,5298 +0,0 @@ - - - - - - - - - - Startmin - Bootstrap Admin Theme - - - - - - - - - - - - - - - - - - - -
- - - - -
-
-
-
-

Icons

-
- -
- -
-
-
-
- All available icons -
-
- -
- - - -
- - - fa-500px - -
- -
- - - fa-adjust - -
- -
- - - fa-adn - -
- -
- - - fa-align-center - -
- -
- - - fa-align-justify - -
- -
- - - fa-align-left - -
- -
- - - fa-align-right - -
- -
- - - fa-amazon - -
- -
- - - fa-ambulance - -
- -
- - - fa-american-sign-language-interpreting - -
- -
- - - fa-anchor - -
- -
- - - fa-android - -
- -
- - - fa-angellist - -
- -
- - - fa-angle-double-down - -
- -
- - - fa-angle-double-left - -
- -
- - - fa-angle-double-right - -
- -
- - - fa-angle-double-up - -
- -
- - - fa-angle-down - -
- -
- - - fa-angle-left - -
- -
- - - fa-angle-right - -
- -
- - - fa-angle-up - -
- -
- - - fa-apple - -
- -
- - - fa-archive - -
- -
- - - fa-area-chart - -
- -
- - - fa-arrow-circle-down - -
- -
- - - fa-arrow-circle-left - -
- -
- - - fa-arrow-circle-o-down - -
- -
- - - fa-arrow-circle-o-left - -
- -
- - - fa-arrow-circle-o-right - -
- -
- - - fa-arrow-circle-o-up - -
- -
- - - fa-arrow-circle-right - -
- -
- - - fa-arrow-circle-up - -
- -
- - - fa-arrow-down - -
- -
- - - fa-arrow-left - -
- -
- - - fa-arrow-right - -
- -
- - - fa-arrow-up - -
- -
- - - fa-arrows - -
- -
- - - fa-arrows-alt - -
- -
- - - fa-arrows-h - -
- -
- - - fa-arrows-v - -
- -
- - - fa-asl-interpreting -
- -
- - - fa-assistive-listening-systems - -
- -
- - - fa-asterisk - -
- -
- - - fa-at - -
- -
- - - fa-audio-description - -
- -
- - - fa-automobile -
- -
- - - fa-backward - -
- -
- - - fa-balance-scale - -
- -
- - - fa-ban - -
- -
- - - fa-bank -
- -
- - - fa-bar-chart - -
- -
- - - fa-bar-chart-o -
- -
- - - fa-barcode - -
- -
- - - fa-bars - -
- -
- - - fa-battery-0 -
- -
- - - fa-battery-1 -
- -
- - - fa-battery-2 -
- -
- - - fa-battery-3 -
- -
- - - fa-battery-4 -
- -
- - - fa-battery-empty - -
- -
- - - fa-battery-full - -
- -
- - - fa-battery-half - -
- -
- - - fa-battery-quarter - -
- -
- - - fa-battery-three-quarters - -
- -
- - - fa-bed - -
- -
- - - fa-beer - -
- -
- - - fa-behance - -
- -
- - - fa-behance-square - -
- -
- - - fa-bell - -
- -
- - - fa-bell-o - -
- -
- - - fa-bell-slash - -
- -
- - - fa-bell-slash-o - -
- -
- - - fa-bicycle - -
- -
- - - fa-binoculars - -
- -
- - - fa-birthday-cake - -
- -
- - - fa-bitbucket - -
- -
- - - fa-bitbucket-square - -
- -
- - - fa-bitcoin -
- -
- - - fa-black-tie - -
- -
- - - fa-blind - -
- -
- - - fa-bluetooth - -
- -
- - - fa-bluetooth-b - -
- -
- - - fa-bold - -
- -
- - - fa-bolt - -
- -
- - - fa-bomb - -
- -
- - - fa-book - -
- -
- - - fa-bookmark - -
- -
- - - fa-bookmark-o - -
- -
- - - fa-braille - -
- -
- - - fa-briefcase - -
- -
- - - fa-btc - -
- -
- - - fa-bug - -
- -
- - - fa-building - -
- -
- - - fa-building-o - -
- -
- - - fa-bullhorn - -
- -
- - - fa-bullseye - -
- -
- - - fa-bus - -
- -
- - - fa-buysellads - -
- -
- - - fa-cab -
- -
- - - fa-calculator - -
- -
- - - fa-calendar - -
- -
- - - fa-calendar-check-o - -
- -
- - - fa-calendar-minus-o - -
- -
- - - fa-calendar-o - -
- -
- - - fa-calendar-plus-o - -
- -
- - - fa-calendar-times-o - -
- -
- - - fa-camera - -
- -
- - - fa-camera-retro - -
- -
- - - fa-car - -
- -
- - - fa-caret-down - -
- -
- - - fa-caret-left - -
- -
- - - fa-caret-right - -
- -
- - - fa-caret-square-o-down - -
- -
- - - fa-caret-square-o-left - -
- -
- - - fa-caret-square-o-right - -
- -
- - - fa-caret-square-o-up - -
- -
- - - fa-caret-up - -
- -
- - - fa-cart-arrow-down - -
- -
- - - fa-cart-plus - -
- -
- - - fa-cc - -
- -
- - - fa-cc-amex - -
- -
- - - fa-cc-diners-club - -
- -
- - - fa-cc-discover - -
- -
- - - fa-cc-jcb - -
- -
- - - fa-cc-mastercard - -
- -
- - - fa-cc-paypal - -
- -
- - - fa-cc-stripe - -
- -
- - - fa-cc-visa - -
- -
- - - fa-certificate - -
- -
- - - fa-chain -
- -
- - - fa-chain-broken - -
- -
- - - fa-check - -
- -
- - - fa-check-circle - -
- -
- - - fa-check-circle-o - -
- -
- - - fa-check-square - -
- -
- - - fa-check-square-o - -
- -
- - - fa-chevron-circle-down - -
- -
- - - fa-chevron-circle-left - -
- -
- - - fa-chevron-circle-right - -
- -
- - - fa-chevron-circle-up - -
- -
- - - fa-chevron-down - -
- -
- - - fa-chevron-left - -
- -
- - - fa-chevron-right - -
- -
- - - fa-chevron-up - -
- -
- - - fa-child - -
- -
- - - fa-chrome - -
- -
- - - fa-circle - -
- -
- - - fa-circle-o - -
- -
- - - fa-circle-o-notch - -
- -
- - - fa-circle-thin - -
- -
- - - fa-clipboard - -
- -
- - - fa-clock-o - -
- -
- - - fa-clone - -
- -
- - - fa-close -
- -
- - - fa-cloud - -
- -
- - - fa-cloud-download - -
- -
- - - fa-cloud-upload - -
- -
- - - fa-cny -
- -
- - - fa-code - -
- -
- - - fa-code-fork - -
- -
- - - fa-codepen - -
- -
- - - fa-codiepie - -
- -
- - - fa-coffee - -
- -
- - - fa-cog - -
- -
- - - fa-cogs - -
- -
- - - fa-columns - -
- -
- - - fa-comment - -
- -
- - - fa-comment-o - -
- -
- - - fa-commenting - -
- -
- - - fa-commenting-o - -
- -
- - - fa-comments - -
- -
- - - fa-comments-o - -
- -
- - - fa-compass - -
- -
- - - fa-compress - -
- -
- - - fa-connectdevelop - -
- -
- - - fa-contao - -
- -
- - - fa-copy -
- -
- - - fa-copyright - -
- -
- - - fa-creative-commons - -
- -
- - - fa-credit-card - -
- -
- - - fa-credit-card-alt - -
- -
- - - fa-crop - -
- -
- - - fa-crosshairs - -
- -
- - - fa-css3 - -
- -
- - - fa-cube - -
- -
- - - fa-cubes - -
- -
- - - fa-cut -
- -
- - - fa-cutlery - -
- -
- - - fa-dashboard -
- -
- - - fa-dashcube - -
- -
- - - fa-database - -
- -
- - - fa-deaf - -
- -
- - - fa-deafness -
- -
- - - fa-dedent -
- -
- - - fa-delicious - -
- -
- - - fa-desktop - -
- -
- - - fa-deviantart - -
- -
- - - fa-diamond - -
- -
- - - fa-digg - -
- -
- - - fa-dollar -
- -
- - - fa-dot-circle-o - -
- -
- - - fa-download - -
- -
- - - fa-dribbble - -
- -
- - - fa-dropbox - -
- -
- - - fa-drupal - -
- -
- - - fa-edge - -
- -
- - - fa-edit -
- -
- - - fa-eject - -
- -
- - - fa-ellipsis-h - -
- -
- - - fa-ellipsis-v - -
- -
- - - fa-empire - -
- -
- - - fa-envelope - -
- -
- - - fa-envelope-o - -
- -
- - - fa-envelope-square - -
- -
- - - fa-envira - -
- -
- - - fa-eraser - -
- -
- - - fa-eur - -
- -
- - - fa-euro -
- -
- - - fa-exchange - -
- -
- - - fa-exclamation - -
- -
- - - fa-exclamation-circle - -
- -
- - - fa-exclamation-triangle - -
- -
- - - fa-expand - -
- -
- - - fa-expeditedssl - -
- -
- - - fa-external-link - -
- -
- - - fa-external-link-square - -
- -
- - - fa-eye - -
- -
- - - fa-eye-slash - -
- -
- - - fa-eyedropper - -
- -
- - - fa-fa -
- -
- - - fa-facebook - -
- -
- - - fa-facebook-f -
- -
- - - fa-facebook-official - -
- -
- - - fa-facebook-square - -
- -
- - - fa-fast-backward - -
- -
- - - fa-fast-forward - -
- -
- - - fa-fax - -
- -
- - - fa-feed -
- -
- - - fa-female - -
- -
- - - fa-fighter-jet - -
- -
- - - fa-file - -
- -
- - - fa-file-archive-o - -
- -
- - - fa-file-audio-o - -
- -
- - - fa-file-code-o - -
- -
- - - fa-file-excel-o - -
- -
- - - fa-file-image-o - -
- -
- - - fa-file-movie-o -
- -
- - - fa-file-o - -
- -
- - - fa-file-pdf-o - -
- -
- - - fa-file-photo-o -
- -
- - - fa-file-picture-o -
- -
- - - fa-file-powerpoint-o - -
- -
- - - fa-file-sound-o -
- -
- - - fa-file-text - -
- -
- - - fa-file-text-o - -
- -
- - - fa-file-video-o - -
- -
- - - fa-file-word-o - -
- -
- - - fa-file-zip-o -
- -
- - - fa-files-o - -
- -
- - - fa-film - -
- -
- - - fa-filter - -
- -
- - - fa-fire - -
- -
- - - fa-fire-extinguisher - -
- -
- - - fa-firefox - -
- -
- - - fa-first-order - -
- -
- - - fa-flag - -
- -
- - - fa-flag-checkered - -
- -
- - - fa-flag-o - -
- -
- - - fa-flash -
- -
- - - fa-flask - -
- -
- - - fa-flickr - -
- -
- - - fa-floppy-o - -
- -
- - - fa-folder - -
- -
- - - fa-folder-o - -
- -
- - - fa-folder-open - -
- -
- - - fa-folder-open-o - -
- -
- - - fa-font - -
- -
- - - fa-font-awesome - -
- -
- - - fa-fonticons - -
- -
- - - fa-fort-awesome - -
- -
- - - fa-forumbee - -
- -
- - - fa-forward - -
- -
- - - fa-foursquare - -
- -
- - - fa-frown-o - -
- -
- - - fa-futbol-o - -
- -
- - - fa-gamepad - -
- -
- - - fa-gavel - -
- -
- - - fa-gbp - -
- -
- - - fa-ge -
- -
- - - fa-gear -
- -
- - - fa-gears -
- -
- - - fa-genderless - -
- -
- - - fa-get-pocket - -
- -
- - - fa-gg - -
- -
- - - fa-gg-circle - -
- -
- - - fa-gift - -
- -
- - - fa-git - -
- -
- - - fa-git-square - -
- -
- - - fa-github - -
- -
- - - fa-github-alt - -
- -
- - - fa-github-square - -
- -
- - - fa-gitlab - -
- -
- - - fa-gittip -
- -
- - - fa-glass - -
- -
- - - fa-glide - -
- -
- - - fa-glide-g - -
- -
- - - fa-globe - -
- -
- - - fa-google - -
- -
- - - fa-google-plus - -
- -
- - - fa-google-plus-circle -
- -
- - - fa-google-plus-official - -
- -
- - - fa-google-plus-square - -
- -
- - - fa-google-wallet - -
- -
- - - fa-graduation-cap - -
- -
- - - fa-gratipay - -
- -
- - - fa-group -
- -
- - - fa-h-square - -
- -
- - - fa-hacker-news - -
- -
- - - fa-hand-grab-o -
- -
- - - fa-hand-lizard-o - -
- -
- - - fa-hand-o-down - -
- -
- - - fa-hand-o-left - -
- -
- - - fa-hand-o-right - -
- -
- - - fa-hand-o-up - -
- -
- - - fa-hand-paper-o - -
- -
- - - fa-hand-peace-o - -
- -
- - - fa-hand-pointer-o - -
- -
- - - fa-hand-rock-o - -
- -
- - - fa-hand-scissors-o - -
- -
- - - fa-hand-spock-o - -
- -
- - - fa-hand-stop-o -
- -
- - - fa-hard-of-hearing -
- -
- - - fa-hashtag - -
- -
- - - fa-hdd-o - -
- -
- - - fa-header - -
- -
- - - fa-headphones - -
- -
- - - fa-heart - -
- -
- - - fa-heart-o - -
- -
- - - fa-heartbeat - -
- -
- - - fa-history - -
- -
- - - fa-home - -
- -
- - - fa-hospital-o - -
- -
- - - fa-hotel -
- -
- - - fa-hourglass - -
- -
- - - fa-hourglass-1 -
- -
- - - fa-hourglass-2 -
- -
- - - fa-hourglass-3 -
- -
- - - fa-hourglass-end - -
- -
- - - fa-hourglass-half - -
- -
- - - fa-hourglass-o - -
- -
- - - fa-hourglass-start - -
- -
- - - fa-houzz - -
- -
- - - fa-html5 - -
- -
- - - fa-i-cursor - -
- -
- - - fa-ils - -
- -
- - - fa-image -
- -
- - - fa-inbox - -
- -
- - - fa-indent - -
- -
- - - fa-industry - -
- -
- - - fa-info - -
- -
- - - fa-info-circle - -
- -
- - - fa-inr - -
- -
- - - fa-instagram - -
- -
- - - fa-institution -
- -
- - - fa-internet-explorer - -
- -
- - - fa-intersex -
- -
- - - fa-ioxhost - -
- -
- - - fa-italic - -
- -
- - - fa-joomla - -
- -
- - - fa-jpy - -
- -
- - - fa-jsfiddle - -
- -
- - - fa-key - -
- -
- - - fa-keyboard-o - -
- -
- - - fa-krw - -
- -
- - - fa-language - -
- -
- - - fa-laptop - -
- -
- - - fa-lastfm - -
- -
- - - fa-lastfm-square - -
- -
- - - fa-leaf - -
- -
- - - fa-leanpub - -
- -
- - - fa-legal -
- -
- - - fa-lemon-o - -
- -
- - - fa-level-down - -
- -
- - - fa-level-up - -
- -
- - - fa-life-bouy -
- -
- - - fa-life-buoy -
- -
- - - fa-life-ring - -
- -
- - - fa-life-saver -
- -
- - - fa-lightbulb-o - -
- -
- - - fa-line-chart - -
- -
- - - fa-link - -
- -
- - - fa-linkedin - -
- -
- - - fa-linkedin-square - -
- -
- - - fa-linux - -
- -
- - - fa-list - -
- -
- - - fa-list-alt - -
- -
- - - fa-list-ol - -
- -
- - - fa-list-ul - -
- -
- - - fa-location-arrow - -
- -
- - - fa-lock - -
- -
- - - fa-long-arrow-down - -
- -
- - - fa-long-arrow-left - -
- -
- - - fa-long-arrow-right - -
- -
- - - fa-long-arrow-up - -
- -
- - - fa-low-vision - -
- -
- - - fa-magic - -
- -
- - - fa-magnet - -
- -
- - - fa-mail-forward -
- -
- - - fa-mail-reply -
- -
- - - fa-mail-reply-all -
- -
- - - fa-male - -
- -
- - - fa-map - -
- -
- - - fa-map-marker - -
- -
- - - fa-map-o - -
- -
- - - fa-map-pin - -
- -
- - - fa-map-signs - -
- -
- - - fa-mars - -
- -
- - - fa-mars-double - -
- -
- - - fa-mars-stroke - -
- -
- - - fa-mars-stroke-h - -
- -
- - - fa-mars-stroke-v - -
- -
- - - fa-maxcdn - -
- -
- - - fa-meanpath - -
- -
- - - fa-medium - -
- -
- - - fa-medkit - -
- -
- - - fa-meh-o - -
- -
- - - fa-mercury - -
- -
- - - fa-microphone - -
- -
- - - fa-microphone-slash - -
- -
- - - fa-minus - -
- -
- - - fa-minus-circle - -
- -
- - - fa-minus-square - -
- -
- - - fa-minus-square-o - -
- -
- - - fa-mixcloud - -
- -
- - - fa-mobile - -
- -
- - - fa-mobile-phone -
- -
- - - fa-modx - -
- -
- - - fa-money - -
- -
- - - fa-moon-o - -
- -
- - - fa-mortar-board -
- -
- - - fa-motorcycle - -
- -
- - - fa-mouse-pointer - -
- -
- - - fa-music - -
- -
- - - fa-navicon -
- -
- - - fa-neuter - -
- -
- - - fa-newspaper-o - -
- -
- - - fa-object-group - -
- -
- - - fa-object-ungroup - -
- -
- - - fa-odnoklassniki - -
- -
- - - fa-odnoklassniki-square - -
- -
- - - fa-opencart - -
- -
- - - fa-openid - -
- -
- - - fa-opera - -
- -
- - - fa-optin-monster - -
- -
- - - fa-outdent - -
- -
- - - fa-pagelines - -
- -
- - - fa-paint-brush - -
- -
- - - fa-paper-plane - -
- -
- - - fa-paper-plane-o - -
- -
- - - fa-paperclip - -
- -
- - - fa-paragraph - -
- -
- - - fa-paste -
- -
- - - fa-pause - -
- -
- - - fa-pause-circle - -
- -
- - - fa-pause-circle-o - -
- -
- - - fa-paw - -
- -
- - - fa-paypal - -
- -
- - - fa-pencil - -
- -
- - - fa-pencil-square - -
- -
- - - fa-pencil-square-o - -
- -
- - - fa-percent - -
- -
- - - fa-phone - -
- -
- - - fa-phone-square - -
- -
- - - fa-photo -
- -
- - - fa-picture-o - -
- -
- - - fa-pie-chart - -
- -
- - - fa-pied-piper - -
- -
- - - fa-pied-piper-alt - -
- -
- - - fa-pied-piper-pp - -
- -
- - - fa-pinterest - -
- -
- - - fa-pinterest-p - -
- -
- - - fa-pinterest-square - -
- -
- - - fa-plane - -
- -
- - - fa-play - -
- -
- - - fa-play-circle - -
- -
- - - fa-play-circle-o - -
- -
- - - fa-plug - -
- -
- - - fa-plus - -
- -
- - - fa-plus-circle - -
- -
- - - fa-plus-square - -
- -
- - - fa-plus-square-o - -
- -
- - - fa-power-off - -
- -
- - - fa-print - -
- -
- - - fa-product-hunt - -
- -
- - - fa-puzzle-piece - -
- -
- - - fa-qq - -
- -
- - - fa-qrcode - -
- -
- - - fa-question - -
- -
- - - fa-question-circle - -
- -
- - - fa-question-circle-o - -
- -
- - - fa-quote-left - -
- -
- - - fa-quote-right - -
- -
- - - fa-ra -
- -
- - - fa-random - -
- -
- - - fa-rebel - -
- -
- - - fa-recycle - -
- -
- - - fa-reddit - -
- -
- - - fa-reddit-alien - -
- -
- - - fa-reddit-square - -
- -
- - - fa-refresh - -
- -
- - - fa-registered - -
- -
- - - fa-remove -
- -
- - - fa-renren - -
- -
- - - fa-reorder -
- -
- - - fa-repeat - -
- -
- - - fa-reply - -
- -
- - - fa-reply-all - -
- -
- - - fa-resistance -
- -
- - - fa-retweet - -
- -
- - - fa-rmb -
- -
- - - fa-road - -
- -
- - - fa-rocket - -
- -
- - - fa-rotate-left -
- -
- - - fa-rotate-right -
- -
- - - fa-rouble -
- -
- - - fa-rss - -
- -
- - - fa-rss-square - -
- -
- - - fa-rub - -
- -
- - - fa-ruble -
- -
- - - fa-rupee -
- -
- - - fa-safari - -
- -
- - - fa-save -
- -
- - - fa-scissors - -
- -
- - - fa-scribd - -
- -
- - - fa-search - -
- -
- - - fa-search-minus - -
- -
- - - fa-search-plus - -
- -
- - - fa-sellsy - -
- -
- - - fa-send -
- -
- - - fa-send-o -
- -
- - - fa-server - -
- -
- - - fa-share - -
- -
- - - fa-share-alt - -
- -
- - - fa-share-alt-square - -
- -
- - - fa-share-square - -
- -
- - - fa-share-square-o - -
- -
- - - fa-shekel -
- -
- - - fa-sheqel -
- -
- - - fa-shield - -
- -
- - - fa-ship - -
- -
- - - fa-shirtsinbulk - -
- -
- - - fa-shopping-bag - -
- -
- - - fa-shopping-basket - -
- -
- - - fa-shopping-cart - -
- -
- - - fa-sign-in - -
- -
- - - fa-sign-language - -
- -
- - - fa-sign-out - -
- -
- - - fa-signal - -
- -
- - - fa-signing -
- -
- - - fa-simplybuilt - -
- -
- - - fa-sitemap - -
- -
- - - fa-skyatlas - -
- -
- - - fa-skype - -
- -
- - - fa-slack - -
- -
- - - fa-sliders - -
- -
- - - fa-slideshare - -
- -
- - - fa-smile-o - -
- -
- - - fa-snapchat - -
- -
- - - fa-snapchat-ghost - -
- -
- - - fa-snapchat-square - -
- -
- - - fa-soccer-ball-o -
- -
- - - fa-sort - -
- -
- - - fa-sort-alpha-asc - -
- -
- - - fa-sort-alpha-desc - -
- -
- - - fa-sort-amount-asc - -
- -
- - - fa-sort-amount-desc - -
- -
- - - fa-sort-asc - -
- -
- - - fa-sort-desc - -
- -
- - - fa-sort-down -
- -
- - - fa-sort-numeric-asc - -
- -
- - - fa-sort-numeric-desc - -
- -
- - - fa-sort-up -
- -
- - - fa-soundcloud - -
- -
- - - fa-space-shuttle - -
- -
- - - fa-spinner - -
- -
- - - fa-spoon - -
- -
- - - fa-spotify - -
- -
- - - fa-square - -
- -
- - - fa-square-o - -
- -
- - - fa-stack-exchange - -
- -
- - - fa-stack-overflow - -
- -
- - - fa-star - -
- -
- - - fa-star-half - -
- -
- - - fa-star-half-empty -
- -
- - - fa-star-half-full -
- -
- - - fa-star-half-o - -
- -
- - - fa-star-o - -
- -
- - - fa-steam - -
- -
- - - fa-steam-square - -
- -
- - - fa-step-backward - -
- -
- - - fa-step-forward - -
- -
- - - fa-stethoscope - -
- -
- - - fa-sticky-note - -
- -
- - - fa-sticky-note-o - -
- -
- - - fa-stop - -
- -
- - - fa-stop-circle - -
- -
- - - fa-stop-circle-o - -
- -
- - - fa-street-view - -
- -
- - - fa-strikethrough - -
- -
- - - fa-stumbleupon - -
- -
- - - fa-stumbleupon-circle - -
- -
- - - fa-subscript - -
- -
- - - fa-subway - -
- -
- - - fa-suitcase - -
- -
- - - fa-sun-o - -
- -
- - - fa-superscript - -
- -
- - - fa-support -
- -
- - - fa-table - -
- -
- - - fa-tablet - -
- -
- - - fa-tachometer - -
- -
- - - fa-tag - -
- -
- - - fa-tags - -
- -
- - - fa-tasks - -
- -
- - - fa-taxi - -
- -
- - - fa-television - -
- -
- - - fa-tencent-weibo - -
- -
- - - fa-terminal - -
- -
- - - fa-text-height - -
- -
- - - fa-text-width - -
- -
- - - fa-th - -
- -
- - - fa-th-large - -
- -
- - - fa-th-list - -
- -
- - - fa-themeisle - -
- -
- - - fa-thumb-tack - -
- -
- - - fa-thumbs-down - -
- -
- - - fa-thumbs-o-down - -
- -
- - - fa-thumbs-o-up - -
- -
- - - fa-thumbs-up - -
- -
- - - fa-ticket - -
- -
- - - fa-times - -
- -
- - - fa-times-circle - -
- -
- - - fa-times-circle-o - -
- -
- - - fa-tint - -
- -
- - - fa-toggle-down -
- -
- - - fa-toggle-left -
- -
- - - fa-toggle-off - -
- -
- - - fa-toggle-on - -
- -
- - - fa-toggle-right -
- -
- - - fa-toggle-up -
- -
- - - fa-trademark - -
- -
- - - fa-train - -
- -
- - - fa-transgender - -
- -
- - - fa-transgender-alt - -
- -
- - - fa-trash - -
- -
- - - fa-trash-o - -
- -
- - - fa-tree - -
- -
- - - fa-trello - -
- -
- - - fa-tripadvisor - -
- -
- - - fa-trophy - -
- -
- - - fa-truck - -
- -
- - - fa-try - -
- -
- - - fa-tty - -
- -
- - - fa-tumblr - -
- -
- - - fa-tumblr-square - -
- -
- - - fa-turkish-lira -
- -
- - - fa-tv -
- -
- - - fa-twitch - -
- -
- - - fa-twitter - -
- -
- - - fa-twitter-square - -
- -
- - - fa-umbrella - -
- -
- - - fa-underline - -
- -
- - - fa-undo - -
- -
- - - fa-universal-access - -
- -
- - - fa-university - -
- -
- - - fa-unlink -
- -
- - - fa-unlock - -
- -
- - - fa-unlock-alt - -
- -
- - - fa-unsorted -
- -
- - - fa-upload - -
- -
- - - fa-usb - -
- -
- - - fa-usd - -
- -
- - - fa-user - -
- -
- - - fa-user-md - -
- -
- - - fa-user-plus - -
- -
- - - fa-user-secret - -
- -
- - - fa-user-times - -
- -
- - - fa-users - -
- -
- - - fa-venus - -
- -
- - - fa-venus-double - -
- -
- - - fa-venus-mars - -
- -
- - - fa-viacoin - -
- -
- - - fa-viadeo - -
- -
- - - fa-viadeo-square - -
- -
- - - fa-video-camera - -
- -
- - - fa-vimeo - -
- -
- - - fa-vimeo-square - -
- -
- - - fa-vine - -
- -
- - - fa-vk - -
- -
- - - fa-volume-control-phone - -
- -
- - - fa-volume-down - -
- -
- - - fa-volume-off - -
- -
- - - fa-volume-up - -
- -
- - - fa-warning -
- -
- - - fa-wechat -
- -
- - - fa-weibo - -
- -
- - - fa-weixin - -
- -
- - - fa-whatsapp - -
- -
- - - fa-wheelchair - -
- -
- - - fa-wheelchair-alt - -
- -
- - - fa-wifi - -
- -
- - - fa-wikipedia-w - -
- -
- - - fa-windows - -
- -
- - - fa-won -
- -
- - - fa-wordpress - -
- -
- - - fa-wpbeginner - -
- -
- - - fa-wpforms - -
- -
- - - fa-wrench - -
- -
- - - fa-xing - -
- -
- - - fa-xing-square - -
- -
- - - fa-y-combinator - -
- -
- - - fa-y-combinator-square -
- -
- - - fa-yahoo - -
- -
- - - fa-yc -
- -
- - - fa-yc-square -
- -
- - - fa-yelp - -
- -
- - - fa-yen -
- -
- - - fa-yoast - -
- -
- - - fa-youtube - -
- -
- - - fa-youtube-play - -
- -
- - - fa-youtube-square - -
- -
- -
- -
- -
- -
- -
- -
- -
- - - - - - - - - - - - - - - - - diff --git a/libradash/www/pages/index.html b/libradash/www/pages/index.html deleted file mode 100644 index 3fd1ef8..0000000 --- a/libradash/www/pages/index.html +++ /dev/null @@ -1,693 +0,0 @@ - - - - - - - - - - -{% extends "templates/web.html" %} -{% block page_content %} - - - - - - - - - - - - - - - - - - - - - - - -
-
-
-

Dashboard

-
- -
- -
- -
-
-
-
-
- -
-
-
124
-
New Orders!
-
-
-
- - - -
-
-
-
-
-
-
- -
-
-
12
-
New Deliverys!
-
-
-
- - - -
-
-
-
-
-
-
- -
-
-
26
-
New Invoices!
-
-
-
- - - -
-
-
-
-
-
-
- -
-
-
13
-
Support Tickets!
-
-
-
- - - -
-
-
- -
-
-
-
- Area Chart Example -
-
- - -
-
-
- -
-
-
- -
- -
-
- Bar Chart Example -
-
- - -
-
-
- -
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#DateTimeAmount
332610/21/20133:29 PM$321.33
332510/21/20133:20 PM$234.34
332410/21/20133:03 PM$724.17
332310/21/20133:00 PM$23.71
332210/21/20132:49 PM$8345.23
332110/21/20132:23 PM$245.12
332010/21/20132:15 PM$5663.54
331910/21/20132:13 PM$943.45
-
- -
- -
-
-
- -
- -
- -
- -
-
- Responsive Timeline -
- -
-
    -
  • -
    -
    -
    -
    -

    Lorem ipsum dolor

    - -

    - 11 hours ago via - Twitter - -

    -
    -
    -

    Lorem ipsum dolor sit amet, consectetur adipisicing elit. Libero - laboriosam - dolor perspiciatis omnis exercitationem. Beatae, officia pariatur? Est - cum - veniam excepturi. Maiores praesentium, porro voluptas suscipit facere - rem - dicta, debitis.

    -
    -
    -
  • -
  • -
    -
    -
    -
    -

    Lorem ipsum dolor

    -
    -
    -

    Lorem ipsum dolor sit amet, consectetur adipisicing elit. Autem dolorem - quibusdam, tenetur commodi provident cumque magni voluptatem libero, - quis - rerum. Fugiat esse debitis optio, tempore. Animi officiis alias, officia - repellendus.

    - -

    Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laudantium - maiores - odit qui est tempora eos, nostrum provident explicabo dignissimos - debitis - vel! Adipisci eius voluptates, ad aut recusandae minus eaque facere.

    -
    -
    -
  • -
  • -
    -
    -
    -
    -

    Lorem ipsum dolor

    -
    -
    -

    Lorem ipsum dolor sit amet, consectetur adipisicing elit. Repellendus - numquam - facilis enim eaque, tenetur nam id qui vel velit similique nihil iure - molestias aliquam, voluptatem totam quaerat, magni commodi quisquam.

    -
    -
    -
  • -
  • -
    -
    -

    Lorem ipsum dolor

    -
    -
    -

    Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptates est - quaerat asperiores sapiente, eligendi, nihil. Itaque quos, alias - sapiente - rerum quas odit! Aperiam officiis quidem delectus libero, omnis ut - debitis!

    -
    -
    -
  • -
  • -
    -
    -
    -
    -

    Lorem ipsum dolor

    -
    -
    -

    Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nobis minus - modi - quam ipsum alias at est molestiae excepturi delectus nesciunt, quibusdam - debitis amet, beatae consequuntur impedit nulla qui! Laborum, atque.

    -
    - -
    -
    -
  • -
  • -
    -
    -

    Lorem ipsum dolor

    -
    -
    -

    Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sequi fuga odio - quibusdam. Iure expedita, incidunt unde quis nam! Quod, quisquam. - Officia - quam qui adipisci quas consequuntur nostrum sequi. Consequuntur, - commodi.

    -
    -
    -
  • -
  • -
    -
    -
    -
    -

    Lorem ipsum dolor

    -
    -
    -

    Lorem ipsum dolor sit amet, consectetur adipisicing elit. Deserunt - obcaecati, - quaerat tempore officia voluptas debitis consectetur culpa amet, - accusamus - dolorum fugiat, animi dicta aperiam, enim incidunt quisquam maxime neque - eaque.

    -
    -
    -
  • -
-
- -
- -
- -
- - -
-
- Donut Chart Example -
-
-
- View Details -
- -
- -
-
- - Chat - -
- -
-
    -
  • - - User Avatar - - -
    -
    - Jack Sparrow - - 12 mins ago - -
    -

    - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur bibendum - ornare dolor, quis ullamcorper ligula sodales. -

    -
    -
  • -
  • - - User Avatar - - -
    -
    - - 13 mins ago - - Bhaumik Patel -
    -

    - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur bibendum - ornare dolor, quis ullamcorper ligula sodales. -

    -
    -
  • -
  • - - User Avatar - - -
    -
    - Jack Sparrow - - 14 mins ago - -
    -

    - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur bibendum - ornare dolor, quis ullamcorper ligula sodales. -

    -
    -
  • -
  • - - User Avatar - - -
    -
    - - 15 mins ago - - Bhaumik Patel -
    -

    - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur bibendum - ornare dolor, quis ullamcorper ligula sodales. -

    -
    -
  • -
-
- - - -
- -
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - -{% endblock %} - - diff --git a/libradash/www/pages/login.html b/libradash/www/pages/login.html deleted file mode 100644 index 04c6036..0000000 --- a/libradash/www/pages/login.html +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - Startmin - Bootstrap Admin Theme - - - - - - - - - - - - - - - - - - - -
-
-
- -
-
-
- - - - - - - - - - - - - - - diff --git a/libradash/www/pages/morris.html b/libradash/www/pages/morris.html deleted file mode 100644 index 3116a19..0000000 --- a/libradash/www/pages/morris.html +++ /dev/null @@ -1,344 +0,0 @@ - - - - - - - - - - Startmin - Bootstrap Admin Theme - - - - - - - - - - - - - - - - - - - - - - -
- - - - -
-
-
-
-

Morris.js Charts

-
- -
- -
-
-
-
- Area Chart Example -
- -
-
-
- -
- -
- -
-
-
- Bar Chart Example -
- -
-
-
- -
- -
- -
-
-
- Line Chart Example -
- -
-
-
- -
- -
- -
-
-
- Donut Chart Example -
- -
-
-
- -
- -
- -
-
-
- Morris.js Usage -
- -
-

Morris.js is a jQuery based charting plugin created by Olly Smith. In SB Admin, we are using the most recent version of Morris.js which includes the resize function, which makes the charts fully responsive. The documentation for Morris.js is available on their website, http://morrisjs.github.io/morris.js/.

- View Morris.js Documentation -
- -
- -
- -
- -
- -
- - -
- - - - - - - - - - - - - - - - - - - - - diff --git a/libradash/www/pages/notifications.html b/libradash/www/pages/notifications.html deleted file mode 100644 index 03702bf..0000000 --- a/libradash/www/pages/notifications.html +++ /dev/null @@ -1,408 +0,0 @@ - - - - - - - - - - Startmin - Bootstrap Admin Theme - - - - - - - - - - - - - - - - - - - -
- - - - -
-
-
-
-

Notifications

-
- -
- -
-
-
-
- Alert Styles -
- -
-
- Lorem ipsum dolor sit amet, consectetur adipisicing elit. Alert Link. -
-
- Lorem ipsum dolor sit amet, consectetur adipisicing elit. Alert Link. -
-
- Lorem ipsum dolor sit amet, consectetur adipisicing elit. Alert Link. -
-
- Lorem ipsum dolor sit amet, consectetur adipisicing elit. Alert Link. -
-
- -
- -
- -
-
-
- Dismissible Alerts -
- -
-
- - Lorem ipsum dolor sit amet, consectetur adipisicing elit. Alert Link. -
-
- - Lorem ipsum dolor sit amet, consectetur adipisicing elit. Alert Link. -
-
- - Lorem ipsum dolor sit amet, consectetur adipisicing elit. Alert Link. -
-
- - Lorem ipsum dolor sit amet, consectetur adipisicing elit. Alert Link. -
-
- -
- -
- -
- -
-
-
-
- Modals -
- -
- - - - - -
- -
- -
- -
-
-
- Tooltips and Popovers -
- -
-

Tooltip Demo

-
- - - - -
-
-

Clickable Popover Demo

-
- - - - -
-
- -
- -
- -
- -
- -
- - -
- - - - - - - - - - - - - - - - - - - diff --git a/libradash/www/pages/panels-wells.html b/libradash/www/pages/panels-wells.html deleted file mode 100644 index 9b92bfb..0000000 --- a/libradash/www/pages/panels-wells.html +++ /dev/null @@ -1,837 +0,0 @@ - - - - - - - - - - Startmin - Bootstrap Admin Theme - - - - - - - - - - - - - - - - - - - -
- - - - -
-
-
-
-

Panels and Wells

-
- -
- -
-
-
-
- Default Panel -
-
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum tincidunt est vitae ultrices accumsan. Aliquam ornare lacus adipiscing, posuere lectus et, fringilla augue.

-
- -
-
- -
-
-
- Primary Panel -
-
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum tincidunt est vitae ultrices accumsan. Aliquam ornare lacus adipiscing, posuere lectus et, fringilla augue.

-
- -
-
- -
-
-
- Info Panel -
-
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum tincidunt est vitae ultrices accumsan. Aliquam ornare lacus adipiscing, posuere lectus et, fringilla augue.

-
- -
-
- -
- -
-
-
-
- Success Panel -
-
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum tincidunt est vitae ultrices accumsan. Aliquam ornare lacus adipiscing, posuere lectus et, fringilla augue.

-
- -
-
- -
-
-
- Warning Panel -
-
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum tincidunt est vitae ultrices accumsan. Aliquam ornare lacus adipiscing, posuere lectus et, fringilla augue.

-
- -
-
- -
-
-
- Danger Panel -
-
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum tincidunt est vitae ultrices accumsan. Aliquam ornare lacus adipiscing, posuere lectus et, fringilla augue.

-
- -
-
- -
- -
-
-
-
- Green Panel -
-
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum tincidunt est vitae ultrices accumsan. Aliquam ornare lacus adipiscing, posuere lectus et, fringilla augue.

-
- -
- -
-
-
-
- Yellow Panel -
-
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum tincidunt est vitae ultrices accumsan. Aliquam ornare lacus adipiscing, posuere lectus et, fringilla augue.

-
- -
- -
-
-
-
- Red Panel -
-
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum tincidunt est vitae ultrices accumsan. Aliquam ornare lacus adipiscing, posuere lectus et, fringilla augue.

-
- -
- -
-
- -
-
-
-
- Collapsible Accordion Panel Group -
- -
-
-
- -
-
- Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. -
-
-
-
- -
-
- Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. -
-
-
-
- -
-
- Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. -
-
-
-
-
- -
- -
- -
- -
-
-
-
- Basic Tabs -
- -
- - - - -
-
-

Home Tab

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

-
-
-

Profile Tab

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

-
-
-

Messages Tab

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

-
-
-

Settings Tab

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

-
-
-
- -
- -
- -
-
-
- Pill Tabs -
- -
- - - - -
-
-

Home Tab

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

-
-
-

Profile Tab

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

-
-
-

Messages Tab

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

-
-
-

Settings Tab

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

-
-
-
- -
- -
- -
- -
-
-
-
-
Tabbed Panel Default
-
- -
-
-
-
-
Page 1
-
Page 2
-
Page 3
-
Page 4
-
Page 5
-
-
-
- -
- -
-
-
-
Tabbed Panel Primary
-
- -
-
-
-
-
Page 1
-
Page 2
-
Page 3
-
Page 4
-
Page 5
-
-
-
- -
- -
- -
-
-
-
-
Tabbed Panel Info
-
- -
-
-
-
-
Page 1
-
Page 2
-
Page 3
-
Page 4
-
Page 5
-
-
-
- -
- -
-
-
-
Tabbed Panel Success
-
- -
-
-
-
-
Page 1
-
Page 2
-
Page 3
-
Page 4
-
Page 5
-
-
-
- -
- -
- -
-
-
-
-
Tabbed Panel Warning
-
- -
-
-
-
-
Page 1
-
Page 2
-
Page 3
-
Page 4
-
Page 5
-
-
-
- -
- -
-
-
-
Tabbed Panel Danger
-
- -
-
-
-
-
Page 1
-
Page 2
-
Page 3
-
Page 4
-
Page 5
-
-
-
- -
- -
- -
-
-
-

Normal Well

-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum tincidunt est vitae ultrices accumsan. Aliquam ornare lacus adipiscing, posuere lectus et, fringilla augue.

-
-
- -
-
-

Large Well

-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum tincidunt est vitae ultrices accumsan. Aliquam ornare lacus adipiscing, posuere lectus et, fringilla augue.

-
-
- -
-
-

Small Well

-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum tincidunt est vitae ultrices accumsan. Aliquam ornare lacus adipiscing, posuere lectus et, fringilla augue.

-
-
- -
- -
-
-
-
- -
-
- 3 - -
- -
-
-
-
-
- -
-
- 614 - -
- -
-
-
-
-
- -
-
- 73 - -
- -
-
-
-
-
- -
-
- 75% - -
- -
-
-
- -
-
-
-

Jumbotron

-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum tincidunt est vitae ultrices accumsan. Aliquam ornare lacus adipiscing, posuere lectus et, fringilla augue. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum tincidunt est vitae ultrices accumsan. Aliquam ornare lacus adipiscing.

-

Learn more -

-
-
- -
- -
- -
- -
- - - - - - - - - - - - - - - - diff --git a/libradash/www/pages/tables.html b/libradash/www/pages/tables.html deleted file mode 100644 index 348e8a6..0000000 --- a/libradash/www/pages/tables.html +++ /dev/null @@ -1,1009 +0,0 @@ - - - - - - - - - - Startmin - Bootstrap Admin Theme - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - -
-
-
-
-

Tables

-
- -
- -
-
-
-
- DataTables Advanced Tables -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rendering engineBrowserPlatform(s)Engine versionCSS grade
TridentInternet Explorer 4.0Win 95+4X
TridentInternet Explorer 5.0Win 95+5C
TridentInternet Explorer 5.5Win 95+5.5A
TridentInternet Explorer 6Win 98+6A
TridentInternet Explorer 7Win XP SP2+7A
TridentAOL browser (AOL desktop)Win XP6A
GeckoFirefox 1.0Win 98+ / OSX.2+1.7A
GeckoFirefox 1.5Win 98+ / OSX.2+1.8A
GeckoFirefox 2.0Win 98+ / OSX.2+1.8A
GeckoFirefox 3.0Win 2k+ / OSX.3+1.9A
GeckoCamino 1.0OSX.2+1.8A
GeckoCamino 1.5OSX.3+1.8A
GeckoNetscape 7.2Win 95+ / Mac OS 8.6-9.21.7A
GeckoNetscape Browser 8Win 98SE+1.7A
GeckoNetscape Navigator 9Win 98+ / OSX.2+1.8A
GeckoMozilla 1.0Win 95+ / OSX.1+1A
GeckoMozilla 1.1Win 95+ / OSX.1+1.1A
GeckoMozilla 1.2Win 95+ / OSX.1+1.2A
GeckoMozilla 1.3Win 95+ / OSX.1+1.3A
GeckoMozilla 1.4Win 95+ / OSX.1+1.4A
GeckoMozilla 1.5Win 95+ / OSX.1+1.5A
GeckoMozilla 1.6Win 95+ / OSX.1+1.6A
GeckoMozilla 1.7Win 98+ / OSX.1+1.7A
GeckoMozilla 1.8Win 98+ / OSX.1+1.8A
GeckoSeamonkey 1.1Win 98+ / OSX.2+1.8A
GeckoEpiphany 2.20Gnome1.8A
WebkitSafari 1.2OSX.3125.5A
WebkitSafari 1.3OSX.3312.8A
WebkitSafari 2.0OSX.4+419.3A
WebkitSafari 3.0OSX.4+522.1A
WebkitOmniWeb 5.5OSX.4+420A
WebkitiPod Touch / iPhoneiPod420.1A
WebkitS60S60413A
PrestoOpera 7.0Win 95+ / OSX.1+-A
PrestoOpera 7.5Win 95+ / OSX.2+-A
PrestoOpera 8.0Win 95+ / OSX.2+-A
PrestoOpera 8.5Win 95+ / OSX.2+-A
PrestoOpera 9.0Win 95+ / OSX.3+-A
PrestoOpera 9.2Win 88+ / OSX.3+-A
PrestoOpera 9.5Win 88+ / OSX.3+-A
PrestoOpera for WiiWii-A
PrestoNokia N800N800-A
PrestoNintendo DS browserNintendo DS8.5C/A1 -
KHTMLKonqureror 3.1KDE 3.13.1C
KHTMLKonqureror 3.3KDE 3.33.3A
KHTMLKonqureror 3.5KDE 3.53.5A
TasmanInternet Explorer 4.5Mac OS 8-9-X
TasmanInternet Explorer 5.1Mac OS 7.6-91C
TasmanInternet Explorer 5.2Mac OS 8-X1C
MiscNetFront 3.1Embedded devices-C
MiscNetFront 3.4Embedded devices-A
MiscDillo 0.8Embedded devices-X
MiscLinksText only-X
MiscLynxText only-X
MiscIE MobileWindows Mobile 6-C
MiscPSP browserPSP-C
Other browsersAll others--U
-
- -
-

DataTables Usage Information

-

DataTables is a very flexible, advanced tables plugin for jQuery. In SB Admin, we are using a specialized version of DataTables built for Bootstrap 3. We have also customized the table headings to use Font Awesome icons in place of images. For complete documentation on DataTables, visit their website at https://datatables.net/.

- View DataTables Documentation -
-
- -
- -
- -
- -
-
-
-
- Kitchen Sink -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#First NameLast NameUsername
1MarkOtto@mdo
2JacobThornton@fat
3Larrythe Bird@twitter
-
- -
- -
- -
- -
-
-
- Basic Table -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#First NameLast NameUsername
1MarkOtto@mdo
2JacobThornton@fat
3Larrythe Bird@twitter
-
- -
- -
- -
- -
- -
-
-
-
- Striped Rows -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#First NameLast NameUsername
1MarkOtto@mdo
2JacobThornton@fat
3Larrythe Bird@twitter
-
- -
- -
- -
- -
-
-
- Bordered Table -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#First NameLast NameUsername
1MarkOtto@mdo
2JacobThornton@fat
3Larrythe Bird@twitter
-
- -
- -
- -
- -
- -
-
-
-
- Hover Rows -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#First NameLast NameUsername
1MarkOtto@mdo
2JacobThornton@fat
3Larrythe Bird@twitter
-
- -
- -
- -
- -
-
-
- Context Classes -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#First NameLast NameUsername
1MarkOtto@mdo
2JacobThornton@fat
3Larrythe Bird@twitter
4JohnSmith@jsmith
-
- -
- -
- -
- -
- -
- -
- - -
- - - - - - - - - - - - - - - - - - - - - - - diff --git a/libradash/www/pages/typography.html b/libradash/www/pages/typography.html deleted file mode 100644 index 7a26254..0000000 --- a/libradash/www/pages/typography.html +++ /dev/null @@ -1,486 +0,0 @@ - - - - - - - - - - Startmin - Bootstrap Admin Theme - - - - - - - - - - - - - - - - - - - -
- - - - -
-
-
-
-

Typography

-
- -
- -
-
-
-
- Headings -
-
-

Heading 1 - Sub-heading -

-

Heading 2 - Sub-heading -

-

Heading 3 - Sub-heading -

-

Heading 4 - Sub-heading -

-
Heading 5 - Sub-heading -
-
Heading 6 - Sub-heading -
-
- -
- -
- -
-
-
- Paragraphs -
-
-

This is an example of lead body copy.

-

This is an example of standard paragraph text. This is an example of link anchor text within body copy.

-

- This is an example of small, fine print text. -

-

- This is an example of strong, bold text. -

-

- This is an example of emphasized, italic text. -

-
-

Alignment Helpers

-

Left aligned text.

-

Center aligned text.

-

Right aligned text.

-
- -
- -
- -
-
-
- Emphasis Classes -
-
-

This is an example of muted text.

-

This is an example of primary text.

-

This is an example of success text.

-

This is an example of info text.

-

This is an example of warning text.

-

This is an example of danger text.

-
- -
- -
- -
- -
-
-
-
- Abbreviations -
-
-

The abbreviation of the word attribute is - attr.

-

- HTMLis an abbreviation for a programming language.

-
-

Addresses

-
- Twitter, Inc. -
795 Folsom Ave, Suite 600 -
San Francisco, CA 94107 -
- P:(123) 456-7890 -
-
- Full Name -
- first.last@example.com -
-
- -
- -
- -
-
-
- Blockquotes -
-
-

Default Blockquote

-
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

-
-

Blockquote with Citation

-
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

- Someone famous in - Source Title - -
-

Right Aligned Blockquote

-
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

-
-
- -
- -
- -
-
-
- Lists -
-
-

Unordered List

-
    -
  • List Item
  • -
  • List Item
  • -
  • -
      -
    • List Item
    • -
    • List Item
    • -
    • List Item
    • -
    -
  • -
  • List Item
  • -
-

Ordered List

-
    -
  1. List Item
  2. -
  3. List Item
  4. -
  5. List Item
  6. -
-

Unstyled List

-
    -
  • List Item
  • -
  • List Item
  • -
  • List Item
  • -
-

Inline List

-
    -
  • List Item
  • -
  • List Item
  • -
  • List Item
  • -
-
- -
- -
- -
- -
-
-
-
- Description Lists -
-
-
-
Standard Description List
-
Description Text
-
Description List Title
-
Description List Text
-
-
-
Horizontal Description List
-
Description Text
-
Description List Title
-
Description List Text
-
-
- -
- -
- -
-
-
- Code -
-
-

This is an example of an inline code element within body copy. Wrap inline code within a - <code>...</code>tag.

-
This is an example of preformatted text.
-
- -
- -
- -
- -
- -
- - -
- - - - - - - - - - - - - - - -