mirror of https://github.com/Budibase/budibase.git
121 changed files with 773 additions and 808 deletions
@ -1,8 +1,12 @@ |
|||
Copyright 2019-2021, Budibase Ltd |
|||
Copyright 2019-2021, Budibase Inc. |
|||
|
|||
Each Budibase package has its own license: |
|||
|
|||
builder: AGPLv3 |
|||
builder: GPLv3 |
|||
server: GPLv3 |
|||
client: MPLv2.0 |
|||
standard-components: MPLv2.0 |
|||
|
|||
You can consider Budibase to be GPLv3 licensed. |
|||
|
|||
The apps that you build with Budibase do not fall under GPLv3 - hence why our components and client library are licensed differently. |
|||
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 109 KiB |
|
Before Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 132 KiB |
|
Before Width: | Height: | Size: 5.4 MiB |
Binary file not shown.
Binary file not shown.
@ -1,157 +0,0 @@ |
|||
/* Budibase Component Styles */ |
|||
|
|||
|
|||
.budibase__title { |
|||
font-weight: 900; |
|||
font-size: 42px; |
|||
} |
|||
|
|||
.budibase__title--2 { |
|||
font-weight: 700; |
|||
font-size: 32px; |
|||
} |
|||
|
|||
.budibase__title--3 { |
|||
font-weight: 700; |
|||
font-size: 24px; |
|||
} |
|||
|
|||
.budibase__title--4 { |
|||
font-weight: 700; |
|||
font-size: 18px; |
|||
} |
|||
|
|||
.budibase__label--big { |
|||
font-weight: 400; |
|||
font-size: 14px; |
|||
opacity: 0.6; |
|||
text-transform: uppercase; |
|||
} |
|||
|
|||
.budibase__label--medium { |
|||
font-weight: 500; |
|||
font-size: 13px; |
|||
opacity: 0.6; |
|||
text-transform: uppercase; |
|||
} |
|||
|
|||
.budibase__label--small { |
|||
font-weight: 500; |
|||
font-size: 10px; |
|||
opacity: 0.6; |
|||
text-transform: uppercase; |
|||
} |
|||
|
|||
.budibase__sub-heading { |
|||
font-weight: 500; |
|||
font-size: 16px; |
|||
opacity: 0.6; |
|||
} |
|||
|
|||
.budibase__nav-item { |
|||
cursor: pointer; |
|||
padding: 0 4px 0 2px; |
|||
height: 36px; |
|||
margin: 0px 0px 0px 0px; |
|||
border-radius: 5px; |
|||
display: flex; |
|||
align-items: center; |
|||
font-size: 14px; |
|||
transition: 0.2s; |
|||
border-top: var(--grey-1) .5px solid; |
|||
} |
|||
|
|||
.budibase__nav-item.selected { |
|||
color: var(--ink); |
|||
background: var(--grey-2); |
|||
} |
|||
|
|||
.budibase__nav-item:hover { |
|||
background: var(--grey-1); |
|||
} |
|||
|
|||
.budibase__input { |
|||
height: 36px; |
|||
background-color: var(--grey-2); |
|||
border: none; |
|||
border-radius: 5px; |
|||
width: 100%; |
|||
text-align: left; |
|||
color: var(--ink); |
|||
font-size: 14px; |
|||
padding-left: 8px; |
|||
-moz-box-sizing: border-box; |
|||
-webkit-box-sizing: border-box; |
|||
box-sizing: border-box; |
|||
} |
|||
|
|||
.budibase__table { |
|||
border: 1px solid var(--grey-4); |
|||
background: #fff; |
|||
border-radius: 2px; |
|||
} |
|||
|
|||
.budibase__table thead { |
|||
background: var(--blue-light); |
|||
} |
|||
|
|||
.budibase__table thead > tr > th { |
|||
color: var(--ink); |
|||
text-transform: capitalize; |
|||
font-weight: 500; |
|||
} |
|||
|
|||
.budibase__table tr { |
|||
border-bottom: 1px solid var(--grey-1); |
|||
} |
|||
|
|||
.button--toggled { |
|||
background: var(--blue-light); |
|||
color: var(--grey-7); |
|||
width: 40px; |
|||
height: 40px; |
|||
display: flex; |
|||
align-items: center; |
|||
justify-content: center; |
|||
font-size: 20px; |
|||
} |
|||
|
|||
/* Table styles */ |
|||
.bb-table { |
|||
border-collapse: collapse; |
|||
border-spacing: 0; |
|||
width: 100%; |
|||
margin-bottom: var(--spacing-xl); |
|||
} |
|||
|
|||
* + .bb-table { |
|||
margin-top: var(--spacing-xl) |
|||
} |
|||
|
|||
.bb-table th { |
|||
padding: var(--spacing-l) var(--spacing-m); |
|||
text-align: left; |
|||
vertical-align: bottom; |
|||
} |
|||
|
|||
.bb-table td { |
|||
padding: var(--spacing-l) var(--spacing-m); |
|||
vertical-align: top; |
|||
} |
|||
|
|||
.bb-table td > :last-child { margin-bottom: 0; } |
|||
|
|||
.bb__alert { |
|||
position: relative; |
|||
margin-bottom: var(--spacing-m); |
|||
padding: var(--spacing-l); |
|||
} |
|||
|
|||
.bb__alert--danger { |
|||
background: #fef4f6; |
|||
color: #f0506e; |
|||
} |
|||
|
|||
a { |
|||
text-decoration: none; |
|||
} |
|||
@ -1,56 +0,0 @@ |
|||
/* latin-ext */ |
|||
/* Inter-regular - latin-ext_latin */ |
|||
@font-face { |
|||
font-family: 'Inter'; |
|||
font-style: normal; |
|||
font-weight: 400; |
|||
src: local('Inter'), local('Inter-Regular'), |
|||
url('/assets/Inter-Regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ |
|||
url('/assets/Inter-Regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ |
|||
} |
|||
/* Inter-500 - latin-ext_latin */ |
|||
@font-face { |
|||
font-family: 'Inter'; |
|||
font-style: normal; |
|||
font-weight: 500; |
|||
src: local('Inter Medium'), local('Inter-Medium'), |
|||
url('/assets/Inter-Medium.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ |
|||
url('/assets/Inter-Medium.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ |
|||
} |
|||
/* Inter-600 - latin-ext_latin */ |
|||
@font-face { |
|||
font-family: 'Inter'; |
|||
font-style: normal; |
|||
font-weight: 600; |
|||
src: local('Inter SemiBold'), local('Inter-SemiBold'), |
|||
url('/assets/Inter-SemiBold.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ |
|||
url('/assets/Inter-SemiBold.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ |
|||
} |
|||
/* Inter-700 - latin-ext_latin */ |
|||
@font-face { |
|||
font-family: 'Inter'; |
|||
font-style: normal; |
|||
font-weight: 700; |
|||
src: local('Inter Bold'), local('Inter-Bold'), |
|||
url('/assets/Inter-Bold.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ |
|||
url('/assets/Inter-Bold.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ |
|||
} |
|||
/* Inter-800 - latin-ext_latin */ |
|||
@font-face { |
|||
font-family: 'Inter'; |
|||
font-style: normal; |
|||
font-weight: 700; |
|||
src: local('Inter ExtraBold'), local('Inter-ExtraBold'), |
|||
url('/assets/Inter-ExtraBold.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ |
|||
url('/assets/Inter-ExtraBold.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ |
|||
} |
|||
/* Inter-900 - latin-ext_latin */ |
|||
@font-face { |
|||
font-family: 'Inter'; |
|||
font-style: normal; |
|||
font-weight: 900; |
|||
src: local('Inter Black'), local('Inter-Black'), |
|||
url('/assets/Inter-Black.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ |
|||
url('/assets/Inter-Black.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ |
|||
} |
|||
|
|||
@ -1,10 +1,8 @@ |
|||
const Router = require("@koa/router") |
|||
const authorized = require("../../middleware/authorized") |
|||
const controller = require("../controllers/analytics") |
|||
const { BUILDER } = require("@budibase/auth/permissions") |
|||
|
|||
const router = Router() |
|||
|
|||
router.get("/api/analytics", authorized(BUILDER), controller.isEnabled) |
|||
router.get("/api/analytics", controller.isEnabled) |
|||
|
|||
module.exports = router |
|||
|
|||
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue