350 likes | 523 Views
Improving e:Vision user interface using Bootstrap and jQuery. 22.05.2014. What is Bootstrap?. CSS and Javascript framework used to speed up the development of websites and web applications Open Source project available from GitHub Supports HTML5 and CSS3 Supported by all major browsers
E N D
Improving e:Vision user interface using Bootstrap and jQuery 22.05.2014
What is Bootstrap? • CSS and Javascript framework used to speed up the development of websites and web applications • Open Source project available from GitHub • Supports HTML5 and CSS3 • Supported by all major browsers • Uses LESS which controls the CSS, adding features that allow greater complexity and customisation while improving maintainability
Why use Bootstrap? Fast Easy Maintainable Cross Platform
Bootstrap CSS-based TKT and different Field Input Types TTQs records Dynamic ListBox TTQ Record Picker TTQ within the bootstrap dropdown Date Picker TTQ Button Type TTQ
Bootstrap user interface and mimicking the Ajax by using the iframes based framework SRL within the iframe
Showing the state of the application within the modal e.g. Search or Processing
Running modal in the background to perform the DMU actions – STEP1
Running modal in the background to perform the DMU actions – STEP2
Last Step – onload() assign values to the variables on the parent screen • On Close button click run the jquery/ajax function to update the table
Execute the function with Ajax GET request to retrieve data from the SITS database, create the Json object and update the details on the parent screen
SRL and RQI records called by the ajax GET equest to return the Json object with the details of updated record
Table updated by the Ajax request without the need of refreshing the screen
Questions? Tomasz Pogoda – tomasz.pogoda@ed.ac.uk Jon Martin – jon.martin@ed.ac.uk