feat: Introduce admin pages for pending course review and course details, and instructor pages for course management and lesson quizzes.
All checks were successful
Build and Deploy Frontend Management to Dev Server / Build Frontend Management Docker Image (push) Successful in 33s
Build and Deploy Frontend Management to Dev Server / Deploy E-learning Frontend Management to Dev Server (push) Successful in 2s
Build and Deploy Frontend Management to Dev Server / Notify Deployment Status (push) Successful in 1s
All checks were successful
Build and Deploy Frontend Management to Dev Server / Build Frontend Management Docker Image (push) Successful in 33s
Build and Deploy Frontend Management to Dev Server / Deploy E-learning Frontend Management to Dev Server (push) Successful in 2s
Build and Deploy Frontend Management to Dev Server / Notify Deployment Status (push) Successful in 1s
This commit is contained in:
parent
ff91df2bd6
commit
941b195813
6 changed files with 388 additions and 27 deletions
|
|
@ -230,9 +230,10 @@
|
|||
:color="choice.is_correct ? 'positive' : 'grey'"
|
||||
size="18px"
|
||||
/>
|
||||
<span :class="{ 'text-green-600 font-medium': choice.is_correct }">
|
||||
{{ choice.text.th || `ตัวเลือก ${Number(cIndex) + 1}` }}
|
||||
</span>
|
||||
<div :class="{ 'text-green-600 font-medium': choice.is_correct }">
|
||||
<div>{{ choice.text.th || `ตัวเลือก ${Number(cIndex) + 1}` }}</div>
|
||||
<div v-if="choice.text.en" class="text-xs opacity-75">{{ choice.text.en }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</q-card-section>
|
||||
|
|
@ -296,13 +297,21 @@
|
|||
:val="cIndex"
|
||||
@update:model-value="setCorrectChoice(cIndex)"
|
||||
/>
|
||||
<q-input
|
||||
v-model="choice.text.th"
|
||||
:label="`ตัวเลือก ${cIndex + 1}`"
|
||||
outlined
|
||||
dense
|
||||
class="flex-1"
|
||||
/>
|
||||
<div class="flex-1">
|
||||
<q-input
|
||||
v-model="choice.text.th"
|
||||
:label="`ตัวเลือก ${cIndex + 1} (TH)`"
|
||||
outlined
|
||||
dense
|
||||
class="mb-2"
|
||||
/>
|
||||
<q-input
|
||||
v-model="choice.text.en"
|
||||
:label="`ตัวเลือก ${cIndex + 1} (EN)`"
|
||||
outlined
|
||||
dense
|
||||
/>
|
||||
</div>
|
||||
<q-btn
|
||||
v-if="questionForm.choices.length > 2"
|
||||
flat
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@
|
|||
<q-tab-panels v-model="activeTab" class="bg-white rounded-b-xl shadow-sm">
|
||||
<!-- Structure Tab -->
|
||||
<q-tab-panel name="structure" class="p-6">
|
||||
<CourseStructureTab :course-id="course.id" :chapters="course.chapters" />
|
||||
<CourseStructureTab :course="course" />
|
||||
</q-tab-panel>
|
||||
|
||||
<!-- Students Tab -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue