Changeset 475afd6


Ignore:
Timestamp:
Mar 14, 2017, 10:25:52 PM (3 years ago)
Author:
Agnibho Mondal <mondal@…>
Branches:
master
Children:
19df5f7
Parents:
d30771f
Message:

Rewritten in Javascript for offline use

Files:
19 added
23 deleted
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • README.txt

    rd30771f r475afd6  
    1                         Diet-Survey
    2                         ===========
     1                        DietSurvey
     2                        ==========
    33
    4 What is Diet-Survey?
     4What is DietSurvey?
    55-------------------
    66
    7 Diet-Survey is a web application for calculating nutrient intake of a
    8 family based on their food consumption in last 24 hours.
     7DietSurvey is a web application for calculating nutritional intake and comparing
     8it against the recommended dietary allowances of the members of a family.
    99
    10 Diet-Survey is written in PHP and Javascript for server installation.
     10DietSurvey is written in Javascript.
    1111
    1212Downloading
    1313-----------
    1414
    15 Latest release of Diet-Survey can be downloaded from http://code.agnibho.com/dietsurvey/
     15Latest release of DietSurvey can be downloaded from
     16https://code.agnibho.com/dietsurvey/
    1617
    1718The source code is available at https://github.com/agnibho/dietsurvey/
    18 
    19 Installation
    20 ------------
    21 
    22 Please see the file named INSTALL.txt for installation instructions.
    2319
    2420Usage
    2521-----
    2622
    27 After installation Diet-Survey can be accessed from the designated
    28 URL.
     23DietSurvey needs to be compiled before in can be used. You need Node.js
     24and npm installed in your system to compile DietSurvey.
    2925
    30 You need to enter some health information about the family members and
    31 the list and amount of food they have consumed in the last 24 hours.
     26After downloading and decompressing the package, enter the package
     27directory and issue the following commands:
    3228
    33 A hosted version of Diet-Survey is available at
    34 http://app.agnibho.com/dietsurvey/
     29npm install
     30npm run build
     31
     32Now you can use the app by opening the index.html file in any modern
     33web browser.
     34
     35Alternatively you can run a development version of the app by issuing-
     36
     37npm run dev
     38
     39The interface of the application is designed to be self-explanatory.
     40
     41A hosted version of Obscalc is available at
     42https://app.agnibho.com/dietsurvey/
    3543
    3644Licensing
    3745---------
    3846
    39 Copyright (c) 2013-2015 Agnibho Mondal
     47Copyright (c) 2017 Agnibho Mondal
    4048All rights reserved
    4149
    42 This file is part of Diet-Survey.
     50This file is part of DietSurvey.
    4351
    44 Diet-Survey is free software: you can redistribute it and/or modify
    45 it under the terms of the GNU General Public License as published by
    46 the Free Software Foundation, either version 3 of the License, or
    47 (at your option) any later version.
     52DietSurvey is free software: you can redistribute it and/or modify it
     53under the terms of the GNU General Public License as published by the
     54Free Software Foundation, either version 3 of the License, or (at your
     55option) any later version.
    4856
    49 Diet-Survey is distributed in the hope that it will be useful,
    50 but WITHOUT ANY WARRANTY; without even the implied warranty of
    51 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    52 GNU General Public License for more details.
     57DietSurvey is distributed in the hope that it will be useful, but WITHOUT
     58ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
     59FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
     60for more details.
    5361
    5462You should have received a copy of the GNU General Public License
    55 along with Diet-Survey.  If not, see <http://www.gnu.org/licenses/>.
    56 
    57 Diet-Survey uses the following libraries which are included with Diet-Survey
    58 for convenience. Usage of these libraries are subject to their
    59 respective licenses.
    60 
    61 * jQuery v1.11.3
    62   (c) 2005, 2015 jQuery Foundation, Inc.
    63   jquery.org/license
    64  
    65 * Bootstrap v3.3.6 (http://getbootstrap.com)
    66   Copyright 2011-2015 Twitter, Inc.
    67   Licensed under MIT
    68   (https://github.com/twbs/bootstrap/blob/master/LICENSE)
    69 
    70 * Chart.js v1.0.1-beta.4 (http://chartjs.org/)
    71   Copyright 2014 Nick Downie
    72   Released under the MIT license
    73   https://github.com/nnnick/Chart.js/blob/master/LICENSE.md
     63along with DietSurvey.  If not, see <http://www.gnu.org/licenses/>.
    7464
    7565Contacts
     
    7767
    7868Agnibho Mondal
    79 mail@agnibho.com
     69mondal@agnibho.com
    8070www.agnibho.com
  • src/custom.css

    rd30771f r475afd6  
    11/**********************************************************************
    2  * Title: Diet-Survey
    3  * Description: Application for calculating nutrient intake
     2 * Title: DietSurvey
     3 * Description: Nutritional Assessment App
    44 * Author: Agnibho Mondal
    55 * Website: http://code.agnibho.com
    66 **********************************************************************
    7    Copyright (c) 2013-2015 Agnibho Mondal
     7   Copyright (c) 2016 Agnibho Mondal
    88   All rights reserved
    99 **********************************************************************
    10    This file is part of Diet-Survey.
     10   This file is part of DietSurvey.
    1111   
    12    Diet-Survey is free software: you can redistribute it and/or modify
     12   DietSurvey is free software: you can redistribute it and/or modify
    1313   it under the terms of the GNU General Public License as published by
    1414   the Free Software Foundation, either version 3 of the License, or
    1515   (at your option) any later version.
    1616   
    17    Diet-Survey is distributed in the hope that it will be useful,
     17   DietSurvey is distributed in the hope that it will be useful,
    1818   but WITHOUT ANY WARRANTY; without even the implied warranty of
    1919   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     
    2121   
    2222   You should have received a copy of the GNU General Public License
    23    along with Diet-Survey. If not, see <http://www.gnu.org/licenses/>.
     23   along with DietSurvey. If not, see <http://www.gnu.org/licenses/>.
    2424 **********************************************************************/
     25
    2526h1, h2, h3, h4, h5, h6{
    2627    text-align:center;
    2728}
    28 .point{
    29     cursor:pointer;
    30 }
Note: See TracChangeset for help on using the changeset viewer.