Skip to content

Commit

Permalink
Add static files
Browse files Browse the repository at this point in the history
  • Loading branch information
RishabhJain2018 committed Apr 27, 2020
1 parent 11a3c67 commit 7025a4a
Show file tree
Hide file tree
Showing 30 changed files with 12,343 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ env/
db.sqlite3
uwsgi.ini
vilbert_multitask_nginx.conf
static/
uwsgi_params
158 changes: 158 additions & 0 deletions demo/static/css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
p,
h1,
h2,
h3,
h4,
font {
font-weight: 300 !important;
font-family: 'Roboto', sans-serif !important;
}

body {
font-weight: 300 !important;
font-family: 'Roboto', sans-serif !important;
padding-top: 30px;
}

.fs-16 {
font-size: 16px;
}
.fs-14 {
font-size: 14px !important;
}

.align-center {
text-align: center;
}

.caption {
font-size: 18px !important;
font-weight: bold;
}

#inputAnswer,
#predictedAnswer {
font-weight: bold;
}

.under {
position: absolute;
z-index: -1;
}

.over {
position: absolute;
z-index: 0;
mix-blend-mode: multiply;
}

#gradCamCaption {
position: relative;
padding-top: 350px;
}

.finalImages {
width: 350px !important;
height: 350px !important;
padding: 6px;
}

.resultText {
margin-bottom: 15px !important;
}

.vqa_model {
padding-bottom: 9px;
margin: 40px 0 20px;
}

.hiddenDiv {
display: none;
}

.button_link {
cursor: pointer;
}

.demo_img {
height: 300px !important;
padding: 6px;
}

.demo_img:hover {
border: 6px solid black;
padding: 0px;
cursor: pointer;
}

.image-selected {
border: 3px solid red !important;
padding: 0px;
cursor: pointer;
}


#show-demo-images-btn {
text-align: right;
}

@media(max-width: 540px) {
#show-demo-images-btn {
text-align: center;
}
}

.dz-upload {
display: block;
background-color: red;
height: 10px;
width: 0%;
}

input[type="radio"] {
vertical-align: super;
width: 5%;
height: 2%;
cursor: pointer;
}

.border-bottom {
border-bottom: 1px solid #eee;
}

.choose-model {
padding-bottom: 9px;
border-bottom: 1px solid #eee;
}

.demo-images {
background-color: #428bca !important;
border-color: #357ebd !important;
}

.long-placeholder::-webkit-input-placeholder { /* Chrome/Opera/Safari */
white-space:pre-line;
position:relative;
top:-7px;

}
.long-placeholder::-moz-placeholder { /* Firefox 19+ */
white-space:pre-line;
position:relative;
top:-7px;
}
.fs-20 {
font-size: 20px !important;
}

.fs-22 {
font-size: 22px !important;
}

.fs-24 {
font-size: 24px !important;
}

.fs-26 {
font-size: 26px !important;
}
Binary file added demo/static/images/img1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/static/images/img2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/static/images/img3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/static/images/img4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/static/images/img5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/static/images/img6.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added demo/static/images/vqa.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions demo/static/js/dropzone-5.7.0/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
build
components
node_modules
.DS_Store
.sass-cache
_site
_config.yaml
52 changes: 52 additions & 0 deletions demo/static/js/dropzone-5.7.0/.tagconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"files": [
{
"name": "src/dropzone.coffee",
"regexs": [
"Dropzone.version = \"###\""
]
},
{
"name": "dist/dropzone.js",
"regexs": [
"version = \"###\""
]
},
{
"name": "dist/min/dropzone.min.js",
"regexs": [
"version=\"###\""
]
},
{
"name": "dist/dropzone-amd-module.js",
"regexs": [
"version = \"###\""
]
},
{
"name": "dist/min/dropzone-amd-module.min.js",
"regexs": [
"version=\"###\""
]
},
{
"name": "package.json",
"regexs": [
"\"version\": \"###\""
]
},
{
"name": "component.json",
"regexs": [
"\"version\": \"###\""
]
},
{
"name": "bower.json",
"regexs": [
"\"version\": \"###\""
]
}
]
}
6 changes: 6 additions & 0 deletions demo/static/js/dropzone-5.7.0/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Contribute
==========

DO NOT CREATE PULL REQUESTS ON GITHUB!

