Skip to content

SmartWebDK/TorqueUI

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
js
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

TorqueUI

Prerequisite

To run the builder and compile the Sass to CSS and run the tests, you need to have

Besides that, the builder uses two libaries, a Ruby gem:

$ gem install bundler

and a Node.js library called Grunt

$ npm install -g grunt-cli

After you have install the libraries, you can install the rest of the dependencies by going into the project folder and write:

$ bundler install
$ npm install

Watch the CSS files

$ grunt

Build the CSS files

$ grunt dist

Start the test server

$ grunt server

and visit localhost:8000/ in your favorit browser


Usage

<!-- TorqueUI -->
<link rel="stylesheet" href="/assets/css/framework.min.css">
<link rel="stylesheet" href="/assets/css/theme.min.css">
<link rel="stylesheet" href="/assets/css/print.min.css" media="print">

<!--[if lte IE 9]>
<link rel="stylesheet" href="/assets/css/ie.min.css">
<![endif]-->

<!-- Font Awesome -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">

<!-- Custom Javascript -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="/assets/js/framework.min.js"></script>