Skip to content
Open
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@

## Setup

> For a step-by-step local setup guide see [docs/setting-up.md](docs/setting-up.md). For codebase orientation see [docs/getting-started.md](docs/getting-started.md).

Needs: Python 3.X, virtualenv

Stable at v. 3.10.X
Expand All @@ -36,7 +38,8 @@ Stable at v. 3.10.X
- `virtualenv env --python=python3.10`
- `source ./env/bin/activate`
- `pip install -r requirements.txt`
- (Optional) If using Postgres, set up the necessary environment variables for its usage before this step
- Possible error: psycopg2-binary --> install openssl@3 and export LDFLAGS, CPPFLAGS and PKG_CONFIG_PATH
- (Optional) If using Postgres, set up the necessary environment variables for its usage before next step. Install libpq and add it to PATH.
- `python manage.py migrate`
- `python manage.py createsuperuser` (creates super user to manage all the app)

Expand Down
63 changes: 63 additions & 0 deletions app/static/css/bootstrap-overrides/alerts.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
/* Bootstrap 3 overrides — alerts */
.label{display:inline;padding:.2em .6em .3em;font-size:75%;line-height:1;color:#fff;border-radius:.25em}
.badge,.progress-bar,.tooltip{font-size:12px}
a.label:focus,a.label:hover{color:#fff;text-decoration:none;cursor:pointer}
.label:empty{display:none}
.btn .label{position:relative;top:-1px}
.label-default{background-color:#777}
.label-default[href]:focus,.label-default[href]:hover{background-color:#5e5e5e}
.label-primary{background-color:#5B5340}
.label-primary[href]:focus,.label-primary[href]:hover{background-color:#231F20}
.label-success{background-color:#178c54}
.label-success[href]:focus,.label-success[href]:hover{background-color:#10603a}
.label-info{background-color:#42a2cb}
.label-info[href]:focus,.label-info[href]:hover{background-color:#2f86ab}
.label-warning{background-color:#e88035}
.label-warning[href]:focus,.label-warning[href]:hover{background-color:#d26618}
.label-danger{background-color:#e18282}
.label-danger[href]:focus,.label-danger[href]:hover{background-color:#d75959}
.badge{display:inline-block;min-width:10px;padding:3px 7px;line-height:1;color:#fff;vertical-align:middle;background-color:#777;border-radius:8px}
.badge:empty{display:none}
.media-object,.thumbnail{display:block}
.btn .badge{position:relative;top:-1px}
.btn-group-xs>.btn .badge,.btn-xs .badge{top:0;padding:1px 5px}
a.badge:focus,a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}
.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#5B5340;background-color:#fff}
.jumbotron,.jumbotron .h1,.jumbotron h1{color:inherit}
.list-group-item>.badge{float:right}
.list-group-item>.badge+.badge{margin-right:5px}
.nav-pills>li>a>.badge{margin-left:3px}
.jumbotron{padding-top:30px;padding-bottom:30px;margin-bottom:30px;background-color:#eee}
.jumbotron p{margin-bottom:15px;font-size:21px;font-weight:200}
.alert .alert-link,.close{font-weight:700}
.alert,.progress,.thumbnail{margin-bottom:20px}
.jumbotron>hr{border-top-color:#d5d5d5}
.container .jumbotron,.container-fluid .jumbotron{padding-right:15px;padding-left:15px;border-radius:8px}
.jumbotron .container{max-width:100%}
@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}
.container .jumbotron,.container-fluid .jumbotron{padding-right:60px;padding-left:60px}
.jumbotron .h1,.jumbotron h1{font-size:63px}
}
.thumbnail{padding:4px;line-height:1.42857143;background-color:#fff0;border:1px solid #ddd;border-radius:8px;-webkit-transition:border .2s ease-in-out;-o-transition:border .2s ease-in-out;transition:border .2s ease-in-out}
.thumbnail a>img,.thumbnail>img{margin-right:auto;margin-left:auto}
a.thumbnail.active,a.thumbnail:focus,a.thumbnail:hover{border-color:#5B5340}
.thumbnail .caption{padding:9px;color:#333}
.alert,.panel-body{padding:15px}
.alert{border:1px solid transparent;border-radius:8px}
.alert h4{margin-top:0;color:inherit}
.alert>p+p,.panel-group .panel+.panel{margin-top:5px}
.alert>p,.alert>ul{margin-bottom:0}
.alert-dismissable,.alert-dismissible{padding-right:35px}
.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}
.alert-success{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}
.alert-success hr{border-top-color:#c9e2b3}
.alert-success .alert-link{color:#2b542c}
.alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}
.alert-info hr{border-top-color:#a6e1ec}
.alert-info .alert-link{color:#245269}
.alert-warning{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}
.alert-warning hr{border-top-color:#f7e1b5}
.alert-warning .alert-link{color:#66512c}
.alert-danger{color:#a94442;background-color:#f2dede;border-color:#ebccd1}
.alert-danger hr{border-top-color:#e4b9c0}
.alert-danger .alert-link{color:#843534}
67 changes: 67 additions & 0 deletions app/static/css/bootstrap-overrides/buttons.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions app/static/css/bootstrap-overrides/dropdowns.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/* Bootstrap 3 overrides — dropdowns */
.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-top:4px solid\9;border-right:4px solid transparent;border-left:4px solid transparent}
.dropdown-toggle:focus{outline:0}
.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;list-style:none;background-color:#fff;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:8px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175)}
.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child,.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}
.btn-group-vertical>.btn:not(:first-child):not(:last-child),.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn,.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}
.dropdown-header,.dropdown-menu>li>a{white-space:nowrap;padding:3px 20px;line-height:1.42857143}
.dropdown-menu-right,.dropdown-menu.pull-right{right:0;left:auto}
.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}
.dropdown-menu>li>a{display:block;clear:both;font-weight:400;color:#333}
.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{color:#262626;text-decoration:none;background-color:#f5f5f5}
.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;background-color:#5B5340;outline:0}
.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{color:#777}
.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}
.open>.dropdown-menu{display:block}
.open>a{outline:0}
.dropdown-menu-left{right:auto;left:0}
.dropdown-header{display:block;font-size:12px;color:#777}
.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}
.pull-right>.dropdown-menu{right:0;left:auto}
.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px dashed;border-bottom:4px solid\9}
.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}
@media (min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}
.navbar-right .dropdown-menu-left{right:auto;left:0}
}
Loading