Skip to content

Commit

Permalink
fixed minification; minor CSS changes; updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] authored and joewiz committed Mar 24, 2019
1 parent d69ad1f commit 1790dfe
Show file tree
Hide file tree
Showing 35 changed files with 2,947 additions and 31 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
build
build
.idea
504 changes: 504 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,21 @@

Admin Dashboard is a replacement of the older [Dashboard](https://github.com/eXist-db/dashboard) and will replace it from eXist-db 5.0.0 onwards.

## Building
## Building for development


The application is build with Apache Ant by executing

```ant xar```

This creates an unoptimized package for development purposes.

## Building for production

To create a minified package execute:

```ant production-xar```

### A note on client-side dependencies

Admin Dashboard is made of [Web Components](https://webcomponents.org) using [bower](https://bower.io/) for handling
Expand Down
1 change: 1 addition & 0 deletions bower_components/existdb-launcher/existdb-launcher.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
width:150px;
height:150px;
position:relative;
cursor: pointer;
/*border: thin solid;*/
margin:10px;
/*
Expand Down
2 changes: 1 addition & 1 deletion bower_components/existdb-packagemanager/dependencies.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../paper-badge/paper-badge.html">
<!--<link rel="import" href="../paper-badge/paper-badge.html">-->
<link rel="import" href="../paper-spinner/paper-spinner.html">

<!--<link rel="import" href="../existdb-layout/existdb-styles.html">-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
margin-right:20px;
}

[icon="social:people"]{
.x{
--iron-icon-fill-color:white;
margin-right:10px;
--iron-icon-width: 30px;
Expand Down
65 changes: 65 additions & 0 deletions bower_components/paper-spinner/.bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"name": "paper-spinner",
"version": "2.1.0",
"description": "A material design spinner",
"authors": [
"The Polymer Authors"
],
"keywords": [
"web-components",
"polymer",
"spinner",
"loading"
],
"private": true,
"repository": {
"type": "git",
"url": "git://github.com/PolymerElements/paper-spinner"
},
"license": "http://polymer.github.io/LICENSE.txt",
"homepage": "https://github.com/PolymerElements/paper-spinner",
"ignore": [],
"dependencies": {
"paper-styles": "PolymerElements/paper-styles#1 - 2",
"polymer": "Polymer/polymer#1.9 - 2"
},
"devDependencies": {
"iron-component-page": "PolymerElements/iron-component-page#1 - 2",
"iron-demo-helpers": "PolymerElements/iron-demo-helpers#1 - 2",
"web-component-tester": "^6.0.0",
"webcomponentsjs": "webcomponents/webcomponentsjs#^1.0.0"
},
"main": [
"paper-spinner.html",
"paper-spinner-lite.html"
],
"variants": {
"1.x": {
"dependencies": {
"polymer": "Polymer/polymer#^1.9",
"paper-styles": "PolymerElements/paper-styles#^1.0.0"
},
"devDependencies": {
"iron-component-page": "PolymerElements/iron-component-page#^1.0.0",
"iron-demo-helpers": "PolymerElements/iron-demo-helpers#^1.0.0",
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0",
"web-component-tester": "Polymer/web-component-tester#^4.0.0"
},
"resolutions": {
"webcomponentsjs": "^0.7"
}
}
},
"resolutions": {
"webcomponentsjs": "^1.0.0"
},
"_release": "2.1.0",
"_resolution": {
"type": "version",
"tag": "v2.1.0",
"commit": "253acc5c24f206cea80762dfb1e38be2e5177b7e"
},
"_source": "https://github.com/PolymerElements/paper-spinner.git",
"_target": "^2.0.0",
"_originalSource": "PolymerElements/paper-spinner"
}
2 changes: 2 additions & 0 deletions bower_components/paper-spinner/.github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* @keanulee
/.travis.yml @azakus
33 changes: 33 additions & 0 deletions bower_components/paper-spinner/.github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<!-- Instructions: https://github.com/PolymerElements/paper-spinner/CONTRIBUTING.md#filing-issues -->
### Description
<!-- Example: The `paper-foo` element causes the page to turn pink when clicked. -->

### Expected outcome

<!-- Example: The page stays the same color. -->

### Actual outcome

<!-- Example: The page turns pink. -->

### Live Demo
<!-- Example: https://jsbin.com/cagaye/edit?html,output -->

### Steps to reproduce

<!-- Example
1. Put a `paper-foo` element in the page.
2. Open the page in a web browser.
3. Click the `paper-foo` element.
-->

### Browsers Affected
<!-- Check all that apply -->
- [ ] Chrome
- [ ] Firefox
- [ ] Safari 9
- [ ] Safari 8
- [ ] Safari 7
- [ ] Edge
- [ ] IE 11
- [ ] IE 10
3 changes: 3 additions & 0 deletions bower_components/paper-spinner/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
bower_components*
bower-*.json
node_modules
30 changes: 30 additions & 0 deletions bower_components/paper-spinner/.travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
language: node_js
sudo: required
before_script:
- npm install -g polymer-cli
- polymer install --variants
- >-
npm run update-types && git diff --exit-code || (echo -e
'\n\033[31mERROR:\033[0m Typings are stale. Please run "npm run
update-types".' && false)
env:
global:
- secure: >-
dIA8M55rHJN07lbp0VCU9RkN4CWlbkVdU6cP4wFZabuJJusISThMZVrZeGtbdErvQ8oiSexrE8iCZ7A/OcLnVNCrVBZX5YwJlfbex4I4uG6L8zw1E3oOX1MmdcTx2sI8MffDyG1pnXzwP5lzPItKiscEpepGY9+V0JP1j5z9qVg=
- secure: >-
KvttUgmPIlCz4WU2WIpse5s/1SVXHoS+snGDkNqYLOVXscRjJoncXYbdvLltf7SPrU7gK4HuEuEVRthhDGtuvgrXUlIOS/gaK8dWI3kuVYPppOU1DnlXgAtj/3quGZG1dNw07IGzOEW4Taq/5KdU8LRqb9clvK+jyoBQZKIXbtg=
node_js: stable
addons:
firefox: latest
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
sauce_connect: true
script:
- xvfb-run polymer test
- >-
if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then polymer test -s 'default';
fi
dist: trusty
77 changes: 77 additions & 0 deletions bower_components/paper-spinner/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<!--
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 :)
You can however override the jsbin link with one that's customized to this
specific element:
jsbin=https://jsbin.com/cagaye/edit?html,output
-->

# 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: [https://jsbin.com/cagaye/edit?html,output](https://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 in the pull request description using the following syntax:

```markdown
(For a single issue)
Fixes #20

(For multiple issues)
Fixes #32, fixes #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!
50 changes: 50 additions & 0 deletions bower_components/paper-spinner/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
[![Build status](https://travis-ci.org/PolymerElements/paper-spinner.svg?branch=master)](https://travis-ci.org/PolymerElements/paper-spinner)
[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/PolymerElements/paper-spinner)

## &lt;paper-spinner&gt;

Material design: [Progress & activity](https://www.google.com/design/spec/components/progress-activity.html)

Element providing a multiple color material design circular spinner.

<!---
```
<custom-element-demo>
<template>
<script src="../webcomponentsjs/webcomponents-lite.js"></script>
<link rel="import" href="paper-spinner.html">
<link rel="import" href="paper-spinner-lite.html">
<style is="custom-style">
paper-spinner, paper-spinner-lite {
margin: 8px 8px 8px 0;
}
paper-spinner-lite.orange {
--paper-spinner-color: var(--google-yellow-500);
}
paper-spinner-lite.green {
--paper-spinner-color: var(--google-green-500);
}
paper-spinner-lite.thin {
--paper-spinner-stroke-width: 1px;
}
paper-spinner-lite.thick {
--paper-spinner-stroke-width: 6px;
}
#container {
display: flex;
}
</style>
<div id="container">
<next-code-block></next-code-block>
</div>
</template>
</custom-element-demo>
```
-->
```html
<paper-spinner active>...</paper-spinner>
<paper-spinner-lite active class="orange"></paper-spinner-lite>
<paper-spinner-lite active class="green"></paper-spinner-lite>
<paper-spinner-lite active class="thin"></paper-spinner-lite>
<paper-spinner-lite active class="thick"></paper-spinner-lite>
```
56 changes: 56 additions & 0 deletions bower_components/paper-spinner/bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"name": "paper-spinner",
"version": "2.0.0",
"description": "A material design spinner",
"authors": [
"The Polymer Authors"
],
"keywords": [
"web-components",
"polymer",
"spinner",
"loading"
],
"private": true,
"repository": {
"type": "git",
"url": "git://github.com/PolymerElements/paper-spinner"
},
"license": "http://polymer.github.io/LICENSE.txt",
"homepage": "https://github.com/PolymerElements/paper-spinner",
"ignore": [],
"dependencies": {
"paper-styles": "PolymerElements/paper-styles#1 - 2",
"polymer": "Polymer/polymer#1.9 - 2"
},
"devDependencies": {
"iron-component-page": "PolymerElements/iron-component-page#1 - 2",
"iron-demo-helpers": "PolymerElements/iron-demo-helpers#1 - 2",
"web-component-tester": "^6.0.0",
"webcomponentsjs": "webcomponents/webcomponentsjs#^1.0.0"
},
"main": [
"paper-spinner.html",
"paper-spinner-lite.html"
],
"variants": {
"1.x": {
"dependencies": {
"polymer": "Polymer/polymer#^1.9",
"paper-styles": "PolymerElements/paper-styles#^1.0.0"
},
"devDependencies": {
"iron-component-page": "PolymerElements/iron-component-page#^1.0.0",
"iron-demo-helpers": "PolymerElements/iron-demo-helpers#^1.0.0",
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0",
"web-component-tester": "Polymer/web-component-tester#^4.0.0"
},
"resolutions": {
"webcomponentsjs": "^0.7"
}
}
},
"resolutions": {
"webcomponentsjs": "^1.0.0"
}
}
Loading

0 comments on commit 1790dfe

Please sign in to comment.