Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New website UI #137

Draft
wants to merge 66 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 65 commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
e30dc66
Add uptodate django links
AdrianoCahete Oct 23, 2020
071a914
Remove unused files
AdrianoCahete Oct 23, 2020
ae59fda
Add base css file
AdrianoCahete Oct 23, 2020
12a697d
Fix base template code to match layout proposal
AdrianoCahete Oct 23, 2020
021dec3
Add logo proposal assets
AdrianoCahete Oct 23, 2020
8df76bb
Add new footer and nav starter styles + Add OpenSans typography
AdrianoCahete Oct 23, 2020
54dd488
Removing map file to keep logs clean
AdrianoCahete Oct 23, 2020
884a353
Move brand images to brand folder
AdrianoCahete Oct 23, 2020
23d911d
Remove typography for now
AdrianoCahete Oct 23, 2020
cdd2c4d
Add new preview brand logo
AdrianoCahete Oct 23, 2020
3d72415
Add new base layout for footer and navbar
AdrianoCahete Oct 23, 2020
0888725
New specs for menu
AdrianoCahete Oct 23, 2020
29ba6eb
Modal splitted style
AdrianoCahete Oct 23, 2020
73b66fd
Move content to match actual layout
AdrianoCahete Oct 26, 2020
a9a89f8
Fix footer order
AdrianoCahete Oct 26, 2020
47ad0b5
Better header/nav + Better Hero block + Better footer
AdrianoCahete Oct 26, 2020
610f67a
Fix index content order
AdrianoCahete Oct 27, 2020
0dd4cbe
Add button, hero, content and some utilities classes + Fix modal posi…
AdrianoCahete Oct 27, 2020
a486e86
Add TODO to download component to see later + Remade sponsor componen…
AdrianoCahete Oct 27, 2020
ed1c542
Fix button styles + Add myself as a designer on About page + Fix navi…
AdrianoCahete Oct 27, 2020
44abdba
Add github link to the footer
AdrianoCahete Oct 27, 2020
85c9e81
Fix some Lighthouse warnings + Fix footer layout +Move svg icons to a…
AdrianoCahete Oct 27, 2020
24ba673
Move component templates to a component folder
AdrianoCahete Oct 27, 2020
08a5c97
Move component templates to a component folder
AdrianoCahete Oct 27, 2020
020f5a1
Move component templates to a component folder
AdrianoCahete Oct 27, 2020
d6809bc
Fix button layout states + Fix order in svg icons to be a better one …
AdrianoCahete Oct 27, 2020
be1014b
Fix nav active styles + Fix button styles in modal + Fix default butt…
AdrianoCahete Oct 27, 2020
c2a713c
Add News layout
AdrianoCahete Oct 27, 2020
5f9621f
Remove test content
AdrianoCahete Oct 27, 2020
f6f3112
Add layout to Features block
AdrianoCahete Oct 27, 2020
5ed71a2
Fix header styles + Add svg illustrations
AdrianoCahete Oct 30, 2020
7e26149
Preparing to create the mobile version
AdrianoCahete Oct 30, 2020
86819de
Fiux sponsor block style
AdrianoCahete Oct 30, 2020
92f27bd
Fix code style inside downlaod popup + Fix link hover on nav + Remove…
AdrianoCahete Oct 30, 2020
94794ce
Base style fixes for internal pages
AdrianoCahete Oct 30, 2020
be7174a
Fix table styles + Fix Docs screens
AdrianoCahete Nov 3, 2020
9390689
Fix sponsor list style
AdrianoCahete Nov 3, 2020
0ed0d6a
Fix internal pages + Add some of them on docs page
AdrianoCahete Nov 3, 2020
e3e404b
Fix internal pages + Reorder links on doc page to make more sense
AdrianoCahete Nov 3, 2020
acb30bb
Fix more layouts +Add Security annouces to support and download page …
AdrianoCahete Nov 3, 2020
4297196
Add and remove TODOs + Remove unused code
AdrianoCahete Nov 4, 2020
e36b1c7
Add new sponsor
AdrianoCahete Nov 4, 2020
6c25a00
First accordion style
AdrianoCahete Nov 5, 2020
d107729
Accordion styles
AdrianoCahete Nov 5, 2020
84b80f0
Standardize code + Remove unused code
AdrianoCahete Nov 5, 2020
362fdf9
Fix for nav-pills style + Fix for dllist + Fix for theme page
AdrianoCahete Nov 5, 2020
656aab4
Fixing award page
AdrianoCahete Nov 5, 2020
d6c12f2
Fix Team page photos and team's description
AdrianoCahete Nov 5, 2020
ce21d1c
Fix Translation page + Fix progress bar styles
AdrianoCahete Nov 5, 2020
42a15d1
Fix Try page
AdrianoCahete Nov 5, 2020
566beb3
Fix Try page
AdrianoCahete Nov 5, 2020
5b3c49d
Remove unused code
AdrianoCahete Nov 5, 2020
e024b69
Mobile base
AdrianoCahete Nov 5, 2020
e9b3edd
Mobile fixes + Docs updates + Demo alerts
AdrianoCahete Nov 5, 2020
a10aabe
Update Theme Page
AdrianoCahete Nov 6, 2020
4c48964
Add Team link to About Page
AdrianoCahete Nov 6, 2020
c61c77d
Remove unused code
AdrianoCahete Nov 9, 2020
1d008a5
Fix Donate, Docs and About page layouts + Add History view to About p…
AdrianoCahete Nov 9, 2020
b5c31de
Fix typos + Fix menu on mobile + Fix footer on small mobile
AdrianoCahete Nov 10, 2020
d5dcaf5
Update favicons with preview v2
AdrianoCahete Nov 10, 2020
70ca83a
Dark Theme Preview :)
AdrianoCahete Nov 10, 2020
ce31e8a
Update Brand assets
AdrianoCahete Nov 12, 2020
a0467d2
Remove leftover for themes
AdrianoCahete Nov 23, 2020
546229f
Update pmaweb/templates/downloads.html
AdrianoCahete Nov 25, 2020
d53b860
Fix broken template include paths
MauricioFauth Apr 24, 2021
63ffe13
Update pmaweb/templates/index.html
AdrianoCahete Apr 24, 2021
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
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ indent_size = 4
[*.html]
indent_style = space
indent_size = 2

