Skip to content

Commit

Permalink
Changed css location
Browse files Browse the repository at this point in the history
  • Loading branch information
jose-correia committed Nov 6, 2019
1 parent 0f9edeb commit c5dbbef
Show file tree
Hide file tree
Showing 19 changed files with 54 additions and 4 deletions.
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,13 @@ fenixedu.ini

/jeec_brain/database/migrations
/jeec_brain/storage/
/jeec_brain/static/
/jeec_brain/static/companies/images/
/jeec_brain/static/members/
/jeec_brain/static/speakers/
/jeec_brain/static/event/
/jeec_brain/static/website/
/jeec_brain/static/cv_platform/

/__pycache__

/venv
Expand Down
6 changes: 3 additions & 3 deletions jeec_brain/handlers/companies_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ def delete_company(cls, company):
if DeleteCompanyService(company=company).call():
for extension in current_app.config['ALLOWED_IMAGES']:
filename = company_name.lower().replace(' ', '_') + '.' + extension
DeleteImageService(filename, 'static/companies').call()
DeleteImageService(filename, 'static/companies/images').call()
return True
return False

@classmethod
def upload_image(cls, file, company_name):
return UploadImageService(file, company_name, 'static/companies').call()
return UploadImageService(file, company_name, 'static/companies/images').call()

@classmethod
def find_image(cls, company_name):
return FindImageService(company_name, 'static/companies').call()
return FindImageService(company_name, 'static/companies/images').call()
Binary file removed jeec_brain/static/companies/accenture.png
Binary file not shown.
Binary file removed jeec_brain/static/companies/adentis.png
Binary file not shown.
Binary file removed jeec_brain/static/companies/admin.png
Binary file not shown.
Binary file removed jeec_brain/static/companies/altran.png
Binary file not shown.
Binary file removed jeec_brain/static/companies/aubay.png
Binary file not shown.
Binary file removed jeec_brain/static/companies/critical.png
Binary file not shown.
44 changes: 44 additions & 0 deletions jeec_brain/static/companies/css/companies.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@

.accept-container {
margin-top: 50px;
margin-bottom: 50px;
text-align: center;
}

.accept-button + label {
color: #2c3e50;
font-family: 'Lato';
font-size: 22px;
border: 2px solid rgb(140, 180, 245);
padding: 10px;
border-radius: 10px;
cursor: pointer;
}

.text-container {
padding-left: 10vw;
padding-right: 10vw;
font-size: 13px;
line-height: 17px;
font-family: 'Lato';
text-align: justify;
}

.text-section {
font-size: 15px;
font-weight: 600;
margin-top: 20px;
}

.terms-warning {
text-align: center;
padding-top: 20px;
font-size: 16px;
}

.company-logo-company-side {
max-height: 150px;
max-width: 300px;
margin-top: 100px;
margin-bottom: 60px;
}
Binary file removed jeec_brain/static/companies/everis.png
Binary file not shown.
Binary file removed jeec_brain/static/companies/ey.png
Binary file not shown.
Binary file removed jeec_brain/static/companies/kpmg.png
Binary file not shown.
Binary file removed jeec_brain/static/companies/microsoft.png
Binary file not shown.
Binary file removed jeec_brain/static/companies/neyond.png
Binary file not shown.
Binary file removed jeec_brain/static/companies/novabase.png
Binary file not shown.
Binary file removed jeec_brain/static/companies/outsystems.png
Binary file not shown.
Binary file removed jeec_brain/static/companies/siemens.png
Binary file not shown.
Binary file removed jeec_brain/static/companies/vodafone.png
Binary file not shown.
Binary file removed jeec_brain/static/companies/vtxrm.png
Binary file not shown.

0 comments on commit c5dbbef

Please sign in to comment.