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

Bootstrap 4 #411

Open
wants to merge 138 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
138 commits
Select commit Hold shift + click to select a range
c85efc7
Convert impress to bootstrap 4.
maltehuebner Dec 13, 2018
e458fb8
Create bootstrap 4 navigation.
maltehuebner Dec 13, 2018
62ffb01
Raise bootstrap 4 from beta 4 to 4.1.x
maltehuebner Dec 14, 2018
c479170
Convert gdpr to bootstrap 4.
maltehuebner Dec 14, 2018
5bf5d3a
Convert privacy to bootstrap 4.
maltehuebner Dec 14, 2018
17c2d96
Merge branch 'master' into bootstrap4-again
maltehuebner Dec 15, 2018
466f907
Raise glympse and critical maps to bootstrap 4.
maltehuebner Dec 15, 2018
f2c4949
Update profile management page.
maltehuebner Dec 15, 2018
b714b69
Profile photo page.
maltehuebner Dec 15, 2018
45d46b4
Profile color page.
maltehuebner Dec 15, 2018
a362614
Profile username.
maltehuebner Dec 15, 2018
1eb0c56
Fix menu for bootstrap 4.
maltehuebner Dec 17, 2018
12d132c
Convert board overview to bootstrap 4.
maltehuebner Dec 17, 2018
5f21542
Convert thread view to bootstrap 4.
maltehuebner Dec 17, 2018
48fa981
Convert thread list to bootstrap 4.
maltehuebner Dec 17, 2018
6d94982
WIP for converting participation list to bootstrap 4.
maltehuebner Dec 17, 2018
b200ebb
Merge branch 'master' into bootstrap4-again
maltehuebner Dec 17, 2018
7542b0f
no message
maltehuebner Jan 19, 2019
6b8255d
Merge branch 'master' into bootstrap4-again
maltehuebner Jan 28, 2019
b624c72
Purge old bootstrap 4 assets.
maltehuebner Jan 28, 2019
5ada2e2
Ignore node_modules.
maltehuebner Jan 28, 2019
094689b
Getting started with bootstrap 4.
maltehuebner Jan 28, 2019
069c149
Someone wrote luft.jetzt in navigation.
maltehuebner Jan 28, 2019
cd087ed
Fix bootstrap dependencies.
maltehuebner Jan 28, 2019
9987833
Fix menu.
maltehuebner Jan 28, 2019
c2ddce1
Convert city list page.
maltehuebner Jan 28, 2019
7812ba7
Convert help to bootstrap 4.
maltehuebner Jan 28, 2019
4ddab1d
Convert intro to bootstrap 4.
maltehuebner Jan 28, 2019
492d557
Convert calendar to bootstrap 4.
maltehuebner Jan 28, 2019
4389311
Merge branch 'master' into bootstrap4-again
maltehuebner Jan 28, 2019
6d42b85
Convert region page to bootstrap 4.
maltehuebner Jan 28, 2019
8b6a056
WIP for bootstrap 4 at frontpage.
maltehuebner Jan 29, 2019
15e71e4
Convert timeline to bootstrap 4.
maltehuebner Jan 29, 2019
e46b492
Fix cards at frontpage.
maltehuebner Jan 29, 2019
77fe4e4
WIP for converting ride page to bootstrap 4.
maltehuebner Jan 30, 2019
389fe77
Merge.
maltehuebner Feb 1, 2019
6631d26
Fix broken frontpage card.
maltehuebner Feb 1, 2019
78932e1
Add some margin to frontpage cards.
maltehuebner Feb 1, 2019
2f9b3aa
WIP.
maltehuebner Feb 3, 2019
7b8317d
Merge.
maltehuebner Feb 11, 2019
dfb1e15
Fix button style for trash.
maltehuebner Feb 11, 2019
ad8627f
Heavy WIP.
maltehuebner Feb 11, 2019
b366774
Merge branch 'master' into bootstrap4-again
maltehuebner Feb 18, 2019
6bd9472
Minor fixes.
maltehuebner Feb 19, 2019
031e76a
Statistic for bootstrap 4.
maltehuebner Feb 19, 2019
5b1db1d
Convert more statistic to bootstrap 4.
maltehuebner Feb 19, 2019
11ada39
Convert top 10 statistics to bootstrap 4.
maltehuebner Feb 20, 2019
4f271fe
Purge these modal templates as they are unused forever.
maltehuebner Feb 20, 2019
5d0ca22
Fix login modal and menu.
maltehuebner Feb 20, 2019
250fdfc
F**k this and skip carousel for later.
maltehuebner Feb 21, 2019
b02908d
Use standard navigation for frontpage.
maltehuebner Feb 21, 2019
6001352
Convert timeline page to bootstrap 4.
maltehuebner Feb 21, 2019
b3c01b5
Convert new thread page to bootstrap 4.
maltehuebner Feb 21, 2019
ce50798
First try for city page.
maltehuebner Feb 22, 2019
fe7ae75
Adjust margin.
maltehuebner Feb 23, 2019
546d719
Even more wip.
maltehuebner Feb 24, 2019
a3f15cb
Merge branch 'master' into bootstrap4-again
maltehuebner Feb 27, 2019
0350cac
Introduce macros.
maltehuebner Feb 27, 2019
34d3991
WIP for macros.
maltehuebner Feb 27, 2019
baf7aa1
WIP for tab macro.
maltehuebner Feb 28, 2019
781c875
Use tabs also here.
maltehuebner Feb 28, 2019
84ef016
Add tab panels for macro.
maltehuebner Feb 28, 2019
2049d78
Fix canvas divs.
maltehuebner Feb 28, 2019
a908964
WIP for modal macro.
maltehuebner Mar 1, 2019
5a811c9
WIP for modal and buttons.
maltehuebner Mar 1, 2019
ee85bd2
Replace img-responsive with img-fluid.
maltehuebner Mar 1, 2019
270c54f
Merge branch 'master' into bootstrap4-again
maltehuebner Mar 6, 2019
89ac53c
Fix region page.
maltehuebner Mar 6, 2019
8c93b9e
Convert edit city page to bootstrap 4.
maltehuebner Mar 6, 2019
4bf483e
Convert city not found page to bootstrap 4.
maltehuebner Mar 6, 2019
ba7d184
Convert bikeright stuff to bootstrap 4.
maltehuebner Mar 6, 2019
70eb485
Fix change passowrd page and convert to bootstrap 4.
maltehuebner Mar 6, 2019
79d1b87
Convert more user profile pages to bootstrap 4.
maltehuebner Mar 6, 2019
65c5142
Convert password resetting to bootstrap 4.
maltehuebner Mar 6, 2019
e09148c
Syntax.
maltehuebner Mar 6, 2019
03711eb
Convert alerts to bootstrap 4.
maltehuebner Mar 6, 2019
3113d31
Convert location page to bootstrap 4.
maltehuebner Mar 6, 2019
bbf1faf
Fix login modal stuff.
maltehuebner Mar 6, 2019
d5f12a3
Convert login page to bootstrap 4.
maltehuebner Mar 6, 2019
1baa501
Convert track list page to bootstrap 4.
maltehuebner Mar 7, 2019
a7530a9
Merge branch 'master' into bootstrap4-again
maltehuebner Mar 7, 2019
0f83c45
Convert track time page to bootstrap 4.
maltehuebner Mar 7, 2019
171a9c6
Convert track range to bootstrap 4.
maltehuebner Mar 7, 2019
74d1f9f
Convert track view page to bootstrap 4.
maltehuebner Mar 8, 2019
7b7e221
Fix broken ride pagination.
maltehuebner Mar 8, 2019
7c284c0
Convert strava import to bootstrap 4.
maltehuebner Mar 8, 2019
dd52c3c
Convert gpx upload page to bootstrap 4.
maltehuebner Mar 8, 2019
ebeb61d
Convert photo gallery to bootstrap 4.
maltehuebner Mar 8, 2019
b3ea7de
More work on photo gallery.
maltehuebner Mar 8, 2019
05981f3
Convert photo page to bootstrap 4.
maltehuebner Mar 8, 2019
b968f20
Convert example gallery to bootstrap 4.
maltehuebner Mar 8, 2019
cab2738
Convert photo upload page to bootstrap 4.
maltehuebner Mar 8, 2019
dab65e2
Kill double footer at Frontpage.
maltehuebner Mar 9, 2019
9ff7bd2
Fix tab behavior at ride page.
maltehuebner Mar 9, 2019
d7862c0
WIP for ride tabs.
maltehuebner Mar 9, 2019
701abc5
Replace col-md-12 with col-12.
maltehuebner Mar 9, 2019
1ea5df2
Replace btn-success with btn-primary.
maltehuebner Mar 9, 2019
fdc953d
More wip for ride page.
maltehuebner Mar 9, 2019
838ea63
Replace own margin and padding classes with bootstrap 4 stuff.
maltehuebner Mar 9, 2019
5b23bb0
Wip.
maltehuebner Mar 20, 2019
34982e8
Merge.
maltehuebner Apr 3, 2019
ac006bc
More fixes for RideManagement page.
maltehuebner Apr 3, 2019
3075fc5
Convert social network management to bootstrap 4.
maltehuebner Apr 3, 2019
412c4a9
Fix search page.
maltehuebner Apr 4, 2019
3f4c226
More search page improvements.
maltehuebner Apr 4, 2019
09db6af
Convert cycle pages to bootstrap.
maltehuebner Apr 4, 2019
7317306
Fix dropdown in city page.
maltehuebner Apr 4, 2019
2976738
Convert more city pages to bootstrap 4.
maltehuebner Apr 4, 2019
23ad623
Convert crawler website to bootstrap 4.
maltehuebner Apr 4, 2019
7d9efc8
More updates.
maltehuebner Apr 5, 2019
97c38ba
Convert subrides to bootstrap 4.
maltehuebner Apr 5, 2019
d8df1c0
Remove all the bootstrap 4 toogles.
maltehuebner Apr 5, 2019
4a4c7f2
WIP for improving breadcrumbs.
maltehuebner Apr 5, 2019
a9dca39
WIP for replacing breadcrumbs.
maltehuebner Apr 8, 2019
8b6a68a
Fixed some breadcrumb import issues and more wip.
maltehuebner Apr 8, 2019
f27d3b8
More WIP for breadcrumbs.
maltehuebner Apr 11, 2019
88ed0c1
More wip for breadcrumbs.
maltehuebner Apr 12, 2019
bc31227
Merge branch 'master' into bootstrap4-again
maltehuebner May 15, 2019
844b013
Merge branch 'master' into bootstrap4-again
maltehuebner May 15, 2019
44a0a0f
Replacing more breadcrumbs with macros.
maltehuebner May 16, 2019
cc6aaac
Remove unused template.
maltehuebner May 16, 2019
04d2202
Breadcrumbs for bikeright.
maltehuebner May 16, 2019
ae56b15
Breadcrumbs for region.
maltehuebner May 16, 2019
5b37819
Breadcrumbs for strava track import.
maltehuebner May 16, 2019
f4fc518
Breadcrumbs!
maltehuebner May 16, 2019
d4b08d8
Remove another unused template.
maltehuebner May 17, 2019
9f21aee
Convert more breadcrumbs.
maltehuebner May 17, 2019
6661752
Replace home breadcrumb with Critical Mass.
maltehuebner May 17, 2019
8fa3b1b
Replace social network breadcrumbs.
maltehuebner May 17, 2019
be16885
Merge branch 'master' into bootstrap4-again
maltehuebner May 21, 2019
67d03b6
Fix feature_enabled().
maltehuebner May 21, 2019
bfb5bd9
Merge branch 'master' into bootstrap4-again
maltehuebner May 22, 2019
1f347ab
Fix tabs macro.
maltehuebner May 24, 2019
edb2ce1
Fix CookieNotice font size.
maltehuebner May 25, 2019
7d0dc79
Rearrange login modal.
maltehuebner May 27, 2019
d786bc6
Merge.
maltehuebner Jun 11, 2019
be42af4
Use bootstrap 4.3
maltehuebner Jun 13, 2019
a38bd77
Merge branch 'master' into bootstrap4-again
maltehuebner Sep 15, 2020
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
/node_modules
/assets/css

