Fries helps you prototype Android apps using HTML, CSS, and JavaScript.

Overview

Fries v2.0.5 Bitdeli Badge

Fries is an awesome mobile UI framework for Android apps using just HTML, CSS, and Javascript and is inspired by Ratchet.

NOTE: Unfortunately, Fries is no longer maintained. If you'd like to take over the maintenance, send an email to hawnecarlo[at]gmail.com

Special Thanks

I'd like to thank Dave Gamache, Connor Sears, and Jacob Thornton for a wonderful job on Ratchet. The conversion of the official Android icons was done in IcoMoon. Also, thanks to @aymanfarhat, @jadjoubran, and @Wolfr who kept the issue discussion flowing.

License

Fries is licensed under the MIT License. Copyright © Jaune Sarmiento (http://jaunesarmiento.me) 2014.

Attribution

Official Android Icons

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Android Action Bar Icon Pack

By Tobias Bieniek also under Creative Commons 2.5 License

Comments
  • Implement Android Toast notifications

    Implement Android Toast notifications

    Hey

    There's this repo that replicates Android Toasts using HTML5 and Javascript ( no jQuery/zepto) dependency. I think it fits well with Fries.

    https://github.com/jadjoubran/Android-Toast

    new feature 
    opened by jadjoubran 18
  • Implement switch form elements

    Implement switch form elements

    Implementation of the following switches should be included in version 1.0.1:

    • Checkboxes
    • Radio buttons
    • On/off switches

    Should be implemented with little to no JavaScript as much as possible.

    It must follow the design guidelines as stated here: http://developer.android.com/design/building-blocks/switches.html

    new feature 
    opened by jaunesarmiento 16
  • Back button on Android quit application

    Back button on Android quit application

    I'm sorry if this issue is already out, I couldn't find a topic about it.

    The problem is quite simple, the back button makes you leave the application even if you are in a "second" screen (like contacts.html in demo content). Is it "normal" considering the use of stack.js ?

    My config : Phonegap 2.7.0 on Android 4.1.2

    bug phonegap 
    opened by aboudard 13
  • Merged theme branches and examples

    Merged theme branches and examples

    For those interested, I created a new development branch off of the current master AND themes/holo-light branches, merged the dist, lib and example files and fixed some minor JS errors.

    You can check it out here. (@jaunesarmiento In case you'd like to merge holo light and dark themes into one branch too, Ill send you another pull request you can merge. Otherwise, just ditch the PR.)

    opened by eyecatchup 9
  • Make attribution needs clearer

    Make attribution needs clearer

    We have found out that fries uses a svg from Tobias Bieniek which is converted by icomoon. Now Tobias asks for attribution according to CC. This does of course mean if I use fries for my app, I need to give attribution to Tobias. This was not clear to me if I wouldn't have had a conflict between Font Awesome and Fries.

    Also I was first misleaded by the font name "icomoon" which is most likely the name just because it was generated by the icomoon app. I almost missed the original author of the SVG files.

    It would be great if fries would make more clear that it is necessary to attribute Tobias if the icons are used.

    docs 
    opened by grobmeier 9
  • Window.history not working well with stack.js page that has tabbed navigation

    Window.history not working well with stack.js page that has tabbed navigation

    I have a page that I am opening via stack.js which has some tabs in it. I added a back button for the page which would execute window.history.go(-1); to go back to index.html.

    The problem is that, the user would have to click so many times on the back button to make it go back within a stack.js page which has tabs, after navigating through them. This is because the back button would be going back through the previously viewed tabs on the page before going back to index.html

    I could have directly linked back to index.html but I have dynamically loaded data there which I don't want to lose.

    Haven't come up with a fix for this yet, looking for a simple workaround first.

    opened by aymanfarhat 9
  • UI components with dependency to JavaScript does not work on desktop browser and non-touch devices

    UI components with dependency to JavaScript does not work on desktop browser and non-touch devices

    Related to issues #12 and #32.

    The issue is that Fries components uses touch events so it really won't work on the browser and non-touch devices. Touch events were used because click events are fired after about 300ms from the moment you tapped a button.

    A solution I can think of is to rework the components to mimic Google's Fast Button implementation.

    Or use a touch library like hammer.js. Although I'd rather rework the library than introduce a dependency to an external library.

    A workaround to this is to do what @aymanfarhat suggested in his comment, is to enable the emulated touch events on Google Chrome. For a more detailed instructions on how to do this, click here.

    bug 
    opened by jaunesarmiento 8
  •  Action-overflow spinner doesn't work after stack.js transition

    Action-overflow spinner doesn't work after stack.js transition

    After using Stack.js data-transition="push", spinners in the action bar can't be executed. I get an "Uncaught TypeError: Cannot read property 'classlist' of undefined spinner.js:43" when I attempt to press on the toggle-spinner.

    opened by EltonZhang13 7
  • Remove position: fixed on body from base.css

    Remove position: fixed on body from base.css

    It causes the scrolling to be slow on my Samsung Galaxy S2, S3 and S4. When I changed the body declaration in base.css to the following, it worked

    body {
        /*  position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;*/
        font: 15px/1.6 "Roboto", sans-serif;
        color: #fff;
        background-color: #000;
    }
    
    opened by jadjoubran 5
  • Tabbed navigation not working in desktop browser only with Phonegap

    Tabbed navigation not working in desktop browser only with Phonegap

    I am implementing a tabbed navigation just like in the Fries sample, it is working fine with Phonegap but the tabs are not working on Chrome(Desktop) neither FF when clicking on them, any ideas what could be the problem? What is odd is that in the demo on the site they're working fine, could be a different version?

    Note: there are no errors what so ever on the console. Here is my code if you'd like to take a look https://gist.github.com/aymanfarhat/5729462

    opened by aymanfarhat 5
  • Implement dialogs

    Implement dialogs

    Implemented dialogs. This pull request exposes a Dialog class in the fries namespace with the ff methods:

    • init() - called when you do new fries.Dialog(options);. Initialises the dialog along with the options object. The dialog is initially hidden. Just call show() when you need to display the dialog.
    • show() - Shows the dialog.
    • hide() - Hides the dialog.

    An example of the options object is as follows:

    {
      selector: '#dialog',
      okCallback: function () {
        // this is called when the user presses the "OK" button inside the dialog
        // do something here
        // optionally, you can hide the dialog afterwards
        this.hide(); // "this" refers to the dialog
      },
      cancelCallback: function () {
        // this is called when the user presses the "Cancel" button inside the dialog
        // do something else here
        // usually, you just hide the dialog so:
        this.hide();
      }
    }
    

    Notes:

    • Currently, the dialog only works with the first DOM element specified in the selector parameter. So if you need to create multiple dialogs, you need to call new fries.Dialog() on each of those elements for now.
    • The okCallback and cancelCallback are optional parameters. Although it would seem pointless not to add an okCallback.
    opened by jaunesarmiento 4
  • Project websites officially dead!?

    Project websites officially dead!?

    After checking back after some while, I noticed that the project website at getfri.es is offline. And two whois searches (.es whois is a bit tricky, thus 2) revealed that the name servers for this domain were changed today (2014/12/02) to *.sedoparking.com. Last but not least, the domain owner was transfered from Fries' author - @jaunesarmiento - to some stranger (at least, as far as related to Fries).

    Additionally, when you go to the GitHub project page jaunesarmiento.github.io/fries/, it redirects to jaunesarmiento.me/fries/ - the author's private website. However, this site is also offline.

    So, may I ask whether the project is still maintained?

    Thanks

    opened by eyecatchup 5
  • Deprecated jekyll command line in README.md - Revert 722f50d

    Deprecated jekyll command line in README.md - Revert 722f50d

    Not sure why this was merged at all, but 722f50d replaces jekyll serve by jekyll --server --auto.

    Here's what jekyll has to say:

    >jekyll --server --auto
           Deprecation: Jekyll now uses subcommands instead of just switches. Run `jekyll --help' to find out more.
           Deprecation: The --server command has been replaced by the 'serve' subcommand.
           Deprecation: The switch '--auto' has been replaced with '--watch'.
    jekyll 2.5.1 | Error:  Whoops, we can't understand your command.
    jekyll 2.5.1 | Error:  invalid option: --server
    jekyll 2.5.1 | Error:  Run your command again with the --help switch to see available options.
    

    Easy fix: revert 722f50d

    opened by eyecatchup 0
  • Switching between tabs not working

    Switching between tabs not working

    Tabs wont change it's content when it's clicked. I think it just sets the same -webkit-transform: translateX to all "

  • " inside the "content" div. (It occurs even if i copy the source code from your components page. http://elemential.net/checkin/frykit/app/test.html)

    Please tell me how could i fix this problem.

    I'm looking forward your answer.

  • opened by bobarna 2
  • WIP v2.1.0

    WIP v2.1.0

    Hiatus is up! Time to work on v2.1.0. Any help is welcome.

    Here's a list of features and fixes that will be included in v2.1.0:

    • [x] Holo Light theme
    • [ ] Implement navigation drawer (#49)
    • [ ] Implement scrollable tabs (#24)
    • [ ] Implement <textarea> form element. Its style should look like the <input> element but grows vertically when text is long. (#8)
    • [ ] Fix switches (Issues #86, #66)
    • [ ] Fix radio buttons (Issue #86, #66)
    • [ ] Fix checkboxes (Issues #85, #86)
    • [ ] Fix keyboard overlapping fields of a form (Issue #80)
    opened by jaunesarmiento 5
  • Fries as a chrome app

    Fries as a chrome app

    hi there been messing around with a chrome app if anyone is interested see bellow repository.

    https://github.com/gregnietsky/fries-chrome-app

    the only issue i have come across so far is the bottom actions trigger the scrollbar i have not investigated this. if i do and find something ill feed back seems to be a padding/margin/height calc issue.

    what this app does is well nothing ... it opens up a 380x640 app window loading the example off the fri.es site in a webview.

    the icons are from a "todo list" demo if you have suitable suggestions / replacements please advise.

    anyone is welcome to do with this as they wish.

    the idea is to have a standalone chrome app and droid app with the same UI/operation.

    opened by gregnietsky 1
Releases(2.0.3)
  • 2.0.3(Nov 26, 2013)

    A few additions and fixes before moving on to v2.1. This is more like a documentation update rather than features.

    • Documentation now runs on Jekyll
    • Removed grunt-connect since we're now using Jekyll
    • Made Stack.js async
    • Made the component examples bleed on screens < 480px
    • Adds Add to Homescreen support in the examples.
    • A few bug fixes
    • And lastly, Fries gets its own domain. Check out the documentation at http://getfri.es
    Source code(tar.gz)
    Source code(zip)
  • 2.0.2(Nov 20, 2013)

  • 2.0.1(Sep 29, 2013)

    A minor update to fix dialog animation and text color, and a few documentation bugs. Also added a Grunt task to watch *.scss file changes and run grunt dist-css task.

    Source code(tar.gz)
    Source code(zip)
  • 2.0.0(Sep 29, 2013)

    Includes the following:

    • Toast notifications
    • Dialogs
    • Checkboxes
    • Radio buttons
    • On/off toggle switches
    • Theming using SASS
    • Visual aesthetic improvements
    • Task automation using Grunt
    • and a whole lot of bug fixes and a few breaking changes
    Source code(tar.gz)
    Source code(zip)
  • 1.0.0(Sep 29, 2013)

Owner
Jaune Carlo Sarmiento
Jaune Carlo Sarmiento
To-do list" is a tool that helps to organize your day. It simply lists the things that you need to do and allows you to mark them as complete. Made with webpack, JavaScript ES6 , HTML 5 and CSS 3.

Microverse Webpack Javascript For the second Javascript milestone in building a todo website, set up a new repository and prepare it for development u

TOFANA SILVIA 16 Jun 13, 2022
"To-do list" is a tool that helps to organize your day. It simply lists the things that you need to do and allows you to mark them as complete. It is created with HTML , CSS , JS and webpack and NPM.

My Todo List "To-do list" is a tool that helps to organize your day. It simply lists the things that you need to do and allows you to mark them as com

Dyary Raoof Bayz Agha 5 Mar 29, 2022
null 8 Nov 11, 2022
Cindy Dorantes 12 Oct 18, 2022
Developed using (HTML, CSS, Webpack, Vanilla.js)To-do list is a tool that helps you to organize your day

Developed using (HTML, CSS, Webpack, Vanilla.js)To-do list is a tool that helps you to organize your day. It lists the tasks that you need to do and allows you to mark them as complete. It was built as an introduction to web dev using ES6 and We…

Dagmawi zewdu 6 Mar 4, 2022
Ajayi Ridwan 7 Oct 21, 2022
Harrison Njuguna 5 Nov 11, 2022
Perma is a prototype of permanent video storage and viewing using Next.js, Arweave, and Bundlr.

PERMA Perma is a prototype of permanent video storage and client-side rendering using Next.js, Arweave, and Bundlr. Technologies used: Arweave - File

Nader Dabit 116 Oct 22, 2022
A simple app that helps a user monitor daily activities by adding, storing and deleting activities.Built with HTML,CSS and JavaScript

To-do-list A simple list app that allows a user to add and remove tasks. Built With HTML CSS JS Webpack Live Demo Click To-do-list to see the page. Ge

Catherine K 7 Apr 8, 2022
To-do list" is an app that helps to organize your day. the user simply lists the things that needs to done and the app allows the to mark them as complete when they are done. Made with webpack, JavaScript ES6 , HTML 5 and CSS 3.

Todo-list project This is a Microverse project that entails a to-do-list. Built With HTML CSS Javascript Webpack VS code Live Demo (if available) Live

Youta Lactio Christabelle 10 Aug 3, 2022
ToDoList app helps users make their day organized and user can add tasks, delete completed tasks.Build with Javascript, HTML, CSS

ToDoList Description the project. This project we will help you organize your day. Add tasks Delete tasks And clear all tasks keep your list clean. Bu

Nurgul Kereikhan 6 Oct 11, 2022
jQuery based scrolling Bar, for PC and Smartphones (touch events). It is modern slim, easy to integrate, easy to use. Tested on Firefox/Chrome/Maxthon/iPhone/Android. Very light <7ko min.js and <1Ko min.css.

Nice-Scrollbar Responsive jQuery based scrolling Bar, for PC and Smartphones (touch events). It is modern slim, easy to integrate, easy to use. Tested

Renan LAVAREC 2 Jan 18, 2022
A simple to do list webpage where you can log the daily tasks you have to do, mark them as checked, modify them, reorder them and remove them. Made using HTML, CSS and JavaScript.

To-Do-List This Webpage is for an app called To-Do-List which helps you add, remove or check tasks you have to do. It is a simple web page which conta

Zeeshan Haider 9 Mar 12, 2022
CodePlay is a Web App that helps the user to input HTML,CSS and JS code in the Code editors and display the resultant web page in real-time

CodePlay A codepen clone Setup Clone repository Create and go to the directory where you want to place the repository cd my-directory Clone the proj

Aniket Kumar 5 Sep 24, 2022
Simple shopping cart prototype which shows how React components and Redux can be used to build a friendly user experience with instant visual updates and scalable code in e-commerce applications.

This simple shopping cart prototype shows how React components and Redux can be used to build a friendly user experience with instant visual updates a

Ivan Kuznietsov 3 Feb 8, 2022
Been interested, studying, and developing blockchain security with a Zero Knowledge Proof (ZKP) and create a prototype on the current issue with Philippine's upcoming election. 📥

Implementation of Zero Knowledge Proofs in Cryptographic Voting ?? Reference: Cryptographic Voting – A Gentle Introduction Overview ????‍?? The main i

Karl Joseph Saycon 2 Apr 11, 2022
Prototype of real-time comments and a proposal of how to make it "production-ready".

Real-time comments prototype Simple demonstration of real-time commenting. Installation After forking it, run npm install, then you need two environme

Tiger Abrodi 3 Jan 16, 2022
Sachit Yadav 6 Nov 3, 2022