53 Commits

Author SHA1 Message Date
Pfingstfrosch
1a94f5919d final styling of table sorting 2020-05-31 17:02:34 +02:00
Pfingstfrosch
ad85619ccc added sorting arrow for favorites view 2020-05-31 16:45:22 +02:00
Pfingstfrosch
72b9f7d7a0 Don't allow empty search due to the course requirement 4 2020-05-31 15:17:56 +02:00
Pfingstfrosch
80bf9dbc5b render search crawlers header as partial 2020-05-31 15:06:25 +02:00
Pfingstfrosch
fcc07a75b4 offer a back to search button 2020-05-31 14:25:41 +02:00
Pfingstfrosch
2d8a2f8b7e decrease size of titles, looks better on mobiles
change text, add information on which specific search you are
2020-05-31 13:59:11 +02:00
Pfingstfrosch
28a722e5e1 decrease size of titles, looks better on mobiles 2020-05-31 13:54:01 +02:00
Pfingstfrosch
32ec7c49ff make favorite view more mobile friendly
append buttons under each row of data instead besides
append a line which separates the tables beneath every odd line to group data and buttons
2020-05-31 13:50:07 +02:00
Pfingstfrosch
831c78a3ff Merge remote-tracking branch 'remotes/origin/projects_search' into fixes
# Conflicts:
#	app/views/favorites/projects.html.erb
#	db/schema.rb
2020-05-31 13:16:56 +02:00
Pfingstfrosch
724a13347c Display 'Not implemented yet.' 2020-05-29 16:12:44 +02:00
Pfingstfrosch
84cf537412 Catch render errors and display 'Couldn't find anything' instead of stacktrace 2020-05-29 16:12:23 +02:00
Pfingstfrosch
f96ed67cf0 move buttons underneath the displayed lines to make the view more mobile compatible 2020-05-29 15:56:19 +02:00
04245d63dc Implement favoriting of projects 2020-05-29 10:29:20 +02:00
c9f93d6fd8 Do not parse HTML
Might allow an attacker (in this case someone creating a course in TISS)
to do some nasty HTML injection. But eeeh, who cares? ¯\_(ツ)_/¯
2020-05-27 20:07:04 +02:00
f2ad597c94 Implement the basic search result page for projects 2020-05-27 17:47:41 +02:00
9c76ce0553 Implement a basic detail page for projects 2020-05-27 17:44:03 +02:00
e359595d0f Add advisor and assistant names to thesis detail view 2020-05-25 16:28:22 +02:00
b20cccf07b Implement favorite view for theses 2020-05-25 16:20:27 +02:00
d84297bde7 Implement search, show_basic, show_detail and add_to_fav for theses 2020-05-25 16:14:41 +02:00
311e3d9dcb Finish favorite courses view 2020-05-25 14:57:15 +02:00
Pfingstfrosch
b11ef548b6 style the table 2020-05-16 15:06:42 +02:00
Pfingstfrosch
2f6d638cd1 second attempt of making favorite people view sortable 2020-05-16 14:09:33 +02:00
Pfingstfrosch
83d4368af7 first attempt of making favorite people view sortable 2020-05-16 13:30:00 +02:00
Pfingstfrosch
d34a3d583c refactored crawler controllers and bundled them in crawlers namespace 2020-05-12 19:49:18 +02:00
Pfingstfrosch
415ed22f6e remove HOME Page, because redundant
show search page as default
2020-05-12 19:27:43 +02:00
Pfingstfrosch
92eff82f1a refactored favorites:
instead of using a fav page for each content, use a general favorites pane where the user can select which favs shall be shown
2020-05-12 19:19:04 +02:00
Pfingstfrosch
a8f4d4a9db Main nav bar now contains 3 menus:
- Home
- Search TISS
- Your Favorites
2020-05-12 19:17:13 +02:00
4d9bc09ae1 Add names of lecturers to detail page for courses 2020-05-10 17:05:30 +02:00
550d9ddfed Add more information to detail view for courses 2020-05-10 15:58:45 +02:00
23613f0a14 Shorten XML for parsed course
Instead of passing the complete XML response to the page, only the part
where the interesting fields for a course are stored should be passed as
a parameter. It also shortens the code in the html.erb file that is
necessary to pull out the wanted fields.
2020-05-09 16:03:30 +02:00
ba6d9b24a4 Implement detail page for courses 2020-05-09 15:56:44 +02:00
74bd875427 Implement basic search for courses 2020-05-09 12:16:20 +02:00
0314b75b24 Flash error message when favoriting already favorited person 2020-05-07 11:58:29 +02:00
d111a371ae Change layout of favorites 2020-05-07 11:57:39 +02:00
c8902d12ac Style detail page 2020-05-01 13:31:30 +02:00
bce58e7ea4 Fix errors 2020-05-01 11:45:43 +02:00
99b4e66504 Styling of search result page 2020-04-25 15:28:40 +02:00
4f45c768ec Fix mess made by @Pfingstfrosch 2020-04-24 23:02:45 +02:00
Marco Zeisler
76d4a6cd76 Add h1 2020-04-21 19:03:39 +02:00
Marco Zeisler
a36796960f refactoring of "abstract" search controller 2020-04-21 18:58:48 +02:00
Marco Zeisler
fbfc12e096 store and display favorite person by tiss_id 2020-04-21 18:06:07 +02:00
Marco Zeisler
c32819d819 first attempt of people crawler incl. detail view 2020-04-21 16:07:54 +02:00
Marco Zeisler
e0a21f180f refactoring 2020-04-21 13:52:27 +02:00
Marco Zeisler
c5cc225ca6 refactoring of project 2020-04-21 13:19:01 +02:00
Marco Zeisler
c0a5b794ec refactoring of project 2020-04-21 13:03:59 +02:00
Marco Zeisler
e2f0bd7237 setup abstract search 2020-04-20 18:21:19 +02:00
9050ddc69d Configure routes and rename sign in to log in
Signed-off-by: Tobias Eidelpes <tobias@eidelpes.info>
2020-04-14 13:58:50 +02:00
2f85af35cb Add authentication via devise
Signed-off-by: Tobias Eidelpes <tobias@eidelpes.info>
2020-04-14 13:44:45 +02:00
6014c64e64 Remove JavaScript in navbar and include logout
Signed-off-by: Tobias Eidelpes <tobias@eidelpes.info>
2020-04-14 11:39:41 +02:00
c8bc0ca1cd Implement basic navbar
Signed-off-by: Tobias Eidelpes <tobias@eidelpes.info>
2020-04-07 13:51:05 +02:00