Confirmed users
353
edits
Line 17: | Line 17: | ||
====Relevant Source Code==== | ====Relevant Source Code==== | ||
=====Application Code===== | =====Application Code===== | ||
* debug.html - static file used for debug when DEBUGGING is true | |||
* fte.html - first time experience page; where the user lands first time using the app | |||
* handle_gaps.html - Handle Gaps | |||
* index.html - main app page; contains comments later pulled into HTML tags | |||
* message_handler.html - handle system messages | |||
* settings.html - view page for usage settings | |||
* widget.html - According #gaia, it is displayed in the notification tray of the system app | |||
* js/CostControl.js - CostControl is the singleton in charge of provide data to the views by using asynchronous requests. | |||
* js/app.js - The application is in charge of display detailed information about the usage. | |||
* js/common.js - Common functions used throughout costcontrol | |||
* js/mindgap.js - This module is in charge of keep the historical of SIM changes in order to rebuild the accurate usage of each SIM. | |||
* js/view_manager.js - The ViewManager is in charge of simply manage the different views of the applications. | |||
* js/widget.js - The widget is in charge of show balance, telephony data and data usage statistics depending on the SIM inserted. | |||
* js/views/balance.js - The balance tab is in charge of show balance details and allows the use to manually update or top up via USSD or code. | |||
* js/views/datausage.js - The data usage tab is in charge of usage charts of mobile and wi-fi networks. | |||
* js/views/telephony.js - The telephony tab is in charge of show telephony and billing cycle information. | |||
=====Shared Code===== | =====Shared Code===== | ||
* shared/js/async_storage.js | * shared/js/async_storage.js |