Skip to content

Commit

Permalink
Revert "722 improved UI on pathways page (#729)"
Browse files Browse the repository at this point in the history
This reverts commit 0d8ccf7.
  • Loading branch information
EggyRepublic committed Aug 9, 2023
1 parent 47fec6d commit 0625d9f
Showing 1 changed file with 13 additions and 28 deletions.
41 changes: 13 additions & 28 deletions src/web/src/pages/Pathway.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</div>
<div v-if="categories.length > 0" class="mx-auto w-75">
<!-- pop-up window -->
<b-modal ref="my-modal" hide-footer="true">
<b-modal ref="my-modal">
<div class="block text-left" v-if="showPath != null" md="10">
<h3
class="text-center"
Expand All @@ -48,33 +48,18 @@
</h3>
<br />
<div v-for="(item, itemName) in showPath" :key="itemName">
<div v-if="itemName != 'Name'">
<h4 style="color: #3395ff; margin-top: -20px;">
{{ itemName + ": " }}
</h4>
<div v-if="itemName == 'Compatible minor(s)'" >
<li
v-for="course in item"
:key="course"
v-on:click="goPage(course)"
class="courseInPath"
style="pointer-events: none;"
>
{{ course }}
</li>
</div>
<div v-else >
<li
v-for="course in item"
:key="course"
v-on:click="goPage(course)"
class="courseInPath"
>
{{ course }}
</li>
</div>
<br />
</div>
<h4 style="color: #3395ff; margin-top: -20px;">
{{ itemName + ": " }}
</h4>
<li
v-for="course in item"
:key="course"
v-on:click="goPage(course)"
class="courseInPath"
>
{{ course }}
</li>
<br />
</div>
</div>
</b-modal>
Expand Down

0 comments on commit 0625d9f

Please sign in to comment.