├── yes.csv ├── static ├── css │ ├── breadcrumb.css │ └── style1.css ├── .DS_Store ├── doc │ ├── _DS_Store │ ├── css │ │ ├── _DS_Store │ │ ├── normalize.min.css │ │ └── main.css │ ├── js │ │ ├── _DS_Store │ │ └── custom.js │ ├── fonts │ │ ├── _DS_Store │ │ ├── FontAwesome.otf │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.ttf │ │ └── fontawesome-webfont.woff │ └── syntax-highlighter │ │ ├── _DS_Store │ │ ├── scripts │ │ ├── shBrushPlain.js │ │ ├── shBrushDiff.js │ │ ├── shAutoloader.js │ │ ├── shBrushJScript.js │ │ ├── shLegacy.js │ │ ├── shBrushErlang.js │ │ ├── shBrushScala.js │ │ ├── shBrushXml.js │ │ ├── shBrushJava.js │ │ ├── shBrushRuby.js │ │ ├── shBrushJavaFX.js │ │ ├── shBrushVb.js │ │ ├── shBrushDelphi.js │ │ ├── shBrushAS3.js │ │ ├── shBrushPython.js │ │ ├── shBrushCSharp.js │ │ ├── shBrushBash.js │ │ ├── shBrushGroovy.js │ │ ├── shBrushSql.js │ │ ├── shBrushPerl.js │ │ ├── shBrushPowerShell.js │ │ ├── shBrushPhp.js │ │ ├── shBrushCpp.js │ │ ├── shBrushCss.js │ │ └── shBrushSass.js │ │ └── styles │ │ ├── shThemeEmacs.css │ │ ├── shThemeMDUltra.css │ │ ├── shThemeRDark.css │ │ ├── shThemeMidnight.css │ │ ├── shThemeDefault.css │ │ ├── shThemeFadeToGrey.css │ │ ├── shThemeDjango.css │ │ └── shThemeEclipse.css ├── fonts │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ └── fontawesome-webfont.woff2 ├── vendors │ ├── owl-carousel │ │ ├── assets │ │ │ ├── ajax-loader.gif │ │ │ └── owl.carousel.css │ │ └── owl.carousel.min.css │ ├── linericon │ │ └── fonts │ │ │ ├── Linearicons-Free.eot │ │ │ ├── Linearicons-Free.ttf │ │ │ ├── Linearicons-Free.woff │ │ │ └── Linearicons-Free.woff2 │ ├── flipclock │ │ └── timer.js │ ├── nice-select │ │ ├── js │ │ │ └── jquery.nice-select.min.js │ │ └── css │ │ │ └── nice-select.css │ ├── counter-up │ │ └── jquery.counterup.js │ ├── bootstrap-datepicker │ │ └── bootstrap-select.css │ ├── isotope │ │ └── imagesloaded.pkgd.min.js │ └── lightbox │ │ ├── simpleLightbox.min.js │ │ └── simpleLightbox.css ├── scss │ ├── _variables.scss │ ├── _button.scss │ ├── _reset.scss │ ├── style.scss │ ├── _footer.scss │ ├── _predefine.scss │ ├── _contact.scss │ ├── _banner.scss │ └── _mixins.scss ├── js │ ├── mail-script.js │ ├── contact.js │ └── jquery.ajaxchimp.min.js └── result.html ├── pickle ├── models │ ├── rfc.sav │ ├── .DS_Store │ └── scaler.pkl └── parkinson │ └── model.pkl ├── templates ├── assets │ └── .DS_Store ├── breast-cancer │ ├── yes.css │ ├── connect.html │ └── result.html ├── heartdisease │ ├── nodisease.html │ └── heartdisease.htm ├── dashboard.htm └── parkinson │ └── result.html ├── __pycache__ ├── svm_func.cpython-37.pyc └── svm_func.cpython-38.pyc ├── requirements.txt ├── README.md ├── LICENSE ├── svm.py ├── svm_func.py └── app.py /yes.csv: -------------------------------------------------------------------------------- 1 | Name, Email,Subject 2 | d,d,dd 3 | -------------------------------------------------------------------------------- /static/css/breadcrumb.css: -------------------------------------------------------------------------------- 1 | 2 | /*# sourceMappingURL=breadcrumb.css.map */ -------------------------------------------------------------------------------- /static/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somiljain7/Medash/main/static/.DS_Store -------------------------------------------------------------------------------- /static/doc/_DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somiljain7/Medash/main/static/doc/_DS_Store -------------------------------------------------------------------------------- /pickle/models/rfc.sav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somiljain7/Medash/main/pickle/models/rfc.sav -------------------------------------------------------------------------------- /pickle/models/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somiljain7/Medash/main/pickle/models/.DS_Store -------------------------------------------------------------------------------- /pickle/models/scaler.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somiljain7/Medash/main/pickle/models/scaler.pkl -------------------------------------------------------------------------------- /static/doc/css/_DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somiljain7/Medash/main/static/doc/css/_DS_Store -------------------------------------------------------------------------------- /static/doc/js/_DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somiljain7/Medash/main/static/doc/js/_DS_Store -------------------------------------------------------------------------------- /pickle/parkinson/model.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somiljain7/Medash/main/pickle/parkinson/model.pkl -------------------------------------------------------------------------------- /static/doc/fonts/_DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somiljain7/Medash/main/static/doc/fonts/_DS_Store -------------------------------------------------------------------------------- /templates/assets/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somiljain7/Medash/main/templates/assets/.DS_Store -------------------------------------------------------------------------------- /static/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somiljain7/Medash/main/static/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /static/doc/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somiljain7/Medash/main/static/doc/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /__pycache__/svm_func.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somiljain7/Medash/main/__pycache__/svm_func.cpython-37.pyc -------------------------------------------------------------------------------- /__pycache__/svm_func.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somiljain7/Medash/main/__pycache__/svm_func.cpython-38.pyc -------------------------------------------------------------------------------- /static/doc/js/custom.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | "use strict"; 3 | 4 | $('#nav').singlePageNav(); 5 | 6 | 7 | }); -------------------------------------------------------------------------------- /static/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somiljain7/Medash/main/static/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /static/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somiljain7/Medash/main/static/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /static/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somiljain7/Medash/main/static/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /static/doc/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somiljain7/Medash/main/static/doc/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /static/doc/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somiljain7/Medash/main/static/doc/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /static/doc/syntax-highlighter/_DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somiljain7/Medash/main/static/doc/syntax-highlighter/_DS_Store -------------------------------------------------------------------------------- /static/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somiljain7/Medash/main/static/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /static/doc/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somiljain7/Medash/main/static/doc/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /static/vendors/owl-carousel/assets/ajax-loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somiljain7/Medash/main/static/vendors/owl-carousel/assets/ajax-loader.gif -------------------------------------------------------------------------------- /static/vendors/linericon/fonts/Linearicons-Free.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somiljain7/Medash/main/static/vendors/linericon/fonts/Linearicons-Free.eot -------------------------------------------------------------------------------- /static/vendors/linericon/fonts/Linearicons-Free.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somiljain7/Medash/main/static/vendors/linericon/fonts/Linearicons-Free.ttf -------------------------------------------------------------------------------- /static/vendors/linericon/fonts/Linearicons-Free.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somiljain7/Medash/main/static/vendors/linericon/fonts/Linearicons-Free.woff -------------------------------------------------------------------------------- /static/vendors/linericon/fonts/Linearicons-Free.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/somiljain7/Medash/main/static/vendors/linericon/fonts/Linearicons-Free.woff2 -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | Flask==1.1.1 2 | geopandas==0.6.1 3 | gunicorn==19.9.0 4 | itsdangerous==1.1.0 5 | Jinja2==2.11.1 6 | MarkupSafe==1.1.1 7 | matplotlib==3.1.3 8 | numpy==1.18.1 9 | pandas==1.0.3 10 | scikit-learn==0.22.1 11 | scipy==1.4.1 12 | seaborn==0.10.0 13 | statsmodels==0.11.0 14 | Werkzeug==1.0.1 15 | xgboost==1.0.2 -------------------------------------------------------------------------------- /templates/breast-cancer/yes.css: -------------------------------------------------------------------------------- 1 | .null{ 2 | background-position: right top; 3 | background-repeat:no-repeat; 4 | } 5 | * { 6 | box-sizing: border-box; 7 | } 8 | 9 | .column { 10 | float: left; 11 | width: 33.33%; 12 | padding: 5px; 13 | } 14 | 15 | /* Clearfix (clear floats) */ 16 | .row::after { 17 | content: ""; 18 | clear: both; 19 | display: table; 20 | } -------------------------------------------------------------------------------- /static/scss/_variables.scss: -------------------------------------------------------------------------------- 1 | /*font Variables*/ 2 | $primary-font: 'Roboto', sans-serif; 3 | $title-font: 'Playfair Display', serif; 4 | 5 | 6 | /*Color Variables*/ 7 | $primary-color: #0ba9ff; 8 | $primary-color2: #56d9ff; 9 | $title-color: #222222; 10 | $text-color: #777777; 11 | 12 | 13 | /*=================== fonts ====================*/ 14 | @import url('https://fonts.googleapis.com/css?family=Playfair+Display:400,700|Roboto:400,500'); 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ` Medash ` 2 | 3 | **medical dashboard for disease detection** 4 | 5 | # `Technologies used for this application:` 6 | - Python 7 | - Flask 8 | - HTML 9 | - CSS 10 | - BOOTSTRAP 11 | 12 | 13 | # `Steps to run this dashboard:` 14 | 15 | ```bash 16 | $ pip3 install -r requirements.txt 17 | ``` 18 | 19 | ``` bash 20 | python app.py 21 | ``` 22 | 23 | 24 | # Known Issue 25 | Currently, WORK IN PROGRESS Feel free to open an issue if any! 26 | 27 | # `feel free to contribute :)` 28 | -------------------------------------------------------------------------------- /static/doc/syntax-highlighter/scripts/shBrushPlain.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | }; 25 | 26 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 27 | Brush.aliases = ['text', 'plain']; 28 | 29 | SyntaxHighlighter.brushes.Plain = Brush; 30 | 31 | // CommonJS 32 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 33 | })(); 34 | -------------------------------------------------------------------------------- /static/scss/_button.scss: -------------------------------------------------------------------------------- 1 | /* Main Button Area css 2 | ============================================================================================ */ 3 | .white_bg_btn{ 4 | background: #fff; 5 | display: inline-block; 6 | color: $title-color; 7 | line-height: 40px; 8 | padding: 0px 28px; 9 | font-size: 14px; 10 | font-family: $primary-font; 11 | font-weight: 500; 12 | text-transform: uppercase; 13 | @include transition; 14 | border: none; 15 | &:hover{ 16 | background: $primary-color; 17 | color: #fff; 18 | } 19 | } 20 | .blog_btn{ 21 | border: 1px solid #eeeeee; 22 | background: #f9f9ff; 23 | padding: 0px 32px; 24 | font-size: 13px; 25 | font-weight: 500; 26 | font-family: $primary-font; 27 | color: $title-color; 28 | line-height: 34px; 29 | display: inline-block; 30 | &:hover{ 31 | background: $primary-color; 32 | border-color: $primary-color; 33 | color: #fff; 34 | } 35 | } 36 | 37 | 38 | /* End Main Button Area css 39 | ============================================================================================ */ -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 SOMIL JAIN 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /svm.py: -------------------------------------------------------------------------------- 1 | 2 | # Part 1 - Data Preprocessing 3 | 4 | # Importing the libraries 5 | import numpy as np 6 | import matplotlib.pyplot as plt 7 | import pandas as pd 8 | 9 | # Importing the dataset 10 | dataset = pd.read_csv('Breast Cancer Data.csv') 11 | X = dataset.iloc[:, 2:32].values 12 | y = dataset.iloc[:, 1].values 13 | 14 | # Encoding categorical data 15 | from sklearn.preprocessing import LabelEncoder, OneHotEncoder 16 | labelencoder_X_1 = LabelEncoder() 17 | y = labelencoder_X_1.fit_transform(y) 18 | 19 | # Splitting the dataset into the Training set and Test set 20 | from sklearn.model_selection import train_test_split 21 | X_train, X_test, y_train, y_test = train_test_split(X, y, test_size = 0.2, random_state = 0) 22 | 23 | 24 | # Feature Scaling 25 | from sklearn.preprocessing import StandardScaler 26 | sc = StandardScaler() 27 | X_train = sc.fit_transform(X_train) 28 | X_test = sc.transform(X_test) 29 | 30 | from sklearn.svm import SVC 31 | from sklearn.metrics import accuracy_score 32 | from time import time 33 | 34 | t = time() 35 | clf = SVC() 36 | clf.fit(X_train, y_train) 37 | output = clf.predict(X_test) 38 | acc = accuracy_score(y_test, output) 39 | print("The accuracy of testing data: ",acc) 40 | print("The running time: ",time()-t) -------------------------------------------------------------------------------- /static/doc/syntax-highlighter/scripts/shBrushDiff.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | this.regexList = [ 25 | { regex: /^\+\+\+.*$/gm, css: 'color2' }, 26 | { regex: /^\-\-\-.*$/gm, css: 'color2' }, 27 | { regex: /^\s.*$/gm, css: 'color1' }, 28 | { regex: /^@@.*@@$/gm, css: 'variable' }, 29 | { regex: /^\+[^\+]{1}.*$/gm, css: 'string' }, 30 | { regex: /^\-[^\-]{1}.*$/gm, css: 'comments' } 31 | ]; 32 | }; 33 | 34 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 35 | Brush.aliases = ['diff', 'patch']; 36 | 37 | SyntaxHighlighter.brushes.Diff = Brush; 38 | 39 | // CommonJS 40 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 41 | })(); 42 | -------------------------------------------------------------------------------- /static/js/mail-script.js: -------------------------------------------------------------------------------- 1 | // ------- Mail Send ajax 2 | 3 | $(document).ready(function() { 4 | var form = $('#myForm'); // contact form 5 | var submit = $('.submit-btn'); // submit button 6 | var alert = $('.alert-msg'); // alert div for show alert message 7 | 8 | // form submit event 9 | form.on('submit', function(e) { 10 | e.preventDefault(); // prevent default form submit 11 | 12 | $.ajax({ 13 | url: 'contact_process.php', // form action url 14 | type: 'POST', // form submit method get/post 15 | dataType: 'html', // request type html/json/xml 16 | data: form.serialize(), // serialize form data 17 | beforeSend: function() { 18 | alert.fadeOut(); 19 | submit.html('Sending....'); // change submit button text 20 | }, 21 | success: function(data) { 22 | alert.html(data).fadeIn(); // fade in response data 23 | form.trigger('reset'); // reset form 24 | submit.attr("style", "display: none !important");; // reset submit button text 25 | }, 26 | error: function(e) { 27 | console.log(e) 28 | } 29 | }); 30 | }); 31 | }); -------------------------------------------------------------------------------- /static/scss/_reset.scss: -------------------------------------------------------------------------------- 1 | ::-webkit-input-placeholder { /* WebKit, Blink, Edge */ 2 | color: #999999; 3 | font-weight: 400; 4 | } 5 | :-moz-placeholder { /* Mozilla Firefox 4 to 18 */ 6 | color: #999999; 7 | opacity: 1; 8 | font-weight: 400; 9 | } 10 | ::-moz-placeholder { /* Mozilla Firefox 19+ */ 11 | color: #999999; 12 | opacity: 1; 13 | font-weight: 400; 14 | } 15 | :-ms-input-placeholder { /* Internet Explorer 10-11 */ 16 | color: #999999; 17 | font-weight: 400; 18 | } 19 | ::-ms-input-placeholder { /* Microsoft Edge */ 20 | color: #999999; 21 | font-weight: 400; 22 | } 23 | 24 | 25 | .list{ 26 | list-style: none; 27 | margin: 0px; 28 | padding: 0px; 29 | } 30 | 31 | a{ 32 | text-decoration:none; 33 | transition: all 0.3s ease-in-out; 34 | &:hover, &:focus{ 35 | text-decoration:none; 36 | outline: none; 37 | } 38 | } 39 | .row.m0{ 40 | margin: 0px; 41 | } 42 | 43 | body{ 44 | line-height: 24px; 45 | font-size: 14px; 46 | font-family: $primary-font; 47 | font-weight: 500; 48 | color: $text-color; 49 | } 50 | h1, h2, h3, h4, h5, h6{ 51 | font-family: $title-font; 52 | font-weight: 700; 53 | color: $title-color; 54 | } 55 | 56 | button:focus{ 57 | outline: none; 58 | box-shadow: none; 59 | } 60 | 61 | .mt-25{ 62 | margin-top: 25px; 63 | } 64 | .mt-30{ 65 | margin-top: 30px; 66 | } 67 | 68 | .white_bg{ 69 | background: #fff !important; 70 | } -------------------------------------------------------------------------------- /static/doc/syntax-highlighter/scripts/shAutoloader.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | eval(function(p,a,c,k,e,d){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(2(){1 h=5;h.I=2(){2 n(c,a){4(1 d=0;d35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('3 u={8:{}};u.8={A:4(c,k,l,m,n,o){4 d(a,b){2 a!=1?a:b}4 f(a){2 a!=1?a.E():1}c=c.I(":");3 g=c[0],e={};t={"r":K};M=1;5=8.5;9(3 j R c)e[c[j]]="r";k=f(d(k,5.C));l=f(d(l,5.D));m=f(d(m,5.s));o=f(d(o,5.Q));n=f(d(n,5["x-y"]));2{P:g,C:d(t[e.O],k),D:d(t[e.N],l),s:d({"r":r}[e.s],m),"x-y":d(4(a,b){9(3 h=T S("^"+b+"\\\\[(?\\\\w+)\\\\]$","U"),i=1,p=0;p 2 | 3 | 4 | 5 | 6 | 7 | 8 | Diagnosis 9 | 10 | 20 | 21 | 22 |
23 |

You have been diagnosed with no disease. Congratulations

24 |

The algorithm has diagnosed you with no heart disease based on your inputs. However it might be better to talk to a doctor regardless.

25 |
26 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /static/doc/syntax-highlighter/scripts/shBrushScala.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | // Contributed by Yegor Jbanov and David Bernard. 25 | 26 | var keywords = 'val sealed case def true trait implicit forSome import match object null finally super ' + 27 | 'override try lazy for var catch throw type extends class while with new final yield abstract ' + 28 | 'else do if return protected private this package false'; 29 | 30 | var keyops = '[_:=><%#@]+'; 31 | 32 | this.regexList = [ 33 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments 34 | { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments 35 | { regex: SyntaxHighlighter.regexLib.multiLineSingleQuotedString, css: 'string' }, // multi-line strings 36 | { regex: SyntaxHighlighter.regexLib.multiLineDoubleQuotedString, css: 'string' }, // double-quoted string 37 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings 38 | { regex: /0x[a-f0-9]+|\d+(\.\d+)?/gi, css: 'value' }, // numbers 39 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords 40 | { regex: new RegExp(keyops, 'gm'), css: 'keyword' } // scala keyword 41 | ]; 42 | } 43 | 44 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 45 | Brush.aliases = ['scala']; 46 | 47 | SyntaxHighlighter.brushes.Scala = Brush; 48 | 49 | // CommonJS 50 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 51 | })(); 52 | -------------------------------------------------------------------------------- /templates/heartdisease/heartdisease.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Diagnosis 9 | 10 | 20 | 21 | 22 |
23 |

You have been diagnosed with Stage {{stage}}

24 |

Heart disease can be classified into 4 stages(stage 1 to 4) based on severity of artery blockage. Artery blockage>50% indicates presence of heart disease. Higher the blockage, higher is the stage of heart disease. Stage 3 and 4 are called chronic heart disease and risk of heart attack at anyday in such patients in very high.

