Skip to content
This repository

Using Sencha Touch with Rails 3 gem

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 vendor
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .project
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 sencha-touch-rails.gemspec
README.md

sencha-touch-rails

Important: this repository includes a copy of part of the Sencha Touch SDK. This theme is distributed under the same licence as the Sencha Touch SDK as a whole.

Rails 3.1

For Rails 3.1 and greater, the files will be added to the asset pipeline and available to use.

Add one of this lines to the file app/assets/javascripts/application.js:

//= require sencha-touch-all
or
//= require sencha-touch-all-debug

Create app/assets/stylesheets/sencha-touch.scss and add the following lines in it:

@import 'sencha-touch-rails';

You can include more icon styles by adding:

@include pictos-iconmask('wifi');

More about Sencha Touch Theming:

http://www.sencha.com/blog/an-introduction-to-theming-sencha-touch

Something went wrong with that request. Please try again.