Skip to content

Commit

Permalink
Adding procfile and some random static stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
pritamps committed Oct 28, 2020
1 parent 6a8315c commit bf15d96
Show file tree
Hide file tree
Showing 97 changed files with 7,076 additions and 3,754 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -143,3 +143,7 @@ dmypy.json

# Cython debug symbols
cython_debug/

#Django
static/*
static/admin/*
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: gunicorn --bind :8000 --workers 3 --threads 2 ivideo.wsgi:application
Binary file modified ivideo/__pycache__/settings.cpython-38.pyc
Binary file not shown.
91 changes: 37 additions & 54 deletions static/admin/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

@import url(fonts.css);

html, body {
height: 100%;
}

body {
margin: 0;
padding: 0;
Expand Down Expand Up @@ -94,7 +98,7 @@ h5 {
letter-spacing: 1px;
}

ul li {
ul > li {
list-style-type: square;
padding: 1px 0;
}
Expand Down Expand Up @@ -124,6 +128,7 @@ form {

fieldset {
margin: 0;
min-width: 0;
padding: 0;
border: none;
border-top: 1px solid #eee;
Expand All @@ -141,6 +146,7 @@ code, pre {
font-family: "Bitstream Vera Sans Mono", Monaco, "Courier New", Courier, monospace;
color: #666;
font-size: 12px;
overflow-x: auto;
}

pre.literal-block {
Expand Down Expand Up @@ -171,22 +177,10 @@ hr {
font-size: 11px;
}

.tiny {
font-size: 10px;
}

p.tiny {
margin-top: -2px;
}

.mini {
font-size: 10px;
}

p.mini {
margin-top: -3px;
}

.help, p.help, form p.help, div.help, form div.help, div.help li {
font-size: 11px;
color: #999;
Expand All @@ -209,32 +203,10 @@ p img, h1 img, h2 img, h3 img, h4 img, td img {
font-weight: normal;
}

.float-right {
float: right;
}

.float-left {
float: left;
}

.clear {
clear: both;
}

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

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

.example {
margin: 10px 0;
padding: 5px 10px;
background: #efefef;
}

.nowrap {
white-space: nowrap;
}
Expand Down Expand Up @@ -284,11 +256,14 @@ tr.alt {
background: #f6f6f6;
}

.row1 {
tr:nth-child(odd), .row-form-errors {
background: #fff;
}

.row2 {
tr:nth-child(even),
tr:nth-child(even) .errorlist,
tr:nth-child(odd) + .row-form-errors,
tr:nth-child(odd) + .row-form-errors .errorlist {
background: #f9f9f9;
}

Expand Down Expand Up @@ -441,6 +416,8 @@ select {
}

select[multiple] {
/* Allow HTML size attribute to override the height in the rule above. */
height: auto;
min-height: 150px;
}

Expand Down Expand Up @@ -618,24 +595,11 @@ td ul.errorlist li {
padding-left: 0;
}

.errors input, .errors select, .errors textarea {
.errors input, .errors select, .errors textarea,
td ul.errorlist + input, td ul.errorlist + select, td ul.errorlist + textarea {
border: 1px solid #ba2121;
}

div.system-message {
background: #ffc;
margin: 10px;
padding: 6px 8px;
font-size: .8em;
}

div.system-message p.system-message-title {
padding: 4px 5px 4px 25px;
margin: 0;
color: #c11;
background: #ffefef url(../img/icon-no.svg) 5px 5px no-repeat;
}

.description {
font-size: 12px;
padding: 5px 0 0 12px;
Expand Down Expand Up @@ -772,6 +736,23 @@ table#change-history tbody th {
width: 100%;
min-width: 980px;
padding: 0;
display: flex;
flex-direction: column;
height: 100%;
}

#container > div {
flex-shrink: 0;
}

#container > .main {
display: flex;
flex: 1 0 auto;
}

.main > .content {
flex: 1 0;
max-width: 100%;
}

#content {
Expand Down Expand Up @@ -827,10 +808,12 @@ table#change-history tbody th {

#header {
width: auto;
height: 40px;
height: auto;
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 40px;
background: #417690;
line-height: 40px;
color: #ffc;
overflow: hidden;
}
Expand Down
12 changes: 9 additions & 3 deletions static/admin/css/changelists.css
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
margin: 0;
vertical-align: top;
font-size: 13px;
max-width: 230px;
}

#changelist #toolbar form #searchbar:focus {
Expand All @@ -98,7 +99,8 @@

#changelist #toolbar form input[type="submit"] {
border: 1px solid #ccc;
padding: 2px 10px;
font-size: 13px;
padding: 4px 8px;
margin: 0;
vertical-align: middle;
background: #fff;
Expand Down Expand Up @@ -154,7 +156,6 @@

#changelist-filter ul:last-child {
border-bottom: none;
padding-bottom: none;
}

#changelist-filter li {
Expand Down Expand Up @@ -186,6 +187,12 @@
color: #036;
}

#changelist-filter #changelist-filter-clear a {
font-size: 13px;
padding-bottom: 10px;
border-bottom: 1px solid #eaeaea;
}

/* DATE DRILLDOWN */

.change-list ul.toplinks {
Expand Down Expand Up @@ -231,7 +238,6 @@
}

.paginator a.showall {
padding: 0;
border: none;
background: none;
color: #5b80b2;
Expand Down
1 change: 0 additions & 1 deletion static/admin/css/dashboard.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,4 @@ ul.actionlist li {
list-style-type: none;
overflow: hidden;
text-overflow: ellipsis;
-o-text-overflow: ellipsis;
}
10 changes: 2 additions & 8 deletions static/admin/css/forms.css
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ body.popup .submit-row {
width: 2.2em;
}

.vTextField {
.vTextField, .vUUIDField {
width: 20em;
}

Expand Down Expand Up @@ -501,20 +501,14 @@ body.popup .submit-row {

/* RELATED FIELD ADD ONE / LOOKUP */

.add-another, .related-lookup {
.related-lookup {
margin-left: 5px;
display: inline-block;
vertical-align: middle;
background-repeat: no-repeat;
background-size: 14px;
}

.add-another {
width: 16px;
height: 16px;
background-image: url(../img/icon-addlink.svg);
}

.related-lookup {
width: 16px;
height: 16px;
Expand Down
11 changes: 6 additions & 5 deletions static/admin/css/login.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
/* LOGIN FORM */

body.login {
.login {
background: #f8f8f8;
height: auto;
}

.login #header {
height: auto;
padding: 5px 16px;
padding: 15px 16px;
justify-content: center;
}

.login #header h1 {
Expand All @@ -29,6 +31,7 @@ body.login {
width: 28em;
min-width: 300px;
margin: 100px auto;
height: auto;
}

.login #content-main {
Expand All @@ -54,9 +57,7 @@ body.login {
clear: both;
padding: 8px;
width: 100%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
box-sizing: border-box;
}

.login span.help {
Expand Down
Loading

0 comments on commit bf15d96

Please sign in to comment.