Giter Club home page Giter Club logo

mobile-design-templates's Introduction

Mobile Design Templates

Quickly build engaging enterprise mobile apps with these high-impact visual design templates that utilize mobile-optimized HTML5 and CSS3 to give your customers the best user experience. Combine these modular design templates with Salesforce Mobile Services and Developer Mobile Packs to connect to Salesforce Platform and access customer data. View, edit and update customer data, view backend reports, find nearby records, and more using these templates. Take advantage of these customizable, open-source templates and focus on building engaging mobile apps for your customers, employees, and partners.

The Template home page has a detailed walkthrough of the different templates included in this repo. Be sure to also see the Mobile Templates Jumpstarter sample app for an example of building an HTML 5 mobile app using Mobile Design Templates. For additional information, please refer to the Mobile Design Templates FAQ.

Key Features

  • Modular and customizable open-source CSS3 and HTML5 markup that can be modified at will to meet the specific UI/UX requirements of a mobile app.
  • Combine these static templates with a JavaScript library like ForceTk or one of the Mobile Packs for Backbone, Angular or Knockout to provide live data bindings with any Salesforce backend.
  • Cross-platform (iOS, Android etc.) support courtesy of the use of standard web technologies like HTML5, CSS3 and JavaScript.
  • Optimized for the phone form factor.
  • Use-case agnostic. The base HTML5/CSS3 can be modified to work with any Salesforce object (Standard or Custom) in the context of any mobile use case.

Gallery

Check out the Mobile Design Templates Gallery for a quick look at all the templates included in this repo.

#Getting Started

Visualforce

Step 1. git clone https://github.com/developerforce/Mobile-Design-Templates.git or Download it as Zip by clicking on Download ZIP button. If you have downloaded it as a ZIP file, unzip it.

Step 2. You only need files in common/js, common/css and common/images, but for simplicity sake just zip the whole common folder.

Step 3. Upload it as static resource with name Mobile-Design-Templates.

Step 4. Create a new Visualforce page.

Step 5. Reference the JS, CSS & Images in your Visualforce page like below:

   <head>
      <meta charset="utf-8"/>
      <meta name="viewport" content="width=device-width, initial-scale=1, 
                                  minimum-scale=1, maximum-scale=1, user-scalable=no"/> 
      <apex:stylesheet value="{!URLFOR($Resource.Mobile_Design_Templates, 
                'Mobile-Design-Templates-master/common/css/app.min.css')}"/>
      <apex:includeScript value="{!URLFOR($Resource.Mobile_Design_Templates, 
                'Mobile-Design-Templates-master/common/js/jQuery2.0.2.min.js')}"/>
      <apex:includeScript value="{!URLFOR($Resource.Mobile_Design_Templates, 
                'Mobile-Design-Templates-master/common/js/jquery.touchwipe.min.js')}"/>
      <apex:includeScript value="{!URLFOR($Resource.Mobile_Design_Templates, 
                'Mobile-Design-Templates-master/common/js/main.min.js')}"/>
   </head>
   <body>
     <!-- Copy Paste Template HTML's body here -->
   </body>
 

Step 6. The downloaded repo has all the templates arranged in different folders. For example List View folder alone has Standard.html, Tabbed.html, Picture.html etc 6 templates.

Step 7. Open one of those templates and copy-paste the body of the template into your visualforce page.

Step 8. That should show the template in your Visual force page.

Hybrid (Local or Remote)

(You plan to create a hybrid app and store js, css etc locally in the app or run it remotely on Heroku )

Step 1. git clone https://github.com/developerforce/Mobile-Design-Templates.git or Download it as Zip by clicking on Download ZIP button. If you have downloaded it as a ZIP file, unzip it.

Step 2. You only need files in common/js, common/css and common/images.

Step 3. The downloaded repo has all the templates arranged in different folders. For example List View folder alone has Standard.html, Tabbed.html, Picture.html etc 6 templates.

Step 4: Copy the files in Step #2 and one of the templates and refer JS, CSS, Images from the template files.

For More..

Bitdeli Badge

mobile-design-templates's People

Contributors

bitdeli-chef avatar rajaraodv avatar sbhanot-sfdc avatar svc-scm avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.