|
|
|
@ -1,299 +1,185 @@ |
|
|
|
|
<template> |
|
|
|
|
<component :is="layout"> |
|
|
|
|
<!-- <Breadcrumb :legacy="this.breadcrumb"/>--> |
|
|
|
|
<router-view /> |
|
|
|
|
<div id="legacy_content" |
|
|
|
|
v-html="legacyContent" |
|
|
|
|
/> |
|
|
|
|
</component> |
|
|
|
|
|
|
|
|
|
<div v-if="false" class="antialiased text-gray-900 bg-white"> |
|
|
|
|
<div class="flex h-screen overflow-y-hidden bg-white"> |
|
|
|
|
<!-- Sidebar --> |
|
|
|
|
<Sidebar /> |
|
|
|
|
|
|
|
|
|
<div class="flex flex-col flex-1 h-full overflow-hidden py-70"> |
|
|
|
|
<!-- Navbar --> |
|
|
|
|
<header class="flex-shrink-0 border-b"> |
|
|
|
|
<Navbar /> |
|
|
|
|
</header> |
|
|
|
|
<!-- Main content --> |
|
|
|
|
<main class="flex-1 max-h-full p-5 overflow-hidden overflow-y-scroll"> |
|
|
|
|
<router-view /> |
|
|
|
|
<div id="legacy_content" |
|
|
|
|
v-html="legacyContent" |
|
|
|
|
<q-layout view="hHh LpR lff" class="bg-grey-1"> |
|
|
|
|
<q-header bordered class="bg-white text-grey-8" height-hint="64"> |
|
|
|
|
<q-toolbar class="GNL__toolbar"> |
|
|
|
|
<q-btn |
|
|
|
|
flat |
|
|
|
|
dense |
|
|
|
|
round |
|
|
|
|
@click="leftDrawerOpen = !leftDrawerOpen" |
|
|
|
|
aria-label="Menu" |
|
|
|
|
icon="menu" |
|
|
|
|
class="q-mr-sm" |
|
|
|
|
/> |
|
|
|
|
<q-toolbar-title v-if="$q.screen.gt.xs" shrink class="row items-center no-wrap"> |
|
|
|
|
<img style="width:200px" src="/build/css/themes/chamilo/images/header-logo.png" /> |
|
|
|
|
<!-- <span class="q-ml-sm">News</span>--> |
|
|
|
|
</q-toolbar-title> |
|
|
|
|
|
|
|
|
|
<q-space /> |
|
|
|
|
|
|
|
|
|
<div v-if="isAuthenticated" class="GPLAY__toolbar-input-container row no-wrap"> |
|
|
|
|
<q-tabs align="center" dense inline-label> |
|
|
|
|
<q-route-tab icon="home" to="/" label="Home" /> |
|
|
|
|
<q-route-tab to="/courses" label="My courses" /> |
|
|
|
|
<q-route-tab to="/main/calendar/agenda_js.php?type=personal" label="Agenda" /> |
|
|
|
|
</q-tabs> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<q-space /> |
|
|
|
|
|
|
|
|
|
<div class="q-gutter-sm row items-center no-wrap"> |
|
|
|
|
<!-- <q-btn v-if="$q.screen.gt.sm" round dense flat color="text-grey-7" icon="apps">--> |
|
|
|
|
<!-- <q-tooltip>Google Apps</q-tooltip>--> |
|
|
|
|
<!-- </q-btn>--> |
|
|
|
|
<q-btn v-if="isAuthenticated" round dense flat color="grey-8" icon="notifications"> |
|
|
|
|
<q-badge color="red" text-color="white" floating> |
|
|
|
|
2 |
|
|
|
|
</q-badge> |
|
|
|
|
<q-tooltip>Notifications</q-tooltip> |
|
|
|
|
</q-btn> |
|
|
|
|
|
|
|
|
|
<q-btn v-if="!isAuthenticated" |
|
|
|
|
:to="{ name: 'Login'}" |
|
|
|
|
color="primary" |
|
|
|
|
icon="mail" |
|
|
|
|
label="Login" |
|
|
|
|
/> |
|
|
|
|
</main> |
|
|
|
|
<!-- Main footer --> |
|
|
|
|
<footer class="flex items-center justify-between flex-shrink-0 p-4 border-t max-h-14"> |
|
|
|
|
<div>Chamilo 2020</div> |
|
|
|
|
<div class="text-sm"> |
|
|
|
|
Made by |
|
|
|
|
<a |
|
|
|
|
class="text-blue-400 underline" |
|
|
|
|
href="https://github.com/Kamona-WD" |
|
|
|
|
target="_blank" |
|
|
|
|
rel="noopener noreferrer" |
|
|
|
|
>Ahmed Kamel</a |
|
|
|
|
> |
|
|
|
|
</div> |
|
|
|
|
<div> |
|
|
|
|
<!-- Github svg --> |
|
|
|
|
<a |
|
|
|
|
href="https://github.com/Kamona-WD/starter-dashboard-layout-vue" |
|
|
|
|
target="_blank" |
|
|
|
|
class="flex items-center space-x-1" |
|
|
|
|
> |
|
|
|
|
<svg class="w-6 h-6 text-gray-400" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"> |
|
|
|
|
<path |
|
|
|
|
fill-rule="evenodd" |
|
|
|
|
d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z" |
|
|
|
|
></path> |
|
|
|
|
</svg> |
|
|
|
|
<span class="hidden text-sm md:block">View on Github</span> |
|
|
|
|
</a> |
|
|
|
|
</div> |
|
|
|
|
</footer> |
|
|
|
|
</div> |
|
|
|
|
<!-- Setting panel button --> |
|
|
|
|
<div class="fixed right-0 transform rotate-90 translate-x-8 top-1/2"> |
|
|
|
|
<Button @click="isSettingsPanelOpen = true" class="text-sm font-medium text-white uppercase bg-gray-600"> |
|
|
|
|
Settings |
|
|
|
|
</Button> |
|
|
|
|
</div> |
|
|
|
|
<SettingsPanel :show="isSettingsPanelOpen" @close="isSettingsPanelOpen = false" /> |
|
|
|
|
<SearchPanel left :show="isSearchPanelOpen" @close="isSearchPanelOpen = false" /> |
|
|
|
|
<NotificationsPanel left :show="isNotificationsPanelOpen" @close="isNotificationsPanelOpen = false" /> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<!-- Component End --> |
|
|
|
|
|
|
|
|
|
<!-- <q-layout view="hHh LpR lff" class="bg-grey-1">--> |
|
|
|
|
<!-- <q-header bordered class="bg-white text-grey-8" height-hint="64">--> |
|
|
|
|
<!-- <q-toolbar class="GNL__toolbar">--> |
|
|
|
|
<!-- <q-btn--> |
|
|
|
|
<!-- flat--> |
|
|
|
|
<!-- dense--> |
|
|
|
|
<!-- round--> |
|
|
|
|
<!-- @click="leftDrawerOpen = !leftDrawerOpen"--> |
|
|
|
|
<!-- aria-label="Menu"--> |
|
|
|
|
<!-- icon="menu"--> |
|
|
|
|
<!-- class="q-mr-sm"--> |
|
|
|
|
<!-- />--> |
|
|
|
|
|
|
|
|
|
<!-- <q-toolbar-title v-if="$q.screen.gt.xs" shrink class="row items-center no-wrap">--> |
|
|
|
|
<!-- <a href="/">--> |
|
|
|
|
<!-- <img style="width:200px" src="/build/css/themes/chamilo/images/header-logo.png" />--> |
|
|
|
|
<!-- </a>--> |
|
|
|
|
<!-- <!– <span class="q-ml-sm">News</span>–>--> |
|
|
|
|
<!-- </q-toolbar-title>--> |
|
|
|
|
<!--<!– <q-select–>--> |
|
|
|
|
<!--<!– v-if="isAuthenticated"–>--> |
|
|
|
|
<!--<!– ref="search" dense use-input hide-selected–>--> |
|
|
|
|
<!--<!– class="GL__toolbar-select"–>--> |
|
|
|
|
<!--<!– color="black"–>--> |
|
|
|
|
<!--<!– :stack-label="false"–>--> |
|
|
|
|
<!--<!– label="Search or jump to..."–>--> |
|
|
|
|
<!--<!– v-model="text"–>--> |
|
|
|
|
<!--<!– :options="filteredOptions"–>--> |
|
|
|
|
<!--<!– @filter="filter"–>--> |
|
|
|
|
<!--<!– style="width: 300px"–>--> |
|
|
|
|
<!--<!– >–>--> |
|
|
|
|
<!--<!– <template v-slot:append>–>--> |
|
|
|
|
<!--<!– <img src="https://cdn.quasar.dev/img/layout-gallery/img-github-search-key-slash.svg">–>--> |
|
|
|
|
<!--<!– </template>–>--> |
|
|
|
|
|
|
|
|
|
<!--<!– <template v-slot:no-option>–>--> |
|
|
|
|
<!--<!– <q-item>–>--> |
|
|
|
|
<!--<!– <q-item-section>–>--> |
|
|
|
|
<!--<!– <div class="text-center">–>--> |
|
|
|
|
<!--<!– <q-spinner-pie–>--> |
|
|
|
|
<!--<!– color="grey-5"–>--> |
|
|
|
|
<!--<!– size="24px"–>--> |
|
|
|
|
<!--<!– />–>--> |
|
|
|
|
<!--<!– </div>–>--> |
|
|
|
|
<!--<!– </q-item-section>–>--> |
|
|
|
|
<!--<!– </q-item>–>--> |
|
|
|
|
<!--<!– </template>–>--> |
|
|
|
|
|
|
|
|
|
<!--<!– <template v-slot:option="scope">–>--> |
|
|
|
|
<!--<!– <q-item–>--> |
|
|
|
|
<!--<!– v-bind="scope.itemProps"–>--> |
|
|
|
|
<!--<!– v-on="scope.itemEvents"–>--> |
|
|
|
|
<!--<!– class="GL__select-GL__menu-link"–>--> |
|
|
|
|
<!--<!– >–>--> |
|
|
|
|
<!--<!– <q-item-section side>–>--> |
|
|
|
|
<!--<!– <q-icon name="collections_bookmark" />–>--> |
|
|
|
|
<!--<!– </q-item-section>–>--> |
|
|
|
|
<!--<!– <q-item-section>–>--> |
|
|
|
|
<!--<!– <q-item-label v-html="scope.opt.label" />–>--> |
|
|
|
|
<!--<!– </q-item-section>–>--> |
|
|
|
|
<!--<!– <q-item-section side :class="{ 'default-type': !scope.opt.type }">–>--> |
|
|
|
|
<!--<!– <q-btn outline dense no-caps text-color="blue-grey-5" size="12px" class="bg-grey-1 q-px-sm">–>--> |
|
|
|
|
<!--<!– {{ scope.opt.type || 'Jump to' }}–>--> |
|
|
|
|
<!--<!– <q-icon name="subdirectory_arrow_left" size="14px" />–>--> |
|
|
|
|
<!--<!– </q-btn>–>--> |
|
|
|
|
<!--<!– </q-item-section>–>--> |
|
|
|
|
<!--<!– </q-item>–>--> |
|
|
|
|
<!--<!– </template>–>--> |
|
|
|
|
<!--<!– </q-select>–>--> |
|
|
|
|
|
|
|
|
|
<!-- <q-space />--> |
|
|
|
|
|
|
|
|
|
<!-- <div v-if="isAuthenticated" class="GPLAY__toolbar-input-container row no-wrap">--> |
|
|
|
|
<!-- <q-tabs align="center" dense inline-label>--> |
|
|
|
|
<!-- <q-route-tab icon="home" to="/" label="Home" />--> |
|
|
|
|
<!-- <q-route-tab to="/courses" label="My courses" />--> |
|
|
|
|
<!-- <q-route-tab to="/main/calendar/agenda_js.php?type=personal" label="Agenda" />--> |
|
|
|
|
<!-- </q-tabs>--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
|
|
|
|
|
<!-- <q-space />--> |
|
|
|
|
|
|
|
|
|
<!-- <div class="q-gutter-sm row items-center no-wrap">--> |
|
|
|
|
<!-- <!– <q-btn v-if="$q.screen.gt.sm" round dense flat color="text-grey-7" icon="apps">–>--> |
|
|
|
|
<!-- <!– <q-tooltip>Google Apps</q-tooltip>–>--> |
|
|
|
|
<!-- <!– </q-btn>–>--> |
|
|
|
|
<!-- <q-btn v-if="isAuthenticated" round dense flat color="grey-8" icon="notifications">--> |
|
|
|
|
<!-- <q-badge color="red" text-color="white" floating>--> |
|
|
|
|
<!-- 2--> |
|
|
|
|
<!-- </q-badge>--> |
|
|
|
|
<!-- <q-tooltip>Notifications</q-tooltip>--> |
|
|
|
|
<!-- </q-btn>--> |
|
|
|
|
|
|
|
|
|
<!-- <q-btn v-if="!isAuthenticated"--> |
|
|
|
|
<!-- :to="{ name: 'Login'}"--> |
|
|
|
|
<!-- color="primary"--> |
|
|
|
|
<!-- icon="mail"--> |
|
|
|
|
<!-- label="Login"--> |
|
|
|
|
<!-- />--> |
|
|
|
|
|
|
|
|
|
<!-- <!– <Button v-if="!isAuthenticated" :to="{ name: 'Login' }" label="Login" class="p-button-sm" />–>--> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <!– <q-btn v-if="isAuthenticated" round flat>–>--> |
|
|
|
|
<!-- <!– <q-avatar size="26px">–>--> |
|
|
|
|
<!-- <!– <img src="https://cdn.quasar.dev/img/boy-avatar.png">–>--> |
|
|
|
|
<!-- <!– </q-avatar>–>--> |
|
|
|
|
<!-- <!– <q-tooltip>Account</q-tooltip>–>--> |
|
|
|
|
<!-- <!– </q-btn>–>--> |
|
|
|
|
|
|
|
|
|
<!-- <q-btn v-if="isAuthenticated" dense flat no-wrap>--> |
|
|
|
|
<!-- <q-avatar size="26px">--> |
|
|
|
|
<!-- <img :src="userAvatar + '?w=80&h=80&fit=crop'" />--> |
|
|
|
|
<!-- <!– <q-icon name="person" ></q-icon>–>--> |
|
|
|
|
<!-- </q-avatar>--> |
|
|
|
|
|
|
|
|
|
<!-- <q-icon name="arrow_drop_down" size="16px" />--> |
|
|
|
|
<!-- <q-menu auto-close>--> |
|
|
|
|
<!-- <q-list dense>--> |
|
|
|
|
<!-- <q-item class="GL__menu-link-signed-in">--> |
|
|
|
|
<!-- <q-item-section>--> |
|
|
|
|
<!-- <div>Signed in as <strong>{{ currentUser.username }}</strong></div>--> |
|
|
|
|
<!-- </q-item-section>--> |
|
|
|
|
<!-- </q-item>--> |
|
|
|
|
<!-- <!– <q-separator />–>--> |
|
|
|
|
<!-- <!– <q-item clickable class="GL__menu-link-status">–>--> |
|
|
|
|
<!-- <!– <q-item-section>–>--> |
|
|
|
|
<!-- <!– <div>–>--> |
|
|
|
|
<!-- <!– <q-icon name="tag_faces" color="blue-9" size="18px" />–>--> |
|
|
|
|
<!-- <!– Set your status–>--> |
|
|
|
|
<!-- <!– </div>–>--> |
|
|
|
|
<!-- <!– </q-item-section>–>--> |
|
|
|
|
<!-- <!– </q-item>–>--> |
|
|
|
|
<!-- <q-separator />--> |
|
|
|
|
<!-- <q-item replace :to="'/main/messages/index.php'" clickable class="">--> |
|
|
|
|
<!-- <q-item-section>Inbox</q-item-section>--> |
|
|
|
|
<!-- </q-item>--> |
|
|
|
|
<!-- <q-item href="/account/home" tag="a" class="">--> |
|
|
|
|
<!-- <q-item-section>--> |
|
|
|
|
<!-- Your profile--> |
|
|
|
|
<!-- </q-item-section>--> |
|
|
|
|
<!-- </q-item>--> |
|
|
|
|
<!-- <q-item href="/account/edit" tag="a" class="">--> |
|
|
|
|
<!-- <q-item-section>Settings</q-item-section>--> |
|
|
|
|
<!-- </q-item>--> |
|
|
|
|
<!-- <q-item href="/logout" tag="a" clickable class="">--> |
|
|
|
|
<!-- <q-item-section>--> |
|
|
|
|
<!-- Sign out--> |
|
|
|
|
<!-- </q-item-section>--> |
|
|
|
|
<!-- </q-item>--> |
|
|
|
|
<!-- </q-list>--> |
|
|
|
|
<!-- </q-menu>--> |
|
|
|
|
<!-- </q-btn>--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- </q-toolbar>--> |
|
|
|
|
<!-- </q-header>--> |
|
|
|
|
<!-- <q-drawer--> |
|
|
|
|
<!-- v-model="leftDrawerOpen"--> |
|
|
|
|
<!-- show-if-above--> |
|
|
|
|
<!-- bordered--> |
|
|
|
|
<!-- content-class="bg-white"--> |
|
|
|
|
<!-- :width="250"--> |
|
|
|
|
<!-- >--> |
|
|
|
|
<!-- <q-scroll-area class="fit">--> |
|
|
|
|
<!-- <q-list v-if="isAuthenticated" padding class="text-grey-8">--> |
|
|
|
|
|
|
|
|
|
<!-- <q-item class="GNL__drawer-item" v-ripple v-for="link in links1" :key="link.text" :to="link.url" clickable>--> |
|
|
|
|
<!-- <q-item-section avatar>--> |
|
|
|
|
|
|
|
|
|
<!-- <Button v-if="!isAuthenticated" :to="{ name: 'Login' }" label="Login" class="p-button-sm" />--> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <q-btn v-if="isAuthenticated" round flat>--> |
|
|
|
|
<!-- <q-avatar size="26px">--> |
|
|
|
|
<!-- <img src="https://cdn.quasar.dev/img/boy-avatar.png">--> |
|
|
|
|
<!-- </q-avatar>--> |
|
|
|
|
<!-- <q-tooltip>Account</q-tooltip>--> |
|
|
|
|
<!-- </q-btn>--> |
|
|
|
|
|
|
|
|
|
<q-btn v-if="isAuthenticated" dense flat no-wrap> |
|
|
|
|
<q-avatar size="26px"> |
|
|
|
|
<img :src="userAvatar + '?w=80&h=80&fit=crop'" /> |
|
|
|
|
<!-- <q-icon name="person" ></q-icon>--> |
|
|
|
|
</q-avatar> |
|
|
|
|
|
|
|
|
|
<q-icon name="arrow_drop_down" size="16px" /> |
|
|
|
|
<q-menu auto-close> |
|
|
|
|
<q-list dense> |
|
|
|
|
<q-item class="GL__menu-link-signed-in"> |
|
|
|
|
<q-item-section> |
|
|
|
|
<div>Signed in as <strong>aaa</strong></div> |
|
|
|
|
</q-item-section> |
|
|
|
|
</q-item> |
|
|
|
|
<!-- <q-separator />--> |
|
|
|
|
<!-- <q-item clickable class="GL__menu-link-status">--> |
|
|
|
|
<!-- <q-item-section>--> |
|
|
|
|
<!-- <div>--> |
|
|
|
|
<!-- <q-icon name="tag_faces" color="blue-9" size="18px" />--> |
|
|
|
|
<!-- Set your status--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- </q-item-section>--> |
|
|
|
|
<!-- </q-item>--> |
|
|
|
|
<q-separator /> |
|
|
|
|
<q-item replace :to="'/main/messages/index.php'" clickable class=""> |
|
|
|
|
<q-item-section>Inbox</q-item-section> |
|
|
|
|
</q-item> |
|
|
|
|
<q-item href="/account/home" tag="a" class=""> |
|
|
|
|
<q-item-section> |
|
|
|
|
Your profile |
|
|
|
|
</q-item-section> |
|
|
|
|
</q-item> |
|
|
|
|
<q-item href="/account/edit" tag="a" class=""> |
|
|
|
|
<q-item-section>Settings</q-item-section> |
|
|
|
|
</q-item> |
|
|
|
|
<q-item href="/logout" tag="a" clickable class=""> |
|
|
|
|
<q-item-section> |
|
|
|
|
Sign out |
|
|
|
|
</q-item-section> |
|
|
|
|
</q-item> |
|
|
|
|
</q-list> |
|
|
|
|
</q-menu> |
|
|
|
|
</q-btn> |
|
|
|
|
</div> |
|
|
|
|
</q-toolbar> |
|
|
|
|
</q-header> |
|
|
|
|
|
|
|
|
|
<q-drawer |
|
|
|
|
v-model="leftDrawerOpen" |
|
|
|
|
show-if-above |
|
|
|
|
bordered |
|
|
|
|
content-class="bg-white" |
|
|
|
|
:width="280" |
|
|
|
|
> |
|
|
|
|
<q-scroll-area class="fit"> |
|
|
|
|
<q-list v-if="isAuthenticated" padding class="text-grey-8"> |
|
|
|
|
|
|
|
|
|
<q-item class="GNL__drawer-item" v-ripple v-for="link in links1" :key="link.text" :to="link.url" clickable> |
|
|
|
|
<q-item-section avatar> |
|
|
|
|
<!-- <q-icon :name="link.icon" />--> |
|
|
|
|
<!-- </q-item-section>--> |
|
|
|
|
<!-- <q-item-section>--> |
|
|
|
|
<!-- <q-item-label>{{ link.text }}</q-item-label>--> |
|
|
|
|
<!-- </q-item-section>--> |
|
|
|
|
<!-- </q-item>--> |
|
|
|
|
|
|
|
|
|
<!-- <q-separator inset class="q-my-sm" />--> |
|
|
|
|
<!-- <span v-if="isAdmin">--> |
|
|
|
|
<!-- <q-item class="GNL__drawer-item" v-ripple v-for="link in links2" :key="link.text" :to="link.url" clickable>--> |
|
|
|
|
<!-- <q-item-section avatar>--> |
|
|
|
|
<!-- <q-icon :name="link.icon" />--> |
|
|
|
|
<!-- </q-item-section>--> |
|
|
|
|
<!-- <q-item-section>--> |
|
|
|
|
<!-- <q-item-label>{{ link.text }}</q-item-label>--> |
|
|
|
|
<!-- </q-item-section>--> |
|
|
|
|
<!-- </q-item>--> |
|
|
|
|
<!-- </span>--> |
|
|
|
|
|
|
|
|
|
<!-- <q-separator inset class="q-my-sm" />--> |
|
|
|
|
|
|
|
|
|
<!-- <q-item class="GNL__drawer-item" v-ripple v-for="link in links3" :key="link.text" clickable>--> |
|
|
|
|
<!-- <q-item-section>--> |
|
|
|
|
<!-- <q-item-label>{{ link.text }} <q-icon v-if="link.icon" :name="link.icon" /></q-item-label>--> |
|
|
|
|
<!-- </q-item-section>--> |
|
|
|
|
<!-- </q-item>--> |
|
|
|
|
|
|
|
|
|
<!-- <div class="q-mt-md">--> |
|
|
|
|
<!-- <div class="flex flex-center q-gutter-xs">--> |
|
|
|
|
<!-- <a class="GNL__drawer-footer-link" href="javascript:void(0)" aria-label="About">Chamilo</a>--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- </div>--> |
|
|
|
|
<!-- </q-list>--> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <q-list v-else padding class="text-grey-8">--> |
|
|
|
|
<!-- <q-item class="GNL__drawer-item" v-ripple v-for="link in linksAnon" :key="link.text" :to="link.url" clickable>--> |
|
|
|
|
<!-- <q-item-section avatar>--> |
|
|
|
|
<font-awesome-icon :icon="link.icon" size="lg" /> |
|
|
|
|
</q-item-section> |
|
|
|
|
<q-item-section> |
|
|
|
|
<q-item-label>{{ link.text }}</q-item-label> |
|
|
|
|
</q-item-section> |
|
|
|
|
</q-item> |
|
|
|
|
|
|
|
|
|
<q-separator inset class="q-my-sm" /> |
|
|
|
|
|
|
|
|
|
<q-item class="GNL__drawer-item" v-ripple v-for="link in links2" :key="link.text" :to="link.url" clickable> |
|
|
|
|
<q-item-section avatar> |
|
|
|
|
<!-- <q-icon :name="link.icon" />--> |
|
|
|
|
<!-- </q-item-section>--> |
|
|
|
|
<!-- <q-item-section>--> |
|
|
|
|
<!-- <q-item-label>{{ link.text }}</q-item-label>--> |
|
|
|
|
<!-- </q-item-section>--> |
|
|
|
|
<!-- </q-item>--> |
|
|
|
|
<!-- </q-list>--> |
|
|
|
|
<!-- </q-scroll-area>--> |
|
|
|
|
<!-- </q-drawer>--> |
|
|
|
|
<!-- <q-page-container>--> |
|
|
|
|
<!-- <q-page--> |
|
|
|
|
<!-- class="q-layout-padding"--> |
|
|
|
|
<!-- >--> |
|
|
|
|
<!-- <router-view />--> |
|
|
|
|
<!-- <div id="legacy_content"--> |
|
|
|
|
<!-- v-html="legacyContent"--> |
|
|
|
|
<!-- />--> |
|
|
|
|
<!-- </q-page>--> |
|
|
|
|
<!-- </q-page-container>--> |
|
|
|
|
<!-- </q-layout>--> |
|
|
|
|
<font-awesome-icon :icon="link.icon" size="lg" /> |
|
|
|
|
</q-item-section> |
|
|
|
|
<q-item-section> |
|
|
|
|
<q-item-label>{{ link.text }}</q-item-label> |
|
|
|
|
</q-item-section> |
|
|
|
|
</q-item> |
|
|
|
|
|
|
|
|
|
<q-separator inset class="q-my-sm" /> |
|
|
|
|
|
|
|
|
|
<q-item class="GNL__drawer-item" v-ripple v-for="link in links3" :key="link.text" clickable> |
|
|
|
|
<q-item-section> |
|
|
|
|
<q-item-label>{{ link.text }} |
|
|
|
|
<!-- <q-icon v-if="link.icon" :name="link.icon" />--> |
|
|
|
|
<font-awesome-icon :icon="link.icon" size="lg" /> |
|
|
|
|
</q-item-label> |
|
|
|
|
</q-item-section> |
|
|
|
|
</q-item> |
|
|
|
|
|
|
|
|
|
<div class="q-mt-md"> |
|
|
|
|
<div class="flex flex-center q-gutter-xs"> |
|
|
|
|
<a class="GNL__drawer-footer-link" href="javascript:void(0)" aria-label="About">Chamilo</a> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</q-list> |
|
|
|
|
|
|
|
|
|
<q-list v-else padding class="text-grey-8"> |
|
|
|
|
<q-item class="GNL__drawer-item" v-ripple v-for="link in linksAnon" :key="link.text" :to="link.url" clickable> |
|
|
|
|
<q-item-section avatar> |
|
|
|
|
<q-icon :name="link.icon" /> |
|
|
|
|
</q-item-section> |
|
|
|
|
<q-item-section> |
|
|
|
|
<q-item-label>{{ link.text }}</q-item-label> |
|
|
|
|
</q-item-section> |
|
|
|
|
</q-item> |
|
|
|
|
</q-list> |
|
|
|
|
</q-scroll-area> |
|
|
|
|
</q-drawer> |
|
|
|
|
<!-- <q-drawer show-if-above v-model="rightDrawerOpen" side="right" elevated>--> |
|
|
|
|
<!-- <!– drawer content –>--> |
|
|
|
|
<!-- </q-drawer>--> |
|
|
|
|
|
|
|
|
|
<q-page-container> |
|
|
|
|
<q-page |
|
|
|
|
class="q-layout-padding" |
|
|
|
|
> |
|
|
|
|
<router-view /> |
|
|
|
|
<div id="legacy_content" |
|
|
|
|
v-html="legacyContent" |
|
|
|
|
/> |
|
|
|
|
</q-page> |
|
|
|
|
</q-page-container> |
|
|
|
|
</q-layout> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
|