25 |
26 | 35 | 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /static/doc/syntax-highlighter/scripts/shBrushXml.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | function process(match, regexInfo) 25 | { 26 | var constructor = SyntaxHighlighter.Match, 27 | code = match[0], 28 | tag = new XRegExp('(<|<)[\\s\\/\\?]*(?[:\\w-\\.]+)', 'xg').exec(code), 29 | result = [] 30 | ; 31 | 32 | if (match.attributes != null) 33 | { 34 | var attributes, 35 | regex = new XRegExp('(? [\\w:\\-\\.]+)' + 36 | '\\s*=\\s*' + 37 | '(? ".*?"|\'.*?\'|\\w+)', 38 | 'xg'); 39 | 40 | while ((attributes = regex.exec(code)) != null) 41 | { 42 | result.push(new constructor(attributes.name, match.index + attributes.index, 'color1')); 43 | result.push(new constructor(attributes.value, match.index + attributes.index + attributes[0].indexOf(attributes.value), 'string')); 44 | } 45 | } 46 | 47 | if (tag != null) 48 | result.push( 49 | new constructor(tag.name, match.index + tag[0].indexOf(tag.name), 'keyword') 50 | ); 51 | 52 | return result; 53 | } 54 | 55 | this.regexList = [ 56 | { regex: new XRegExp('(\\<|<)\\!\\[[\\w\\s]*?\\[(.|\\s)*?\\]\\](\\>|>)', 'gm'), css: 'color2' }, // 57 | { regex: SyntaxHighlighter.regexLib.xmlComments, css: 'comments' }, // 58 | { regex: new XRegExp('(<|<)[\\s\\/\\?]*(\\w+)(?.*?)[\\s\\/\\?]*(>|>)', 'sg'), func: process } 59 | ]; 60 | }; 61 | 62 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 63 | Brush.aliases = ['xml', 'xhtml', 'xslt', 'html']; 64 | 65 | SyntaxHighlighter.brushes.Xml = Brush; 66 | 67 | // CommonJS 68 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 69 | })(); 70 | -------------------------------------------------------------------------------- /templates/breast-cancer/connect.html: -------------------------------------------------------------------------------- 1 |
2 |
3 |

Contact Us

4 |

Swing by for a cup of coffee, or leave us a message:

5 |
6 |
7 |
8 | 9 |
10 |
11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 |
22 |
23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /static/doc/syntax-highlighter/scripts/shBrushJava.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | var keywords = 'abstract assert boolean break byte case catch char class const ' + 25 | 'continue default do double else enum extends ' + 26 | 'false final finally float for goto if implements import ' + 27 | 'instanceof int interface long native new null ' + 28 | 'package private protected public return ' + 29 | 'short static strictfp super switch synchronized this throw throws true ' + 30 | 'transient try void volatile while'; 31 | 32 | this.regexList = [ 33 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments 34 | { regex: /\/\*([^\*][\s\S]*)?\*\//gm, css: 'comments' }, // multiline comments 35 | { regex: /\/\*(?!\*\/)\*[\s\S]*?\*\//gm, css: 'preprocessor' }, // documentation comments 36 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings 37 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings 38 | { regex: /\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi, css: 'value' }, // numbers 39 | { regex: /(?!\@interface\b)\@[\$\w]+\b/g, css: 'color1' }, // annotation @anno 40 | { regex: /\@interface\b/g, css: 'color2' }, // @interface keyword 41 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // java keyword 42 | ]; 43 | 44 | this.forHtmlScript({ 45 | left : /(<|<)%[@!=]?/g, 46 | right : /%(>|>)/g 47 | }); 48 | }; 49 | 50 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 51 | Brush.aliases = ['java']; 52 | 53 | SyntaxHighlighter.brushes.Java = Brush; 54 | 55 | // CommonJS 56 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 57 | })(); 58 | -------------------------------------------------------------------------------- /static/vendors/flipclock/timer.js: -------------------------------------------------------------------------------- 1 | var today = new Date(); 2 | 3 | var timer = function() {}; 4 | timer.countdownDate = new Date(); 5 | 6 | // set date to 10 days in the future for testing purposes 7 | timer.countdownDate.setDate( timer.countdownDate.getDate() + 10 ); 8 | 9 | /* 10 | * Get thing started 11 | */ 12 | timer.init = function() { 13 | timer.getReferences(); 14 | 15 | 16 | timer.getTimes(); 17 | setInterval(function() { timer.update() }, 1000); 18 | } 19 | 20 | /* 21 | * Save references of timer section 22 | */ 23 | timer.getReferences = function() { 24 | timer.timer = document.getElementById("timer"); 25 | timer.days = timer.timer.querySelectorAll(".days .timer__number")[0]; 26 | timer.hours = timer.timer.querySelectorAll(".hours .timer__number")[0]; 27 | timer.minutes = timer.timer.querySelectorAll(".minutes .timer__number")[0]; 28 | timer.seconds = timer.timer.querySelectorAll(".seconds .timer__number")[0]; 29 | } 30 | 31 | /* 32 | * remember time units for later use 33 | */ 34 | timer.getTimes = function() { 35 | timer.times = {}; 36 | timer.times.second = 1000; 37 | timer.times.minute = timer.times.second * 60; 38 | timer.times.hour = timer.times.minute * 60; 39 | timer.times.day = timer.times.hour * 24; 40 | } 41 | 42 | /* 43 | * Update the countdown 44 | */ 45 | timer.update = function() { 46 | if ( timer.timer.style.opacity !== 1 ) { 47 | timer.timer.style.opacity = 1; 48 | } 49 | 50 | timer.currentDate = new Date(); 51 | timer.difference = timer.countdownDate - timer.currentDate; 52 | 53 | timer.days.innerHTML = timer.getTimeRemaining(timer.times.day, 1); 54 | timer.hours.innerHTML = timer.getTimeRemaining(timer.times.hour, 24); 55 | timer.minutes.innerHTML = timer.getTimeRemaining(timer.times.minute, 60); 56 | timer.seconds.innerHTML = timer.getTimeRemaining(timer.times.second, 60); 57 | } 58 | 59 | /* 60 | * calculate remaining time based on a unit of time 61 | */ 62 | timer.getTimeRemaining = function( timeUnit, divisor ) { 63 | var n; 64 | if ( divisor == 1 ) { 65 | n = Math.floor(timer.difference / timeUnit ); 66 | } 67 | else { 68 | n = Math.floor((timer.difference / timeUnit) % divisor ); 69 | } 70 | 71 | if ( String(n).length < 2 ) { 72 | n = "0" + n; 73 | } 74 | 75 | return n; 76 | } 77 | 78 | window.addEventListener("load", function() { 79 | timer.init(); 80 | }); 81 | -------------------------------------------------------------------------------- /static/doc/css/normalize.min.css: -------------------------------------------------------------------------------- 1 | article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-size:100%;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}html,button,input,select,textarea{font-family:sans-serif}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}h2{font-size:1.5em;margin:.83em 0}h3{font-size:1.17em;margin:1em 0}h4{font-size:1em;margin:1.33em 0}h5{font-size:.83em;margin:1.67em 0}h6{font-size:.67em;margin:2.33em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}blockquote{margin:1em 40px}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}p,pre{margin:1em 0}code,kbd,pre,samp{font-family:monospace,serif;_font-family:'courier new',monospace;font-size:1em}pre{white-space:pre;white-space:pre-wrap;word-wrap:break-word}q{quotes:none}q:before,q:after{content:'';content:none}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}dl,menu,ol,ul{margin:1em 0}dd{margin:0 0 0 40px}menu,ol,ul{padding:0 0 0 40px}nav ul,nav ol{list-style:none;list-style-image:none}img{border:0;-ms-interpolation-mode:bicubic}svg:not(:root){overflow:hidden}figure{margin:0}form{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0;white-space:normal;*margin-left:-7px}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;*overflow:visible}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;*height:13px;*width:13px}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0} -------------------------------------------------------------------------------- /static/doc/syntax-highlighter/scripts/shBrushRuby.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | // Contributed by Erik Peterson. 25 | 26 | var keywords = 'alias and BEGIN begin break case class def define_method defined do each else elsif ' + 27 | 'END end ensure false for if in module new next nil not or raise redo rescue retry return ' + 28 | 'self super then throw true undef unless until when while yield'; 29 | 30 | var builtins = 'Array Bignum Binding Class Continuation Dir Exception FalseClass File::Stat File Fixnum Fload ' + 31 | 'Hash Integer IO MatchData Method Module NilClass Numeric Object Proc Range Regexp String Struct::TMS Symbol ' + 32 | 'ThreadGroup Thread Time TrueClass'; 33 | 34 | this.regexList = [ 35 | { regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // one line comments 36 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings 37 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings 38 | { regex: /\b[A-Z0-9_]+\b/g, css: 'constants' }, // constants 39 | { regex: /:[a-z][A-Za-z0-9_]*/g, css: 'color2' }, // symbols 40 | { regex: /(\$|@@|@)\w+/g, css: 'variable bold' }, // $global, @instance, and @@class variables 41 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords 42 | { regex: new RegExp(this.getKeywords(builtins), 'gm'), css: 'color1' } // builtins 43 | ]; 44 | 45 | this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags); 46 | }; 47 | 48 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 49 | Brush.aliases = ['ruby', 'rails', 'ror', 'rb']; 50 | 51 | SyntaxHighlighter.brushes.Ruby = Brush; 52 | 53 | // CommonJS 54 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 55 | })(); 56 | -------------------------------------------------------------------------------- /static/doc/syntax-highlighter/scripts/shBrushJavaFX.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | // Contributed by Patrick Webster 25 | // http://patrickwebster.blogspot.com/2009/04/javafx-brush-for-syntaxhighlighter.html 26 | var datatypes = 'Boolean Byte Character Double Duration ' 27 | + 'Float Integer Long Number Short String Void' 28 | ; 29 | 30 | var keywords = 'abstract after and as assert at before bind bound break catch class ' 31 | + 'continue def delete else exclusive extends false finally first for from ' 32 | + 'function if import in indexof init insert instanceof into inverse last ' 33 | + 'lazy mixin mod nativearray new not null on or override package postinit ' 34 | + 'protected public public-init public-read replace return reverse sizeof ' 35 | + 'step super then this throw true try tween typeof var where while with ' 36 | + 'attribute let private readonly static trigger' 37 | ; 38 | 39 | this.regexList = [ 40 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, 41 | { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, 42 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, 43 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, 44 | { regex: /(-?\.?)(\b(\d*\.?\d+|\d+\.?\d*)(e[+-]?\d+)?|0x[a-f\d]+)\b\.?/gi, css: 'color2' }, // numbers 45 | { regex: new RegExp(this.getKeywords(datatypes), 'gm'), css: 'variable' }, // datatypes 46 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } 47 | ]; 48 | this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags); 49 | }; 50 | 51 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 52 | Brush.aliases = ['jfx', 'javafx']; 53 | 54 | SyntaxHighlighter.brushes.JavaFX = Brush; 55 | 56 | // CommonJS 57 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 58 | })(); 59 | -------------------------------------------------------------------------------- /templates/breast-cancer/result.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Breast Cancer Prediction Using Machine Learning 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 |
15 |

Breast Cancer Prediction

16 |

Predicts whether the cancer is benign or malignant with an accuracy of more than 98%.

17 |
18 | 19 |
20 | 21 | 22 |
23 |

Cancer is Predicted to be {{output}}

24 |

The Probability of {{output}} is {{accuracy}} %.

25 |

The time taken to predict is {{time}} s.

26 |
27 | 28 |
29 |
30 |

Benign Tumors

31 |

32 | Since benign tumors are harmless, doctors may opt to leave the lump alone rather than remove it. If you are experiencing discomfort, irritation or pressure, let your doctor know so that she can plan to remove it for you and improve your comfort. 33 |

34 |
35 |
36 |

Malignant tumors

37 |

38 | Malignant tumors are cancerous and aggressive because they invade and damage surrounding tissue. When a tumor is suspected to be malignant, the doctor will perform a biopsy to determine the severity or aggressiveness of the tumor. 39 |

40 |
41 |
42 | 43 | 44 | 45 |
46 | Want to know about how we did or check accuracy, check it out here 47 |
48 | 49 |
50 | 51 | 52 |
53 | 54 | 55 | 56 | -------------------------------------------------------------------------------- /static/doc/syntax-highlighter/scripts/shBrushVb.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | var keywords = 'AddHandler AddressOf AndAlso Alias And Ansi As Assembly Auto ' + 25 | 'Boolean ByRef Byte ByVal Call Case Catch CBool CByte CChar CDate ' + 26 | 'CDec CDbl Char CInt Class CLng CObj Const CShort CSng CStr CType ' + 27 | 'Date Decimal Declare Default Delegate Dim DirectCast Do Double Each ' + 28 | 'Else ElseIf End Enum Erase Error Event Exit False Finally For Friend ' + 29 | 'Function Get GetType GoSub GoTo Handles If Implements Imports In ' + 30 | 'Inherits Integer Interface Is Let Lib Like Long Loop Me Mod Module ' + 31 | 'MustInherit MustOverride MyBase MyClass Namespace New Next Not Nothing ' + 32 | 'NotInheritable NotOverridable Object On Option Optional Or OrElse ' + 33 | 'Overloads Overridable Overrides ParamArray Preserve Private Property ' + 34 | 'Protected Public RaiseEvent ReadOnly ReDim REM RemoveHandler Resume ' + 35 | 'Return Select Set Shadows Shared Short Single Static Step Stop String ' + 36 | 'Structure Sub SyncLock Then Throw To True Try TypeOf Unicode Until ' + 37 | 'Variant When While With WithEvents WriteOnly Xor'; 38 | 39 | this.regexList = [ 40 | { regex: /'.*$/gm, css: 'comments' }, // one line comments 41 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings 42 | { regex: /^\s*#.*$/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion 43 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // vb keyword 44 | ]; 45 | 46 | this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags); 47 | }; 48 | 49 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 50 | Brush.aliases = ['vb', 'vbnet']; 51 | 52 | SyntaxHighlighter.brushes.Vb = Brush; 53 | 54 | // CommonJS 55 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 56 | })(); 57 | -------------------------------------------------------------------------------- /static/doc/syntax-highlighter/scripts/shBrushDelphi.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | var keywords = 'abs addr and ansichar ansistring array as asm begin boolean byte cardinal ' + 25 | 'case char class comp const constructor currency destructor div do double ' + 26 | 'downto else end except exports extended false file finalization finally ' + 27 | 'for function goto if implementation in inherited int64 initialization ' + 28 | 'integer interface is label library longint longword mod nil not object ' + 29 | 'of on or packed pansichar pansistring pchar pcurrency pdatetime pextended ' + 30 | 'pint64 pointer private procedure program property pshortstring pstring ' + 31 | 'pvariant pwidechar pwidestring protected public published raise real real48 ' + 32 | 'record repeat set shl shortint shortstring shr single smallint string then ' + 33 | 'threadvar to true try type unit until uses val var varirnt while widechar ' + 34 | 'widestring with word write writeln xor'; 35 | 36 | this.regexList = [ 37 | { regex: /\(\*[\s\S]*?\*\)/gm, css: 'comments' }, // multiline comments (* *) 38 | { regex: /{(?!\$)[\s\S]*?}/gm, css: 'comments' }, // multiline comments { } 39 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line 40 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings 41 | { regex: /\{\$[a-zA-Z]+ .+\}/g, css: 'color1' }, // compiler Directives and Region tags 42 | { regex: /\b[\d\.]+\b/g, css: 'value' }, // numbers 12345 43 | { regex: /\$[a-zA-Z0-9]+\b/g, css: 'value' }, // numbers $F5D3 44 | { regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' } // keyword 45 | ]; 46 | }; 47 | 48 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 49 | Brush.aliases = ['delphi', 'pascal', 'pas']; 50 | 51 | SyntaxHighlighter.brushes.Delphi = Brush; 52 | 53 | // CommonJS 54 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 55 | })(); 56 | -------------------------------------------------------------------------------- /static/doc/syntax-highlighter/scripts/shBrushAS3.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | // Created by Peter Atoria @ http://iAtoria.com 25 | 26 | var inits = 'class interface function package'; 27 | 28 | var keywords = '-Infinity ...rest Array as AS3 Boolean break case catch const continue Date decodeURI ' + 29 | 'decodeURIComponent default delete do dynamic each else encodeURI encodeURIComponent escape ' + 30 | 'extends false final finally flash_proxy for get if implements import in include Infinity ' + 31 | 'instanceof int internal is isFinite isNaN isXMLName label namespace NaN native new null ' + 32 | 'Null Number Object object_proxy override parseFloat parseInt private protected public ' + 33 | 'return set static String super switch this throw true try typeof uint undefined unescape ' + 34 | 'use void while with' 35 | ; 36 | 37 | this.regexList = [ 38 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments 39 | { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments 40 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings 41 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings 42 | { regex: /\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi, css: 'value' }, // numbers 43 | { regex: new RegExp(this.getKeywords(inits), 'gm'), css: 'color3' }, // initializations 44 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords 45 | { regex: new RegExp('var', 'gm'), css: 'variable' }, // variable 46 | { regex: new RegExp('trace', 'gm'), css: 'color1' } // trace 47 | ]; 48 | 49 | this.forHtmlScript(SyntaxHighlighter.regexLib.scriptScriptTags); 50 | }; 51 | 52 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 53 | Brush.aliases = ['actionscript3', 'as3']; 54 | 55 | SyntaxHighlighter.brushes.AS3 = Brush; 56 | 57 | // CommonJS 58 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 59 | })(); 60 | -------------------------------------------------------------------------------- /static/doc/syntax-highlighter/scripts/shBrushPython.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | // Contributed by Gheorghe Milas and Ahmad Sherif 25 | 26 | var keywords = 'and assert break class continue def del elif else ' + 27 | 'except exec finally for from global if import in is ' + 28 | 'lambda not or pass print raise return try yield while'; 29 | 30 | var funcs = '__import__ abs all any apply basestring bin bool buffer callable ' + 31 | 'chr classmethod cmp coerce compile complex delattr dict dir ' + 32 | 'divmod enumerate eval execfile file filter float format frozenset ' + 33 | 'getattr globals hasattr hash help hex id input int intern ' + 34 | 'isinstance issubclass iter len list locals long map max min next ' + 35 | 'object oct open ord pow print property range raw_input reduce ' + 36 | 'reload repr reversed round set setattr slice sorted staticmethod ' + 37 | 'str sum super tuple type type unichr unicode vars xrange zip'; 38 | 39 | var special = 'None True False self cls class_'; 40 | 41 | this.regexList = [ 42 | { regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, 43 | { regex: /^\s*@\w+/gm, css: 'decorator' }, 44 | { regex: /(['\"]{3})([^\1])*?\1/gm, css: 'comments' }, 45 | { regex: /"(?!")(?:\.|\\\"|[^\""\n])*"/gm, css: 'string' }, 46 | { regex: /'(?!')(?:\.|(\\\')|[^\''\n])*'/gm, css: 'string' }, 47 | { regex: /\+|\-|\*|\/|\%|=|==/gm, css: 'keyword' }, 48 | { regex: /\b\d+\.?\w*/g, css: 'value' }, 49 | { regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' }, 50 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, 51 | { regex: new RegExp(this.getKeywords(special), 'gm'), css: 'color1' } 52 | ]; 53 | 54 | this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags); 55 | }; 56 | 57 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 58 | Brush.aliases = ['py', 'python']; 59 | 60 | SyntaxHighlighter.brushes.Python = Brush; 61 | 62 | // CommonJS 63 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 64 | })(); 65 | -------------------------------------------------------------------------------- /templates/dashboard.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | DashBoard 8 | 83 | 84 | 85 | 86 | 87 | 88 |

DashBoard

89 |





90 |

Disease Predictor

91 |





92 |
93 |
94 |
95 |
96 | 97 | 98 | -------------------------------------------------------------------------------- /static/doc/syntax-highlighter/scripts/shBrushCSharp.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | var keywords = 'abstract as base bool break byte case catch char checked class const ' + 25 | 'continue decimal default delegate do double else enum event explicit ' + 26 | 'extern false finally fixed float for foreach get goto if implicit in int ' + 27 | 'interface internal is lock long namespace new null object operator out ' + 28 | 'override params private protected public readonly ref return sbyte sealed set ' + 29 | 'short sizeof stackalloc static string struct switch this throw true try ' + 30 | 'typeof uint ulong unchecked unsafe ushort using virtual void while'; 31 | 32 | function fixComments(match, regexInfo) 33 | { 34 | var css = (match[0].indexOf("///") == 0) 35 | ? 'color1' 36 | : 'comments' 37 | ; 38 | 39 | return [new SyntaxHighlighter.Match(match[0], match.index, css)]; 40 | } 41 | 42 | this.regexList = [ 43 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, func : fixComments }, // one line comments 44 | { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments 45 | { regex: /@"(?:[^"]|"")*"/g, css: 'string' }, // @-quoted strings 46 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings 47 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings 48 | { regex: /^\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion 49 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // c# keyword 50 | { regex: /\bpartial(?=\s+(?:class|interface|struct)\b)/g, css: 'keyword' }, // contextual keyword: 'partial' 51 | { regex: /\byield(?=\s+(?:return|break)\b)/g, css: 'keyword' } // contextual keyword: 'yield' 52 | ]; 53 | 54 | this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags); 55 | }; 56 | 57 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 58 | Brush.aliases = ['c#', 'c-sharp', 'csharp']; 59 | 60 | SyntaxHighlighter.brushes.CSharp = Brush; 61 | 62 | // CommonJS 63 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 64 | })(); 65 | 66 | -------------------------------------------------------------------------------- /static/doc/syntax-highlighter/styles/shThemeEmacs.css: -------------------------------------------------------------------------------- 1 | 2 | .syntaxhighlighter { 3 | background-color: black !important; 4 | } 5 | .syntaxhighlighter .line.alt1 { 6 | background-color: black !important; 7 | } 8 | .syntaxhighlighter .line.alt2 { 9 | background-color: black !important; 10 | } 11 | .syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 { 12 | background-color: #2a3133 !important; 13 | } 14 | .syntaxhighlighter .line.highlighted.number { 15 | color: white !important; 16 | } 17 | .syntaxhighlighter table caption { 18 | color: #d3d3d3 !important; 19 | } 20 | .syntaxhighlighter .gutter { 21 | color: #d3d3d3 !important; 22 | } 23 | .syntaxhighlighter .gutter .line { 24 | border-right: 3px solid #990000 !important; 25 | } 26 | .syntaxhighlighter .gutter .line.highlighted { 27 | background-color: #990000 !important; 28 | color: black !important; 29 | } 30 | .syntaxhighlighter.printing .line .content { 31 | border: none !important; 32 | } 33 | .syntaxhighlighter.collapsed { 34 | overflow: visible !important; 35 | } 36 | .syntaxhighlighter.collapsed .toolbar { 37 | color: #ebdb8d !important; 38 | background: black !important; 39 | border: 1px solid #990000 !important; 40 | } 41 | .syntaxhighlighter.collapsed .toolbar a { 42 | color: #ebdb8d !important; 43 | } 44 | .syntaxhighlighter.collapsed .toolbar a:hover { 45 | color: #ff7d27 !important; 46 | } 47 | .syntaxhighlighter .toolbar { 48 | color: white !important; 49 | background: #990000 !important; 50 | border: none !important; 51 | } 52 | .syntaxhighlighter .toolbar a { 53 | color: white !important; 54 | } 55 | .syntaxhighlighter .toolbar a:hover { 56 | color: #9ccff4 !important; 57 | } 58 | .syntaxhighlighter .plain, .syntaxhighlighter .plain a { 59 | color: #d3d3d3 !important; 60 | } 61 | .syntaxhighlighter .comments, .syntaxhighlighter .comments a { 62 | color: #ff7d27 !important; 63 | } 64 | .syntaxhighlighter .string, .syntaxhighlighter .string a { 65 | color: #ff9e7b !important; 66 | } 67 | .syntaxhighlighter .keyword { 68 | color: aqua !important; 69 | } 70 | .syntaxhighlighter .preprocessor { 71 | color: #aec4de !important; 72 | } 73 | .syntaxhighlighter .variable { 74 | color: #ffaa3e !important; 75 | } 76 | .syntaxhighlighter .value { 77 | color: #009900 !important; 78 | } 79 | .syntaxhighlighter .functions { 80 | color: #81cef9 !important; 81 | } 82 | .syntaxhighlighter .constants { 83 | color: #ff9e7b !important; 84 | } 85 | .syntaxhighlighter .script { 86 | font-weight: bold !important; 87 | color: aqua !important; 88 | background-color: none !important; 89 | } 90 | .syntaxhighlighter .color1, .syntaxhighlighter .color1 a { 91 | color: #ebdb8d !important; 92 | } 93 | .syntaxhighlighter .color2, .syntaxhighlighter .color2 a { 94 | color: #ff7d27 !important; 95 | } 96 | .syntaxhighlighter .color3, .syntaxhighlighter .color3 a { 97 | color: #aec4de !important; 98 | } 99 | -------------------------------------------------------------------------------- /static/doc/syntax-highlighter/styles/shThemeMDUltra.css: -------------------------------------------------------------------------------- 1 | 2 | .syntaxhighlighter { 3 | background-color: #222222 !important; 4 | } 5 | .syntaxhighlighter .line.alt1 { 6 | background-color: #222222 !important; 7 | } 8 | .syntaxhighlighter .line.alt2 { 9 | background-color: #222222 !important; 10 | } 11 | .syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 { 12 | background-color: #253e5a !important; 13 | } 14 | .syntaxhighlighter .line.highlighted.number { 15 | color: white !important; 16 | } 17 | .syntaxhighlighter table caption { 18 | color: lime !important; 19 | } 20 | .syntaxhighlighter .gutter { 21 | color: #38566f !important; 22 | } 23 | .syntaxhighlighter .gutter .line { 24 | border-right: 3px solid #435a5f !important; 25 | } 26 | .syntaxhighlighter .gutter .line.highlighted { 27 | background-color: #435a5f !important; 28 | color: #222222 !important; 29 | } 30 | .syntaxhighlighter.printing .line .content { 31 | border: none !important; 32 | } 33 | .syntaxhighlighter.collapsed { 34 | overflow: visible !important; 35 | } 36 | .syntaxhighlighter.collapsed .toolbar { 37 | color: #428bdd !important; 38 | background: black !important; 39 | border: 1px solid #435a5f !important; 40 | } 41 | .syntaxhighlighter.collapsed .toolbar a { 42 | color: #428bdd !important; 43 | } 44 | .syntaxhighlighter.collapsed .toolbar a:hover { 45 | color: lime !important; 46 | } 47 | .syntaxhighlighter .toolbar { 48 | color: #aaaaff !important; 49 | background: #435a5f !important; 50 | border: none !important; 51 | } 52 | .syntaxhighlighter .toolbar a { 53 | color: #aaaaff !important; 54 | } 55 | .syntaxhighlighter .toolbar a:hover { 56 | color: #9ccff4 !important; 57 | } 58 | .syntaxhighlighter .plain, .syntaxhighlighter .plain a { 59 | color: lime !important; 60 | } 61 | .syntaxhighlighter .comments, .syntaxhighlighter .comments a { 62 | color: #428bdd !important; 63 | } 64 | .syntaxhighlighter .string, .syntaxhighlighter .string a { 65 | color: lime !important; 66 | } 67 | .syntaxhighlighter .keyword { 68 | color: #aaaaff !important; 69 | } 70 | .syntaxhighlighter .preprocessor { 71 | color: #8aa6c1 !important; 72 | } 73 | .syntaxhighlighter .variable { 74 | color: aqua !important; 75 | } 76 | .syntaxhighlighter .value { 77 | color: #f7e741 !important; 78 | } 79 | .syntaxhighlighter .functions { 80 | color: #ff8000 !important; 81 | } 82 | .syntaxhighlighter .constants { 83 | color: yellow !important; 84 | } 85 | .syntaxhighlighter .script { 86 | font-weight: bold !important; 87 | color: #aaaaff !important; 88 | background-color: none !important; 89 | } 90 | .syntaxhighlighter .color1, .syntaxhighlighter .color1 a { 91 | color: red !important; 92 | } 93 | .syntaxhighlighter .color2, .syntaxhighlighter .color2 a { 94 | color: yellow !important; 95 | } 96 | .syntaxhighlighter .color3, .syntaxhighlighter .color3 a { 97 | color: #ffaa3e !important; 98 | } 99 | -------------------------------------------------------------------------------- /static/vendors/nice-select/js/jquery.nice-select.min.js: -------------------------------------------------------------------------------- 1 | /* jQuery Nice Select - v1.0 2 | https://github.com/hernansartorio/jquery-nice-select 3 | Made by Hernán Sartorio */ 4 | !function(e){e.fn.niceSelect=function(t){function s(t){t.after(e("
").addClass("nice-select").addClass(t.attr("class")||"").addClass(t.attr("disabled")?"disabled":"").attr("tabindex",t.attr("disabled")?null:"0").html('
    '));var s=t.next(),n=t.find("option"),i=t.find("option:selected");s.find(".current").html(i.data("display")||i.text()),n.each(function(t){var n=e(this),i=n.data("display");s.find("ul").append(e("
  • ").attr("data-value",n.val()).attr("data-display",i||null).addClass("option"+(n.is(":selected")?" selected":"")+(n.is(":disabled")?" disabled":"")).html(n.text()))})}if("string"==typeof t)return"update"==t?this.each(function(){var t=e(this),n=e(this).next(".nice-select"),i=n.hasClass("open");n.length&&(n.remove(),s(t),i&&t.next().trigger("click"))}):"destroy"==t?(this.each(function(){var t=e(this),s=e(this).next(".nice-select");s.length&&(s.remove(),t.css("display",""))}),0==e(".nice-select").length&&e(document).off(".nice_select")):console.log('Method "'+t+'" does not exist.'),this;this.hide(),this.each(function(){var t=e(this);t.next().hasClass("nice-select")||s(t)}),e(document).off(".nice_select"),e(document).on("click.nice_select",".nice-select",function(t){var s=e(this);e(".nice-select").not(s).removeClass("open"),s.toggleClass("open"),s.hasClass("open")?(s.find(".option"),s.find(".focus").removeClass("focus"),s.find(".selected").addClass("focus")):s.focus()}),e(document).on("click.nice_select",function(t){0===e(t.target).closest(".nice-select").length&&e(".nice-select").removeClass("open").find(".option")}),e(document).on("click.nice_select",".nice-select .option:not(.disabled)",function(t){var s=e(this),n=s.closest(".nice-select");n.find(".selected").removeClass("selected"),s.addClass("selected");var i=s.data("display")||s.text();n.find(".current").text(i),n.prev("select").val(s.data("value")).trigger("change")}),e(document).on("keydown.nice_select",".nice-select",function(t){var s=e(this),n=e(s.find(".focus")||s.find(".list .option.selected"));if(32==t.keyCode||13==t.keyCode)return s.hasClass("open")?n.trigger("click"):s.trigger("click"),!1;if(40==t.keyCode){if(s.hasClass("open")){var i=n.nextAll(".option:not(.disabled)").first();i.length>0&&(s.find(".focus").removeClass("focus"),i.addClass("focus"))}else s.trigger("click");return!1}if(38==t.keyCode){if(s.hasClass("open")){var l=n.prevAll(".option:not(.disabled)").first();l.length>0&&(s.find(".focus").removeClass("focus"),l.addClass("focus"))}else s.trigger("click");return!1}if(27==t.keyCode)s.hasClass("open")&&s.trigger("click");else if(9==t.keyCode&&s.hasClass("open"))return!1});var n=document.createElement("a").style;return n.cssText="pointer-events:auto","auto"!==n.pointerEvents&&e("html").addClass("no-csspointerevents"),this}}(jQuery); -------------------------------------------------------------------------------- /static/vendors/owl-carousel/owl.carousel.min.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Owl Carousel v2.2.1 3 | * Copyright 2013-2017 David Deutsch 4 | * Licensed under () 5 | */ 6 | .owl-carousel,.owl-carousel .owl-item{-webkit-tap-highlight-color:transparent;position:relative}.owl-carousel{display:none;width:100%;z-index:1}.owl-carousel .owl-stage{position:relative;-ms-touch-action:pan-Y;-moz-backface-visibility:hidden}.owl-carousel .owl-stage:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}.owl-carousel .owl-stage-outer{position:relative;overflow:hidden;-webkit-transform:translate3d(0,0,0)}.owl-carousel .owl-item,.owl-carousel .owl-wrapper{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0)}.owl-carousel .owl-item{min-height:1px;float:left;-webkit-backface-visibility:hidden;-webkit-touch-callout:none}.owl-carousel .owl-item img{display:block;width:100%}.owl-carousel .owl-dots.disabled,.owl-carousel .owl-nav.disabled{display:none}.no-js .owl-carousel,.owl-carousel.owl-loaded{display:block}.owl-carousel .owl-dot,.owl-carousel .owl-nav .owl-next,.owl-carousel .owl-nav .owl-prev{cursor:pointer;cursor:hand;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel.owl-loading{opacity:0;display:block}.owl-carousel.owl-hidden{opacity:0}.owl-carousel.owl-refresh .owl-item{visibility:hidden}.owl-carousel.owl-drag .owl-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel.owl-grab{cursor:move;cursor:grab}.owl-carousel.owl-rtl{direction:rtl}.owl-carousel.owl-rtl .owl-item{float:right}.owl-carousel .animated{animation-duration:1s;animation-fill-mode:both}.owl-carousel .owl-animated-in{z-index:0}.owl-carousel .owl-animated-out{z-index:1}.owl-carousel .fadeOut{animation-name:fadeOut}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}.owl-height{transition:height .5s ease-in-out}.owl-carousel .owl-item .owl-lazy{opacity:0;transition:opacity .4s ease}.owl-carousel .owl-item img.owl-lazy{transform-style:preserve-3d}.owl-carousel .owl-video-wrapper{position:relative;height:100%;background:#000}.owl-carousel .owl-video-play-icon{position:absolute;height:80px;width:80px;left:50%;top:50%;margin-left:-40px;margin-top:-40px;background:url(owl.video.play.png) no-repeat;cursor:pointer;z-index:1;-webkit-backface-visibility:hidden;transition:transform .1s ease}.owl-carousel .owl-video-play-icon:hover{-ms-transform:scale(1.3,1.3);transform:scale(1.3,1.3)}.owl-carousel .owl-video-playing .owl-video-play-icon,.owl-carousel .owl-video-playing .owl-video-tn{display:none}.owl-carousel .owl-video-tn{opacity:0;height:100%;background-position:center center;background-repeat:no-repeat;background-size:contain;transition:opacity .4s ease}.owl-carousel .owl-video-frame{position:relative;z-index:1;height:100%;width:100%} -------------------------------------------------------------------------------- /static/doc/syntax-highlighter/styles/shThemeRDark.css: -------------------------------------------------------------------------------- 1 | 2 | .syntaxhighlighter { 3 | background-color: #1b2426 !important; 4 | } 5 | .syntaxhighlighter .line.alt1 { 6 | background-color: #1b2426 !important; 7 | } 8 | .syntaxhighlighter .line.alt2 { 9 | background-color: #1b2426 !important; 10 | } 11 | .syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 { 12 | background-color: #323e41 !important; 13 | } 14 | .syntaxhighlighter .line.highlighted.number { 15 | color: #b9bdb6 !important; 16 | } 17 | .syntaxhighlighter table caption { 18 | color: #b9bdb6 !important; 19 | } 20 | .syntaxhighlighter .gutter { 21 | color: #afafaf !important; 22 | } 23 | .syntaxhighlighter .gutter .line { 24 | border-right: 3px solid #435a5f !important; 25 | } 26 | .syntaxhighlighter .gutter .line.highlighted { 27 | background-color: #435a5f !important; 28 | color: #1b2426 !important; 29 | } 30 | .syntaxhighlighter.printing .line .content { 31 | border: none !important; 32 | } 33 | .syntaxhighlighter.collapsed { 34 | overflow: visible !important; 35 | } 36 | .syntaxhighlighter.collapsed .toolbar { 37 | color: #5ba1cf !important; 38 | background: black !important; 39 | border: 1px solid #435a5f !important; 40 | } 41 | .syntaxhighlighter.collapsed .toolbar a { 42 | color: #5ba1cf !important; 43 | } 44 | .syntaxhighlighter.collapsed .toolbar a:hover { 45 | color: #5ce638 !important; 46 | } 47 | .syntaxhighlighter .toolbar { 48 | color: white !important; 49 | background: #435a5f !important; 50 | border: none !important; 51 | } 52 | .syntaxhighlighter .toolbar a { 53 | color: white !important; 54 | } 55 | .syntaxhighlighter .toolbar a:hover { 56 | color: #e0e8ff !important; 57 | } 58 | .syntaxhighlighter .plain, .syntaxhighlighter .plain a { 59 | color: #b9bdb6 !important; 60 | } 61 | .syntaxhighlighter .comments, .syntaxhighlighter .comments a { 62 | color: #878a85 !important; 63 | } 64 | .syntaxhighlighter .string, .syntaxhighlighter .string a { 65 | color: #5ce638 !important; 66 | } 67 | .syntaxhighlighter .keyword { 68 | color: #5ba1cf !important; 69 | } 70 | .syntaxhighlighter .preprocessor { 71 | color: #435a5f !important; 72 | } 73 | .syntaxhighlighter .variable { 74 | color: #ffaa3e !important; 75 | } 76 | .syntaxhighlighter .value { 77 | color: #009900 !important; 78 | } 79 | .syntaxhighlighter .functions { 80 | color: #ffaa3e !important; 81 | } 82 | .syntaxhighlighter .constants { 83 | color: #e0e8ff !important; 84 | } 85 | .syntaxhighlighter .script { 86 | font-weight: bold !important; 87 | color: #5ba1cf !important; 88 | background-color: none !important; 89 | } 90 | .syntaxhighlighter .color1, .syntaxhighlighter .color1 a { 91 | color: #e0e8ff !important; 92 | } 93 | .syntaxhighlighter .color2, .syntaxhighlighter .color2 a { 94 | color: white !important; 95 | } 96 | .syntaxhighlighter .color3, .syntaxhighlighter .color3 a { 97 | color: #ffaa3e !important; 98 | } 99 | -------------------------------------------------------------------------------- /static/doc/syntax-highlighter/styles/shThemeMidnight.css: -------------------------------------------------------------------------------- 1 | 2 | .syntaxhighlighter { 3 | background-color: #0f192a !important; 4 | } 5 | .syntaxhighlighter .line.alt1 { 6 | background-color: #0f192a !important; 7 | } 8 | .syntaxhighlighter .line.alt2 { 9 | background-color: #0f192a !important; 10 | } 11 | .syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 { 12 | background-color: #253e5a !important; 13 | } 14 | .syntaxhighlighter .line.highlighted.number { 15 | color: #38566f !important; 16 | } 17 | .syntaxhighlighter table caption { 18 | color: #d1edff !important; 19 | } 20 | .syntaxhighlighter .gutter { 21 | color: #afafaf !important; 22 | } 23 | .syntaxhighlighter .gutter .line { 24 | border-right: 3px solid #435a5f !important; 25 | } 26 | .syntaxhighlighter .gutter .line.highlighted { 27 | background-color: #435a5f !important; 28 | color: #0f192a !important; 29 | } 30 | .syntaxhighlighter.printing .line .content { 31 | border: none !important; 32 | } 33 | .syntaxhighlighter.collapsed { 34 | overflow: visible !important; 35 | } 36 | .syntaxhighlighter.collapsed .toolbar { 37 | color: #428bdd !important; 38 | background: black !important; 39 | border: 1px solid #435a5f !important; 40 | } 41 | .syntaxhighlighter.collapsed .toolbar a { 42 | color: #428bdd !important; 43 | } 44 | .syntaxhighlighter.collapsed .toolbar a:hover { 45 | color: #1dc116 !important; 46 | } 47 | .syntaxhighlighter .toolbar { 48 | color: #d1edff !important; 49 | background: #435a5f !important; 50 | border: none !important; 51 | } 52 | .syntaxhighlighter .toolbar a { 53 | color: #d1edff !important; 54 | } 55 | .syntaxhighlighter .toolbar a:hover { 56 | color: #8aa6c1 !important; 57 | } 58 | .syntaxhighlighter .plain, .syntaxhighlighter .plain a { 59 | color: #d1edff !important; 60 | } 61 | .syntaxhighlighter .comments, .syntaxhighlighter .comments a { 62 | color: #428bdd !important; 63 | } 64 | .syntaxhighlighter .string, .syntaxhighlighter .string a { 65 | color: #1dc116 !important; 66 | } 67 | .syntaxhighlighter .keyword { 68 | color: #b43d3d !important; 69 | } 70 | .syntaxhighlighter .preprocessor { 71 | color: #8aa6c1 !important; 72 | } 73 | .syntaxhighlighter .variable { 74 | color: #ffaa3e !important; 75 | } 76 | .syntaxhighlighter .value { 77 | color: #f7e741 !important; 78 | } 79 | .syntaxhighlighter .functions { 80 | color: #ffaa3e !important; 81 | } 82 | .syntaxhighlighter .constants { 83 | color: #e0e8ff !important; 84 | } 85 | .syntaxhighlighter .script { 86 | font-weight: bold !important; 87 | color: #b43d3d !important; 88 | background-color: none !important; 89 | } 90 | .syntaxhighlighter .color1, .syntaxhighlighter .color1 a { 91 | color: #f8bb00 !important; 92 | } 93 | .syntaxhighlighter .color2, .syntaxhighlighter .color2 a { 94 | color: white !important; 95 | } 96 | .syntaxhighlighter .color3, .syntaxhighlighter .color3 a { 97 | color: #ffaa3e !important; 98 | } 99 | -------------------------------------------------------------------------------- /static/vendors/counter-up/jquery.counterup.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * jquery.counterup.js 1.0 3 | * 4 | * Copyright 2013, Benjamin Intal http://gambit.ph @bfintal 5 | * Released under the GPL v2 License 6 | * 7 | * Date: Nov 26, 2013 8 | */ 9 | (function( $ ){ 10 | "use strict"; 11 | 12 | $.fn.counterUp = function( options ) { 13 | 14 | // Defaults 15 | var settings = $.extend({ 16 | 'time': 400, 17 | 'delay': 10 18 | }, options); 19 | 20 | return this.each(function(){ 21 | 22 | // Store the object 23 | var $this = $(this); 24 | var $settings = settings; 25 | 26 | var counterUpper = function() { 27 | var nums = []; 28 | var divisions = $settings.time / $settings.delay; 29 | var num = $this.text(); 30 | var isComma = /[0-9]+,[0-9]+/.test(num); 31 | num = num.replace(/,/g, ''); 32 | var isInt = /^[0-9]+$/.test(num); 33 | var isFloat = /^[0-9]+\.[0-9]+$/.test(num); 34 | var decimalPlaces = isFloat ? (num.split('.')[1] || []).length : 0; 35 | 36 | // Generate list of incremental numbers to display 37 | for (var i = divisions; i >= 1; i--) { 38 | 39 | // Preserve as int if input was int 40 | var newNum = parseInt(num / divisions * i); 41 | 42 | // Preserve float if input was float 43 | if (isFloat) { 44 | newNum = parseFloat(num / divisions * i).toFixed(decimalPlaces); 45 | } 46 | 47 | // Preserve commas if input had commas 48 | if (isComma) { 49 | while (/(\d+)(\d{3})/.test(newNum.toString())) { 50 | newNum = newNum.toString().replace(/(\d+)(\d{3})/, '$1'+','+'$2'); 51 | } 52 | } 53 | 54 | nums.unshift(newNum); 55 | } 56 | 57 | $this.data('counterup-nums', nums); 58 | $this.text('0'); 59 | 60 | // Updates the number until we're done 61 | var f = function() { 62 | $this.text($this.data('counterup-nums').shift()); 63 | if ($this.data('counterup-nums').length) { 64 | setTimeout($this.data('counterup-func'), $settings.delay); 65 | } else { 66 | delete $this.data('counterup-nums'); 67 | $this.data('counterup-nums', null); 68 | $this.data('counterup-func', null); 69 | } 70 | }; 71 | $this.data('counterup-func', f); 72 | 73 | // Start the count up 74 | setTimeout($this.data('counterup-func'), $settings.delay); 75 | }; 76 | 77 | // Perform counts when the element gets into view 78 | $this.waypoint(counterUpper, { offset: '100%', triggerOnce: true }); 79 | }); 80 | 81 | }; 82 | 83 | })( jQuery ); -------------------------------------------------------------------------------- /static/doc/syntax-highlighter/scripts/shBrushBash.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | var keywords = 'if fi then elif else for do done until while break continue case function return in eq ne ge le'; 25 | var commands = 'alias apropos awk basename bash bc bg builtin bzip2 cal cat cd cfdisk chgrp chmod chown chroot' + 26 | 'cksum clear cmp comm command cp cron crontab csplit cut date dc dd ddrescue declare df ' + 27 | 'diff diff3 dig dir dircolors dirname dirs du echo egrep eject enable env ethtool eval ' + 28 | 'exec exit expand export expr false fdformat fdisk fg fgrep file find fmt fold format ' + 29 | 'free fsck ftp gawk getopts grep groups gzip hash head history hostname id ifconfig ' + 30 | 'import install join kill less let ln local locate logname logout look lpc lpr lprint ' + 31 | 'lprintd lprintq lprm ls lsof make man mkdir mkfifo mkisofs mknod more mount mtools ' + 32 | 'mv netstat nice nl nohup nslookup open op passwd paste pathchk ping popd pr printcap ' + 33 | 'printenv printf ps pushd pwd quota quotacheck quotactl ram rcp read readonly renice ' + 34 | 'remsync rm rmdir rsync screen scp sdiff sed select seq set sftp shift shopt shutdown ' + 35 | 'sleep sort source split ssh strace su sudo sum symlink sync tail tar tee test time ' + 36 | 'times touch top traceroute trap tr true tsort tty type ulimit umask umount unalias ' + 37 | 'uname unexpand uniq units unset unshar useradd usermod users uuencode uudecode v vdir ' + 38 | 'vi watch wc whereis which who whoami Wget xargs yes' 39 | ; 40 | 41 | this.regexList = [ 42 | { regex: /^#!.*$/gm, css: 'preprocessor bold' }, 43 | { regex: /\/[\w-\/]+/gm, css: 'plain' }, 44 | { regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // one line comments 45 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings 46 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings 47 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords 48 | { regex: new RegExp(this.getKeywords(commands), 'gm'), css: 'functions' } // commands 49 | ]; 50 | } 51 | 52 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 53 | Brush.aliases = ['bash', 'shell']; 54 | 55 | SyntaxHighlighter.brushes.Bash = Brush; 56 | 57 | // CommonJS 58 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 59 | })(); 60 | -------------------------------------------------------------------------------- /static/doc/syntax-highlighter/styles/shThemeDefault.css: -------------------------------------------------------------------------------- 1 | 2 | .syntaxhighlighter { 3 | background-color: white !important; 4 | max-height:450px; 5 | } 6 | .syntaxhighlighter .line.alt1 { 7 | background-color: white !important; 8 | } 9 | .syntaxhighlighter .line.alt2 { 10 | background-color: white !important; 11 | } 12 | .syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 { 13 | background-color: #e0e0e0 !important; 14 | } 15 | .syntaxhighlighter .line.highlighted.number { 16 | color: black !important; 17 | } 18 | .syntaxhighlighter table caption { 19 | color: black !important; 20 | } 21 | .syntaxhighlighter .gutter { 22 | color: #afafaf !important; 23 | } 24 | .syntaxhighlighter .gutter .line { 25 | border-right: 3px solid #6ce26c !important; 26 | } 27 | .syntaxhighlighter .gutter .line.highlighted { 28 | background-color: #6ce26c !important; 29 | color: white !important; 30 | } 31 | .syntaxhighlighter.printing .line .content { 32 | border: none !important; 33 | } 34 | .syntaxhighlighter.collapsed { 35 | overflow: visible !important; 36 | } 37 | .syntaxhighlighter.collapsed .toolbar { 38 | color: blue !important; 39 | background: white !important; 40 | border: 1px solid #6ce26c !important; 41 | } 42 | .syntaxhighlighter.collapsed .toolbar a { 43 | color: blue !important; 44 | } 45 | .syntaxhighlighter.collapsed .toolbar a:hover { 46 | color: red !important; 47 | } 48 | .syntaxhighlighter .toolbar { 49 | color: white !important; 50 | background: #6ce26c !important; 51 | border: none !important; 52 | } 53 | .syntaxhighlighter .toolbar a { 54 | color: white !important; 55 | } 56 | .syntaxhighlighter .toolbar a:hover { 57 | color: black !important; 58 | } 59 | .syntaxhighlighter .plain, .syntaxhighlighter .plain a { 60 | color: black !important; 61 | } 62 | .syntaxhighlighter .comments, .syntaxhighlighter .comments a { 63 | color: #008200 !important; 64 | } 65 | .syntaxhighlighter .string, .syntaxhighlighter .string a { 66 | color: blue !important; 67 | } 68 | .syntaxhighlighter .keyword { 69 | color: #006699 !important; 70 | } 71 | .syntaxhighlighter .preprocessor { 72 | color: gray !important; 73 | } 74 | .syntaxhighlighter .variable { 75 | color: #aa7700 !important; 76 | } 77 | .syntaxhighlighter .value { 78 | color: #009900 !important; 79 | } 80 | .syntaxhighlighter .functions { 81 | color: #ff1493 !important; 82 | } 83 | .syntaxhighlighter .constants { 84 | color: #0066cc !important; 85 | } 86 | .syntaxhighlighter .script { 87 | font-weight: bold !important; 88 | color: #006699 !important; 89 | background-color: none !important; 90 | } 91 | .syntaxhighlighter .color1, .syntaxhighlighter .color1 a { 92 | color: gray !important; 93 | } 94 | .syntaxhighlighter .color2, .syntaxhighlighter .color2 a { 95 | color: #ff1493 !important; 96 | } 97 | .syntaxhighlighter .color3, .syntaxhighlighter .color3 a { 98 | color: red !important; 99 | } 100 | 101 | .syntaxhighlighter .keyword { 102 | font-weight: bold !important; 103 | } 104 | -------------------------------------------------------------------------------- /static/doc/syntax-highlighter/styles/shThemeFadeToGrey.css: -------------------------------------------------------------------------------- 1 | 2 | .syntaxhighlighter { 3 | background-color: #121212 !important; 4 | } 5 | .syntaxhighlighter .line.alt1 { 6 | background-color: #121212 !important; 7 | } 8 | .syntaxhighlighter .line.alt2 { 9 | background-color: #121212 !important; 10 | } 11 | .syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 { 12 | background-color: #2c2c29 !important; 13 | } 14 | .syntaxhighlighter .line.highlighted.number { 15 | color: white !important; 16 | } 17 | .syntaxhighlighter table caption { 18 | color: white !important; 19 | } 20 | .syntaxhighlighter .gutter { 21 | color: #afafaf !important; 22 | } 23 | .syntaxhighlighter .gutter .line { 24 | border-right: 3px solid #3185b9 !important; 25 | } 26 | .syntaxhighlighter .gutter .line.highlighted { 27 | background-color: #3185b9 !important; 28 | color: #121212 !important; 29 | } 30 | .syntaxhighlighter.printing .line .content { 31 | border: none !important; 32 | } 33 | .syntaxhighlighter.collapsed { 34 | overflow: visible !important; 35 | } 36 | .syntaxhighlighter.collapsed .toolbar { 37 | color: #3185b9 !important; 38 | background: black !important; 39 | border: 1px solid #3185b9 !important; 40 | } 41 | .syntaxhighlighter.collapsed .toolbar a { 42 | color: #3185b9 !important; 43 | } 44 | .syntaxhighlighter.collapsed .toolbar a:hover { 45 | color: #d01d33 !important; 46 | } 47 | .syntaxhighlighter .toolbar { 48 | color: white !important; 49 | background: #3185b9 !important; 50 | border: none !important; 51 | } 52 | .syntaxhighlighter .toolbar a { 53 | color: white !important; 54 | } 55 | .syntaxhighlighter .toolbar a:hover { 56 | color: #96daff !important; 57 | } 58 | .syntaxhighlighter .plain, .syntaxhighlighter .plain a { 59 | color: white !important; 60 | } 61 | .syntaxhighlighter .comments, .syntaxhighlighter .comments a { 62 | color: #696854 !important; 63 | } 64 | .syntaxhighlighter .string, .syntaxhighlighter .string a { 65 | color: #e3e658 !important; 66 | } 67 | .syntaxhighlighter .keyword { 68 | color: #d01d33 !important; 69 | } 70 | .syntaxhighlighter .preprocessor { 71 | color: #435a5f !important; 72 | } 73 | .syntaxhighlighter .variable { 74 | color: #898989 !important; 75 | } 76 | .syntaxhighlighter .value { 77 | color: #009900 !important; 78 | } 79 | .syntaxhighlighter .functions { 80 | color: #aaaaaa !important; 81 | } 82 | .syntaxhighlighter .constants { 83 | color: #96daff !important; 84 | } 85 | .syntaxhighlighter .script { 86 | font-weight: bold !important; 87 | color: #d01d33 !important; 88 | background-color: none !important; 89 | } 90 | .syntaxhighlighter .color1, .syntaxhighlighter .color1 a { 91 | color: #ffc074 !important; 92 | } 93 | .syntaxhighlighter .color2, .syntaxhighlighter .color2 a { 94 | color: #4a8cdb !important; 95 | } 96 | .syntaxhighlighter .color3, .syntaxhighlighter .color3 a { 97 | color: #96daff !important; 98 | } 99 | 100 | .syntaxhighlighter .functions { 101 | font-weight: bold !important; 102 | } 103 | -------------------------------------------------------------------------------- /templates/parkinson/result.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Result 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
    30 |

    Your Result

    31 |
    32 | 33 | 34 | 35 | 36 | 37 |
    38 |
    39 |
    40 |
    41 |
    42 |




    {{pred}}

    43 |

    {{pred1}}

    44 |

    {{pred2}}

    45 |
    46 |
    47 | 48 |
    49 |
    50 |
    51 |
    52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | -------------------------------------------------------------------------------- /static/doc/syntax-highlighter/styles/shThemeDjango.css: -------------------------------------------------------------------------------- 1 | 2 | .syntaxhighlighter { 3 | background-color: #0a2b1d !important; 4 | } 5 | .syntaxhighlighter .line.alt1 { 6 | background-color: #0a2b1d !important; 7 | } 8 | .syntaxhighlighter .line.alt2 { 9 | background-color: #0a2b1d !important; 10 | } 11 | .syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 { 12 | background-color: #233729 !important; 13 | } 14 | .syntaxhighlighter .line.highlighted.number { 15 | color: white !important; 16 | } 17 | .syntaxhighlighter table caption { 18 | color: #f8f8f8 !important; 19 | } 20 | .syntaxhighlighter .gutter { 21 | color: #497958 !important; 22 | } 23 | .syntaxhighlighter .gutter .line { 24 | border-right: 3px solid #41a83e !important; 25 | } 26 | .syntaxhighlighter .gutter .line.highlighted { 27 | background-color: #41a83e !important; 28 | color: #0a2b1d !important; 29 | } 30 | .syntaxhighlighter.printing .line .content { 31 | border: none !important; 32 | } 33 | .syntaxhighlighter.collapsed { 34 | overflow: visible !important; 35 | } 36 | .syntaxhighlighter.collapsed .toolbar { 37 | color: #96dd3b !important; 38 | background: black !important; 39 | border: 1px solid #41a83e !important; 40 | } 41 | .syntaxhighlighter.collapsed .toolbar a { 42 | color: #96dd3b !important; 43 | } 44 | .syntaxhighlighter.collapsed .toolbar a:hover { 45 | color: white !important; 46 | } 47 | .syntaxhighlighter .toolbar { 48 | color: white !important; 49 | background: #41a83e !important; 50 | border: none !important; 51 | } 52 | .syntaxhighlighter .toolbar a { 53 | color: white !important; 54 | } 55 | .syntaxhighlighter .toolbar a:hover { 56 | color: #ffe862 !important; 57 | } 58 | .syntaxhighlighter .plain, .syntaxhighlighter .plain a { 59 | color: #f8f8f8 !important; 60 | } 61 | .syntaxhighlighter .comments, .syntaxhighlighter .comments a { 62 | color: #336442 !important; 63 | } 64 | .syntaxhighlighter .string, .syntaxhighlighter .string a { 65 | color: #9df39f !important; 66 | } 67 | .syntaxhighlighter .keyword { 68 | color: #96dd3b !important; 69 | } 70 | .syntaxhighlighter .preprocessor { 71 | color: #91bb9e !important; 72 | } 73 | .syntaxhighlighter .variable { 74 | color: #ffaa3e !important; 75 | } 76 | .syntaxhighlighter .value { 77 | color: #f7e741 !important; 78 | } 79 | .syntaxhighlighter .functions { 80 | color: #ffaa3e !important; 81 | } 82 | .syntaxhighlighter .constants { 83 | color: #e0e8ff !important; 84 | } 85 | .syntaxhighlighter .script { 86 | font-weight: bold !important; 87 | color: #96dd3b !important; 88 | background-color: none !important; 89 | } 90 | .syntaxhighlighter .color1, .syntaxhighlighter .color1 a { 91 | color: #eb939a !important; 92 | } 93 | .syntaxhighlighter .color2, .syntaxhighlighter .color2 a { 94 | color: #91bb9e !important; 95 | } 96 | .syntaxhighlighter .color3, .syntaxhighlighter .color3 a { 97 | color: #edef7d !important; 98 | } 99 | 100 | .syntaxhighlighter .comments { 101 | font-style: italic !important; 102 | } 103 | .syntaxhighlighter .keyword { 104 | font-weight: bold !important; 105 | } 106 | -------------------------------------------------------------------------------- /static/scss/_footer.scss: -------------------------------------------------------------------------------- 1 | /*============== footer-area css ===============*/ 2 | 3 | .footer-area { 4 | background-color: #000000; 5 | h4 { 6 | padding-bottom: 10px; 7 | } 8 | .number { 9 | color: #ffffff; 10 | font-size: 24px; 11 | font-weight: 600; 12 | line-height: 30px; 13 | margin: 0; 14 | } 15 | .genric-btn { 16 | @extend .gradient-bg; 17 | color: #ffffff; 18 | border: none; 19 | border-radius: 57px; 20 | height: 34px; 21 | line-height: 34px; 22 | margin: 2px; 23 | } 24 | .primary-btn { 25 | background-color: $primary-color; 26 | } 27 | .primary-btn:hover { 28 | .lnr { 29 | color: $primary-color; 30 | } 31 | } 32 | .single-footer-widget { 33 | @media(max-width: 768px) { 34 | .newsletter .primary-btn { 35 | right: 2% !important; 36 | width: auto; 37 | right: 0; 38 | top: 5px; 39 | transform: translate(0%, 0); 40 | } 41 | } 42 | } 43 | } 44 | 45 | .single-footer-widget { 46 | .navbar-form { 47 | width: 100%; 48 | .form-control { 49 | border: none; 50 | border-radius: 20px; 51 | font-size: 13px; 52 | background: transparent; 53 | color: #ffffff; 54 | padding: 0 20px; 55 | &:focus { 56 | box-shadow: none; 57 | } 58 | } 59 | input { 60 | @include placeholder { 61 | font-size: 14px; 62 | color: #999999; 63 | } 64 | } 65 | .add-on { 66 | border-radius: 20px; 67 | border: 1px solid #555555; 68 | } 69 | .genric-btn { 70 | &:hover { 71 | background-color: $primary-color; 72 | .lnr { 73 | color: #ffffff; 74 | } 75 | } 76 | } 77 | .lnr { 78 | font-weight: 900; 79 | font-size: 18px !important; 80 | color: #ffffff; 81 | } 82 | } 83 | } 84 | 85 | .footer_top { 86 | background: url(../img/footer-bg.jpg) no-repeat scroll center center; 87 | background-size: cover; 88 | } 89 | 90 | .footer-bottom { 91 | background: #222222; 92 | padding: 13px 0; 93 | a { 94 | color: $primary-color; 95 | } 96 | .footer-social { 97 | text-align: right; 98 | a { 99 | background: #2b2b2b; 100 | width: 30px; 101 | height: 30px; 102 | line-height: 30px; 103 | margin-left: 4px; 104 | padding: 0px 9px; 105 | @include transition(); 106 | color: #ffffff; 107 | &:hover { 108 | @extend .gradient-bg; 109 | } 110 | @media (max-width: 461px) { 111 | margin-left: 0; 112 | margin-right: 4px; 113 | } 114 | } 115 | i { 116 | color: #cccccc; 117 | @include transition(); 118 | } 119 | @media (max-width: 991px) { 120 | text-align: left; 121 | } 122 | } 123 | } 124 | .footer-text { 125 | margin-bottom: 0; 126 | @media (max-width: 420px) { 127 | margin-bottom: 15px; 128 | text-align: left; 129 | } 130 | } -------------------------------------------------------------------------------- /static/doc/syntax-highlighter/scripts/shBrushGroovy.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | // Contributed by Andres Almiray 25 | // http://jroller.com/aalmiray/entry/nice_source_code_syntax_highlighter 26 | 27 | var keywords = 'as assert break case catch class continue def default do else extends finally ' + 28 | 'if in implements import instanceof interface new package property return switch ' + 29 | 'throw throws try while public protected private static'; 30 | var types = 'void boolean byte char short int long float double'; 31 | var constants = 'null'; 32 | var methods = 'allProperties count get size '+ 33 | 'collect each eachProperty eachPropertyName eachWithIndex find findAll ' + 34 | 'findIndexOf grep inject max min reverseEach sort ' + 35 | 'asImmutable asSynchronized flatten intersect join pop reverse subMap toList ' + 36 | 'padRight padLeft contains eachMatch toCharacter toLong toUrl tokenize ' + 37 | 'eachFile eachFileRecurse eachB yte eachLine readBytes readLine getText ' + 38 | 'splitEachLine withReader append encodeBase64 decodeBase64 filterLine ' + 39 | 'transformChar transformLine withOutputStream withPrintWriter withStream ' + 40 | 'withStreams withWriter withWriterAppend write writeLine '+ 41 | 'dump inspect invokeMethod print println step times upto use waitForOrKill '+ 42 | 'getText'; 43 | 44 | this.regexList = [ 45 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments 46 | { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments 47 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings 48 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings 49 | { regex: /""".*"""/g, css: 'string' }, // GStrings 50 | { regex: new RegExp('\\b([\\d]+(\\.[\\d]+)?|0x[a-f0-9]+)\\b', 'gi'), css: 'value' }, // numbers 51 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // goovy keyword 52 | { regex: new RegExp(this.getKeywords(types), 'gm'), css: 'color1' }, // goovy/java type 53 | { regex: new RegExp(this.getKeywords(constants), 'gm'), css: 'constants' }, // constants 54 | { regex: new RegExp(this.getKeywords(methods), 'gm'), css: 'functions' } // methods 55 | ]; 56 | 57 | this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags); 58 | } 59 | 60 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 61 | Brush.aliases = ['groovy']; 62 | 63 | SyntaxHighlighter.brushes.Groovy = Brush; 64 | 65 | // CommonJS 66 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 67 | })(); 68 | -------------------------------------------------------------------------------- /static/scss/_predefine.scss: -------------------------------------------------------------------------------- 1 | .section_gap { 2 | padding: 120px 0; 3 | @media (max-width: 767px) { 4 | padding: 60px 0; 5 | } 6 | } 7 | 8 | .section_gap_top { 9 | padding-top: 120px; 10 | @media (max-width: 767px) { 11 | padding-top: 60px; 12 | } 13 | } 14 | 15 | .section_gap_bottom { 16 | padding-bottom: 120px; 17 | @media (max-width: 767px) { 18 | padding-bottom: 60px; 19 | } 20 | } 21 | .lite_bg{ 22 | background: #f9f9f9; 23 | } 24 | 25 | /* Main Title Area css 26 | ============================================================================================ */ 27 | 28 | .main_title { 29 | text-align: center; 30 | margin-bottom: 75px; 31 | h2 { 32 | font-size: 36px; 33 | font-weight: 700; 34 | margin-bottom: 15px; 35 | } 36 | p { 37 | font-size: 14px; 38 | margin-bottom: 0px; 39 | font-weight: 300; 40 | max-width: 450px; 41 | margin: auto; 42 | } 43 | } 44 | 45 | /* End Main Title Area css 46 | ============================================================================================ */ 47 | 48 | /* Start Gradient Area css 49 | ============================================================================================ */ 50 | 51 | .gradient-bg { 52 | @include gradient(90deg, $primary-color 0%, $primary-color2 100%); 53 | } 54 | 55 | .gradient-bg2 { 56 | @include gradient(90deg, $primary-color 0%, $primary-color2 100%); 57 | } 58 | 59 | .gradient-color { 60 | @include gradient(90deg, $primary-color 0%, $primary-color2 100%); 61 | -webkit-background-clip: text; 62 | -webkit-text-fill-color: transparent; 63 | } 64 | 65 | /* End Gradient Area css 66 | ============================================================================================ */ 67 | 68 | /* Start Buttons Area css 69 | ============================================================================================ */ 70 | 71 | .primary-btn { 72 | display: inline-block; 73 | @include gradient2(to right, $primary-color 0%, $primary-color2 51%, $primary-color 100%); 74 | background-size: 200% auto; 75 | padding: 0px 38px; 76 | color: #fff; 77 | font-family: $primary-font; 78 | font-size: 13px; 79 | font-weight: 500; 80 | line-height: 50px; 81 | border-radius: 50px; 82 | outline: none !important; 83 | box-shadow: 0px 0px 15px rgba(108, 39, 255, 0.3); 84 | text-align: center; 85 | cursor: pointer; 86 | @include transition; 87 | &:hover { 88 | background-position: right center; 89 | color: #fff; 90 | } 91 | } 92 | 93 | /* End Buttons Area css 94 | ============================================================================================ */ 95 | 96 | 97 | /* Start Overlay css 98 | ============================================================================================ */ 99 | .overlay{ 100 | position: relative; 101 | } 102 | .overlay:after{ 103 | position: absolute; 104 | left: 0; 105 | top: 0; 106 | height: 100%; 107 | width: 100%; 108 | content: ""; 109 | z-index: -1; 110 | } 111 | 112 | /* End Overlay css 113 | ============================================================================================ */ -------------------------------------------------------------------------------- /static/doc/syntax-highlighter/scripts/shBrushSql.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | var funcs = 'abs avg case cast coalesce convert count current_timestamp ' + 25 | 'current_user day isnull left lower month nullif replace right ' + 26 | 'session_user space substring sum system_user upper user year'; 27 | 28 | var keywords = 'absolute action add after alter as asc at authorization begin bigint ' + 29 | 'binary bit by cascade char character check checkpoint close collate ' + 30 | 'column commit committed connect connection constraint contains continue ' + 31 | 'create cube current current_date current_time cursor database date ' + 32 | 'deallocate dec decimal declare default delete desc distinct double drop ' + 33 | 'dynamic else end end-exec escape except exec execute false fetch first ' + 34 | 'float for force foreign forward free from full function global goto grant ' + 35 | 'group grouping having hour ignore index inner insensitive insert instead ' + 36 | 'int integer intersect into is isolation key last level load local max min ' + 37 | 'minute modify move name national nchar next no numeric of off on only ' + 38 | 'open option order out output partial password precision prepare primary ' + 39 | 'prior privileges procedure public read real references relative repeatable ' + 40 | 'restrict return returns revoke rollback rollup rows rule schema scroll ' + 41 | 'second section select sequence serializable set size smallint static ' + 42 | 'statistics table temp temporary then time timestamp to top transaction ' + 43 | 'translation trigger true truncate uncommitted union unique update values ' + 44 | 'varchar varying view when where with work'; 45 | 46 | var operators = 'all and any between cross in join like not null or outer some'; 47 | 48 | this.regexList = [ 49 | { regex: /--(.*)$/gm, css: 'comments' }, // one line and multiline comments 50 | { regex: SyntaxHighlighter.regexLib.multiLineDoubleQuotedString, css: 'string' }, // double quoted strings 51 | { regex: SyntaxHighlighter.regexLib.multiLineSingleQuotedString, css: 'string' }, // single quoted strings 52 | { regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'color2' }, // functions 53 | { regex: new RegExp(this.getKeywords(operators), 'gmi'), css: 'color1' }, // operators and such 54 | { regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' } // keyword 55 | ]; 56 | }; 57 | 58 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 59 | Brush.aliases = ['sql']; 60 | 61 | SyntaxHighlighter.brushes.Sql = Brush; 62 | 63 | // CommonJS 64 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 65 | })(); 66 | 67 | -------------------------------------------------------------------------------- /static/js/contact.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function(){ 2 | 3 | (function($) { 4 | "use strict"; 5 | 6 | 7 | jQuery.validator.addMethod('answercheck', function (value, element) { 8 | return this.optional(element) || /^\bcat\b$/.test(value) 9 | }, "type the correct answer -_-"); 10 | 11 | // validate contactForm form 12 | $(function() { 13 | $('#contactForm').validate({ 14 | rules: { 15 | name: { 16 | required: true, 17 | minlength: 2 18 | }, 19 | subject: { 20 | required: true, 21 | minlength: 4 22 | }, 23 | number: { 24 | required: true, 25 | minlength: 5 26 | }, 27 | email: { 28 | required: true, 29 | email: true 30 | }, 31 | message: { 32 | required: true, 33 | minlength: 20 34 | } 35 | }, 36 | messages: { 37 | name: { 38 | required: "come on, you have a name, don't you?", 39 | minlength: "your name must consist of at least 2 characters" 40 | }, 41 | subject: { 42 | required: "come on, you have a subject, don't you?", 43 | minlength: "your subject must consist of at least 4 characters" 44 | }, 45 | number: { 46 | required: "come on, you have a number, don't you?", 47 | minlength: "your Number must consist of at least 5 characters" 48 | }, 49 | email: { 50 | required: "no email, no message" 51 | }, 52 | message: { 53 | required: "um...yea, you have to write something to send this form.", 54 | minlength: "thats all? really?" 55 | } 56 | }, 57 | submitHandler: function(form) { 58 | $(form).ajaxSubmit({ 59 | type:"POST", 60 | data: $(form).serialize(), 61 | url:"contact_process.php", 62 | success: function() { 63 | $('#contactForm :input').attr('disabled', 'disabled'); 64 | $('#contactForm').fadeTo( "slow", 1, function() { 65 | $(this).find(':input').attr('disabled', 'disabled'); 66 | $(this).find('label').css('cursor','default'); 67 | $('#success').fadeIn() 68 | $('.modal').modal('hide'); 69 | $('#success').modal('show'); 70 | }) 71 | }, 72 | error: function() { 73 | $('#contactForm').fadeTo( "slow", 1, function() { 74 | $('#error').fadeIn() 75 | $('.modal').modal('hide'); 76 | $('#error').modal('show'); 77 | }) 78 | } 79 | }) 80 | } 81 | }) 82 | }) 83 | 84 | })(jQuery) 85 | }) -------------------------------------------------------------------------------- /static/doc/syntax-highlighter/styles/shThemeEclipse.css: -------------------------------------------------------------------------------- 1 | 2 | .syntaxhighlighter { 3 | background-color: white !important; 4 | } 5 | .syntaxhighlighter .line.alt1 { 6 | background-color: white !important; 7 | } 8 | .syntaxhighlighter .line.alt2 { 9 | background-color: white !important; 10 | } 11 | .syntaxhighlighter .line.highlighted.alt1, .syntaxhighlighter .line.highlighted.alt2 { 12 | background-color: #c3defe !important; 13 | } 14 | .syntaxhighlighter .line.highlighted.number { 15 | color: white !important; 16 | } 17 | .syntaxhighlighter table caption { 18 | color: black !important; 19 | } 20 | .syntaxhighlighter .gutter { 21 | color: #787878 !important; 22 | } 23 | .syntaxhighlighter .gutter .line { 24 | border-right: 3px solid #d4d0c8 !important; 25 | } 26 | .syntaxhighlighter .gutter .line.highlighted { 27 | background-color: #d4d0c8 !important; 28 | color: white !important; 29 | } 30 | .syntaxhighlighter.printing .line .content { 31 | border: none !important; 32 | } 33 | .syntaxhighlighter.collapsed { 34 | overflow: visible !important; 35 | } 36 | .syntaxhighlighter.collapsed .toolbar { 37 | color: #3f5fbf !important; 38 | background: white !important; 39 | border: 1px solid #d4d0c8 !important; 40 | } 41 | .syntaxhighlighter.collapsed .toolbar a { 42 | color: #3f5fbf !important; 43 | } 44 | .syntaxhighlighter.collapsed .toolbar a:hover { 45 | color: #aa7700 !important; 46 | } 47 | .syntaxhighlighter .toolbar { 48 | color: #a0a0a0 !important; 49 | background: #d4d0c8 !important; 50 | border: none !important; 51 | } 52 | .syntaxhighlighter .toolbar a { 53 | color: #a0a0a0 !important; 54 | } 55 | .syntaxhighlighter .toolbar a:hover { 56 | color: red !important; 57 | } 58 | .syntaxhighlighter .plain, .syntaxhighlighter .plain a { 59 | color: black !important; 60 | } 61 | .syntaxhighlighter .comments, .syntaxhighlighter .comments a { 62 | color: #3f5fbf !important; 63 | } 64 | .syntaxhighlighter .string, .syntaxhighlighter .string a { 65 | color: #2a00ff !important; 66 | } 67 | .syntaxhighlighter .keyword { 68 | color: #7f0055 !important; 69 | } 70 | .syntaxhighlighter .preprocessor { 71 | color: #646464 !important; 72 | } 73 | .syntaxhighlighter .variable { 74 | color: #aa7700 !important; 75 | } 76 | .syntaxhighlighter .value { 77 | color: #009900 !important; 78 | } 79 | .syntaxhighlighter .functions { 80 | color: #ff1493 !important; 81 | } 82 | .syntaxhighlighter .constants { 83 | color: #0066cc !important; 84 | } 85 | .syntaxhighlighter .script { 86 | font-weight: bold !important; 87 | color: #7f0055 !important; 88 | background-color: none !important; 89 | } 90 | .syntaxhighlighter .color1, .syntaxhighlighter .color1 a { 91 | color: gray !important; 92 | } 93 | .syntaxhighlighter .color2, .syntaxhighlighter .color2 a { 94 | color: #ff1493 !important; 95 | } 96 | .syntaxhighlighter .color3, .syntaxhighlighter .color3 a { 97 | color: red !important; 98 | } 99 | 100 | .syntaxhighlighter .keyword { 101 | font-weight: bold !important; 102 | } 103 | .syntaxhighlighter .xml .keyword { 104 | color: #3f7f7f !important; 105 | font-weight: normal !important; 106 | } 107 | .syntaxhighlighter .xml .color1, .syntaxhighlighter .xml .color1 a { 108 | color: #7f007f !important; 109 | } 110 | .syntaxhighlighter .xml .string { 111 | font-style: italic !important; 112 | color: #2a00ff !important; 113 | } 114 | -------------------------------------------------------------------------------- /static/doc/syntax-highlighter/scripts/shBrushPerl.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | // Contributed by David Simmons-Duffin and Marty Kube 25 | 26 | var funcs = 27 | 'abs accept alarm atan2 bind binmode chdir chmod chomp chop chown chr ' + 28 | 'chroot close closedir connect cos crypt defined delete each endgrent ' + 29 | 'endhostent endnetent endprotoent endpwent endservent eof exec exists ' + 30 | 'exp fcntl fileno flock fork format formline getc getgrent getgrgid ' + 31 | 'getgrnam gethostbyaddr gethostbyname gethostent getlogin getnetbyaddr ' + 32 | 'getnetbyname getnetent getpeername getpgrp getppid getpriority ' + 33 | 'getprotobyname getprotobynumber getprotoent getpwent getpwnam getpwuid ' + 34 | 'getservbyname getservbyport getservent getsockname getsockopt glob ' + 35 | 'gmtime grep hex index int ioctl join keys kill lc lcfirst length link ' + 36 | 'listen localtime lock log lstat map mkdir msgctl msgget msgrcv msgsnd ' + 37 | 'oct open opendir ord pack pipe pop pos print printf prototype push ' + 38 | 'quotemeta rand read readdir readline readlink readpipe recv rename ' + 39 | 'reset reverse rewinddir rindex rmdir scalar seek seekdir select semctl ' + 40 | 'semget semop send setgrent sethostent setnetent setpgrp setpriority ' + 41 | 'setprotoent setpwent setservent setsockopt shift shmctl shmget shmread ' + 42 | 'shmwrite shutdown sin sleep socket socketpair sort splice split sprintf ' + 43 | 'sqrt srand stat study substr symlink syscall sysopen sysread sysseek ' + 44 | 'system syswrite tell telldir time times tr truncate uc ucfirst umask ' + 45 | 'undef unlink unpack unshift utime values vec wait waitpid warn write'; 46 | 47 | var keywords = 48 | 'bless caller continue dbmclose dbmopen die do dump else elsif eval exit ' + 49 | 'for foreach goto if import last local my next no our package redo ref ' + 50 | 'require return sub tie tied unless untie until use wantarray while'; 51 | 52 | this.regexList = [ 53 | { regex: new RegExp('#[^!].*$', 'gm'), css: 'comments' }, 54 | { regex: new RegExp('^\\s*#!.*$', 'gm'), css: 'preprocessor' }, // shebang 55 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, 56 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, 57 | { regex: new RegExp('(\\$|@|%)\\w+', 'g'), css: 'variable' }, 58 | { regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' }, 59 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } 60 | ]; 61 | 62 | this.forHtmlScript(SyntaxHighlighter.regexLib.phpScriptTags); 63 | } 64 | 65 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 66 | Brush.aliases = ['perl', 'Perl', 'pl']; 67 | 68 | SyntaxHighlighter.brushes.Perl = Brush; 69 | 70 | // CommonJS 71 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 72 | })(); 73 | -------------------------------------------------------------------------------- /static/scss/_contact.scss: -------------------------------------------------------------------------------- 1 | /*============== contact_area css ================*/ 2 | 3 | .contact_area {} 4 | 5 | .mapBox { 6 | height: 420px; 7 | margin-bottom: 80px; 8 | } 9 | 10 | .contact_info { 11 | .info_item { 12 | position: relative; 13 | padding-left: 45px; 14 | i { 15 | position: absolute; 16 | left: 0; 17 | top: 0; 18 | font-size: 20px; 19 | line-height: 24px; 20 | color: $primary-color; 21 | font-weight: 600; 22 | } 23 | h6 { 24 | font-size: 16px; 25 | line-height: 24px; 26 | color: $primary-font; 27 | font-weight: bold; 28 | margin-bottom: 0px; 29 | color: $title-color; 30 | a { 31 | color: $title-color; 32 | } 33 | } 34 | p { 35 | font-size: 14px; 36 | line-height: 24px; 37 | padding: 2px 0px; 38 | } 39 | } 40 | } 41 | 42 | .contact_form { 43 | .form-group { 44 | margin-bottom: 10px; 45 | .form-control { 46 | font-size: 13px; 47 | line-height: 26px; 48 | color: #999; 49 | border: 1px solid #eeeeee; 50 | font-family: $primary-font; 51 | border-radius: 0px; 52 | padding-left: 20px; 53 | &:focus { 54 | box-shadow: none; 55 | outline: none; 56 | } 57 | @include placeholder { 58 | color: #999; 59 | } 60 | } 61 | textarea { 62 | resize: none; 63 | &.form-control { 64 | height: 134px; 65 | } 66 | } 67 | } 68 | .primary-btn { 69 | margin-top: 20px; 70 | border: 0; 71 | } 72 | } 73 | 74 | /* Contact Success and error Area css 75 | ============================================================================================ */ 76 | 77 | .modal-message { 78 | .modal-dialog { 79 | position: absolute; 80 | top: 36%; 81 | left: 50%; 82 | transform: translateX(-50%) translateY(-50%) !important; 83 | margin: 0px; 84 | max-width: 500px; 85 | width: 100%; 86 | .modal-content { 87 | .modal-header { 88 | text-align: center; 89 | display: block; 90 | border-bottom: none; 91 | padding-top: 50px; 92 | padding-bottom: 50px; 93 | .close { 94 | position: absolute; 95 | right: -15px; 96 | top: -15px; 97 | padding: 0px; 98 | color: #fff; 99 | opacity: 1; 100 | cursor: pointer; 101 | } 102 | h2 { 103 | display: block; 104 | text-align: center; 105 | color: $primary-color; 106 | padding-bottom: 10px; 107 | font-family: $primary-font; 108 | } 109 | p { 110 | display: block; 111 | } 112 | } 113 | } 114 | } 115 | } 116 | 117 | /* End Contact Success and error Area css 118 | ============================================================================================ */ -------------------------------------------------------------------------------- /static/scss/_banner.scss: -------------------------------------------------------------------------------- 1 | /* Home Banner Area css 2 | ============================================================================================ */ 3 | 4 | .home_banner_area { 5 | z-index: 1; 6 | min-height: 900px; 7 | display: flex; 8 | background: url(../img/banner/home-banner.jpg) no-repeat scroll center center; 9 | background-size: cover; 10 | .banner_inner { 11 | width: 100%; 12 | display: flex; 13 | .container { 14 | vertical-align: middle; 15 | align-self: center; 16 | } 17 | .banner_content { 18 | color: #fff; 19 | h2 { 20 | margin-top: 0px; 21 | font-size: 48px; 22 | font-weight: 700; 23 | font-family: $title-font; 24 | line-height: 54px; 25 | color: #fff; 26 | } 27 | p { 28 | max-width: 680px; 29 | font-size: 16px; 30 | margin: 25px 0px 45px; 31 | @media (max-width: 991px) { 32 | max-width: 460px; 33 | } 34 | } 35 | } 36 | } 37 | } 38 | 39 | .blog_banner { 40 | min-height: 780px; 41 | position: relative; 42 | z-index: 1; 43 | overflow: hidden; 44 | margin-bottom: 0px; 45 | .banner_inner { 46 | background: #04091e; 47 | position: relative; 48 | overflow: hidden; 49 | width: 100%; 50 | min-height: 780px; 51 | z-index: 1; 52 | .overlay { 53 | background: url(../img/banner/banner-2.jpg) no-repeat scroll center center; 54 | opacity: 0.5; 55 | height: 125%; 56 | position: absolute; 57 | left: 0px; 58 | top: 0px; 59 | width: 100%; 60 | z-index: -1; 61 | } 62 | .blog_b_text { 63 | max-width: 700px; 64 | margin: auto; 65 | color: #fff; 66 | margin-top: 40px; 67 | h2 { 68 | font-size: 60px; 69 | font-weight: 500; 70 | font-family: $primary-font; 71 | line-height: 66px; 72 | margin-bottom: 15px; 73 | } 74 | p { 75 | font-size: 16px; 76 | margin-bottom: 35px; 77 | } 78 | .white_bg_btn { 79 | line-height: 42px; 80 | padding: 0px 45px; 81 | } 82 | } 83 | } 84 | } 85 | 86 | .banner_area { 87 | position: relative; 88 | z-index: 1; 89 | min-height: 344px; 90 | .banner_inner { 91 | position: relative; 92 | background: url(../img/banner/banner.jpg) no-repeat center center; 93 | width: 100%; 94 | min-height: 344px; 95 | z-index: 1; 96 | .banner_content { 97 | h2 { 98 | color: #fff; 99 | font-size: 48px; 100 | margin-bottom: 0px; 101 | font-weight: 700; 102 | } 103 | .page_link { 104 | a { 105 | font-size: 14px; 106 | color: #fff; 107 | font-family: $primary-font; 108 | margin-right: 30px; 109 | position: relative; 110 | text-transform: capitalize; 111 | &:before { 112 | content: "\f178"; 113 | font: normal normal normal 14px/1 FontAwesome; 114 | position: absolute; 115 | right: -25px; 116 | top: 50%; 117 | transform: translateY(-50%); 118 | } 119 | &:last-child { 120 | margin-right: 0px; 121 | &:before { 122 | display: none; 123 | } 124 | } 125 | } 126 | } 127 | } 128 | } 129 | } 130 | 131 | /* End Home Banner Area css 132 | ============================================================================================ */ 133 | -------------------------------------------------------------------------------- /static/vendors/bootstrap-datepicker/bootstrap-select.css: -------------------------------------------------------------------------------- 1 | select { 2 | display: none; } 3 | 4 | .nice-select { 5 | -webkit-tap-highlight-color: transparent; 6 | background-color: #fff; 7 | border-radius: 5px; 8 | border: solid 1px #e8e8e8; 9 | box-sizing: border-box; 10 | clear: both; 11 | cursor: pointer; 12 | display: block; 13 | float: left; 14 | font-family: inherit; 15 | font-size: 14px; 16 | font-weight: normal; 17 | height: 42px; 18 | line-height: 40px; 19 | outline: none; 20 | padding-left: 18px; 21 | padding-right: 30px; 22 | position: relative; 23 | text-align: left !important; 24 | transition: all 0.2s ease-in-out; 25 | -webkit-user-select: none; 26 | -moz-user-select: none; 27 | -ms-user-select: none; 28 | user-select: none; 29 | white-space: nowrap; 30 | width: auto; } 31 | .nice-select:hover { 32 | border-color: #dbdbdb; } 33 | .nice-select:active, .nice-select.open, .nice-select:focus { 34 | border-color: #999; } 35 | .nice-select:after { 36 | border-bottom: 2px solid #999; 37 | border-right: 2px solid #999; 38 | content: ''; 39 | display: block; 40 | height: 5px; 41 | margin-top: -4px; 42 | pointer-events: none; 43 | position: absolute; 44 | right: 12px; 45 | top: 50%; 46 | -webkit-transform-origin: 66% 66%; 47 | transform-origin: 66% 66%; 48 | -webkit-transform: rotate(45deg); 49 | transform: rotate(45deg); 50 | transition: all 0.15s ease-in-out; 51 | width: 5px; } 52 | .nice-select.open:after { 53 | -webkit-transform: rotate(-135deg); 54 | transform: rotate(-135deg); } 55 | .nice-select.open .list { 56 | opacity: 1; 57 | pointer-events: auto; 58 | -webkit-transform: scale(1) translateY(0); 59 | transform: scale(1) translateY(0); } 60 | .nice-select.disabled { 61 | border-color: #ededed; 62 | color: #999; 63 | pointer-events: none; } 64 | .nice-select.disabled:after { 65 | border-color: #cccccc; } 66 | .nice-select.wide { 67 | width: 100%; } 68 | .nice-select.wide .list { 69 | left: 0 !important; 70 | right: 0 !important; } 71 | .nice-select.right { 72 | float: right; } 73 | .nice-select.right .list { 74 | left: auto; 75 | right: 0; } 76 | .nice-select.small { 77 | font-size: 12px; 78 | height: 36px; 79 | line-height: 34px; } 80 | .nice-select.small:after { 81 | height: 4px; 82 | width: 4px; } 83 | .nice-select.small .option { 84 | line-height: 34px; 85 | min-height: 34px; } 86 | .nice-select .list { 87 | background-color: #fff; 88 | border-radius: 5px; 89 | box-shadow: 0 0 0 1px rgba(68, 68, 68, 0.11); 90 | box-sizing: border-box; 91 | margin-top: 4px; 92 | opacity: 0; 93 | overflow: hidden; 94 | padding: 0; 95 | pointer-events: none; 96 | position: absolute; 97 | top: 100%; 98 | left: 0; 99 | -webkit-transform-origin: 50% 0; 100 | transform-origin: 50% 0; 101 | -webkit-transform: scale(0.75) translateY(-21px); 102 | transform: scale(0.75) translateY(-21px); 103 | transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out; 104 | z-index: 9; } 105 | .nice-select .list:hover .option:not(:hover) { 106 | background-color: transparent !important; } 107 | .nice-select .option { 108 | cursor: pointer; 109 | font-weight: 400; 110 | line-height: 40px; 111 | list-style: none; 112 | min-height: 40px; 113 | outline: none; 114 | padding-left: 18px; 115 | padding-right: 29px; 116 | text-align: left; 117 | transition: all 0.2s; } 118 | .nice-select .option:hover, .nice-select .option.focus, .nice-select .option.selected.focus { 119 | background-color: #f6f6f6; } 120 | .nice-select .option.selected { 121 | font-weight: bold; } -------------------------------------------------------------------------------- /static/doc/syntax-highlighter/scripts/shBrushPowerShell.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | // Contributes by B.v.Zanten, Getronics 25 | // http://confluence.atlassian.com/display/CONFEXT/New+Code+Macro 26 | 27 | var keywords = 'Add-Content Add-History Add-Member Add-PSSnapin Clear(-Content)? Clear-Item ' + 28 | 'Clear-ItemProperty Clear-Variable Compare-Object ConvertFrom-SecureString Convert-Path ' + 29 | 'ConvertTo-Html ConvertTo-SecureString Copy(-Item)? Copy-ItemProperty Export-Alias ' + 30 | 'Export-Clixml Export-Console Export-Csv ForEach(-Object)? Format-Custom Format-List ' + 31 | 'Format-Table Format-Wide Get-Acl Get-Alias Get-AuthenticodeSignature Get-ChildItem Get-Command ' + 32 | 'Get-Content Get-Credential Get-Culture Get-Date Get-EventLog Get-ExecutionPolicy ' + 33 | 'Get-Help Get-History Get-Host Get-Item Get-ItemProperty Get-Location Get-Member ' + 34 | 'Get-PfxCertificate Get-Process Get-PSDrive Get-PSProvider Get-PSSnapin Get-Service ' + 35 | 'Get-TraceSource Get-UICulture Get-Unique Get-Variable Get-WmiObject Group-Object ' + 36 | 'Import-Alias Import-Clixml Import-Csv Invoke-Expression Invoke-History Invoke-Item ' + 37 | 'Join-Path Measure-Command Measure-Object Move(-Item)? Move-ItemProperty New-Alias ' + 38 | 'New-Item New-ItemProperty New-Object New-PSDrive New-Service New-TimeSpan ' + 39 | 'New-Variable Out-Default Out-File Out-Host Out-Null Out-Printer Out-String Pop-Location ' + 40 | 'Push-Location Read-Host Remove-Item Remove-ItemProperty Remove-PSDrive Remove-PSSnapin ' + 41 | 'Remove-Variable Rename-Item Rename-ItemProperty Resolve-Path Restart-Service Resume-Service ' + 42 | 'Select-Object Select-String Set-Acl Set-Alias Set-AuthenticodeSignature Set-Content ' + 43 | 'Set-Date Set-ExecutionPolicy Set-Item Set-ItemProperty Set-Location Set-PSDebug ' + 44 | 'Set-Service Set-TraceSource Set(-Variable)? Sort-Object Split-Path Start-Service ' + 45 | 'Start-Sleep Start-Transcript Stop-Process Stop-Service Stop-Transcript Suspend-Service ' + 46 | 'Tee-Object Test-Path Trace-Command Update-FormatData Update-TypeData Where(-Object)? ' + 47 | 'Write-Debug Write-Error Write(-Host)? Write-Output Write-Progress Write-Verbose Write-Warning'; 48 | var alias = 'ac asnp clc cli clp clv cpi cpp cvpa diff epal epcsv fc fl ' + 49 | 'ft fw gal gc gci gcm gdr ghy gi gl gm gp gps group gsv ' + 50 | 'gsnp gu gv gwmi iex ihy ii ipal ipcsv mi mp nal ndr ni nv oh rdr ' + 51 | 'ri rni rnp rp rsnp rv rvpa sal sasv sc select si sl sleep sort sp ' + 52 | 'spps spsv sv tee cat cd cp h history kill lp ls ' + 53 | 'mount mv popd ps pushd pwd r rm rmdir echo cls chdir del dir ' + 54 | 'erase rd ren type % \\?'; 55 | 56 | this.regexList = [ 57 | { regex: /#.*$/gm, css: 'comments' }, // one line comments 58 | { regex: /\$[a-zA-Z0-9]+\b/g, css: 'value' }, // variables $Computer1 59 | { regex: /\-[a-zA-Z]+\b/g, css: 'keyword' }, // Operators -not -and -eq 60 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings 61 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings 62 | { regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' }, 63 | { regex: new RegExp(this.getKeywords(alias), 'gmi'), css: 'keyword' } 64 | ]; 65 | }; 66 | 67 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 68 | Brush.aliases = ['powershell', 'ps']; 69 | 70 | SyntaxHighlighter.brushes.PowerShell = Brush; 71 | 72 | // CommonJS 73 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 74 | })(); 75 | -------------------------------------------------------------------------------- /static/css/style1.css: -------------------------------------------------------------------------------- 1 | * 2 | { 3 | margin:0; 4 | padding:0 5 | } 6 | 7 | /*------Slider------*/ 8 | #Slider 9 | { 10 | width:100%; 11 | } 12 | .carousel-caption 13 | { 14 | top:90% 15 | transform:translateY(-50%) 16 | bottom:initial !important; 17 | } 18 | .carousel-caption h5 19 | { 20 | color:#fff; 21 | font-size:42px; 22 | } 23 | /*------About------*/ 24 | #about 25 | { 26 | padding-top:50px; 27 | padding-bottom:50px; 28 | color:#555; 29 | } 30 | 31 | .about-content 32 | { 33 | padding-top:20px; 34 | } 35 | 36 | 37 | /*-----------------Services---------------*/ 38 | #services 39 | { 40 | 41 | background-size:cover; 42 | background-position:center; 43 | color:#efefef !important; 44 | background-attachment:fixed; 45 | padding-top:50px; 46 | padding-bottom:50px; 47 | } 48 | #services h1 49 | { 50 | text-align:center; 51 | color:#efefef !important; 52 | padding-bottom:10px; 53 | } 54 | #services h1::after 55 | { 56 | content: ''; 57 | background:; 58 | display:block; 59 | height:3px; 60 | width:170px; 61 | margin:20px auto 5px; 62 | } 63 | .services 64 | { 65 | margin-top:40px; 66 | } 67 | .icon 68 | { 69 | font-size:40px; 70 | margin:20px auto; 71 | padding:20px; 72 | height:80px; 73 | width:80px; 74 | border:1px solid #fff; 75 | border-radius:50%; 76 | } 77 | #services padding 78 | { 79 | font-size:14px; 80 | margin-top:20px; 81 | color:#ccc; 82 | } 83 | .services .col-md-3:hover 84 | { 85 | background:#007bff; 86 | cursor:pointer; 87 | transition:0.7s; 88 | } 89 | /*------About------*/ 90 | #news 91 | { 92 | padding-top:50px; 93 | padding-bottom:50px; 94 | color:#555; 95 | } 96 | #news .btn 97 | { 98 | margin-top:25px; 99 | margin-bottom:30px; 100 | } 101 | .news-content 102 | { 103 | padding-top:20px; 104 | } 105 | /*---------contact-------*/ 106 | #contact 107 | { 108 | background-image:linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)),url(img/contact2.jpg); 109 | background-size:cover; 110 | background-position:center; 111 | color:#fff; 112 | background-attachment:fixed; 113 | text-align:center; 114 | padding:100px; 115 | font-family:sans-serif; 116 | font-size:38px; 117 | } 118 | /*-----Testimonials-----*/ 119 | #testimonials 120 | { 121 | padding-top:50px; 122 | padding-bottom:50px; 123 | } 124 | #testimonials .row 125 | { 126 | margin-top:30px; 127 | } 128 | .col-md-4 129 | { 130 | margin:40px auto; 131 | } 132 | .profile 133 | { 134 | padding:70px 10px 10px; 135 | background-color:#efefef; 136 | } 137 | .user 138 | { 139 | width:120px; 140 | height:120px; 141 | border-radius:50%; 142 | } 143 | .profile img 144 | { 145 | top:-60px; 146 | position:absolute; 147 | left:calc(50% - 60px); 148 | border:10px solid white; 149 | } 150 | .profile h3 151 | { 152 | font-size:20px; 153 | margin-top:15px; 154 | color:#007bff; 155 | } 156 | #testimonials span 157 | { 158 | font-size:12px; 159 | color:#333; 160 | } 161 | blockquote 162 | { 163 | font-size:16px; 164 | line-height:30px; 165 | } 166 | blockquote::before 167 | { 168 | content:'\93'; 169 | font-size:50px; 170 | color:#007bff; 171 | position:relative; 172 | line-height:20px; 173 | bottom:-15px; 174 | right:5px; 175 | } 176 | blockquote::after 177 | { 178 | content:'\94'; 179 | font-size:50px; 180 | color:#007bff; 181 | position:relative; 182 | line-height:10px; 183 | bottom:-15px; 184 | right:5px; 185 | } 186 | .profile:hover 187 | { 188 | box-shadow:0 0 15px 5px rgba(0,0,0,0.2); 189 | cursor:pointer; 190 | transition:0.5s; 191 | 192 | } 193 | /*--------------Get in Touch-------------*/ 194 | #contact 195 | { 196 | 197 | padding-top:40px; 198 | padding-bottom:40px; 199 | color:solid white; 200 | } 201 | .contact-form 202 | { 203 | padding:25px; 204 | } 205 | .form-control 206 | { 207 | border-radius:0 !important; 208 | border:none !important; 209 | } 210 | :: placeholder 211 | { 212 | color:#999 !important; 213 | } 214 | .follow 215 | { 216 | background:#999; 217 | padding:30px; 218 | margin:15px; 219 | } 220 | .contact-info .fa 221 | { 222 | margin:10px; 223 | color:#007bff; 224 | font-weight:bold; 225 | } 226 | /*---------footer---------*/ 227 | #footer 228 | { 229 | background:#333; 230 | color:#fff; 231 | padding:12px; 232 | } 233 | .fa-heart-o 234 | { 235 | margin:3px; 236 | color:red; 237 | } -------------------------------------------------------------------------------- /static/doc/css/main.css: -------------------------------------------------------------------------------- 1 | body{ 2 | background-color:#FFF; 3 | font-family: "Lato", sans-serif; 4 | font-weight: 300; 5 | font-size:16px; 6 | line-height:18px; 7 | color:#777; 8 | } 9 | 10 | p{ 11 | margin:0; 12 | } 13 | 14 | a { 15 | color: #aa0a5f; 16 | } 17 | 18 | a, a:hover, a:focus{ 19 | text-decoration: none; 20 | outline: 0; 21 | } 22 | h1, h2, h3, 23 | h4, h5, h6 { 24 | color: #333; 25 | margin:0; 26 | font-weight: normal; 27 | } 28 | 29 | h1 { font-size: 28px;} 30 | h2 { font-size: 24px;} 31 | h3 { font-size: 18px;} 32 | h5 { font-size: 16px;} 33 | h6 { font-size: 14px;} 34 | 35 | strong { 36 | letter-spacing: 1px; 37 | } 38 | 39 | code { 40 | background-color: #ddd; 41 | border-radius: 3px; 42 | color: #000; 43 | font-size: 85%; 44 | margin: 0; 45 | padding: 5px 10px; 46 | } 47 | 48 | code a { 49 | color: #333; 50 | } 51 | 52 | code a:hover { 53 | text-decoration: underline; 54 | } 55 | 56 | section p { 57 | line-height: 28px; 58 | } 59 | 60 | .clearfix:before, 61 | .clearfix:after { 62 | content: " "; 63 | display: table; 64 | } 65 | .clearfix:after { 66 | clear: both; 67 | } 68 | .clearfix { 69 | *zoom: 1; 70 | } 71 | 72 | .tan { 73 | margin-bottom: 10px; 74 | } 75 | 76 | .fifteen{ 77 | margin-bottom: 15px; 78 | } 79 | 80 | .twenty{ 81 | margin-bottom: 20px; 82 | } 83 | 84 | .center { 85 | text-align: center; 86 | } 87 | 88 | .title { 89 | margin: 50px 0 30px; 90 | } 91 | 92 | .syntaxhighlighter { 93 | border: 1px solid #efefef; 94 | max-height: 100% !important; 95 | padding: 20px 0; 96 | } 97 | 98 | 99 | .main-content section { 100 | margin: 0 5%; 101 | } 102 | 103 | 104 | .left-sidebar { 105 | background-color: #dddddd; 106 | float: left; 107 | min-height: 100%; 108 | position: fixed; 109 | width: 18%; 110 | } 111 | 112 | .logo { 113 | padding-bottom: 30px; 114 | padding-left: 30px; 115 | padding-top: 70px; 116 | } 117 | 118 | .left-nav ul { 119 | margin: 0; 120 | padding: 0; 121 | font-size: 14px; 122 | } 123 | 124 | .left-nav ul li a { 125 | color: #000000; 126 | display: block; 127 | padding: 10px 35px; 128 | -webkit-transition: all 0.3s ease-in 0s; 129 | -moz-transition: all 0.3s ease-in 0s; 130 | -ms-transition: all 0.3s ease-in 0s; 131 | -o-transition: all 0.3s ease-in 0s; 132 | transition: all 0.3s ease-in 0s; 133 | } 134 | 135 | .left-nav ul li a:hover, .left-nav ul li .current { 136 | background-color: #0ba9ff; 137 | color: #fff; 138 | } 139 | 140 | 141 | #main-wrapper { 142 | float: left; 143 | margin-left: 18%; 144 | width: 82%; 145 | } 146 | 147 | .content-header { 148 | border-bottom: 1px solid #ddd; 149 | border-top: 1px solid #ddd; 150 | margin-top: 30px; 151 | padding: 30px 0 35px; 152 | text-align: center; 153 | } 154 | 155 | .welcome { 156 | font-size: 16px; 157 | line-height: 26px; 158 | margin: 35px auto 0; 159 | } 160 | 161 | .features { 162 | margin-top: 50px; 163 | } 164 | 165 | .features ul li { 166 | list-style: square outside none; 167 | margin-bottom: 15px; 168 | } 169 | 170 | .features > ul { 171 | padding-left: 18px; 172 | } 173 | 174 | .author { 175 | border-bottom: 1px solid #ddd; 176 | border-top: 1px solid #ddd; 177 | margin-top: 50px; 178 | padding: 30px 0; 179 | } 180 | 181 | .author-info { 182 | font-size: 18px; 183 | line-height: 28px; 184 | margin: 0 auto; 185 | width: 50%; 186 | } 187 | 188 | .section-content { 189 | font-size: 16px; 190 | line-height: 25px; 191 | } 192 | 193 | .section-content li { 194 | margin-bottom: 15px; 195 | } 196 | 197 | .section-content a:hover { 198 | text-decoration: underline; 199 | } 200 | 201 | .script-source li { 202 | list-style: square outside none; 203 | margin-bottom: 10px; 204 | } 205 | 206 | #twitter-feed li, 207 | #flickr li { 208 | line-height: 25px; 209 | margin-bottom: 10px; 210 | } 211 | 212 | #twitter-feed img { 213 | border: 1px solid #ddd; 214 | box-shadow: 2px 3px 3px #ddd; 215 | height: auto; 216 | margin-top: 10px; 217 | max-width: 100%; 218 | } 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | -------------------------------------------------------------------------------- /static/scss/_mixins.scss: -------------------------------------------------------------------------------- 1 | 2 | // Mixins 3 | 4 | @mixin transition($args: all 0.3s ease 0s) { 5 | -webkit-transition: $args; 6 | -moz-transition: $args; 7 | -o-transition: $args; 8 | transition: $args; 9 | } 10 | 11 | @mixin transition-duration($args1, $args2) { 12 | -webkit-transition-duration: $args1, $args2; 13 | -moz-transition-duration: $args1, $args2; 14 | -o-transition-duration: $args1, $args2; 15 | transition-duration: $args1, $args2; 16 | } 17 | 18 | @mixin transition-delay($args1, $args2) { 19 | -webkit-transition-delay: $args1, $args2; 20 | -moz-transition-delay: $args1, $args2; 21 | -o-transition-delay: $args1, $args2; 22 | transition-delay: $args1, $args2; 23 | } 24 | 25 | @mixin transition-property($args1, $args2) { 26 | -webkit-transition-property: $args1, $args2; 27 | -moz-transition-property: $args1, $args2; 28 | -o-transition-property: $args1, $args2; 29 | transition-property: $args1, $args2; 30 | } 31 | 32 | 33 | // Placeholder Mixins 34 | 35 | @mixin placeholder { 36 | &.placeholder { @content; } 37 | &:-moz-placeholder { @content; } 38 | &::-moz-placeholder { @content; } 39 | &::-webkit-input-placeholder { @content; } 40 | } 41 | 42 | @mixin gradient($deg, $args1,$args2){ 43 | background: -webkit-linear-gradient($deg, $args1, $args2); 44 | background: -moz-linear-gradient($deg, $args1, $args2); 45 | background: -ms-linear-gradient($deg, $args1, $args2); 46 | background: -o-linear-gradient($deg, $args1, $args2); 47 | background: linear-gradient($deg, $args1, $args2); 48 | } 49 | 50 | @mixin gradient2($deg, $args1,$args2, $args3){ 51 | background: -webkit-linear-gradient($deg, $args1, $args2, $args3); 52 | background: -moz-linear-gradient($deg, $args1, $args2, $args3); 53 | background: -ms-linear-gradient($deg, $args1, $args2, $args3); 54 | background: -o-linear-gradient($deg, $args1, $args2, $args3); 55 | background: linear-gradient($deg, $args1, $args2, $args3); 56 | } 57 | 58 | 59 | @mixin filter($filter-type,$filter-amount) { 60 | -webkit-filter: $filter-type+unquote('(#{$filter-amount})'); 61 | -moz-filter: $filter-type+unquote('(#{$filter-amount})'); 62 | -ms-filter: $filter-type+unquote('(#{$filter-amount})'); 63 | -o-filter: $filter-type+unquote('(#{$filter-amount})'); 64 | filter: $filter-type+unquote('(#{$filter-amount})'); 65 | } 66 | 67 | 68 | 69 | @mixin transform($transform) { 70 | -webkit-transform: $transform; 71 | -moz-transform: $transform; 72 | -ms-transform: $transform; 73 | -o-transform: $transform; 74 | transform: $transform; 75 | } 76 | 77 | @mixin transform-origin($value) { 78 | -webkit-transform-origin: $value; 79 | -moz-transform-origin: $value; 80 | -ms-transform-origin: $value; 81 | -o-transform-origin: $value; 82 | transform-origin: $value; 83 | } 84 | 85 | @mixin backface-visibility($value) { 86 | -webkit-backface-visibility: $value; 87 | -moz-backface-visibility: $value; 88 | backface-visibility: $value; 89 | } 90 | 91 | @mixin calc ( $property, $expression ) { 92 | #{$property}: -webkit-calc(#{$expression}); 93 | #{$property}: -moz-calc(#{$expression}); 94 | #{$property}: calc(#{$expression}); 95 | } 96 | 97 | @mixin keyframes ( $animation-name ) { 98 | @-webkit-keyframes #{$animation-name} { 99 | @content; 100 | } 101 | @-moz-keyframes #{$animation-name} { 102 | @content; 103 | } 104 | @-o-keyframes #{$animation-name} { 105 | @content; 106 | } 107 | @keyframes #{$animation-name} { 108 | @content; 109 | } 110 | } 111 | 112 | @mixin animation ($args) { 113 | -webkit-animation: $args; 114 | -moz-animation: $args; 115 | -o-animation: $args; 116 | animation: $args; 117 | } 118 | 119 | // Medium Layout: 1280px 120 | @mixin medium { 121 | @media (min-width: 992px) and (max-width: 1400px) { 122 | @content; 123 | } 124 | } 125 | 126 | // Tablet Layout: 768px 127 | @mixin tablet { 128 | @media (min-width: 768px) and (max-width: 1200px) { 129 | @content; 130 | } 131 | } 132 | 133 | // Mobile Layout: 320px 134 | @mixin mobile { 135 | @media (max-width: 767px) { 136 | @content; 137 | } 138 | } 139 | 140 | // Wide Mobile Layout: 480px 141 | @mixin wide-mobile { 142 | @media (min-width: 480px) and (max-width: 767px) { 143 | @content; 144 | } 145 | } 146 | 147 | 148 | @mixin cmq ($min, $max) { 149 | @media (min-width: $min) and (max-width: $max) { 150 | @content; 151 | } 152 | } 153 | -------------------------------------------------------------------------------- /static/vendors/nice-select/css/nice-select.css: -------------------------------------------------------------------------------- 1 | .nice-select { 2 | -webkit-tap-highlight-color: transparent; 3 | background-color: #fff; 4 | border-radius: 5px; 5 | border: solid 1px #e8e8e8; 6 | box-sizing: border-box; 7 | clear: both; 8 | cursor: pointer; 9 | display: block; 10 | float: left; 11 | font-family: inherit; 12 | font-size: 14px; 13 | font-weight: normal; 14 | height: 42px; 15 | line-height: 40px; 16 | outline: none; 17 | padding-left: 18px; 18 | padding-right: 30px; 19 | position: relative; 20 | text-align: left !important; 21 | -webkit-transition: all 0.2s ease-in-out; 22 | transition: all 0.2s ease-in-out; 23 | -webkit-user-select: none; 24 | -moz-user-select: none; 25 | -ms-user-select: none; 26 | user-select: none; 27 | white-space: nowrap; 28 | width: auto; } 29 | .nice-select:hover { 30 | border-color: #dbdbdb; } 31 | .nice-select:active, .nice-select.open, .nice-select:focus { 32 | border-color: #999; } 33 | .nice-select:after { 34 | border-bottom: 2px solid #999; 35 | border-right: 2px solid #999; 36 | content: ''; 37 | display: block; 38 | height: 5px; 39 | margin-top: -4px; 40 | pointer-events: none; 41 | position: absolute; 42 | right: 12px; 43 | top: 50%; 44 | -webkit-transform-origin: 66% 66%; 45 | -ms-transform-origin: 66% 66%; 46 | transform-origin: 66% 66%; 47 | -webkit-transform: rotate(45deg); 48 | -ms-transform: rotate(45deg); 49 | transform: rotate(45deg); 50 | -webkit-transition: all 0.15s ease-in-out; 51 | transition: all 0.15s ease-in-out; 52 | width: 5px; } 53 | .nice-select.open:after { 54 | -webkit-transform: rotate(-135deg); 55 | -ms-transform: rotate(-135deg); 56 | transform: rotate(-135deg); } 57 | .nice-select.open .list { 58 | opacity: 1; 59 | pointer-events: auto; 60 | -webkit-transform: scale(1) translateY(0); 61 | -ms-transform: scale(1) translateY(0); 62 | transform: scale(1) translateY(0); } 63 | .nice-select.disabled { 64 | border-color: #ededed; 65 | color: #999; 66 | pointer-events: none; } 67 | .nice-select.disabled:after { 68 | border-color: #cccccc; } 69 | .nice-select.wide { 70 | width: 100%; } 71 | .nice-select.wide .list { 72 | left: 0 !important; 73 | right: 0 !important; } 74 | .nice-select.right { 75 | float: right; } 76 | .nice-select.right .list { 77 | left: auto; 78 | right: 0; } 79 | .nice-select.small { 80 | font-size: 12px; 81 | height: 36px; 82 | line-height: 34px; } 83 | .nice-select.small:after { 84 | height: 4px; 85 | width: 4px; } 86 | .nice-select.small .option { 87 | line-height: 34px; 88 | min-height: 34px; } 89 | .nice-select .list { 90 | background-color: #fff; 91 | border-radius: 5px; 92 | box-shadow: 0 0 0 1px rgba(68, 68, 68, 0.11); 93 | box-sizing: border-box; 94 | margin-top: 4px; 95 | opacity: 0; 96 | overflow: hidden; 97 | padding: 0; 98 | pointer-events: none; 99 | position: absolute; 100 | top: 100%; 101 | left: 0; 102 | -webkit-transform-origin: 50% 0; 103 | -ms-transform-origin: 50% 0; 104 | transform-origin: 50% 0; 105 | -webkit-transform: scale(0.75) translateY(-21px); 106 | -ms-transform: scale(0.75) translateY(-21px); 107 | transform: scale(0.75) translateY(-21px); 108 | -webkit-transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out; 109 | transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out; 110 | z-index: 9; } 111 | .nice-select .list:hover .option:not(:hover) { 112 | background-color: transparent !important; } 113 | .nice-select .option { 114 | cursor: pointer; 115 | font-weight: 400; 116 | line-height: 40px; 117 | list-style: none; 118 | min-height: 40px; 119 | outline: none; 120 | padding-left: 18px; 121 | padding-right: 29px; 122 | text-align: left; 123 | -webkit-transition: all 0.2s; 124 | transition: all 0.2s; } 125 | .nice-select .option:hover, .nice-select .option.focus, .nice-select .option.selected.focus { 126 | background-color: #f6f6f6; } 127 | .nice-select .option.selected { 128 | font-weight: bold; } 129 | .nice-select .option.disabled { 130 | background-color: transparent; 131 | color: #999; 132 | cursor: default; } 133 | 134 | .no-csspointerevents .nice-select .list { 135 | display: none; } 136 | 137 | .no-csspointerevents .nice-select.open .list { 138 | display: block; } 139 | -------------------------------------------------------------------------------- /static/vendors/owl-carousel/assets/owl.carousel.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Owl Carousel v2.2.1 3 | * Copyright 2013-2017 David Deutsch 4 | * Licensed under () 5 | */ 6 | /* 7 | * Owl Carousel - Core 8 | */ 9 | .owl-carousel { 10 | display: none; 11 | width: 100%; 12 | -webkit-tap-highlight-color: transparent; 13 | /* position relative and z-index fix webkit rendering fonts issue */ 14 | position: relative; 15 | z-index: 1; } 16 | .owl-carousel .owl-stage { 17 | position: relative; 18 | -ms-touch-action: pan-Y; 19 | -moz-backface-visibility: hidden; 20 | /* fix firefox animation glitch */ } 21 | .owl-carousel .owl-stage:after { 22 | content: "."; 23 | display: block; 24 | clear: both; 25 | visibility: hidden; 26 | line-height: 0; 27 | height: 0; } 28 | .owl-carousel .owl-stage-outer { 29 | position: relative; 30 | overflow: hidden; 31 | /* fix for flashing background */ 32 | -webkit-transform: translate3d(0px, 0px, 0px); } 33 | .owl-carousel .owl-wrapper, 34 | .owl-carousel .owl-item { 35 | -webkit-backface-visibility: hidden; 36 | -moz-backface-visibility: hidden; 37 | -ms-backface-visibility: hidden; 38 | -webkit-transform: translate3d(0, 0, 0); 39 | -moz-transform: translate3d(0, 0, 0); 40 | -ms-transform: translate3d(0, 0, 0); } 41 | .owl-carousel .owl-item { 42 | position: relative; 43 | min-height: 1px; 44 | float: left; 45 | -webkit-backface-visibility: hidden; 46 | -webkit-tap-highlight-color: transparent; 47 | -webkit-touch-callout: none; } 48 | .owl-carousel .owl-item img { 49 | display: block; 50 | width: 100%; } 51 | .owl-carousel .owl-nav.disabled, 52 | .owl-carousel .owl-dots.disabled { 53 | display: none; } 54 | .owl-carousel .owl-nav .owl-prev, 55 | .owl-carousel .owl-nav .owl-next, 56 | .owl-carousel .owl-dot { 57 | cursor: pointer; 58 | cursor: hand; 59 | -webkit-user-select: none; 60 | -khtml-user-select: none; 61 | -moz-user-select: none; 62 | -ms-user-select: none; 63 | user-select: none; } 64 | .owl-carousel.owl-loaded { 65 | display: block; } 66 | .owl-carousel.owl-loading { 67 | opacity: 0; 68 | display: block; } 69 | .owl-carousel.owl-hidden { 70 | opacity: 0; } 71 | .owl-carousel.owl-refresh .owl-item { 72 | visibility: hidden; } 73 | .owl-carousel.owl-drag .owl-item { 74 | -webkit-user-select: none; 75 | -moz-user-select: none; 76 | -ms-user-select: none; 77 | user-select: none; } 78 | .owl-carousel.owl-grab { 79 | cursor: move; 80 | cursor: grab; } 81 | .owl-carousel.owl-rtl { 82 | direction: rtl; } 83 | .owl-carousel.owl-rtl .owl-item { 84 | float: right; } 85 | 86 | /* No Js */ 87 | .no-js .owl-carousel { 88 | display: block; } 89 | 90 | /* 91 | * Owl Carousel - Animate Plugin 92 | */ 93 | .owl-carousel .animated { 94 | animation-duration: 1000ms; 95 | animation-fill-mode: both; } 96 | 97 | .owl-carousel .owl-animated-in { 98 | z-index: 0; } 99 | 100 | .owl-carousel .owl-animated-out { 101 | z-index: 1; } 102 | 103 | .owl-carousel .fadeOut { 104 | animation-name: fadeOut; } 105 | 106 | @keyframes fadeOut { 107 | 0% { 108 | opacity: 1; } 109 | 100% { 110 | opacity: 0; } } 111 | 112 | /* 113 | * Owl Carousel - Auto Height Plugin 114 | */ 115 | .owl-height { 116 | transition: height 500ms ease-in-out; } 117 | 118 | /* 119 | * Owl Carousel - Lazy Load Plugin 120 | */ 121 | .owl-carousel .owl-item .owl-lazy { 122 | opacity: 0; 123 | transition: opacity 400ms ease; } 124 | 125 | .owl-carousel .owl-item img.owl-lazy { 126 | transform-style: preserve-3d; } 127 | 128 | /* 129 | * Owl Carousel - Video Plugin 130 | */ 131 | .owl-carousel .owl-video-wrapper { 132 | position: relative; 133 | height: 100%; 134 | background: #000; } 135 | 136 | .owl-carousel .owl-video-play-icon { 137 | position: absolute; 138 | height: 80px; 139 | width: 80px; 140 | left: 50%; 141 | top: 50%; 142 | margin-left: -40px; 143 | margin-top: -40px; 144 | background: url("owl.video.play.png") no-repeat; 145 | cursor: pointer; 146 | z-index: 1; 147 | -webkit-backface-visibility: hidden; 148 | transition: transform 100ms ease; } 149 | 150 | .owl-carousel .owl-video-play-icon:hover { 151 | -ms-transform: scale(1.3, 1.3); 152 | transform: scale(1.3, 1.3); } 153 | 154 | .owl-carousel .owl-video-playing .owl-video-tn, 155 | .owl-carousel .owl-video-playing .owl-video-play-icon { 156 | display: none; } 157 | 158 | .owl-carousel .owl-video-tn { 159 | opacity: 0; 160 | height: 100%; 161 | background-position: center center; 162 | background-repeat: no-repeat; 163 | background-size: contain; 164 | transition: opacity 400ms ease; } 165 | 166 | .owl-carousel .owl-video-frame { 167 | position: relative; 168 | z-index: 1; 169 | height: 100%; 170 | width: 100%; } 171 | -------------------------------------------------------------------------------- /static/vendors/isotope/imagesloaded.pkgd.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * imagesLoaded PACKAGED v4.1.0 3 | * JavaScript is all like "You images are done yet or what?" 4 | * MIT License 5 | */ 6 | 7 | !function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}(this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{},n=i[t]=i[t]||[];return n[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=0,o=i[n];e=e||[];for(var r=this._onceEvents&&this._onceEvents[t];o;){var s=r&&r[o];s&&(this.off(t,o),delete r[o]),o.apply(this,e),n+=s?0:1,o=i[n]}return this}},t}),function(t,e){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.imagesLoaded=e(t,t.EvEmitter)}(window,function(t,e){function i(t,e){for(var i in e)t[i]=e[i];return t}function n(t){var e=[];if(Array.isArray(t))e=t;else if("number"==typeof t.length)for(var i=0;i=this.items.length?a=0:a<0&&(a=this.items.length-1),a},showPosition:function(a){return this.currentPosition=this.normalizePosition(a),this.setupLightboxHtml().prepareItem(this.currentPosition,this.setContent).show()},loading:function(a){var b=this;a?this.loadingTimeout=setTimeout(function(){b.$el.addClass(b.options.elementLoadingClass),b.$content.html('

    '+b.options.loadingCaption+"

    "),b.show()},this.options.loadingTimeout):(this.$el&&this.$el.removeClass(this.options.elementLoadingClass),clearTimeout(this.loadingTimeout))},prepareItem:function(b,c){var d=this,e=this.items[b];if(this.loading(!0),this.options.videoRegex.test(e))c.call(d,a('
    '));else{var f=a('
    ');this.$currentImage=f.find(".slbImage"),this.options.showCaptions&&this.captions[b]&&f.append('
    '+this.captions[b]+"
    "),this.loadImage(e,function(){d.setImageDimensions(),c.call(d,f),d.loadImage(d.items[d.normalizePosition(d.currentPosition+1)])})}return this},loadImage:function(a,b){if(!this.options.videoRegex.test(a)){var c=new Image;b&&(c.onload=b),c.src=a}},setupLightboxHtml:function(){var b=this.options;return this.$el||(this.$el=a('
    '),this.items.length>1&&a('
    ").appendTo(this.$el.find(".slbContentOuter")),this.$content=this.$el.find(".slbContent")),this.$content.empty(),this},show:function(){return this.modalInDom||(this.$el.appendTo(a(this.options.appendTarget)),d.addClass(this.options.htmlClass),this.setupLightboxEvents(),this.modalInDom=!0),this},setContent:function(b){var c=a(b);return this.loading(!1),this.setupLightboxHtml(),this.options.beforeSetContent&&this.options.beforeSetContent(c,this),this.$content.html(c),this},setImageDimensions:function(){this.$currentImage&&this.$currentImage.css("max-height",f.height()+"px")},setupLightboxEvents:function(){var b=this;this.lightboxEventsSetuped||(this.$el.on("click"+this.ens,function(c){var d=a(c.target);d.is(".slbCloseBtn")||b.options.closeOnOverlayClick&&d.is(".slbWrap")?b.close():d.is(".slbArrow")?d.hasClass("next")?b.next():b.prev():b.options.nextOnImageClick&&b.items.length>1&&d.is(".slbImage")&&b.next()}),e.on("keyup"+this.ens,function(a){b.options.closeOnEscapeKey&&27===a.keyCode&&b.close(),b.items.length>1&&((39===a.keyCode||68===a.keyCode)&&b.next(),(37===a.keyCode||65===a.keyCode)&&b.prev())}),f.on("resize"+this.ens,function(){b.setImageDimensions()}),this.lightboxEventsSetuped=!0)},close:function(){this.modalInDom&&(this.options.beforeClose&&this.options.beforeClose(this),this.$el&&this.$el.off(this.ens),e.off(this.ens),f.off(this.ens),this.lightboxEventsSetuped=!1,this.$el.detach(),d.removeClass(this.options.htmlClass),this.modalInDom=!1)},destroy:function(){this.close(),this.options.beforeDestroy&&this.options.beforeDestroy(this),this.$items&&this.$items.off(this.ens),this.$el&&this.$el.remove()}}),b.open=function(a){var c=new b(a);return a.content?c.setContent(a.content).show():c.showPosition(c.options.startAt)},a.fn.simpleLightbox=function(c){var d,e=this;return this.each(function(){a.data(this,"simpleLightbox")||(d=d||new b(a.extend({},c,{$items:e})),a.data(this,"simpleLightbox",d))})},a.simpleLightbox=a.SimpleLightbox=b,a}); -------------------------------------------------------------------------------- /static/doc/syntax-highlighter/scripts/shBrushPhp.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | var funcs = 'abs acos acosh addcslashes addslashes ' + 25 | 'array_change_key_case array_chunk array_combine array_count_values array_diff '+ 26 | 'array_diff_assoc array_diff_key array_diff_uassoc array_diff_ukey array_fill '+ 27 | 'array_filter array_flip array_intersect array_intersect_assoc array_intersect_key '+ 28 | 'array_intersect_uassoc array_intersect_ukey array_key_exists array_keys array_map '+ 29 | 'array_merge array_merge_recursive array_multisort array_pad array_pop array_product '+ 30 | 'array_push array_rand array_reduce array_reverse array_search array_shift '+ 31 | 'array_slice array_splice array_sum array_udiff array_udiff_assoc '+ 32 | 'array_udiff_uassoc array_uintersect array_uintersect_assoc '+ 33 | 'array_uintersect_uassoc array_unique array_unshift array_values array_walk '+ 34 | 'array_walk_recursive atan atan2 atanh base64_decode base64_encode base_convert '+ 35 | 'basename bcadd bccomp bcdiv bcmod bcmul bindec bindtextdomain bzclose bzcompress '+ 36 | 'bzdecompress bzerrno bzerror bzerrstr bzflush bzopen bzread bzwrite ceil chdir '+ 37 | 'checkdate checkdnsrr chgrp chmod chop chown chr chroot chunk_split class_exists '+ 38 | 'closedir closelog copy cos cosh count count_chars date decbin dechex decoct '+ 39 | 'deg2rad delete ebcdic2ascii echo empty end ereg ereg_replace eregi eregi_replace error_log '+ 40 | 'error_reporting escapeshellarg escapeshellcmd eval exec exit exp explode extension_loaded '+ 41 | 'feof fflush fgetc fgetcsv fgets fgetss file_exists file_get_contents file_put_contents '+ 42 | 'fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype '+ 43 | 'floatval flock floor flush fmod fnmatch fopen fpassthru fprintf fputcsv fputs fread fscanf '+ 44 | 'fseek fsockopen fstat ftell ftok getallheaders getcwd getdate getenv gethostbyaddr gethostbyname '+ 45 | 'gethostbynamel getimagesize getlastmod getmxrr getmygid getmyinode getmypid getmyuid getopt '+ 46 | 'getprotobyname getprotobynumber getrandmax getrusage getservbyname getservbyport gettext '+ 47 | 'gettimeofday gettype glob gmdate gmmktime ini_alter ini_get ini_get_all ini_restore ini_set '+ 48 | 'interface_exists intval ip2long is_a is_array is_bool is_callable is_dir is_double '+ 49 | 'is_executable is_file is_finite is_float is_infinite is_int is_integer is_link is_long '+ 50 | 'is_nan is_null is_numeric is_object is_readable is_real is_resource is_scalar is_soap_fault '+ 51 | 'is_string is_subclass_of is_uploaded_file is_writable is_writeable mkdir mktime nl2br '+ 52 | 'parse_ini_file parse_str parse_url passthru pathinfo print readlink realpath rewind rewinddir rmdir '+ 53 | 'round str_ireplace str_pad str_repeat str_replace str_rot13 str_shuffle str_split '+ 54 | 'str_word_count strcasecmp strchr strcmp strcoll strcspn strftime strip_tags stripcslashes '+ 55 | 'stripos stripslashes stristr strlen strnatcasecmp strnatcmp strncasecmp strncmp strpbrk '+ 56 | 'strpos strptime strrchr strrev strripos strrpos strspn strstr strtok strtolower strtotime '+ 57 | 'strtoupper strtr strval substr substr_compare'; 58 | 59 | var keywords = 'abstract and array as break case catch cfunction class clone const continue declare default die do ' + 60 | 'else elseif enddeclare endfor endforeach endif endswitch endwhile extends final for foreach ' + 61 | 'function include include_once global goto if implements interface instanceof namespace new ' + 62 | 'old_function or private protected public return require require_once static switch ' + 63 | 'throw try use var while xor '; 64 | 65 | var constants = '__FILE__ __LINE__ __METHOD__ __FUNCTION__ __CLASS__'; 66 | 67 | this.regexList = [ 68 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments 69 | { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments 70 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings 71 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings 72 | { regex: /\$\w+/g, css: 'variable' }, // variables 73 | { regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' }, // common functions 74 | { regex: new RegExp(this.getKeywords(constants), 'gmi'), css: 'constants' }, // constants 75 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keyword 76 | ]; 77 | 78 | this.forHtmlScript(SyntaxHighlighter.regexLib.phpScriptTags); 79 | }; 80 | 81 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 82 | Brush.aliases = ['php']; 83 | 84 | SyntaxHighlighter.brushes.Php = Brush; 85 | 86 | // CommonJS 87 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 88 | })(); 89 | -------------------------------------------------------------------------------- /app.py: -------------------------------------------------------------------------------- 1 | import numpy as np 2 | import pickle 3 | from flask import Flask, request, jsonify, render_template 4 | from svm_func import train_svm, test_svm, predict_svm 5 | import matplotlib.pyplot as plt 6 | import pandas as pd 7 | from sklearn.svm import SVC 8 | from sklearn.metrics import accuracy_score 9 | from time import time 10 | 11 | 12 | app = Flask(__name__) 13 | model1 = pickle.load(open('pickle/parkinson/model.pkl', 'rb')) 14 | 15 | 16 | @app.route('/') 17 | def index(): 18 | return render_template('dashboard.htm') 19 | 20 | @app.route('/parkinson-home') 21 | def index1(): 22 | return render_template('parkinson/parkinson.html') 23 | 24 | 25 | @app.route('/parkinson-predict', methods=['POST','GET']) 26 | def predict1(): 27 | int_features = [[float(x) for x in request.form.values()]] 28 | final = np.array(int_features) 29 | 30 | prediction = model1.predict(final) 31 | output = prediction[0] 32 | if output==0: 33 | s= 'Negative' 34 | elif output==1: 35 | s = 'Positive' 36 | proba = model1.predict_proba(final) 37 | 38 | prob1 = proba[0][1]*100 39 | if prob1>int(70): 40 | a="High" 41 | elif int(30)acc_y): 135 | acc = acc_x 136 | else: 137 | acc=acc_y 138 | return render_template('breast-cancer/result.html', output=output, accuracy=round(acc*100,3), time=t) 139 | 140 | @app.route('/profile') 141 | def display(): 142 | return render_template('breast-cancer/profile.html') 143 | 144 | @app.route('/fad/') 145 | def gain(): 146 | return render_template('breast-cancer/connect.html') 147 | 148 | 149 | @app.route('/my_form_post', methods=["GET",'POST']) 150 | def my_form_post(): 151 | print(request.form) 152 | if request.method=="POST": 153 | resultss=request.form 154 | file_name='yes.csv' 155 | from csv import writer 156 | def append_list_as_row(file_name, list_of_elem): 157 | # Open file in append mode 158 | with open(file_name, 'a+', newline='') as write_obj: 159 | # Create a writer object from csv module 160 | csv_writer = writer(write_obj) 161 | # Add contents of list as last row in the csv file 162 | csv_writer.writerow(list_of_elem) 163 | 164 | 165 | print(resultss) 166 | lsv=[] 167 | for key,value in enumerate(resultss.items()): 168 | lsv.append(value[1]) 169 | print(lsv,'red') 170 | 171 | 172 | 173 | if __name__ == "__main__": 174 | app.run(debug=True) -------------------------------------------------------------------------------- /static/doc/syntax-highlighter/scripts/shBrushCpp.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | // Copyright 2006 Shin, YoungJin 25 | 26 | var datatypes = 'ATOM BOOL BOOLEAN BYTE CHAR COLORREF DWORD DWORDLONG DWORD_PTR ' + 27 | 'DWORD32 DWORD64 FLOAT HACCEL HALF_PTR HANDLE HBITMAP HBRUSH ' + 28 | 'HCOLORSPACE HCONV HCONVLIST HCURSOR HDC HDDEDATA HDESK HDROP HDWP ' + 29 | 'HENHMETAFILE HFILE HFONT HGDIOBJ HGLOBAL HHOOK HICON HINSTANCE HKEY ' + 30 | 'HKL HLOCAL HMENU HMETAFILE HMODULE HMONITOR HPALETTE HPEN HRESULT ' + 31 | 'HRGN HRSRC HSZ HWINSTA HWND INT INT_PTR INT32 INT64 LANGID LCID LCTYPE ' + 32 | 'LGRPID LONG LONGLONG LONG_PTR LONG32 LONG64 LPARAM LPBOOL LPBYTE LPCOLORREF ' + 33 | 'LPCSTR LPCTSTR LPCVOID LPCWSTR LPDWORD LPHANDLE LPINT LPLONG LPSTR LPTSTR ' + 34 | 'LPVOID LPWORD LPWSTR LRESULT PBOOL PBOOLEAN PBYTE PCHAR PCSTR PCTSTR PCWSTR ' + 35 | 'PDWORDLONG PDWORD_PTR PDWORD32 PDWORD64 PFLOAT PHALF_PTR PHANDLE PHKEY PINT ' + 36 | 'PINT_PTR PINT32 PINT64 PLCID PLONG PLONGLONG PLONG_PTR PLONG32 PLONG64 POINTER_32 ' + 37 | 'POINTER_64 PSHORT PSIZE_T PSSIZE_T PSTR PTBYTE PTCHAR PTSTR PUCHAR PUHALF_PTR ' + 38 | 'PUINT PUINT_PTR PUINT32 PUINT64 PULONG PULONGLONG PULONG_PTR PULONG32 PULONG64 ' + 39 | 'PUSHORT PVOID PWCHAR PWORD PWSTR SC_HANDLE SC_LOCK SERVICE_STATUS_HANDLE SHORT ' + 40 | 'SIZE_T SSIZE_T TBYTE TCHAR UCHAR UHALF_PTR UINT UINT_PTR UINT32 UINT64 ULONG ' + 41 | 'ULONGLONG ULONG_PTR ULONG32 ULONG64 USHORT USN VOID WCHAR WORD WPARAM WPARAM WPARAM ' + 42 | 'char bool short int __int32 __int64 __int8 __int16 long float double __wchar_t ' + 43 | 'clock_t _complex _dev_t _diskfree_t div_t ldiv_t _exception _EXCEPTION_POINTERS ' + 44 | 'FILE _finddata_t _finddatai64_t _wfinddata_t _wfinddatai64_t __finddata64_t ' + 45 | '__wfinddata64_t _FPIEEE_RECORD fpos_t _HEAPINFO _HFILE lconv intptr_t ' + 46 | 'jmp_buf mbstate_t _off_t _onexit_t _PNH ptrdiff_t _purecall_handler ' + 47 | 'sig_atomic_t size_t _stat __stat64 _stati64 terminate_function ' + 48 | 'time_t __time64_t _timeb __timeb64 tm uintptr_t _utimbuf ' + 49 | 'va_list wchar_t wctrans_t wctype_t wint_t signed'; 50 | 51 | var keywords = 'break case catch class const __finally __exception __try ' + 52 | 'const_cast continue private public protected __declspec ' + 53 | 'default delete deprecated dllexport dllimport do dynamic_cast ' + 54 | 'else enum explicit extern if for friend goto inline ' + 55 | 'mutable naked namespace new noinline noreturn nothrow ' + 56 | 'register reinterpret_cast return selectany ' + 57 | 'sizeof static static_cast struct switch template this ' + 58 | 'thread throw true false try typedef typeid typename union ' + 59 | 'using uuid virtual void volatile whcar_t while'; 60 | 61 | var functions = 'assert isalnum isalpha iscntrl isdigit isgraph islower isprint' + 62 | 'ispunct isspace isupper isxdigit tolower toupper errno localeconv ' + 63 | 'setlocale acos asin atan atan2 ceil cos cosh exp fabs floor fmod ' + 64 | 'frexp ldexp log log10 modf pow sin sinh sqrt tan tanh jmp_buf ' + 65 | 'longjmp setjmp raise signal sig_atomic_t va_arg va_end va_start ' + 66 | 'clearerr fclose feof ferror fflush fgetc fgetpos fgets fopen ' + 67 | 'fprintf fputc fputs fread freopen fscanf fseek fsetpos ftell ' + 68 | 'fwrite getc getchar gets perror printf putc putchar puts remove ' + 69 | 'rename rewind scanf setbuf setvbuf sprintf sscanf tmpfile tmpnam ' + 70 | 'ungetc vfprintf vprintf vsprintf abort abs atexit atof atoi atol ' + 71 | 'bsearch calloc div exit free getenv labs ldiv malloc mblen mbstowcs ' + 72 | 'mbtowc qsort rand realloc srand strtod strtol strtoul system ' + 73 | 'wcstombs wctomb memchr memcmp memcpy memmove memset strcat strchr ' + 74 | 'strcmp strcoll strcpy strcspn strerror strlen strncat strncmp ' + 75 | 'strncpy strpbrk strrchr strspn strstr strtok strxfrm asctime ' + 76 | 'clock ctime difftime gmtime localtime mktime strftime time'; 77 | 78 | this.regexList = [ 79 | { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments 80 | { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments 81 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings 82 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings 83 | { regex: /^ *#.*/gm, css: 'preprocessor' }, 84 | { regex: new RegExp(this.getKeywords(datatypes), 'gm'), css: 'color1 bold' }, 85 | { regex: new RegExp(this.getKeywords(functions), 'gm'), css: 'functions bold' }, 86 | { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword bold' } 87 | ]; 88 | }; 89 | 90 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 91 | Brush.aliases = ['cpp', 'c']; 92 | 93 | SyntaxHighlighter.brushes.Cpp = Brush; 94 | 95 | // CommonJS 96 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 97 | })(); 98 | -------------------------------------------------------------------------------- /static/doc/syntax-highlighter/scripts/shBrushCss.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | function getKeywordsCSS(str) 25 | { 26 | return '\\b([a-z_]|)' + str.replace(/ /g, '(?=:)\\b|\\b([a-z_\\*]|\\*|)') + '(?=:)\\b'; 27 | }; 28 | 29 | function getValuesCSS(str) 30 | { 31 | return '\\b' + str.replace(/ /g, '(?!-)(?!:)\\b|\\b()') + '\:\\b'; 32 | }; 33 | 34 | var keywords = 'ascent azimuth background-attachment background-color background-image background-position ' + 35 | 'background-repeat background baseline bbox border-collapse border-color border-spacing border-style border-top ' + 36 | 'border-right border-bottom border-left border-top-color border-right-color border-bottom-color border-left-color ' + 37 | 'border-top-style border-right-style border-bottom-style border-left-style border-top-width border-right-width ' + 38 | 'border-bottom-width border-left-width border-width border bottom cap-height caption-side centerline clear clip color ' + 39 | 'content counter-increment counter-reset cue-after cue-before cue cursor definition-src descent direction display ' + 40 | 'elevation empty-cells float font-size-adjust font-family font-size font-stretch font-style font-variant font-weight font ' + 41 | 'height left letter-spacing line-height list-style-image list-style-position list-style-type list-style margin-top ' + 42 | 'margin-right margin-bottom margin-left margin marker-offset marks mathline max-height max-width min-height min-width orphans ' + 43 | 'outline-color outline-style outline-width outline overflow padding-top padding-right padding-bottom padding-left padding page ' + 44 | 'page-break-after page-break-before page-break-inside pause pause-after pause-before pitch pitch-range play-during position ' + 45 | 'quotes right richness size slope src speak-header speak-numeral speak-punctuation speak speech-rate stemh stemv stress ' + 46 | 'table-layout text-align top text-decoration text-indent text-shadow text-transform unicode-bidi unicode-range units-per-em ' + 47 | 'vertical-align visibility voice-family volume white-space widows width widths word-spacing x-height z-index'; 48 | 49 | var values = 'above absolute all always aqua armenian attr aural auto avoid baseline behind below bidi-override black blink block blue bold bolder '+ 50 | 'both bottom braille capitalize caption center center-left center-right circle close-quote code collapse compact condensed '+ 51 | 'continuous counter counters crop cross crosshair cursive dashed decimal decimal-leading-zero default digits disc dotted double '+ 52 | 'embed embossed e-resize expanded extra-condensed extra-expanded fantasy far-left far-right fast faster fixed format fuchsia '+ 53 | 'gray green groove handheld hebrew help hidden hide high higher icon inline-table inline inset inside invert italic '+ 54 | 'justify landscape large larger left-side left leftwards level lighter lime line-through list-item local loud lower-alpha '+ 55 | 'lowercase lower-greek lower-latin lower-roman lower low ltr marker maroon medium message-box middle mix move narrower '+ 56 | 'navy ne-resize no-close-quote none no-open-quote no-repeat normal nowrap n-resize nw-resize oblique olive once open-quote outset '+ 57 | 'outside overline pointer portrait pre print projection purple red relative repeat repeat-x repeat-y rgb ridge right right-side '+ 58 | 'rightwards rtl run-in screen scroll semi-condensed semi-expanded separate se-resize show silent silver slower slow '+ 59 | 'small small-caps small-caption smaller soft solid speech spell-out square s-resize static status-bar sub super sw-resize '+ 60 | 'table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group teal '+ 61 | 'text-bottom text-top thick thin top transparent tty tv ultra-condensed ultra-expanded underline upper-alpha uppercase upper-latin '+ 62 | 'upper-roman url visible wait white wider w-resize x-fast x-high x-large x-loud x-low x-slow x-small x-soft xx-large xx-small yellow'; 63 | 64 | var fonts = '[mM]onospace [tT]ahoma [vV]erdana [aA]rial [hH]elvetica [sS]ans-serif [sS]erif [cC]ourier mono sans serif'; 65 | 66 | this.regexList = [ 67 | { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments 68 | { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings 69 | { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings 70 | { regex: /\#[a-fA-F0-9]{3,6}/g, css: 'value' }, // html colors 71 | { regex: /(-?\d+)(\.\d+)?(px|em|pt|\:|\%|)/g, css: 'value' }, // sizes 72 | { regex: /!important/g, css: 'color3' }, // !important 73 | { regex: new RegExp(getKeywordsCSS(keywords), 'gm'), css: 'keyword' }, // keywords 74 | { regex: new RegExp(getValuesCSS(values), 'g'), css: 'value' }, // values 75 | { regex: new RegExp(this.getKeywords(fonts), 'g'), css: 'color1' } // fonts 76 | ]; 77 | 78 | this.forHtmlScript({ 79 | left: /(<|<)\s*style.*?(>|>)/gi, 80 | right: /(<|<)\/\s*style\s*(>|>)/gi 81 | }); 82 | }; 83 | 84 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 85 | Brush.aliases = ['css']; 86 | 87 | SyntaxHighlighter.brushes.CSS = Brush; 88 | 89 | // CommonJS 90 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 91 | })(); 92 | -------------------------------------------------------------------------------- /static/doc/syntax-highlighter/scripts/shBrushSass.js: -------------------------------------------------------------------------------- 1 | /** 2 | * SyntaxHighlighter 3 | * http://alexgorbatchev.com/SyntaxHighlighter 4 | * 5 | * SyntaxHighlighter is donationware. If you are using it, please donate. 6 | * http://alexgorbatchev.com/SyntaxHighlighter/donate.html 7 | * 8 | * @version 9 | * 3.0.83 (July 02 2010) 10 | * 11 | * @copyright 12 | * Copyright (C) 2004-2010 Alex Gorbatchev. 13 | * 14 | * @license 15 | * Dual licensed under the MIT and GPL licenses. 16 | */ 17 | ;(function() 18 | { 19 | // CommonJS 20 | typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null; 21 | 22 | function Brush() 23 | { 24 | function getKeywordsCSS(str) 25 | { 26 | return '\\b([a-z_]|)' + str.replace(/ /g, '(?=:)\\b|\\b([a-z_\\*]|\\*|)') + '(?=:)\\b'; 27 | }; 28 | 29 | function getValuesCSS(str) 30 | { 31 | return '\\b' + str.replace(/ /g, '(?!-)(?!:)\\b|\\b()') + '\:\\b'; 32 | }; 33 | 34 | var keywords = 'ascent azimuth background-attachment background-color background-image background-position ' + 35 | 'background-repeat background baseline bbox border-collapse border-color border-spacing border-style border-top ' + 36 | 'border-right border-bottom border-left border-top-color border-right-color border-bottom-color border-left-color ' + 37 | 'border-top-style border-right-style border-bottom-style border-left-style border-top-width border-right-width ' + 38 | 'border-bottom-width border-left-width border-width border bottom cap-height caption-side centerline clear clip color ' + 39 | 'content counter-increment counter-reset cue-after cue-before cue cursor definition-src descent direction display ' + 40 | 'elevation empty-cells float font-size-adjust font-family font-size font-stretch font-style font-variant font-weight font ' + 41 | 'height left letter-spacing line-height list-style-image list-style-position list-style-type list-style margin-top ' + 42 | 'margin-right margin-bottom margin-left margin marker-offset marks mathline max-height max-width min-height min-width orphans ' + 43 | 'outline-color outline-style outline-width outline overflow padding-top padding-right padding-bottom padding-left padding page ' + 44 | 'page-break-after page-break-before page-break-inside pause pause-after pause-before pitch pitch-range play-during position ' + 45 | 'quotes right richness size slope src speak-header speak-numeral speak-punctuation speak speech-rate stemh stemv stress ' + 46 | 'table-layout text-align top text-decoration text-indent text-shadow text-transform unicode-bidi unicode-range units-per-em ' + 47 | 'vertical-align visibility voice-family volume white-space widows width widths word-spacing x-height z-index'; 48 | 49 | var values = 'above absolute all always aqua armenian attr aural auto avoid baseline behind below bidi-override black blink block blue bold bolder '+ 50 | 'both bottom braille capitalize caption center center-left center-right circle close-quote code collapse compact condensed '+ 51 | 'continuous counter counters crop cross crosshair cursive dashed decimal decimal-leading-zero digits disc dotted double '+ 52 | 'embed embossed e-resize expanded extra-condensed extra-expanded fantasy far-left far-right fast faster fixed format fuchsia '+ 53 | 'gray green groove handheld hebrew help hidden hide high higher icon inline-table inline inset inside invert italic '+ 54 | 'justify landscape large larger left-side left leftwards level lighter lime line-through list-item local loud lower-alpha '+ 55 | 'lowercase lower-greek lower-latin lower-roman lower low ltr marker maroon medium message-box middle mix move narrower '+ 56 | 'navy ne-resize no-close-quote none no-open-quote no-repeat normal nowrap n-resize nw-resize oblique olive once open-quote outset '+ 57 | 'outside overline pointer portrait pre print projection purple red relative repeat repeat-x repeat-y rgb ridge right right-side '+ 58 | 'rightwards rtl run-in screen scroll semi-condensed semi-expanded separate se-resize show silent silver slower slow '+ 59 | 'small small-caps small-caption smaller soft solid speech spell-out square s-resize static status-bar sub super sw-resize '+ 60 | 'table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group teal '+ 61 | 'text-bottom text-top thick thin top transparent tty tv ultra-condensed ultra-expanded underline upper-alpha uppercase upper-latin '+ 62 | 'upper-roman url visible wait white wider w-resize x-fast x-high x-large x-loud x-low x-slow x-small x-soft xx-large xx-small yellow'; 63 | 64 | var fonts = '[mM]onospace [tT]ahoma [vV]erdana [aA]rial [hH]elvetica [sS]ans-serif [sS]erif [cC]ourier mono sans serif'; 65 | 66 | var statements = '!important !default'; 67 | var preprocessor = '@import @extend @debug @warn @if @for @while @mixin @include'; 68 | 69 | var r = SyntaxHighlighter.regexLib; 70 | 71 | this.regexList = [ 72 | { regex: r.multiLineCComments, css: 'comments' }, // multiline comments 73 | { regex: r.singleLineCComments, css: 'comments' }, // singleline comments 74 | { regex: r.doubleQuotedString, css: 'string' }, // double quoted strings 75 | { regex: r.singleQuotedString, css: 'string' }, // single quoted strings 76 | { regex: /\#[a-fA-F0-9]{3,6}/g, css: 'value' }, // html colors 77 | { regex: /\b(-?\d+)(\.\d+)?(px|em|pt|\:|\%|)\b/g, css: 'value' }, // sizes 78 | { regex: /\$\w+/g, css: 'variable' }, // variables 79 | { regex: new RegExp(this.getKeywords(statements), 'g'), css: 'color3' }, // statements 80 | { regex: new RegExp(this.getKeywords(preprocessor), 'g'), css: 'preprocessor' }, // preprocessor 81 | { regex: new RegExp(getKeywordsCSS(keywords), 'gm'), css: 'keyword' }, // keywords 82 | { regex: new RegExp(getValuesCSS(values), 'g'), css: 'value' }, // values 83 | { regex: new RegExp(this.getKeywords(fonts), 'g'), css: 'color1' } // fonts 84 | ]; 85 | }; 86 | 87 | Brush.prototype = new SyntaxHighlighter.Highlighter(); 88 | Brush.aliases = ['sass', 'scss']; 89 | 90 | SyntaxHighlighter.brushes.Sass = Brush; 91 | 92 | // CommonJS 93 | typeof(exports) != 'undefined' ? exports.Brush = Brush : null; 94 | })(); 95 | -------------------------------------------------------------------------------- /static/vendors/lightbox/simpleLightbox.css: -------------------------------------------------------------------------------- 1 | .slbOverlay, .slbWrapOuter, .slbWrap { 2 | position: fixed; 3 | top: 0; 4 | right: 0; 5 | bottom: 0; 6 | left: 0; 7 | } 8 | 9 | .slbOverlay { 10 | overflow: hidden; 11 | z-index: 2000; 12 | background-color: #000; 13 | opacity: 0.7; 14 | filter: alpha(opacity=70); 15 | -webkit-animation: slbOverlay 0.5s; 16 | -moz-animation: slbOverlay 0.5s; 17 | animation: slbOverlay 0.5s; 18 | } 19 | 20 | .slbWrapOuter { 21 | overflow-x: hidden; 22 | overflow-y: auto; 23 | z-index: 2010; 24 | } 25 | 26 | .slbWrap { 27 | position: absolute; 28 | text-align: center; 29 | } 30 | 31 | .slbWrap:before { 32 | content: ""; 33 | display: inline-block; 34 | height: 100%; 35 | vertical-align: middle; 36 | } 37 | 38 | .slbContentOuter { 39 | display: inline-block; 40 | vertical-align: middle; 41 | margin: 0px auto; 42 | padding: 0 1em; 43 | box-sizing: border-box; 44 | z-index: 2020; 45 | text-align: left; 46 | max-width: 100%; 47 | } 48 | 49 | .slbContentEl .slbContentOuter { 50 | padding: 5em 1em; 51 | } 52 | 53 | .slbContent { 54 | position: relative; 55 | } 56 | 57 | .slbContentEl .slbContent { 58 | -webkit-animation: slbEnter 0.3s; 59 | -moz-animation: slbEnter 0.3s; 60 | animation: slbEnter 0.3s; 61 | background-color: #fff; 62 | box-shadow: 0 0.2em 1em rgba(0, 0, 0, 0.4); 63 | } 64 | 65 | .slbImageWrap { 66 | -webkit-animation: slbEnter 0.3s; 67 | -moz-animation: slbEnter 0.3s; 68 | animation: slbEnter 0.3s; 69 | position: relative; 70 | } 71 | 72 | .slbImageWrap:after { 73 | content: ""; 74 | position: absolute; 75 | left: 0; 76 | right: 0; 77 | top: 5em; 78 | bottom: 5em; 79 | display: block; 80 | z-index: -1; 81 | box-shadow: 0 0.2em 1em rgba(0, 0, 0, 0.6); 82 | background-color: #FFF; 83 | } 84 | 85 | .slbImage { 86 | width: auto; 87 | max-width: 100%; 88 | height: auto; 89 | display: block; 90 | line-height: 0; 91 | box-sizing: border-box; 92 | padding: 5em 0; 93 | margin: 0 auto; 94 | } 95 | 96 | .slbCaption { 97 | display: inline-block; 98 | max-width: 100%; 99 | overflow: hidden; 100 | text-overflow: ellipsis; 101 | white-space: nowrap; 102 | word-wrap: normal; 103 | font-size: 1.4em; 104 | position: absolute; 105 | left: 0; 106 | right: 0; 107 | bottom: 0; 108 | padding: 0.71429em 0; 109 | color: #fff; 110 | color: rgba(255, 255, 255, 0.7); 111 | text-align: center; 112 | } 113 | 114 | .slbCloseBtn, .slbArrow { 115 | margin: 0; 116 | padding: 0; 117 | border: 0; 118 | cursor: pointer; 119 | background: none; 120 | } 121 | 122 | .slbCloseBtn::-moz-focus-inner, .slbArrow::-moz-focus-inner { 123 | padding: 0; 124 | border: 0; 125 | } 126 | 127 | .slbCloseBtn:hover, .slbArrow:hover { 128 | opacity: 0.5; 129 | } 130 | 131 | .slbCloseBtn:active, .slbArrow:active { 132 | opacity: 0.8; 133 | } 134 | 135 | .slbCloseBtn { 136 | -webkit-animation: slbEnter 0.3s; 137 | -moz-animation: slbEnter 0.3s; 138 | animation: slbEnter 0.3s; 139 | font-size: 3em; 140 | width: 1.66667em; 141 | height: 1.66667em; 142 | line-height: 1.66667em; 143 | position: absolute; 144 | right: -0.33333em; 145 | top: 0; 146 | color: #fff; 147 | color: rgba(255, 255, 255, 0.7); 148 | text-align: center; 149 | outline: none; 150 | box-shadow: none; 151 | } 152 | 153 | .slbLoading .slbCloseBtn { 154 | display: none; 155 | } 156 | 157 | .slbLoadingText { 158 | font-size: 1.4em; 159 | color: #fff; 160 | color: rgba(255, 255, 255, 0.9); 161 | } 162 | 163 | .slbArrows { 164 | position: fixed; 165 | top: 50%; 166 | left: 0; 167 | right: 0; 168 | } 169 | 170 | .slbLoading .slbArrows { 171 | display: none; 172 | } 173 | 174 | .slbArrow { 175 | position: absolute; 176 | top: 50%; 177 | margin-top: -5em; 178 | width: 5em; 179 | height: 10em; 180 | opacity: 0.7; 181 | text-indent: -999em; 182 | overflow: hidden; 183 | outline: none; 184 | box-shadow: none; 185 | } 186 | 187 | .slbArrow:before { 188 | content: ""; 189 | position: absolute; 190 | top: 50%; 191 | left: 50%; 192 | margin: -0.8em 0 0 -0.8em; 193 | border: 0.8em solid transparent; 194 | } 195 | 196 | .slbArrow.next { 197 | right: 0; 198 | } 199 | 200 | .slbArrow.next:before { 201 | border-left-color: #fff; 202 | } 203 | 204 | .slbArrow.prev { 205 | left: 0; 206 | } 207 | 208 | .slbArrow.prev:before { 209 | border-right-color: #fff; 210 | } 211 | 212 | .slbIframeCont { 213 | width: 80em; 214 | height: 0; 215 | overflow: hidden; 216 | padding-top: 56.25%; 217 | margin: 5em 0; 218 | } 219 | 220 | .slbIframe { 221 | position: absolute; 222 | top: 0; 223 | left: 0; 224 | width: 100%; 225 | height: 100%; 226 | box-shadow: 0 0.2em 1em rgba(0, 0, 0, 0.6); 227 | background: #000; 228 | } 229 | 230 | @-webkit-keyframes slbOverlay { 231 | from { 232 | opacity: 0; 233 | } 234 | to { 235 | opacity: 0.7; 236 | } 237 | } 238 | 239 | @-moz-keyframes slbOverlay { 240 | from { 241 | opacity: 0; 242 | } 243 | to { 244 | opacity: 0.7; 245 | } 246 | } 247 | 248 | @keyframes slbOverlay { 249 | from { 250 | opacity: 0; 251 | } 252 | to { 253 | opacity: 0.7; 254 | } 255 | } 256 | 257 | @-webkit-keyframes slbEnter { 258 | from { 259 | opacity: 0; 260 | -webkit-transform: translate3d(0, -1em, 0); 261 | } 262 | to { 263 | opacity: 1; 264 | -webkit-transform: translate3d(0, 0, 0); 265 | } 266 | } 267 | 268 | @-moz-keyframes slbEnter { 269 | from { 270 | opacity: 0; 271 | -moz-transform: translate3d(0, -1em, 0); 272 | } 273 | to { 274 | opacity: 1; 275 | -moz-transform: translate3d(0, 0, 0); 276 | } 277 | } 278 | 279 | @keyframes slbEnter { 280 | from { 281 | opacity: 0; 282 | -webkit-transform: translate3d(0, -1em, 0); 283 | -moz-transform: translate3d(0, -1em, 0); 284 | -ms-transform: translate3d(0, -1em, 0); 285 | -o-transform: translate3d(0, -1em, 0); 286 | transform: translate3d(0, -1em, 0); 287 | } 288 | to { 289 | opacity: 1; 290 | -webkit-transform: translate3d(0, 0, 0); 291 | -moz-transform: translate3d(0, 0, 0); 292 | -ms-transform: translate3d(0, 0, 0); 293 | -o-transform: translate3d(0, 0, 0); 294 | transform: translate3d(0, 0, 0); 295 | } 296 | } 297 | -------------------------------------------------------------------------------- /static/result.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Result 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 |
    23 |
    24 |
    25 | 26 | 27 |
    28 |
    29 | 30 | 42 |
    43 | 44 | 58 | 59 | 60 | 61 |
    62 |
    63 |
    64 |
    65 |
    66 |




    {{pred}}

    67 | 68 |
    69 |
    70 | 71 |
    72 |
    73 |
    74 |
    75 | 76 | 77 |
    78 |
    79 |
    80 |
    81 |
    82 |

    83 | 84 |
    85 |
    86 | 87 |
    88 |
    89 |
    90 |
    91 | 92 |
    93 |
    94 |
    95 |
    96 |
    97 |

    98 | 99 |
    100 |
    101 | 102 |
    103 |
    104 |
    105 |
    106 | 107 | 108 |
    109 | 128 | 129 | 130 | 131 | 145 |
    146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | --------------------------------------------------------------------------------