Updates & fixes

-Fix endpoit calling
-Remove unused dom7 call
-Update material icons
This commit is contained in:
Juan Carlos Ruvalcaba 2021-04-20 16:49:15 -07:00
parent f165aff60e
commit b9d1d4a6e1
8 changed files with 4 additions and 5 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,4 +1,3 @@
import $ from 'dom7';
import Framework7, { getDevice } from './framework7-custom.js'; import Framework7, { getDevice } from './framework7-custom.js';
// Import F7 Styles // Import F7 Styles

View File

@ -1,5 +1,5 @@
import AjaxHandler from './AjaxHandler.js'; import AjaxHandler from './AjaxHandler.js';
import { endpoint } from './ConnectionMode.js'; import endpoint from './ConnectionMode.js';
let Users = { let Users = {
async getLogin (userdata, password){ async getLogin (userdata, password){

View File

@ -1,4 +1,3 @@
import { createStore } from 'framework7'; import { createStore } from 'framework7';
const store = createStore({ const store = createStore({
@ -18,4 +17,5 @@ const store = createStore({
} }
}, },
}) })
export default store; export default store;

View File

@ -41,12 +41,12 @@
<div class="item-input-wrap"> <div class="item-input-wrap">
${isLogged && $h` ${isLogged && $h`
<a class="link panel-close color-green" href="#" @click=${logout}> <a class="link panel-close color-green" href="#" @click=${logout}>
<i class="fas fa-sign-out-alt"></i> Salir Salir <span class="material-icons">logout</span>
</a> </a>
`} `}
${!isLogged && $h` ${!isLogged && $h`
<a class="link panel-close color-green" href="/login/"> <a class="link panel-close color-green" href="/login/">
<i class="fas fa-sign-in-alt"></i> Ingresar <span class="material-icons">login</span> Ingresar
</a> </a>
`} `}
</div> </div>