mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix camera upload folder
This commit is contained in:
parent
81d876b3cd
commit
cb8119840a
28 changed files with 520 additions and 105 deletions
|
@ -923,7 +923,7 @@
|
|||
if (mode == MediaBrowser.ConnectionMode.Local) {
|
||||
|
||||
enableRetry = true;
|
||||
timeout = 10000;
|
||||
timeout = 8000;
|
||||
}
|
||||
|
||||
else if (mode == MediaBrowser.ConnectionMode.Manual) {
|
||||
|
|
|
@ -39,6 +39,6 @@
|
|||
"commit": "cec8e49744a1e18b14a711eea77e201bb70de544"
|
||||
},
|
||||
"_source": "git://github.com/desandro/doc-ready.git",
|
||||
"_target": "1.0.x",
|
||||
"_target": "~1.0.4",
|
||||
"_originalSource": "doc-ready"
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "iron-media-query",
|
||||
"version": "1.0.5",
|
||||
"version": "1.0.6",
|
||||
"description": "Lets you bind to a CSS media query",
|
||||
"authors": [
|
||||
"The Polymer Authors"
|
||||
|
@ -29,11 +29,11 @@
|
|||
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
||||
},
|
||||
"main": "iron-media-query.html",
|
||||
"_release": "1.0.5",
|
||||
"_release": "1.0.6",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v1.0.5",
|
||||
"commit": "2065bae0228149fc84db1c8ece741f9bba750534"
|
||||
"tag": "v1.0.6",
|
||||
"commit": "fda20cb8e3bb2b49c2473b8a41fd2afae51db468"
|
||||
},
|
||||
"_source": "git://github.com/PolymerElements/iron-media-query.git",
|
||||
"_target": "^1.0.0",
|
||||
|
|
28
dashboard-ui/bower_components/iron-media-query/.travis.yml
vendored
Normal file
28
dashboard-ui/bower_components/iron-media-query/.travis.yml
vendored
Normal file
|
@ -0,0 +1,28 @@
|
|||
language: node_js
|
||||
sudo: false
|
||||
matrix:
|
||||
include:
|
||||
- node_js: stable
|
||||
script: xvfb-run wct
|
||||
addons:
|
||||
firefox: latest
|
||||
apt:
|
||||
sources:
|
||||
- google-chrome
|
||||
packages:
|
||||
- google-chrome-stable
|
||||
- node_js: node
|
||||
script:
|
||||
- |
|
||||
if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then
|
||||
wct -s 'default'
|
||||
fi
|
||||
before_script:
|
||||
- npm install web-component-tester
|
||||
- npm install bower
|
||||
- export PATH=$PWD/node_modules/.bin:$PATH
|
||||
- bower install
|
||||
env:
|
||||
global:
|
||||
- secure: My9uxlkp4fZwSHKqo1RUv4yBhNl46XfbaiOsOStqJdI9l7hBfudSl7V2OZeLuV2pEDJC1z1ZqVU6C/K0/iTf7i66cd9g0iH5N+1qex8p2AcuP1evPWbwLw8moHH+M5E14MMXD8sPX4KauS8azmgRm61pppD5ZgKfCaeGZg7Tczs=
|
||||
- secure: LgnZP4BNGBkTZhf8Vr7r9LdrOwq2/58TqqYkFFloEGBRT6HmumNSRwNbIwOh1U9jSTVkqjC2rn4G27u4XlEIs+QTD2PVSSEKy7Vbn0KxSNCvCGaOB1ZaxWTwZa7nkg09ZFRCHGh+WIbuV+BxyzsjOqlN82GSzFNSb3rxhqDM6dU=
|
72
dashboard-ui/bower_components/iron-media-query/CONTRIBUTING.md
vendored
Normal file
72
dashboard-ui/bower_components/iron-media-query/CONTRIBUTING.md
vendored
Normal file
|
@ -0,0 +1,72 @@
|
|||
|
||||
<!--
|
||||
This file is autogenerated based on
|
||||
https://github.com/PolymerElements/ContributionGuide/blob/master/CONTRIBUTING.md
|
||||
|
||||
If you edit that file, it will get updated everywhere else.
|
||||
If you edit this file, your changes will get overridden :)
|
||||
-->
|
||||
# Polymer Elements
|
||||
## Guide for Contributors
|
||||
|
||||
Polymer Elements are built in the open, and the Polymer authors eagerly encourage any and all forms of community contribution. When contributing, please follow these guidelines:
|
||||
|
||||
### Filing Issues
|
||||
|
||||
**If you are filing an issue to request a feature**, please provide a clear description of the feature. It can be helpful to describe answers to the following questions:
|
||||
|
||||
1. **Who will use the feature?** _“As someone filling out a form…”_
|
||||
2. **When will they use the feature?** _“When I enter an invalid value…”_
|
||||
3. **What is the user’s goal?** _“I want to be visually notified that the value needs to be corrected…”_
|
||||
|
||||
**If you are filing an issue to report a bug**, please provide:
|
||||
|
||||
1. **A clear description of the bug and related expectations.** Consider using the following example template for reporting a bug:
|
||||
|
||||
```markdown
|
||||
The `paper-foo` element causes the page to turn pink when clicked.
|
||||
|
||||
## Expected outcome
|
||||
|
||||
The page stays the same color.
|
||||
|
||||
## Actual outcome
|
||||
|
||||
The page turns pink.
|
||||
|
||||
## Steps to reproduce
|
||||
|
||||
1. Put a `paper-foo` element in the page.
|
||||
2. Open the page in a web browser.
|
||||
3. Click the `paper-foo` element.
|
||||
```
|
||||
|
||||
2. **A reduced test case that demonstrates the problem.** If possible, please include the test case as a JSBin. Start with this template to easily import and use relevant Polymer Elements: [http://jsbin.com/cagaye](http://jsbin.com/cagaye/edit?html,output).
|
||||
|
||||
3. **A list of browsers where the problem occurs.** This can be skipped if the problem is the same across all browsers.
|
||||
|
||||
### Submitting Pull Requests
|
||||
|
||||
**Before creating a pull request**, please ensure that an issue exists for the corresponding change in the pull request that you intend to make. **If an issue does not exist, please create one per the guidelines above**. The goal is to discuss the design and necessity of the proposed change with Polymer authors and community before diving into a pull request.
|
||||
|
||||
When submitting pull requests, please provide:
|
||||
|
||||
1. **A reference to the corresponding issue** or issues that will be closed by the pull request. Please refer to these issues using the following syntax:
|
||||
|
||||
```markdown
|
||||
(For a single issue)
|
||||
Fixes #20
|
||||
|
||||
(For multiple issues)
|
||||
Fixes #32, #40
|
||||
```
|
||||
|
||||
2. **A succinct description of the design** used to fix any related issues. For example:
|
||||
|
||||
```markdown
|
||||
This fixes #20 by removing styles that leaked which would cause the page to turn pink whenever `paper-foo` is clicked.
|
||||
```
|
||||
|
||||
3. **At least one test for each bug fixed or feature added** as part of the pull request. Pull requests that fix bugs or add features without accompanying tests will not be considered.
|
||||
|
||||
If a proposed change contains multiple commits, please [squash commits](https://www.google.com/url?q=http://blog.steveklabnik.com/posts/2012-11-08-how-to-squash-commits-in-a-github-pull-request) to as few as is necessary to succinctly express the change. A Polymer author can help you squash commits, so don’t be afraid to ask us if you need help with that!
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "iron-media-query",
|
||||
"version": "1.0.5",
|
||||
"version": "1.0.6",
|
||||
"description": "Lets you bind to a CSS media query",
|
||||
"authors": [
|
||||
"The Polymer Authors"
|
||||
|
|
|
@ -29,24 +29,65 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
<h1><iron-media-query></h1>
|
||||
|
||||
<template is="dom-bind">
|
||||
<style>
|
||||
.item {
|
||||
margin: 8px;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.item .title {
|
||||
font-weight: bold;
|
||||
font-size: 1.2em;
|
||||
background-color: #eee;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.item[wide-layout] .title {
|
||||
float: left;
|
||||
margin: 0 8px 4px 0;
|
||||
font-size: 1.4em;
|
||||
}
|
||||
|
||||
.item .description {
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.item::after {
|
||||
content: '';
|
||||
display: block;
|
||||
clear: both;
|
||||
}
|
||||
</style>
|
||||
|
||||
<iron-media-query query="(min-width: 600px)" query-matches="{{wide}}"></iron-media-query>
|
||||
<iron-media-query full query="print" query-matches="{{print}}"></iron-media-query>
|
||||
|
||||
<template is="dom-if" if="{{wide}}">
|
||||
<p>The viewport’s width is greater than <code>600px</code></p>
|
||||
</template>
|
||||
|
||||
<div class="item" wide-layout$="{{wide}}">
|
||||
<div class="title">Resize the window</div>
|
||||
<div class="description">
|
||||
<template is="dom-if" if="{{!wide}}">
|
||||
<p>The viewport’s width is less than <code>600px</code></p>
|
||||
The viewport is less than 600px wide, so the items' titles will
|
||||
not float.
|
||||
</template>
|
||||
|
||||
<p>
|
||||
This link's destination is visible when printed:
|
||||
<a href="http://polymer-project.org">Polymer Project</a>
|
||||
<template is="dom-if" if="{{wide}}">
|
||||
The viewport is at least 600px, so the items' titles will float
|
||||
to the left.
|
||||
</template>
|
||||
Here's another sentence; it's not very long.
|
||||
</div>
|
||||
</div>
|
||||
<div class="item" wide-layout$="{{wide}}">
|
||||
<div class="title"><code>print</code> example</div>
|
||||
<div class="description">
|
||||
<a href="http://polymer-project.org">
|
||||
This link's destination is visible when this page is printed.
|
||||
</a>
|
||||
<template is="dom-if" if="{{print}}">
|
||||
(http://polymer-project.org)
|
||||
</template>
|
||||
</p>
|
||||
This is another sentence which is meant to help fill this box.
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "neon-animation",
|
||||
"version": "1.0.7",
|
||||
"version": "1.0.8",
|
||||
"authors": [
|
||||
"The Polymer Authors"
|
||||
],
|
||||
|
@ -48,11 +48,11 @@
|
|||
"iron-icons": "PolymerElements/iron-icons#^1.0.0",
|
||||
"paper-icon-button": "PolymerElements/paper-icon-button#^1.0.0"
|
||||
},
|
||||
"_release": "1.0.7",
|
||||
"_release": "1.0.8",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v1.0.7",
|
||||
"commit": "02daf22e000ed6afeecf6ae0291ae11e6eebbfcf"
|
||||
"tag": "v1.0.8",
|
||||
"commit": "36656916b75a4715b025a03473620002c2650ee8"
|
||||
},
|
||||
"_source": "git://github.com/polymerelements/neon-animation.git",
|
||||
"_target": "^1.0.0",
|
||||
|
|
72
dashboard-ui/bower_components/neon-animation/CONTRIBUTING.md
vendored
Normal file
72
dashboard-ui/bower_components/neon-animation/CONTRIBUTING.md
vendored
Normal file
|
@ -0,0 +1,72 @@
|
|||
|
||||
<!--
|
||||
This file is autogenerated based on
|
||||
https://github.com/PolymerElements/ContributionGuide/blob/master/CONTRIBUTING.md
|
||||
|
||||
If you edit that file, it will get updated everywhere else.
|
||||
If you edit this file, your changes will get overridden :)
|
||||
-->
|
||||
# Polymer Elements
|
||||
## Guide for Contributors
|
||||
|
||||
Polymer Elements are built in the open, and the Polymer authors eagerly encourage any and all forms of community contribution. When contributing, please follow these guidelines:
|
||||
|
||||
### Filing Issues
|
||||
|
||||
**If you are filing an issue to request a feature**, please provide a clear description of the feature. It can be helpful to describe answers to the following questions:
|
||||
|
||||
1. **Who will use the feature?** _“As someone filling out a form…”_
|
||||
2. **When will they use the feature?** _“When I enter an invalid value…”_
|
||||
3. **What is the user’s goal?** _“I want to be visually notified that the value needs to be corrected…”_
|
||||
|
||||
**If you are filing an issue to report a bug**, please provide:
|
||||
|
||||
1. **A clear description of the bug and related expectations.** Consider using the following example template for reporting a bug:
|
||||
|
||||
```markdown
|
||||
The `paper-foo` element causes the page to turn pink when clicked.
|
||||
|
||||
## Expected outcome
|
||||
|
||||
The page stays the same color.
|
||||
|
||||
## Actual outcome
|
||||
|
||||
The page turns pink.
|
||||
|
||||
## Steps to reproduce
|
||||
|
||||
1. Put a `paper-foo` element in the page.
|
||||
2. Open the page in a web browser.
|
||||
3. Click the `paper-foo` element.
|
||||
```
|
||||
|
||||
2. **A reduced test case that demonstrates the problem.** If possible, please include the test case as a JSBin. Start with this template to easily import and use relevant Polymer Elements: [http://jsbin.com/cagaye](http://jsbin.com/cagaye/edit?html,output).
|
||||
|
||||
3. **A list of browsers where the problem occurs.** This can be skipped if the problem is the same across all browsers.
|
||||
|
||||
### Submitting Pull Requests
|
||||
|
||||
**Before creating a pull request**, please ensure that an issue exists for the corresponding change in the pull request that you intend to make. **If an issue does not exist, please create one per the guidelines above**. The goal is to discuss the design and necessity of the proposed change with Polymer authors and community before diving into a pull request.
|
||||
|
||||
When submitting pull requests, please provide:
|
||||
|
||||
1. **A reference to the corresponding issue** or issues that will be closed by the pull request. Please refer to these issues using the following syntax:
|
||||
|
||||
```markdown
|
||||
(For a single issue)
|
||||
Fixes #20
|
||||
|
||||
(For multiple issues)
|
||||
Fixes #32, #40
|
||||
```
|
||||
|
||||
2. **A succinct description of the design** used to fix any related issues. For example:
|
||||
|
||||
```markdown
|
||||
This fixes #20 by removing styles that leaked which would cause the page to turn pink whenever `paper-foo` is clicked.
|
||||
```
|
||||
|
||||
3. **At least one test for each bug fixed or feature added** as part of the pull request. Pull requests that fix bugs or add features without accompanying tests will not be considered.
|
||||
|
||||
If a proposed change contains multiple commits, please [squash commits](https://www.google.com/url?q=http://blog.steveklabnik.com/posts/2012-11-08-how-to-squash-commits-in-a-github-pull-request) to as few as is necessary to succinctly express the change. A Polymer author can help you squash commits, so don’t be afraid to ask us if you need help with that!
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "neon-animation",
|
||||
"version": "1.0.7",
|
||||
"version": "1.0.8",
|
||||
"authors": [
|
||||
"The Polymer Authors"
|
||||
],
|
||||
|
|
|
@ -46,7 +46,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
is: 'neon-animatable',
|
||||
|
||||
behaviors: [
|
||||
Polymer.NeonAnimatableBehavior
|
||||
Polymer.NeonAnimatableBehavior,
|
||||
Polymer.IronResizableBehavior
|
||||
]
|
||||
|
||||
});
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "paper-spinner",
|
||||
"version": "1.0.3",
|
||||
"version": "1.0.4",
|
||||
"description": "A material design spinner",
|
||||
"authors": [
|
||||
"The Polymer Authors"
|
||||
|
@ -31,11 +31,11 @@
|
|||
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
|
||||
},
|
||||
"main": "paper-spinner.html",
|
||||
"_release": "1.0.3",
|
||||
"_release": "1.0.4",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v1.0.3",
|
||||
"commit": "33a5c598432642438c2ca90391dadb6d1d072887"
|
||||
"tag": "v1.0.4",
|
||||
"commit": "731e067cada82c724df9bd676dfd7324699e4793"
|
||||
},
|
||||
"_source": "git://github.com/PolymerElements/paper-spinner.git",
|
||||
"_target": "~1.0.1",
|
||||
|
|
28
dashboard-ui/bower_components/paper-spinner/.travis.yml
vendored
Normal file
28
dashboard-ui/bower_components/paper-spinner/.travis.yml
vendored
Normal file
|
@ -0,0 +1,28 @@
|
|||
language: node_js
|
||||
sudo: false
|
||||
matrix:
|
||||
include:
|
||||
- node_js: stable
|
||||
script: xvfb-run wct
|
||||
addons:
|
||||
firefox: latest
|
||||
apt:
|
||||
sources:
|
||||
- google-chrome
|
||||
packages:
|
||||
- google-chrome-stable
|
||||
- node_js: node
|
||||
script:
|
||||
- |
|
||||
if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then
|
||||
wct -s 'default'
|
||||
fi
|
||||
before_script:
|
||||
- npm install web-component-tester
|
||||
- npm install bower
|
||||
- export PATH=$PWD/node_modules/.bin:$PATH
|
||||
- bower install
|
||||
env:
|
||||
global:
|
||||
- secure: dpHtK5BMl68o/D6cQO9VsQWBPVuTrFPC56NT6kBLbiQtmxG2E2FD8dN4cHuEWafZopwYSsLLmEIIK77FMaonTSmzos5EixIQyqGxWTyNTpthg0Jenzc+6vZEs3h+3LDodFjdZSu8FgKyxU8SFLLGjAsSy8aegUNBszy7/SY8FAM=
|
||||
- secure: EASvFsWb/njjh3DOLD5Oz3nw4QPl4aIhDAIhU2qelb2UCp8Q/KGniU7VjNoQ7OSN05jh2ooz8Pu3cAhLmrWumJn2atXEXvRPKtT/+1Ciy3xFcvgmqM0RHB+7qSSOUwgvPW9bwdzVxxMjAW7Oqb7w3nVn9/mEv2sMPNSv7iEbiUI=
|
72
dashboard-ui/bower_components/paper-spinner/CONTRIBUTING.md
vendored
Normal file
72
dashboard-ui/bower_components/paper-spinner/CONTRIBUTING.md
vendored
Normal file
|
@ -0,0 +1,72 @@
|
|||
|
||||
<!--
|
||||
This file is autogenerated based on
|
||||
https://github.com/PolymerElements/ContributionGuide/blob/master/CONTRIBUTING.md
|
||||
|
||||
If you edit that file, it will get updated everywhere else.
|
||||
If you edit this file, your changes will get overridden :)
|
||||
-->
|
||||
# Polymer Elements
|
||||
## Guide for Contributors
|
||||
|
||||
Polymer Elements are built in the open, and the Polymer authors eagerly encourage any and all forms of community contribution. When contributing, please follow these guidelines:
|
||||
|
||||
### Filing Issues
|
||||
|
||||
**If you are filing an issue to request a feature**, please provide a clear description of the feature. It can be helpful to describe answers to the following questions:
|
||||
|
||||
1. **Who will use the feature?** _“As someone filling out a form…”_
|
||||
2. **When will they use the feature?** _“When I enter an invalid value…”_
|
||||
3. **What is the user’s goal?** _“I want to be visually notified that the value needs to be corrected…”_
|
||||
|
||||
**If you are filing an issue to report a bug**, please provide:
|
||||
|
||||
1. **A clear description of the bug and related expectations.** Consider using the following example template for reporting a bug:
|
||||
|
||||
```markdown
|
||||
The `paper-foo` element causes the page to turn pink when clicked.
|
||||
|
||||
## Expected outcome
|
||||
|
||||
The page stays the same color.
|
||||
|
||||
## Actual outcome
|
||||
|
||||
The page turns pink.
|
||||
|
||||
## Steps to reproduce
|
||||
|
||||
1. Put a `paper-foo` element in the page.
|
||||
2. Open the page in a web browser.
|
||||
3. Click the `paper-foo` element.
|
||||
```
|
||||
|
||||
2. **A reduced test case that demonstrates the problem.** If possible, please include the test case as a JSBin. Start with this template to easily import and use relevant Polymer Elements: [http://jsbin.com/cagaye](http://jsbin.com/cagaye/edit?html,output).
|
||||
|
||||
3. **A list of browsers where the problem occurs.** This can be skipped if the problem is the same across all browsers.
|
||||
|
||||
### Submitting Pull Requests
|
||||
|
||||
**Before creating a pull request**, please ensure that an issue exists for the corresponding change in the pull request that you intend to make. **If an issue does not exist, please create one per the guidelines above**. The goal is to discuss the design and necessity of the proposed change with Polymer authors and community before diving into a pull request.
|
||||
|
||||
When submitting pull requests, please provide:
|
||||
|
||||
1. **A reference to the corresponding issue** or issues that will be closed by the pull request. Please refer to these issues using the following syntax:
|
||||
|
||||
```markdown
|
||||
(For a single issue)
|
||||
Fixes #20
|
||||
|
||||
(For multiple issues)
|
||||
Fixes #32, #40
|
||||
```
|
||||
|
||||
2. **A succinct description of the design** used to fix any related issues. For example:
|
||||
|
||||
```markdown
|
||||
This fixes #20 by removing styles that leaked which would cause the page to turn pink whenever `paper-foo` is clicked.
|
||||
```
|
||||
|
||||
3. **At least one test for each bug fixed or feature added** as part of the pull request. Pull requests that fix bugs or add features without accompanying tests will not be considered.
|
||||
|
||||
If a proposed change contains multiple commits, please [squash commits](https://www.google.com/url?q=http://blog.steveklabnik.com/posts/2012-11-08-how-to-squash-commits-in-a-github-pull-request) to as few as is necessary to succinctly express the change. A Polymer author can help you squash commits, so don’t be afraid to ask us if you need help with that!
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "paper-spinner",
|
||||
"version": "1.0.3",
|
||||
"version": "1.0.4",
|
||||
"description": "A material design spinner",
|
||||
"authors": [
|
||||
"The Polymer Authors"
|
||||
|
|
|
@ -66,6 +66,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
width: 100%;
|
||||
height: 100%;
|
||||
opacity: 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.layer-1 {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "paper-tabs",
|
||||
"version": "1.0.5",
|
||||
"version": "1.0.9",
|
||||
"license": "http://polymer.github.io/LICENSE.txt",
|
||||
"description": "Material design tabs",
|
||||
"private": true,
|
||||
|
@ -25,10 +25,10 @@
|
|||
"iron-iconset-svg": "polymerelements/iron-iconset-svg#^1.0.0",
|
||||
"iron-menu-behavior": "polymerelements/iron-menu-behavior#^1.0.0",
|
||||
"iron-resizable-behavior": "polymerelements/iron-resizable-behavior#^1.0.0",
|
||||
"paper-ripple": "polymerelements/paper-ripple#^1.0.0",
|
||||
"paper-styles": "polymerelements/paper-styles#^1.0.0",
|
||||
"polymer": "Polymer/polymer#^1.0.0",
|
||||
"paper-icon-button": "polymerelements/paper-icon-button#^1.0.0"
|
||||
"paper-icon-button": "polymerelements/paper-icon-button#^1.0.0",
|
||||
"paper-behaviors": "PolymerElements/paper-behaviors#^1.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"iron-component-page": "PolymerElements/iron-component-page#^1.0.0",
|
||||
|
@ -39,11 +39,11 @@
|
|||
"web-component-tester": "*"
|
||||
},
|
||||
"homepage": "https://github.com/PolymerElements/paper-tabs",
|
||||
"_release": "1.0.5",
|
||||
"_release": "1.0.9",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v1.0.5",
|
||||
"commit": "5c47302763d9cbb5fbbbf777a49b3ccc5f5a16bf"
|
||||
"tag": "v1.0.9",
|
||||
"commit": "d931f9ef024cc029d9545efd86c65df3e2ad5b47"
|
||||
},
|
||||
"_source": "git://github.com/PolymerElements/paper-tabs.git",
|
||||
"_target": "~1.0.0",
|
||||
|
|
28
dashboard-ui/bower_components/paper-tabs/.travis.yml
vendored
Normal file
28
dashboard-ui/bower_components/paper-tabs/.travis.yml
vendored
Normal file
|
@ -0,0 +1,28 @@
|
|||
language: node_js
|
||||
sudo: false
|
||||
matrix:
|
||||
include:
|
||||
- node_js: stable
|
||||
script: xvfb-run wct
|
||||
addons:
|
||||
firefox: latest
|
||||
apt:
|
||||
sources:
|
||||
- google-chrome
|
||||
packages:
|
||||
- google-chrome-stable
|
||||
- node_js: node
|
||||
script:
|
||||
- |
|
||||
if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then
|
||||
wct -s 'default'
|
||||
fi
|
||||
before_script:
|
||||
- npm install web-component-tester
|
||||
- npm install bower
|
||||
- export PATH=$PWD/node_modules/.bin:$PATH
|
||||
- bower install
|
||||
env:
|
||||
global:
|
||||
- secure: ieKt2HWOdClqU7OyYA20DFlWduaM0IDk91lO7mWySQL6r55SSB4DnUCgVycQJf0L6S8vyY/fbC/vFP0notyz3MvMAz1NwpRzAI9mKkVWJuaBbm9Ql9PewjanX42chbz3XyqZofXVkfBywmj61NyPM7VRVwhEHmOeYgyFUyV9cls=
|
||||
- secure: g7yrxdFIVMIjkYBKZ29FHUX3noS6u1lvjUmaAaG28rGaEfXK4XR9fhZABR+6ydAjLjdo+WUMvTp4oi6HYrb6ToByprEli/fTexjeGuagDc5r5R84u3CusBuw9YYHDjstHCBFmIZndD+r4PRXkWvYatciF9c0NCHoVrjTH/woe9g=
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "paper-tabs",
|
||||
"version": "1.0.5",
|
||||
"version": "1.0.9",
|
||||
"license": "http://polymer.github.io/LICENSE.txt",
|
||||
"description": "Material design tabs",
|
||||
"private": true,
|
||||
|
@ -25,10 +25,10 @@
|
|||
"iron-iconset-svg": "polymerelements/iron-iconset-svg#^1.0.0",
|
||||
"iron-menu-behavior": "polymerelements/iron-menu-behavior#^1.0.0",
|
||||
"iron-resizable-behavior": "polymerelements/iron-resizable-behavior#^1.0.0",
|
||||
"paper-ripple": "polymerelements/paper-ripple#^1.0.0",
|
||||
"paper-styles": "polymerelements/paper-styles#^1.0.0",
|
||||
"polymer": "Polymer/polymer#^1.0.0",
|
||||
"paper-icon-button": "polymerelements/paper-icon-button#^1.0.0"
|
||||
"paper-icon-button": "polymerelements/paper-icon-button#^1.0.0",
|
||||
"paper-behaviors": "PolymerElements/paper-behaviors#^1.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"iron-component-page": "PolymerElements/iron-component-page#^1.0.0",
|
||||
|
|
|
@ -125,7 +125,28 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
|
||||
</paper-tabs>
|
||||
|
||||
<h3>F. Link Tabs</h3>
|
||||
<h3>F. Scrollable tabs within right-to-left region</h3>
|
||||
|
||||
<div dir="rtl">
|
||||
<paper-tabs selected="0" scrollable>
|
||||
|
||||
<paper-tab>NUMBER ONE ITEM</paper-tab>
|
||||
<paper-tab>ITEM TWO</paper-tab>
|
||||
<paper-tab>THE THIRD ITEM</paper-tab>
|
||||
<paper-tab>THE ITEM FOUR</paper-tab>
|
||||
<paper-tab>FIFTH</paper-tab>
|
||||
<paper-tab>THE SIXTH TAB</paper-tab>
|
||||
<paper-tab>NUMBER SEVEN</paper-tab>
|
||||
<paper-tab>EIGHT</paper-tab>
|
||||
<paper-tab>NUMBER NINE</paper-tab>
|
||||
<paper-tab>THE TENTH</paper-tab>
|
||||
<paper-tab>THE ITEM ELEVEN</paper-tab>
|
||||
<paper-tab>TWELFTH ITEM</paper-tab>
|
||||
|
||||
</paper-tabs>
|
||||
</div>
|
||||
|
||||
<h3>G. Link Tabs</h3>
|
||||
|
||||
<paper-tabs selected="0">
|
||||
|
||||
|
@ -135,7 +156,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
|
||||
</paper-tabs>
|
||||
|
||||
<h3>G. Tabs in Toolbar</h3>
|
||||
<h3>H. Tabs in Toolbar</h3>
|
||||
|
||||
<paper-toolbar class="tall">
|
||||
|
||||
|
@ -150,7 +171,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
|
||||
</paper-toolbar>
|
||||
|
||||
<h3>H. Tabs aligned to bottom</h3>
|
||||
<h3>I. Tabs aligned to bottom</h3>
|
||||
|
||||
<paper-tabs selected="0" align-bottom>
|
||||
|
||||
|
@ -160,7 +181,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
|
||||
</paper-tabs>
|
||||
|
||||
<h3>I. Bound Selection</h3>
|
||||
<h3>J. Bound Selection</h3>
|
||||
|
||||
<template is="dom-bind">
|
||||
<h2>Current Tab: <span>[[selected]]</span></h2>
|
||||
|
|
|
@ -13,7 +13,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
<link rel="import" href="../iron-flex-layout/iron-flex-layout.html">
|
||||
<link rel="import" href="../iron-behaviors/iron-control-state.html">
|
||||
<link rel="import" href="../iron-behaviors/iron-button-state.html">
|
||||
<link rel="import" href="../paper-ripple/paper-ripple.html">
|
||||
<link rel="import" href="../paper-behaviors/paper-ripple-behavior.html">
|
||||
|
||||
<!--
|
||||
`paper-tab` is styled to look like a tab. It should be used in conjunction with
|
||||
|
@ -36,6 +36,7 @@ Custom property | Description | Default
|
|||
`--paper-tab-ink` | Ink color | `--paper-yellow-a100`
|
||||
`--paper-tab` | Mixin applied to the tab | `{}`
|
||||
`--paper-tab-content` | Mixin applied to the tab content | `{}`
|
||||
`--paper-tab-content-unselected` | Mixin applied to the tab content when the tab is not selected | `{}`
|
||||
|
||||
-->
|
||||
|
||||
|
@ -76,6 +77,8 @@ Custom property | Description | Default
|
|||
|
||||
:host(:not(.iron-selected)) > .tab-content {
|
||||
opacity: 0.8;
|
||||
|
||||
@apply(--paper-tab-content-unselected);
|
||||
}
|
||||
|
||||
:host(:focus) .tab-content {
|
||||
|
@ -83,9 +86,8 @@ Custom property | Description | Default
|
|||
font-weight: 700;
|
||||
}
|
||||
|
||||
#ink {
|
||||
paper-ripple {
|
||||
color: var(--paper-tab-ink, --paper-yellow-a100);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.tab-content > ::content > a {
|
||||
|
@ -106,10 +108,6 @@ Custom property | Description | Default
|
|||
<content></content>
|
||||
</div>
|
||||
|
||||
<template is="dom-if" if="[[!noink]]">
|
||||
<paper-ripple id="ink" initial-opacity="0.95" opacity-decay-velocity="0.98"></paper-ripple>
|
||||
</template>
|
||||
|
||||
</template>
|
||||
|
||||
</dom-module>
|
||||
|
@ -122,23 +120,10 @@ Custom property | Description | Default
|
|||
|
||||
behaviors: [
|
||||
Polymer.IronControlState,
|
||||
Polymer.IronButtonState
|
||||
Polymer.IronButtonState,
|
||||
Polymer.PaperRippleBehavior
|
||||
],
|
||||
|
||||
properties: {
|
||||
|
||||
/**
|
||||
* If true, ink ripple effect is disabled.
|
||||
*
|
||||
* @attribute noink
|
||||
*/
|
||||
noink: {
|
||||
type: Boolean,
|
||||
value: false
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
hostAttributes: {
|
||||
role: 'tab'
|
||||
},
|
||||
|
@ -147,6 +132,12 @@ Custom property | Description | Default
|
|||
down: '_updateNoink'
|
||||
},
|
||||
|
||||
ready: function() {
|
||||
var ripple = this.getRipple();
|
||||
ripple.initialOpacity = 0.95;
|
||||
ripple.opacityDecayVelocity = 0.98;
|
||||
},
|
||||
|
||||
attached: function() {
|
||||
this._updateNoink();
|
||||
},
|
||||
|
|
|
@ -105,6 +105,10 @@ Custom property | Description | Default
|
|||
@apply(--paper-tabs);
|
||||
}
|
||||
|
||||
:host-context([dir=rtl]) {
|
||||
@apply(--layout-horizontal-reverse);
|
||||
}
|
||||
|
||||
#tabsContainer {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
|
@ -212,11 +216,14 @@ Custom property | Description | Default
|
|||
properties: {
|
||||
|
||||
/**
|
||||
* If true, ink ripple effect is disabled.
|
||||
* If true, ink ripple effect is disabled. When this property is changed,
|
||||
* all descendant `<paper-tab>` elements have their `noink` property
|
||||
* changed to the new value as well.
|
||||
*/
|
||||
noink: {
|
||||
type: Boolean,
|
||||
value: false
|
||||
value: false,
|
||||
observer: '_noinkChanged'
|
||||
},
|
||||
|
||||
/**
|
||||
|
@ -315,10 +322,27 @@ Custom property | Description | Default
|
|||
'iron-deselect': '_onIronDeselect'
|
||||
},
|
||||
|
||||
created: function() {
|
||||
this._holdJob = null;
|
||||
},
|
||||
|
||||
ready: function() {
|
||||
this.setScrollDirection('y', this.$.tabsContainer);
|
||||
},
|
||||
|
||||
_noinkChanged: function(noink) {
|
||||
var childTabs = Polymer.dom(this).querySelectorAll('paper-tab');
|
||||
childTabs.forEach(noink ? this._setNoinkAttribute : this._removeNoinkAttribute);
|
||||
},
|
||||
|
||||
_setNoinkAttribute: function(element) {
|
||||
element.setAttribute('noink', '');
|
||||
},
|
||||
|
||||
_removeNoinkAttribute: function(element) {
|
||||
element.removeAttribute('noink');
|
||||
},
|
||||
|
||||
_computeScrollButtonClass: function(hideThisButton, scrollable, hideScrollButtons) {
|
||||
if (!scrollable || hideScrollButtons) {
|
||||
return 'hidden';
|
||||
|
|
|
@ -51,6 +51,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
});
|
||||
|
||||
test('selected tab has iron-selected class', function() {
|
||||
Polymer.dom.flush();
|
||||
assert.isTrue(tabs.querySelector('[name=bar]').classList.contains('iron-selected'));
|
||||
});
|
||||
|
||||
|
@ -71,6 +72,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
});
|
||||
|
||||
test('selected tab has iron-selected class', function() {
|
||||
Polymer.dom.flush();
|
||||
assert.isTrue(tab.classList.contains('iron-selected'));
|
||||
});
|
||||
|
||||
|
|
|
@ -188,6 +188,26 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
});
|
||||
});
|
||||
|
||||
suite('noink attribute', function() {
|
||||
var tabs;
|
||||
|
||||
setup(function () {
|
||||
tabs = fixture('basic');
|
||||
});
|
||||
|
||||
test('noink attribute propagates to all descendant tabs', function() {
|
||||
tabs.noink = true;
|
||||
Array.prototype.slice.apply(tabs.querySelectorAll('paper-tab')).forEach(function(tab) {
|
||||
assert.isTrue(tab.noink);
|
||||
});
|
||||
|
||||
tabs.noink = false;
|
||||
Array.prototype.slice.apply(tabs.querySelectorAll('paper-tab')).forEach(function(tab) {
|
||||
assert.isFalse(tab.noink);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
}
|
||||
|
||||
.homeTopViews .cardImage {
|
||||
border-radius: 5px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.cardOverlayMoreButton, .cardOverlayPlayButton {
|
||||
|
@ -228,7 +228,6 @@
|
|||
|
||||
.homeTopViews .cardText {
|
||||
font-size: 15px;
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.cardButtonContainer {
|
||||
|
|
|
@ -501,7 +501,7 @@ span.itemCommunityRating:not(:empty) + .userDataIcons {
|
|||
.primaryDetailsContainer {
|
||||
float: left;
|
||||
padding: .75em 0 0 1.5em;
|
||||
width: 68%;
|
||||
width: 66%;
|
||||
}
|
||||
|
||||
.portraitDetailImageContainer + .primaryDetailsContainer {
|
||||
|
@ -915,9 +915,6 @@ span.itemCommunityRating:not(:empty) + .userDataIcons {
|
|||
|
||||
@media all and (max-width: 600px) {
|
||||
|
||||
.primaryDetailsContainer {
|
||||
}
|
||||
|
||||
.portraitDetailImageContainer + .primaryDetailsContainer {
|
||||
width: 65%;
|
||||
}
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
};
|
||||
|
||||
var canPlayAac = document.createElement('audio').canPlayType('audio/aac').replace(/no/, '');
|
||||
var canPlayMp3 = document.createElement('audio').canPlayType('audio/mp3').replace(/no/, '');
|
||||
|
||||
self.getVideoQualityOptions = function (videoWidth, videoHeight) {
|
||||
|
||||
|
@ -143,7 +144,7 @@
|
|||
Container: 'mp4,m4v',
|
||||
Type: 'Video',
|
||||
VideoCodec: 'h264',
|
||||
AudioCodec: 'aac,mp3' + (canPlayAc3 ? ',ac3' : '')
|
||||
AudioCodec: 'aac' + (canPlayMp3 ? ',mp3' : '') + (canPlayAc3 ? ',ac3' : '')
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -152,7 +153,7 @@
|
|||
Container: 'mkv,mov',
|
||||
Type: 'Video',
|
||||
VideoCodec: 'h264',
|
||||
AudioCodec: 'aac,mp3' + (canPlayAc3 ? ',ac3' : '')
|
||||
AudioCodec: 'aac' + (canPlayMp3 ? ',mp3' : '') + (canPlayAc3 ? ',ac3' : '')
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -165,10 +166,12 @@
|
|||
});
|
||||
}
|
||||
|
||||
if (canPlayMp3) {
|
||||
profile.DirectPlayProfiles.push({
|
||||
Container: 'mp3',
|
||||
Type: 'Audio'
|
||||
});
|
||||
}
|
||||
|
||||
if (canPlayAac) {
|
||||
profile.DirectPlayProfiles.push({
|
||||
|
|
|
@ -14974,6 +14974,7 @@ is separate from validation, and `allowed-pattern` does not affect how the input
|
|||
width: 100%;
|
||||
height: 100%;
|
||||
opacity: 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.layer-1 {
|
||||
|
@ -16907,6 +16908,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
|
||||
:host(:not(.iron-selected)) > .tab-content {
|
||||
opacity: 0.8;
|
||||
|
||||
@apply(--paper-tab-content-unselected);
|
||||
}
|
||||
|
||||
:host(:focus) .tab-content {
|
||||
|
@ -16914,9 +16917,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
font-weight: 700;
|
||||
}
|
||||
|
||||
#ink {
|
||||
paper-ripple {
|
||||
color: var(--paper-tab-ink, --paper-yellow-a100);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.tab-content > ::content > a {
|
||||
|
@ -16937,10 +16939,6 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
<content></content>
|
||||
</div>
|
||||
|
||||
<template is="dom-if" if="[[!noink]]">
|
||||
<paper-ripple id="ink" initial-opacity="0.95" opacity-decay-velocity="0.98"></paper-ripple>
|
||||
</template>
|
||||
|
||||
</template>
|
||||
|
||||
</dom-module>
|
||||
|
@ -16953,23 +16951,10 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
|
||||
behaviors: [
|
||||
Polymer.IronControlState,
|
||||
Polymer.IronButtonState
|
||||
Polymer.IronButtonState,
|
||||
Polymer.PaperRippleBehavior
|
||||
],
|
||||
|
||||
properties: {
|
||||
|
||||
/**
|
||||
* If true, ink ripple effect is disabled.
|
||||
*
|
||||
* @attribute noink
|
||||
*/
|
||||
noink: {
|
||||
type: Boolean,
|
||||
value: false
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
hostAttributes: {
|
||||
role: 'tab'
|
||||
},
|
||||
|
@ -16978,6 +16963,12 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
down: '_updateNoink'
|
||||
},
|
||||
|
||||
ready: function() {
|
||||
var ripple = this.getRipple();
|
||||
ripple.initialOpacity = 0.95;
|
||||
ripple.opacityDecayVelocity = 0.98;
|
||||
},
|
||||
|
||||
attached: function() {
|
||||
this._updateNoink();
|
||||
},
|
||||
|
@ -17014,6 +17005,10 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
@apply(--paper-tabs);
|
||||
}
|
||||
|
||||
:host-context([dir=rtl]) {
|
||||
@apply(--layout-horizontal-reverse);
|
||||
}
|
||||
|
||||
#tabsContainer {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
|
@ -17120,11 +17115,14 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
properties: {
|
||||
|
||||
/**
|
||||
* If true, ink ripple effect is disabled.
|
||||
* If true, ink ripple effect is disabled. When this property is changed,
|
||||
* all descendant `<paper-tab>` elements have their `noink` property
|
||||
* changed to the new value as well.
|
||||
*/
|
||||
noink: {
|
||||
type: Boolean,
|
||||
value: false
|
||||
value: false,
|
||||
observer: '_noinkChanged'
|
||||
},
|
||||
|
||||
/**
|
||||
|
@ -17223,10 +17221,27 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
'iron-deselect': '_onIronDeselect'
|
||||
},
|
||||
|
||||
created: function() {
|
||||
this._holdJob = null;
|
||||
},
|
||||
|
||||
ready: function() {
|
||||
this.setScrollDirection('y', this.$.tabsContainer);
|
||||
},
|
||||
|
||||
_noinkChanged: function(noink) {
|
||||
var childTabs = Polymer.dom(this).querySelectorAll('paper-tab');
|
||||
childTabs.forEach(noink ? this._setNoinkAttribute : this._removeNoinkAttribute);
|
||||
},
|
||||
|
||||
_setNoinkAttribute: function(element) {
|
||||
element.setAttribute('noink', '');
|
||||
},
|
||||
|
||||
_removeNoinkAttribute: function(element) {
|
||||
element.removeAttribute('noink');
|
||||
},
|
||||
|
||||
_computeScrollButtonClass: function(hideThisButton, scrollable, hideScrollButtons) {
|
||||
if (!scrollable || hideScrollButtons) {
|
||||
return 'hidden';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue