Skip to content

Commit

Permalink
💀🔥 Remove Forum views (#3638)
Browse files Browse the repository at this point in the history
🔥 remove forum views
  • Loading branch information
josemigallas authored Nov 28, 2023
1 parent 928f296 commit c4d6a8e
Show file tree
Hide file tree
Showing 57 changed files with 0 additions and 1,045 deletions.
10 changes: 0 additions & 10 deletions app/assets/javascripts/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,16 +226,6 @@
}
}

// React to topics sort dropdown

$('#forum select#s').change(function(){
var param = this.options[this.selectedIndex].value || '',
view = $('div.by-category').attr('data-view'),
category = $('div.by-category').attr('data-category');

location.href = "?view=" + view + "&s=" + param + "&for_category=" + category;
});

// DEPRECATED: since the introduction of PF4 and React, colorbox is being removed. Also jquery-ujs has been replaced with rails-ujs.
// Added #colorbox selector to target only non-React forms
// show errors from ajax in formtastic
Expand Down
8 changes: 0 additions & 8 deletions app/assets/stylesheets/provider/_commons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -208,14 +208,6 @@ hr, {
cursor: move;
}

#forum {
.u-dl,
.post {
@include white-box-shadow;
padding: line-height-times(1);
}
}

.pf-m-force-float-right {
float: right !important; /* scss-lint:disable ImportantRule */
}
33 changes: 0 additions & 33 deletions app/assets/stylesheets/provider/_forum.scss

This file was deleted.

1 change: 0 additions & 1 deletion app/assets/stylesheets/provider/_theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@

@import 'provider/links';
@import 'provider/footer';
@import 'provider/forum';
@import 'provider/sidetabs';
@import 'provider/services';
@import 'provider/plans';
Expand Down
11 changes: 0 additions & 11 deletions app/helpers/posts_helper.rb

This file was deleted.

Empty file.
5 changes: 0 additions & 5 deletions app/views/forums/admin/categories/_form.html.erb

This file was deleted.

5 changes: 0 additions & 5 deletions app/views/forums/admin/categories/_latest_topics.html.erb

This file was deleted.

29 changes: 0 additions & 29 deletions app/views/forums/admin/categories/_list.html.erb

This file was deleted.

13 changes: 0 additions & 13 deletions app/views/forums/admin/categories/_topic.html.erb

This file was deleted.

9 changes: 0 additions & 9 deletions app/views/forums/admin/categories/edit.html.erb

This file was deleted.

38 changes: 0 additions & 38 deletions app/views/forums/admin/categories/index.html.erb

This file was deleted.

8 changes: 0 additions & 8 deletions app/views/forums/admin/categories/new.html.erb

This file was deleted.

6 changes: 0 additions & 6 deletions app/views/forums/admin/categories/show.html.erb

This file was deleted.

1 change: 0 additions & 1 deletion app/views/forums/admin/forums/_captcha.html.erb

This file was deleted.

57 changes: 0 additions & 57 deletions app/views/forums/admin/forums/_topics.html.erb

This file was deleted.

6 changes: 0 additions & 6 deletions app/views/forums/admin/forums/show.html.erb

This file was deleted.

7 changes: 0 additions & 7 deletions app/views/forums/admin/posts/_anonymous.html.erb

This file was deleted.

2 changes: 0 additions & 2 deletions app/views/forums/admin/posts/_fields.html.erb

This file was deleted.

16 changes: 0 additions & 16 deletions app/views/forums/admin/posts/edit.html.erb

This file was deleted.

32 changes: 0 additions & 32 deletions app/views/forums/admin/posts/index.html.erb

This file was deleted.

13 changes: 0 additions & 13 deletions app/views/forums/admin/posts/new.html.erb

This file was deleted.

30 changes: 0 additions & 30 deletions app/views/forums/admin/topics/_form.html.erb

This file was deleted.

Loading

0 comments on commit c4d6a8e

Please sign in to comment.