-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3368 from threefoldtech/development
bump to 11.5b13
- Loading branch information
Showing
29 changed files
with
257 additions
and
237 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
<template> | ||
<markdown-view | ||
base-url="https://legal.threefold.io/#/" | ||
url="https://raw.githubusercontent.com/threefoldfoundation/legal/master/src/terms_conditions_all.md" | ||
url="https://raw.githubusercontent.com/threefoldfoundation/info_legal/development/wiki/terms_conditions_all.md" | ||
></markdown-view> | ||
</template> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,48 @@ | ||
<html lang="en"> | ||
<head> | ||
<link href="https://cdn.jsdelivr.net/npm/@mdi/[email protected]/css/materialdesignicons.min.css" rel="stylesheet"> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/vuetify.min.css" rel="stylesheet"> | ||
<link href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.55.0/codemirror.min.css" rel="stylesheet"> | ||
<link href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.55.0/addon/scroll/simplescrollbars.css" rel="stylesheet"> | ||
<link href="style.css" rel="stylesheet"></link> | ||
<title>3Bot Admin</title> | ||
<link rel="icon" type="image/png" href="assets/3bot.png"/> | ||
|
||
<style> | ||
.v-data-table-header th { | ||
white-space: nowrap; | ||
} | ||
</style> | ||
</head> | ||
<head> | ||
<link href="https://cdn.jsdelivr.net/npm/@mdi/[email protected]/css/materialdesignicons.min.css" rel="stylesheet"> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/vuetify.min.css" rel="stylesheet"> | ||
<link href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.55.0/codemirror.min.css" rel="stylesheet"> | ||
<link href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.55.0/addon/scroll/simplescrollbars.css" | ||
rel="stylesheet"> | ||
<link href="style.css" rel="stylesheet"> | ||
</link> | ||
<title>3Bot Admin</title> | ||
<link rel="icon" type="image/png" href="assets/3bot.png" /> | ||
|
||
<body> | ||
<div id="app"><App></App></div> | ||
<script src="https://unpkg.com/vue"></script> | ||
<script src="https://unpkg.com/vuex"></script> | ||
<script src="https://unpkg.com/[email protected]"></script> | ||
<script src="https://unpkg.com/vue-router/dist/vue-router.js"></script> | ||
<script src="https://unpkg.com/http-vue-loader"></script> | ||
<script src="https://unpkg.com/axios/dist/axios.min.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.55.0/codemirror.min.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/qrcodejs/1.0.0/qrcode.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue-codemirror.min.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.55.0/mode/python/python.min.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.55.0/addon/scroll/simplescrollbars.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.55.0/mode/python/python.min.js"></script> | ||
<script src="https://unpkg.com/[email protected]/dist/json-tree.js"></script> | ||
<script src="https://unpkg.com/[email protected]/vue-cookies.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script> | ||
<style> | ||
.v-data-table-header th { | ||
white-space: nowrap; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<div id="app"> | ||
<App></App> | ||
</div> | ||
<script src="https://unpkg.com/[email protected]/dist/vue.js"></script> | ||
<script src="https://unpkg.com/[email protected]/dist/vue-router.js"></script> | ||
<script src="https://unpkg.com/vuex"></script> | ||
<script src="https://unpkg.com/[email protected]"></script> | ||
<script src="https://unpkg.com/http-vue-loader"></script> | ||
<script src="https://unpkg.com/axios/dist/axios.min.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.55.0/codemirror.min.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/qrcodejs/1.0.0/qrcode.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue-codemirror.min.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.55.0/mode/python/python.min.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.55.0/addon/scroll/simplescrollbars.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.55.0/mode/python/python.min.js"></script> | ||
<script src="https://unpkg.com/[email protected]/dist/json-tree.js"></script> | ||
<script src="https://unpkg.com/[email protected]/vue-cookies.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script> | ||
|
||
<script src="api.js"></script> | ||
<script src="data.js"></script> | ||
<script src="index.js"></script> | ||
<script src="./mixins/base.js"></script> | ||
<script src="./mixins/dialog.js"></script> | ||
</body> | ||
|
||
<script src="api.js"></script> | ||
<script src="data.js"></script> | ||
<script src="index.js"></script> | ||
<script src="./mixins/base.js"></script> | ||
<script src="./mixins/dialog.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,121 +1,125 @@ | ||
<html lang="en"> | ||
<head> | ||
<link href="https://cdn.jsdelivr.net/npm/@mdi/[email protected]/css/materialdesignicons.min.css" rel="stylesheet"> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/vuetify.min.css" rel="stylesheet"> | ||
<link href='https://api.mapbox.com/mapbox-gl-js/v1.10.0/mapbox-gl.css' rel='stylesheet' /> | ||
<link href="/chatflows/static/style.css" rel="stylesheet"> | ||
</head> | ||
|
||
<body> | ||
<div id="app"><router-view></router-view></div> | ||
<script src="/chatflows/static/mixins/field.js"></script> | ||
<script src="https://unpkg.com/vue"></script> | ||
<script src="https://unpkg.com/vuex"></script> | ||
<script src="https://unpkg.com/[email protected]"></script> | ||
<script src="https://unpkg.com/vue-router/dist/vue-router.js"></script> | ||
<script src="https://unpkg.com/http-vue-loader"></script> | ||
<script src="https://unpkg.com/axios/dist/axios.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/qrcodejs/1.0.0/qrcode.js"></script> | ||
<script src='https://api.mapbox.com/mapbox-gl-js/v1.10.0/mapbox-gl.js'></script> | ||
<script src="https://www.unpkg.com/[email protected]/dist/md5.min.js"></script> | ||
<script type="text/javascript"> | ||
<head> | ||
<link href="https://cdn.jsdelivr.net/npm/@mdi/[email protected]/css/materialdesignicons.min.css" rel="stylesheet"> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/vuetify.min.css" rel="stylesheet"> | ||
<link href='https://api.mapbox.com/mapbox-gl-js/v1.10.0/mapbox-gl.css' rel='stylesheet' /> | ||
<link href="/chatflows/static/style.css" rel="stylesheet"> | ||
</head> | ||
|
||
Vue.use(Vuex) | ||
Vue.use(Vuetify) | ||
<body> | ||
<div id="app"> | ||
<router-view></router-view> | ||
</div> | ||
<script src="/chatflows/static/mixins/field.js"></script> | ||
<script src="https://unpkg.com/[email protected]/dist/vue.js"></script> | ||
<script src="https://unpkg.com/[email protected]/dist/vue-router.js"></script> | ||
<script src="https://unpkg.com/vuex"></script> | ||
<script src="https://unpkg.com/[email protected]"></script> | ||
<script src="https://unpkg.com/http-vue-loader"></script> | ||
<script src="https://unpkg.com/axios/dist/axios.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/qrcodejs/1.0.0/qrcode.js"></script> | ||
<script src='https://api.mapbox.com/mapbox-gl-js/v1.10.0/mapbox-gl.js'></script> | ||
<script src="https://www.unpkg.com/[email protected]/dist/md5.min.js"></script> | ||
<script type="text/javascript"> | ||
|
||
const baseUrl = '/chatflows/static/' | ||
const PACKAGE = '{{ package }}' | ||
const CHAT = '{{ chat }}' | ||
const QS = '{{ qs }}' | ||
const USERNAME = '{{ username }}' | ||
const EMAIL = '{{ email }}' | ||
const CLIENT_IP = '{{ client_ip }}' | ||
const NOHEADER = '{{ noheader }}' | ||
Vue.use(Vuex) | ||
Vue.use(Vuetify) | ||
|
||
httpVueLoader.register(Vue, `${baseUrl}/components/Message.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/String.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/Number.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/Secret.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/TextArea.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/DateTime.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/SingleChoice.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/MultipleChoices.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/DropDown.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/MultipleListChoices.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/UploadFile.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/DownloadFile.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/QRCode.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/Markdown.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/Form.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/Loading.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/InfiniteLoading.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/Confirm.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/TimeDelta.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/Location.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/Error.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/MultiValues.vue`) | ||
const baseUrl = '/chatflows/static/' | ||
const PACKAGE = '{{ package }}' | ||
const CHAT = '{{ chat }}' | ||
const QS = '{{ qs }}' | ||
const USERNAME = '{{ username }}' | ||
const EMAIL = '{{ email }}' | ||
const CLIENT_IP = '{{ client_ip }}' | ||
const NOHEADER = '{{ noheader }}' | ||
|
||
Vue.mixin({ | ||
data: function() { | ||
return { | ||
categories: { | ||
string_ask: 'String', | ||
int_ask: 'Number', | ||
secret_ask: 'Secret', | ||
text_ask: 'TextArea', | ||
single_choice: 'SingleChoice', | ||
multi_choice: 'MultipleChoices', | ||
multi_list_choice: 'MultipleListChoices', | ||
drop_down_choice: 'DropDown', | ||
datetime_picker: 'DateTime', | ||
time_delta: 'TimeDelta', | ||
location_ask: 'Location', | ||
upload_file: 'UploadFile', | ||
download_file: 'DownloadFile', | ||
qrcode_show: 'QRCode', | ||
md_show: 'Markdown', | ||
confirm: 'Confirm', | ||
loading: 'Loading', | ||
infinite_loading: 'InfiniteLoading', | ||
ask_multi_values: 'MultiValues', | ||
form: 'Form', | ||
error: 'Error' | ||
} | ||
httpVueLoader.register(Vue, `${baseUrl}/components/Message.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/String.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/Number.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/Secret.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/TextArea.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/DateTime.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/SingleChoice.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/MultipleChoices.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/DropDown.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/MultipleListChoices.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/UploadFile.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/DownloadFile.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/QRCode.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/Markdown.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/Form.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/Loading.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/InfiniteLoading.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/Confirm.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/TimeDelta.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/Location.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/Error.vue`) | ||
httpVueLoader.register(Vue, `${baseUrl}/components/MultiValues.vue`) | ||
|
||
Vue.mixin({ | ||
data: function () { | ||
return { | ||
categories: { | ||
string_ask: 'String', | ||
int_ask: 'Number', | ||
secret_ask: 'Secret', | ||
text_ask: 'TextArea', | ||
single_choice: 'SingleChoice', | ||
multi_choice: 'MultipleChoices', | ||
multi_list_choice: 'MultipleListChoices', | ||
drop_down_choice: 'DropDown', | ||
datetime_picker: 'DateTime', | ||
time_delta: 'TimeDelta', | ||
location_ask: 'Location', | ||
upload_file: 'UploadFile', | ||
download_file: 'DownloadFile', | ||
qrcode_show: 'QRCode', | ||
md_show: 'Markdown', | ||
confirm: 'Confirm', | ||
loading: 'Loading', | ||
infinite_loading: 'InfiniteLoading', | ||
ask_multi_values: 'MultiValues', | ||
form: 'Form', | ||
error: 'Error' | ||
} | ||
} | ||
}) | ||
} | ||
}) | ||
|
||
const vuetify = new Vuetify({ | ||
icons: { | ||
iconfont: 'mdi' | ||
}, | ||
theme: { | ||
themes: { | ||
light: { | ||
primary: '#1B4F72', | ||
secondary: '#F39C12', | ||
accent: '#F4F6F7', | ||
error: '#EC7063', | ||
}, | ||
const vuetify = new Vuetify({ | ||
icons: { | ||
iconfont: 'mdi' | ||
}, | ||
theme: { | ||
themes: { | ||
light: { | ||
primary: '#1B4F72', | ||
secondary: '#F39C12', | ||
accent: '#F4F6F7', | ||
error: '#EC7063', | ||
}, | ||
} | ||
}) | ||
|
||
const app = httpVueLoader('/chatflows/static/App.vue') | ||
const router = new VueRouter({ | ||
routes: [ | ||
{ path: '/', component: app}, | ||
] | ||
}) | ||
new Vue({ | ||
el: '#app', | ||
components: { | ||
App: app, | ||
}, | ||
router, | ||
vuetify | ||
}) | ||
</script> | ||
</body> | ||
} | ||
}) | ||
|
||
const app = httpVueLoader('/chatflows/static/App.vue') | ||
const router = new VueRouter({ | ||
routes: [ | ||
{ path: '/', component: app }, | ||
] | ||
}) | ||
new Vue({ | ||
el: '#app', | ||
components: { | ||
App: app, | ||
}, | ||
router, | ||
vuetify | ||
}) | ||
</script> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
<template> | ||
<markdown-view | ||
base-url="https://legal.threefold.io/#/" | ||
url="https://raw.githubusercontent.com/threefoldfoundation/legal/master/src/terms_conditions_all.md" | ||
url="https://raw.githubusercontent.com/threefoldfoundation/info_legal/development/wiki/terms_conditions_all.md" | ||
></markdown-view> | ||
</template> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,10 +16,10 @@ | |
<div id="app"> | ||
<App></App> | ||
</div> | ||
<script src="https://unpkg.com/vue"></script> | ||
<script src="https://unpkg.com/[email protected]/dist/vue.js"></script> | ||
<script src="https://unpkg.com/[email protected]/dist/vue-router.js"></script> | ||
<script src="https://unpkg.com/vuex"></script> | ||
<script src="https://unpkg.com/[email protected]"></script> | ||
<script src="https://unpkg.com/vue-router/dist/vue-router.js"></script> | ||
<script src="https://unpkg.com/http-vue-loader"></script> | ||
<script src="https://unpkg.com/axios/dist/axios.min.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.55.0/codemirror.min.js"></script> | ||
|
Oops, something went wrong.