node_modules

# Backup entities generated with doctrine:generate:entities command
**/Entity/*~
criticalmass.iml
Expand Down
6 changes: 5 additions & 1 deletion assets/js/CriticalMass.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
var CriticalMass = CriticalMass || {};

CriticalMass.loadModule = function (name, context, options, callback) {
console.log(name);
require([name], function (Module) {
var module = new Module(context, options);

Expand All @@ -13,6 +14,9 @@ CriticalMass.loadModule = function (name, context, options, callback) {
require.config({
baseUrl: '/js/',
shim: {
'bootstrap.bundle': {
deps: ['jquery']
},
'leaflet-sleep': {
deps: ['leaflet'],
exports: 'L.Map.Sleep'
Expand Down Expand Up @@ -47,4 +51,4 @@ require.config({
exports: 'Bloodhound'
}
}
});
});
1 change: 1 addition & 0 deletions assets/js/modules/CookieNotice.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ define(['cookie.notice'], function () {
'noticeBgColor': '#000',
'noticeTextColor': '#fff',
'linkColor':'#fff',
'fontSize': '1em',
'buttonLocales': {
'de': 'Einverstanden'
},
Expand Down
2 changes: 1 addition & 1 deletion assets/js/modules/map/Map.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//define(['leaflet', 'CityMarker', 'LocationMarker', 'L.Control.Locate', 'Leaflet.Sleep'], function () {
define(['leaflet', 'CityMarker', 'LocationMarker'], function () {
define(['jquery', 'leaflet', 'CityMarker', 'LocationMarker'], function ($, L) {
Map = function (mapId, settings) {
this._mapId = mapId;

Expand Down
2 changes: 1 addition & 1 deletion assets/js/modules/modal/CloseModalButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ define([], function () {
CloseModalButton.prototype._html = null;

CloseModalButton.prototype.render = function () {
this._html = '<button type="button" class="btn btn-default" data-dismiss="modal">Schließen</button>';
this._html = '<button type="button" class="btn btn-secondary-outline" data-dismiss="modal">Schließen</button>';

this._$button = $(this._html);

Expand Down
8 changes: 5 additions & 3 deletions assets/js/modules/modal/Modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,12 @@ define([], function () {
' <div class="modal-dialog modal-' + this._size + '">',
' <div class="modal-content">',
' <div class="modal-header">',
' <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>',
' <h4 class="modal-title">',
' <h5 class="modal-title">',
' ' + this._modalTitle,
' </h4>',
' </h5>',
' <button type="button" class="close" data-dismiss="modal" aria-label="Close">',
' <span aria-hidden="true">&times;</span>',
' </button>',
' </div>',
' <div class="modal-body">',
' ' + this._modalBody,
Expand Down
2 changes: 1 addition & 1 deletion assets/js/modules/page/TrackListPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ define(['AutoMap', 'Modal', 'ModalButton', 'CloseModalButton'], function () {
var deleteButton = new ModalButton();
deleteButton.setCaption('Löschen');
deleteButton.setIcon('cross');
deleteButton.setClass('btn-success');
deleteButton.setClass('btn-primary');
deleteButton.setHref(Routing.generate('caldera_criticalmass_track_delete', {trackId: trackId}));

var closeButton = new CloseModalButton;
Expand Down
10 changes: 3 additions & 7 deletions assets/scss/criticalmass.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@import "../../node_modules/bootstrap-sass/assets/stylesheets/_bootstrap.scss";
@import "../../node_modules/bootstrap/scss/bootstrap.scss";
@import "criticalmass/criticalmass";
@import "criticalmass/frontpage3";
@import "criticalmass/bikeright4";
@import "criticalmass/frontpage4";

.form-control.datepicker {
padding: 0.5rem 0.75rem !important;
Expand All @@ -10,11 +11,6 @@
text-align: left !important;
}

.breadcrumb > li + li:before {
content: "/\00a0";
color: $breadcrumb-color;
}

input[type="file"] {
display: inline !important;
}
Expand Down
37 changes: 37 additions & 0 deletions assets/scss/criticalmass/_frontpage4.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
.carousel {
margin-left: -15px;
margin-right: -15px;
text-align: center;

.carousel-item {
.carousel-caption {
text-shadow: 0.5px 1px 2px rgba(0, 0, 0, 0.9);
}
}
}

.navbar-wrapper {
.navbar {
margin-bottom: 0;
}
}

@media (max-width: 920px) {
.navbar-wrapper {
.container {
width: 100%;
padding-left: 0;
padding-right: 0;
}
}
}

@media (min-width: 920px) {
.navbar-wrapper {
position: absolute;
top: 0;
left: 0;
right: 0;
margin-top: 20px;
}
}
Loading