Minor - improve UI

pull/3432/head
Julio Montoya 5 years ago
parent a2db6a82de
commit 2922b8e0ac
  1. 15
      assets/vue/App.vue
  2. 15
      assets/vue/views/user/courses/CourseCard.vue
  3. 22
      assets/vue/views/user/sessions/SessionCard.vue

@ -7,6 +7,7 @@
v-model="drawer"
:clipped="$vuetify.breakpoint.lgAndUp"
disable-resize-watcher
color="primary"
>
<v-list v-if="isAuthenticated">
<v-list-item :to="{ name: 'Index' }">
@ -184,11 +185,18 @@
color="white"
>
<v-app-bar-nav-icon @click.stop="drawer = !drawer"></v-app-bar-nav-icon>
<v-toolbar-title
style="width: 300px"
class="ml-0 pl-4"
style="width: 160px"
class="ml-0 pl-0"
>
<span class="hidden-sm-and-down">Chamilo</span>
<v-img
class="mx-2"
src="/build/css/themes/chamilo/images/header-logo.png"
max-height="50"
contain
></v-img>
</v-toolbar-title>
<v-spacer></v-spacer>
@ -320,7 +328,6 @@
}
let url = window.location.href;
var n = url.indexOf("main/");
//console.log(url);console.log(n);
if (n > 0) {
axios.get(url, {

@ -8,8 +8,18 @@
:cols="12"
>
<v-card>
<v-card-title v-text="card.course.title">
</v-card-title>
<div class="d-flex flex-no-wrap">
<v-avatar
class="ma-3"
tile
>
<v-img src="/img/icons/48/blackboard.png"></v-img>
</v-avatar>
<div >
<v-card-title v-text="card.course.title">
</v-card-title>
</div>
</div>
<v-card-actions>
<v-btn
@ -20,7 +30,6 @@
Go
</v-btn>
</v-card-actions>
</v-card>
</v-col>
</v-row>

@ -8,7 +8,27 @@
:cols="12"
>
<v-card>
<v-card-title v-text="card.course.title"></v-card-title>
<div class="d-flex flex-no-wrap">
<v-avatar
class="ma-3"
tile
>
<v-img src="/img/icons/48/blackboard_blue.png"></v-img>
</v-avatar>
<div >
<v-card-title v-text="card.course.title">
</v-card-title>
</div>
</div>
<v-card-actions>
<v-btn
:href=" '/course/' + card.course.id + '/home'"
text
color="deep-purple accent-4"
>
Go
</v-btn>
</v-card-actions>
</v-card>
</v-col>
</v-row>

Loading…
Cancel
Save