[*.css]
indent_style = space
indent_size = 2
8 changes: 2 additions & 6 deletions data/menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,10 @@

# Main menu
MENU = [
('', 'Home'),
('news', 'News'),
('security/', 'Security'),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should keep the Security link at the main menu.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My first idea was to move "Security" to the "Support" submenu, but when I was implementing I saw that it will be adding more work than I was planning and move out for this. We can try to go back to this idea again.

Stated here:

Moved "Security" to the "Support" submenu. "Security" as a (main) menu gives the idea that the product has a lot of Security Flaws. If we have it on "Support", gives the idea for the people who search for some support that we have attention to security, but for the main public doesn't need to have that attention, because it's the default behavior (to design a safe system).

('support', 'Support'),
('docs', 'Docs'),
('try', 'Try'),
('about-website', 'About'),
('support', 'Support'),
('contribute', 'Contribute'),
('sponsors', 'Sponsors'),
('themes', 'Themes'),
('downloads', 'Download'),
]
16 changes: 7 additions & 9 deletions pmaweb/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,12 @@

For more information on this file, see
https://docs.djangoproject.com/en/1.7/topics/settings/
https://django.readthedocs.io/en/1.7.x/topics/settings.html

For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.7/ref/settings/
https://django.readthedocs.io/en/1.7.x/ref/settings.html

