Color code from http://codepen.io/ChrisNager/pen/qjbdt
I had a test for Titanium Mobile only. But you can use this for any platform supporting hex color code.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| import hmac, struct, time, base64, hashlib # for totp generation | |
| import re, sys, subprocess # for general stuff | |
| from getopt import getopt, GetoptError # pretending to be easy-to-use | |
| # | |
| # gtb - Google(auth) + Tunnelblick | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="autofields-repeater"> | |
| <div ui-sortable="sortableOptions" ng-model="ngModel"> | |
| <div class="autofields-repeater-container panel panel-default" ng-repeat="item in ngModel"> | |
| <div class="panel-heading"> | |
| <h4 class="panel-title" ng-bind="field.title"></h4> | |
| <button type="button" class="close" title="Remove" ng-click="removeItem(item, $index)">×</button> | |
| </div> | |
| <auto:fields fields="field.fields" class="panel-body" data="item" options="field.options" form="item{{$index}}"></auto:fields> | |
| </div> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Class name: FileUtils.js | |
| * Author: Codeboxed | |
| * URL: http://www.codeboxed.com | |
| * Date: March 5, 2011 | |
| * Platform: Titanium | |
| */ | |
| var FileUtils = function (){ | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * I made this code for an upcoming hackaton, so, it's really, really ugly. Feel free | |
| * to update it here so everyone will be able to use it correctly. | |
| * | |
| * It's pretty easy to understand, basicly the object you want to edit, an overlay, | |
| * four handlers, and the background view. | |
| * | |
| * It's currently made for/tested on iPad 5.0 with Timob 2.0.2; works only in landscape. | |
| * | |
| * This code is under the Moustach licence. This means you can do whatever you want with |
