80 lines
2.5 KiB
Plaintext
80 lines
2.5 KiB
Plaintext
<br>
|
|
<h2 class="fw_6 text-center">Cornerstone Focus Property Alliance</h2><br>
|
|
<div class="card-section" id="main-card-section">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<br>
|
|
|
|
<div class="bill-content">
|
|
<div class="tf-container" id="recents_home">
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
statsarray = [["Today", 0, "Leads", "left", "leads-today-no"],
|
|
["Actionable", 0, "Leads", "left", "actionable-leads-no"],
|
|
["Sold", 0, "Today", "right", "sold-today-no"],
|
|
["Sold", 0, "This Month", "right", "sold-monthly-no"]
|
|
//,["Sold", 0, "Total", "right", "sold-all-no"]
|
|
];
|
|
|
|
balancewrapper_item_array = [["New Lead", "NewLeads", "", "/assets/NewLeads.png", "", "", "", ""], ["List Leads", "ListLeads", "0", "/assets/ListLeads.png", "", "", "", ""]];
|
|
balancebox = UIcreateBalanceBoxfromArray(statsarray, balancewrapper_item_array);
|
|
|
|
servicesbuttonarray = [['/assets/ListLeads.png', 'My Leads', 'ListLeads', ''],
|
|
['/assets/house.png', 'Properties', 'ListProperties', ''],
|
|
['/assets/NewProperty.png', 'New Property', 'NewProperty']];
|
|
|
|
|
|
servicesbox = UIServices_FullDIV_GOTOPAGE_Array('', '', '', '', servicesbuttonarray);
|
|
|
|
|
|
dualcolumn_button_array = [['Leads', 'ListLeads', '', '/assets/ListLeads.png'],
|
|
['Properties', 'ListProperties', '', '/assets/house.png']
|
|
];
|
|
dualcolumnhtml = UISideText_DualColumnButton_Array(dualcolumn_button_array);
|
|
dualcolumnhtml='';
|
|
|
|
recents_list_array = [['Loading', 'Please Wait...', '', 'xxxwait', 'unknown', '', '/assets/sync.png']];
|
|
arrowlist_button_array = '';
|
|
searchbox_html = UISearchBox_with_BUTTONS_FULL('Recent', recents_list_array, arrowlist_button_array, 'RecentsPage', '', 'View All', 'HomeRecentList', 'home_recent_search', 'Search');
|
|
|
|
$('#main-card-section').append(balancebox);
|
|
$('#main-body').append(servicesbox + dualcolumnhtml + '<br><br>' + searchbox_html);
|
|
function UIHome_Leads_Today_Change(num) {
|
|
if (num === false || num === undefined || num === null) {
|
|
return false;
|
|
}
|
|
$('#leads-today-no').html(num);
|
|
}
|
|
|
|
function loadrecents_home() {
|
|
|
|
}
|
|
function HomeULT_reinitilize_loaders() {
|
|
Preloaders.Account_Settings_Details();
|
|
Preloaders.PreferredSitesOption();
|
|
Preloaders.ListLeadsData();
|
|
Preloaders.ListPropertyData(true,false,false);
|
|
}
|
|
|
|
|
|
$().ready(function () {
|
|
changeTopbarTitle('Home');
|
|
|
|
loadrecents_home();
|
|
HomeULT_reinitilize_loaders();
|
|
CheckAndSetDarkMode();
|
|
|
|
});
|
|
</script> |