"""

# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
Expand All @@ -39,6 +42,7 @@

# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/1.7/howto/deployment/checklist/
# https://django.readthedocs.io/en/1.7.x/howto/deployment/checklist.html

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'n$6di6axa*m5)$%yzhl6xhe%^b4t^)6#sbz_b5_7&ga@12(+_h'
Expand Down Expand Up @@ -107,14 +111,12 @@
]

ROOT_URLCONF = 'pmaweb.urls'

WSGI_APPLICATION = 'pmaweb.wsgi.application'

SITE_ID = 1

# Database
# https://docs.djangoproject.com/en/1.7/ref/settings/#databases

# https://django.readthedocs.io/en/1.7.x/ref/databases.html
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
Expand All @@ -124,20 +126,16 @@

# Internationalization
# https://docs.djangoproject.com/en/1.7/topics/i18n/

# https://django.readthedocs.io/en/1.7.x/topics/i18n/index.html
LANGUAGE_CODE = 'en-us'

TIME_ZONE = 'UTC'

USE_I18N = True

USE_L10N = True

USE_TZ = True


# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/1.7/howto/static-files/
# https://django.readthedocs.io/en/1.7.x/howto/static-files/

STATIC_URL = '/static/'

Expand Down
Binary file added pmaweb/static/android-icon-192x192.png
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 pmaweb/static/apple-icon-180x180.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: 0 additions & 7 deletions pmaweb/static/bootstrap/css/bootstrap.min.css

This file was deleted.

1 change: 0 additions & 1 deletion pmaweb/static/bootstrap/css/bootstrap.min.css.map

This file was deleted.

124 changes: 124 additions & 0 deletions pmaweb/static/bootstrap/css/modal.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@

.modal-open {
overflow: hidden;
}
.modal {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1050;
display: none;
overflow: hidden;
-webkit-overflow-scrolling: touch;
outline: 0;
}
.modal.fade .modal-dialog {
transform: translate(0, 0);
transition: transform 0.3s ease-out;
}
.modal.in .modal-dialog {
-webkit-transform: translate(0, 0);
-ms-transform: translate(0, 0);
-o-transform: translate(0, 0);
transform: translate(0, 0);
}
.modal-open .modal {
overflow-x: hidden;
overflow-y: auto;
}
.modal-dialog {
position: relative;
width: auto;
margin: 10px;
}
.modal-content {
position: relative;
background-color: var(--background-page);
background-clip: padding-box;
border: 1px solid #999999;
border: 1px solid rgba(0, 0, 0, 0.2);
border-radius: 6px;
-webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
outline: 0;
}
.modal-backdrop {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1040;
background-color: #000000;
}
.modal-backdrop.fade {
filter: alpha(opacity=0);
opacity: 0;
}
.modal-backdrop.in {
filter: alpha(opacity=50);
opacity: 0.5;
}
.modal-header {
display: flex;
flex-direction: row-reverse;
justify-content: space-between;
padding: 15px;
border-bottom: 1px solid #e5e5e5;
}
.modal-header .close {
margin-top: -2px;
background: transparent;
border: 0;
font-size: 2.3rem;
}
.modal-title {
margin: 0;
line-height: 1.42857143;
}
.modal-body {
position: relative;
padding: 15px;
}
.modal-footer {
padding: 15px;
text-align: right;
border-top: 1px solid #e5e5e5;
}
.modal-footer .btn + .btn {
margin-bottom: 0;
margin-left: 5px;
}
.modal-footer .btn-group .btn + .btn {
margin-left: -1px;
}
.modal-footer .btn-block + .btn-block {
margin-left: 0;
}
.modal-scrollbar-measure {
position: absolute;
top: -9999px;
width: 50px;
height: 50px;
overflow: scroll;
}
@media (min-width: 768px) {
.modal-dialog {
width: 600px;
margin: 30px auto;
}
.modal-content {
-webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
.modal-sm {
width: 300px;
}
}
@media (min-width: 992px) {
.modal-lg {
width: 900px;
}
}
Loading