Skip to content

Commit

Permalink
Remove static folder and rename static_media to static
Browse files Browse the repository at this point in the history
We never needed two static folders to begin with.
  • Loading branch information
iafisher committed Sep 25, 2017
1 parent 473580a commit 2784d7e
Show file tree
Hide file tree
Showing 38 changed files with 619 additions and 41,394 deletions.
6 changes: 1 addition & 5 deletions QI/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@

STATIC_URL = '/static/'

STATIC_ROOT = '/srv/QI/static_media/'

STATICFILES_DIRS = (
os.path.join(BASE_DIR, 'static/'),
)
STATIC_ROOT = os.path.join(BASE_DIR, 'static')

# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/1.8/howto/deployment/checklist/
Expand Down
Empty file added sample.txt
Empty file.
File renamed without changes.
2 changes: 0 additions & 2 deletions static/AutoModels/.gitignore

This file was deleted.

750 changes: 413 additions & 337 deletions static/AutoModels/SW_GH1804.xml

Large diffs are not rendered by default.

Binary file removed static/css/.DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion static/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -9998,7 +9998,7 @@ text-align: center;
transform: rotate(-90deg);
top: 0;
left: -34px;
margin-top: 100px;
margin-top: 80px;
padding: 5px;
background-color: #f2f2f2;
border-bottom-left-radius: 5px;
Expand Down
Binary file removed static/css/font-awesome/.DS_Store
Binary file not shown.
45 changes: 0 additions & 45 deletions static/css/sftp-config.json

This file was deleted.

46 changes: 0 additions & 46 deletions static/img/get_img.py

This file was deleted.

19 changes: 0 additions & 19 deletions static/img/get_pics

This file was deleted.

2 changes: 0 additions & 2 deletions static/js/.gitignore

This file was deleted.

3 changes: 1 addition & 2 deletions static/js/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,9 @@ $(document).ready(function() {

}






});


16 changes: 1 addition & 15 deletions static/js/app.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
// Foundation JavaScript
// Documentation can be found at: http://foundation.zurb.com/docs
$(document).foundation();

$(document).ready(function(){

function reHeight() {
$('.my-grid > li').each(function() {
$(this).height($(this).width() * 0.65);
});
}

reHeight();

$(window).resize(reHeight);

});
$(document).foundation();
Loading

0 comments on commit 2784d7e

Please sign in to comment.