mirror of
https://github.com/notherealmarco/WASAPhoto.git
synced 2025-05-07 04:59:37 +02:00
First webui commit
This commit is contained in:
parent
e38f5d08ab
commit
c4611b92f8
2011 changed files with 30382 additions and 1874 deletions
12
webui/node_modules/vue-auth-image/example/example.js
generated
vendored
Normal file
12
webui/node_modules/vue-auth-image/example/example.js
generated
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
var Vue = require('vue/dist/vue.common.js');
|
||||
var VueAuthImage = require('../vue-auth-image');
|
||||
var axios = require('axios');
|
||||
|
||||
Vue.use(VueAuthImage);
|
||||
|
||||
var authHeader = 'Bearer ' + 'id_token';
|
||||
axios.defaults.headers.common['Authorization'] = authHeader;
|
||||
|
||||
new Vue({
|
||||
el: 'div'
|
||||
});
|
19
webui/node_modules/vue-auth-image/example/index.html
generated
vendored
Normal file
19
webui/node_modules/vue-auth-image/example/index.html
generated
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<title>vue-auth-image example</title>
|
||||
<style>
|
||||
img {
|
||||
width: 300px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
<img v-auth-image="'https://raw.githubusercontent.com/vuejs/art/master/vue-badge.png'">
|
||||
</div>
|
||||
<script src="example.build.js"></script>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue