diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f239ee0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.project +node_modules diff --git a/catalog.tag b/catalog.tag new file mode 100644 index 0000000..a15b2a1 --- /dev/null +++ b/catalog.tag @@ -0,0 +1,48 @@ + + +
+
+
    +
    +

    Repositories of { registryUI.url() }

    +
    +
  • + + { item } + +
  • +
+
+
+ + + +
diff --git a/index.html b/index.html new file mode 100644 index 0000000..9d2fe80 --- /dev/null +++ b/index.html @@ -0,0 +1,72 @@ + + + + + + + + + + +Docker Registry UI + + + +
+
+
+ + Docker Registry UI + +
+ + +
+
+
+ Docker Registry UI + +
+
+
+ +
+
+ +
+ + + + + + + diff --git a/package.json b/package.json new file mode 100644 index 0000000..6e40005 --- /dev/null +++ b/package.json @@ -0,0 +1,8 @@ +{ + "dependencies": { + "material-design-lite": "^1.1", + "material-design-icons": "^2.2", + "dialog-polyfill": "^0.4", + "riot": "^2.3" + } +} diff --git a/script.js b/script.js new file mode 100644 index 0000000..2e82ee0 --- /dev/null +++ b/script.js @@ -0,0 +1,24 @@ +/* + * Copyright (C) 2016 Jones Magloire @Joxit + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ +var registryUI = {} +registryUI.url = function () { + return localStorage.getItem('registryServer'); +} +var catalog = {}; + + +riot.mount('catalog'); diff --git a/style.css b/style.css new file mode 100644 index 0000000..1682244 --- /dev/null +++ b/style.css @@ -0,0 +1,28 @@ +/* + * Copyright (C) 2016 Jones Magloire @Joxit + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ +.mdl-mini-footer { + padding-top: 8px; + padding-bottom: 8px; +} + +.catalog { + padding: 16px; +} + +.section-centerd { + margin: auto; +}