I will simply close them. If you want to contribute, please use [gitlab.com](https://gitlab.com/meno/dropzone) instead.
12 changes: 12 additions & 0 deletions demo/static/js/dropzone-5.7.0/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
License

(The MIT License)

Copyright (c) 2012 Matias Meno <[email protected]>
Logo & Website Design (c) 2015 "1910" www.weare1910.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
36 changes: 36 additions & 0 deletions demo/static/js/dropzone-5.7.0/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<img alt="Dropzone.js" src="http://www.dropzonejs.com/images/new-logo.svg" />

Dropzone.js is a light weight JavaScript library that turns an HTML element into a dropzone.
This means that a user can drag and drop a file onto it, and the file gets uploaded to the server via AJAX.

* * *

_If you want support, please use [stackoverflow](http://stackoverflow.com/) with the `dropzone.js` tag and not the
GitHub issues tracker. Only post an issue here if you think you discovered a bug or have a feature request._

* * *

**Please read the [contributing guidelines](CONTRIBUTING.md) before you start working on Dropzone!**

<br>
<div align="center">
<a href="https://gitlab.com/meno/dropzone/builds/artifacts/master/download?job=release"><strong>&gt;&gt; Download &lt;&lt;</strong></a>
</div>
<br>
<br>

This is no longer the official repository for Dropzone. I have switched to [gitlab.com](https://gitlab.com/meno/dropzone)
as the primary location to continue development.

There are multiple reasons why I am switching from GitHub to GitLab, but a few of the reasons are the
issue tracker that GitHub is providing, *drowning* me in issues that I am unable to categorise or prioritize properly,
the lack of proper continuous integration, and build files. I don't want the compiled `.js` files in my repository, and
people regularly commit changes to the compiled files and create pull requests with them.

I will write a blog post soon, that goes into detail about why I am doing the switch.

This repository will still remain, and always host the most up to date versions of dropzone, but only the distribution
files!

MIT License
-----------
16 changes: 16 additions & 0 deletions demo/static/js/dropzone-5.7.0/bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "dropzone",
"location": "enyo/dropzone",
"version": "5.7.0",
"description": "Dropzone is an easy to use drag'n'drop library. It supports image previews and shows nice progress bars.",
"homepage": "http://www.dropzonejs.com",
"main": [
"dist/min/dropzone.min.css",
"dist/min/dropzone.min.js"
],
"ignore": [
"*",
"!dist",
"!dist/**/*"
]
}
10 changes: 10 additions & 0 deletions demo/static/js/dropzone-5.7.0/component.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "dropzone",
"repo": "enyo/dropzone",
"version": "5.7.0",
"description": "Handles drag and drop of files for you.",
"scripts": [ "index.js", "dist/dropzone.js" ],
"styles": [ "dist/basic.css" ],
"dependencies": { },
"license": "MIT"
}
18 changes: 18 additions & 0 deletions demo/static/js/dropzone-5.7.0/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "enyo/dropzone",
"description": "Handles drag and drop of files for you.",
"homepage": "http://www.dropzonejs.com",
"keywords": [
"dragndrop",
"drag and drop",
"file upload",
"upload"
],
"authors": [{
"name": "Matias Meno",
"email": "[email protected]",
"homepage": "http://www.matiasmeno.com"
}],
"license": "MIT",
"minimum-stability": "dev"
}
39 changes: 39 additions & 0 deletions demo/static/js/dropzone-5.7.0/dist/basic.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/*
* The MIT License
* Copyright (c) 2012 Matias Meno <[email protected]>
*/
.dropzone, .dropzone * {
box-sizing: border-box; }

.dropzone {
position: relative; }
.dropzone .dz-preview {
position: relative;
display: inline-block;
width: 120px;
margin: 0.5em; }
.dropzone .dz-preview .dz-progress {
display: block;
height: 15px;
border: 1px solid #aaa; }
.dropzone .dz-preview .dz-progress .dz-upload {
display: block;
height: 100%;
width: 0;
background: green; }
.dropzone .dz-preview .dz-error-message {
color: red;
display: none; }
.dropzone .dz-preview.dz-error .dz-error-message, .dropzone .dz-preview.dz-error .dz-error-mark {
display: block; }
.dropzone .dz-preview.dz-success .dz-success-mark {
display: block; }
.dropzone .dz-preview .dz-error-mark, .dropzone .dz-preview .dz-success-mark {
position: absolute;
display: none;
left: 30px;
top: 30px;
width: 54px;
height: 58px;
left: 50%;
margin-left: -27px; }
Loading

0 comments on commit 7025a4a

Please sign in to comment.