-
Notifications
You must be signed in to change notification settings - Fork 283
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Toolbox Table view: Add upload option
relates to xibosignageltd/xibo-private#809
- Loading branch information
1 parent
134fa83
commit bdab6b7
Showing
9 changed files
with
189 additions
and
45 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import globals from 'globals'; | ||
import path from 'node:path'; | ||
import {fileURLToPath} from 'node:url'; | ||
import js from '@eslint/js'; | ||
import {FlatCompat} from '@eslint/eslintrc'; | ||
|
||
const __filename = fileURLToPath(import.meta.url); | ||
const __dirname = path.dirname(__filename); | ||
const compat = new FlatCompat({ | ||
baseDirectory: __dirname, | ||
recommendedConfig: js.configs.recommended, | ||
allConfig: js.configs.all, | ||
}); | ||
|
||
export default [...compat.extends('google'), { | ||
languageOptions: { | ||
globals: { | ||
...globals.browser, | ||
}, | ||
|
||
ecmaVersion: 'latest', | ||
sourceType: 'module', | ||
}, | ||
|
||
settings: {}, | ||
rules: { | ||
indent: ['error', 2, { | ||
SwitchCase: 1, | ||
}], | ||
|
||
'quote-props': ['warn', 'as-needed'], | ||
'dot-location': ['warn', 'property'], | ||
'linebreak-style': [0, 'error', 'windows'], | ||
'valid-jsdoc': 'off', | ||
'require-jsdoc': 'off', | ||
}, | ||
}, { | ||
files: ['**/*.js'], | ||
rules: {}, | ||
}]; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,4 +1,3 @@ | ||
// eslint-disable-next-line valid-jsdoc | ||
/** | ||
* String | Number transformer | ||
*/ | ||
|
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<div class="toolbar-card upload-card toolbar-row-special" | ||
data-toggle="tooltip" | ||
data-type="widget" | ||
data-sub-type="{{type}}" | ||
data-target="{{#if target}}{{target}}{{else}}layout playlist zone{{/if}}" | ||
data-region-specific="{{regionSpecific}}" | ||
data-valid-ext="{{ validExtensions }}" | ||
data-max-size="{{ maxSize }}" | ||
data-max-size-message="{{ maxSizeMessage }}" | ||
data-title="{{description}}"> | ||
|
||
<div class="toolbar-card-preview"> | ||
<div class="select-button select-upload"> | ||
<i class="fa fa-check selectedShow"></i> | ||
</div> | ||
|
||
<i class="fa fa-upload card-icon"></i> | ||
<span class="media-title">{{trans.upload}}</span> | ||
</div> | ||
</div> |