From cf45a7e63b0618b0e9c2cd15e4e2de3a6e38848e Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Sun, 3 May 2015 18:53:56 +0200 Subject: [PATCH] Framework css, torrents page (home) --- .bowerrc | 3 + README.md | 3 +- bower.json | 17 ++ web/assets/app.css | 15 -- web/assets/cascade | 1 - web/index.html | 259 +++++++++++++++++-------- web/torrents.html | 107 ---------- web/xbt_components/default/css/app.css | 12 ++ web/xbt_components/default/js/app.js | 1 + 9 files changed, 209 insertions(+), 209 deletions(-) create mode 100644 .bowerrc create mode 100644 bower.json delete mode 100644 web/assets/app.css delete mode 120000 web/assets/cascade delete mode 100644 web/torrents.html create mode 100644 web/xbt_components/default/css/app.css create mode 100644 web/xbt_components/default/js/app.js diff --git a/.bowerrc b/.bowerrc new file mode 100644 index 0000000..7f6b222 --- /dev/null +++ b/.bowerrc @@ -0,0 +1,3 @@ +{ + "directory": "web/components/" +} diff --git a/README.md b/README.md index 86456ad..a1724e3 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ xbt-deblan-frontend =================== -XBT PHP Frontend. \ No newline at end of file +XBT PHP Frontend. + diff --git a/bower.json b/bower.json new file mode 100644 index 0000000..5b52ec0 --- /dev/null +++ b/bower.json @@ -0,0 +1,17 @@ +{ + "name": "xbt-deblan-frontend", + "version": "0.0.1", + "authors": [ + "Simon Vieille " + ], + "description": "BXT frontend", + "main": "web/index.php", + "keywords": [ + "XBT" + ], + "license": "BSD-2-Clause", + "homepage": "https://gitlab.deblan.org/deblan/xbt-deblan-frontend/", + "dependencies": { + "bootstrap": "3.3.4" + } +} diff --git a/web/assets/app.css b/web/assets/app.css deleted file mode 100644 index 5c24818..0000000 --- a/web/assets/app.css +++ /dev/null @@ -1,15 +0,0 @@ -th.number { - width: 20px; -} - -.number { - text-align: right; -} - -.green { - color: #41B919; -} - -.red { - color: #B9292B; -} diff --git a/web/assets/cascade b/web/assets/cascade deleted file mode 120000 index b9e8efa..0000000 --- a/web/assets/cascade +++ /dev/null @@ -1 +0,0 @@ -../../vendor/cascadeframework-master/assets/ \ No newline at end of file diff --git a/web/index.html b/web/index.html index 427e82c..ba17e63 100644 --- a/web/index.html +++ b/web/index.html @@ -1,89 +1,178 @@ - - - - - - XBT DEBLAN FRONTEND - - -
-
-
-
- -
-
-
-
- -
-
-
- -
-
-
-
-
- -
+ + + + + + XBT DEBLAN FRONTEND + + + +
+
+
+
+
-
-
-
- - - - +
+ +
+
+ + +
+ +
+
+ +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
IDNameCategorySeedersLeechers
1Debian wheezy i386Linux103
1Debian wheezy i386Linux103
1Debian wheezy i386Linux103
1Debian wheezy i386Linux103
1Debian wheezy i386Linux103
+
+
+
+ +
+ + + + + + diff --git a/web/torrents.html b/web/torrents.html deleted file mode 100644 index 2e704f1..0000000 --- a/web/torrents.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - - - XBT DEBLAN FRONTEND - - -
-
-
-
- -
-
-
-
- -
-
-
- -
-
-
-
-
- -
-
-
-
-
- - - - - - - - - - - - - - - - - - - -
IDNameCategorySeedersLeechers
1Debian wheezy i386Linux103
- -
-
-
-
-
- - - - diff --git a/web/xbt_components/default/css/app.css b/web/xbt_components/default/css/app.css new file mode 100644 index 0000000..da2ca82 --- /dev/null +++ b/web/xbt_components/default/css/app.css @@ -0,0 +1,12 @@ +#container { + padding: 0 20px; +} + +.navbar { + border-radius: 0; +} + +.number { + width: 50px; + text-align: right; +} diff --git a/web/xbt_components/default/js/app.js b/web/xbt_components/default/js/app.js new file mode 100644 index 0000000..d82e3ff --- /dev/null +++ b/web/xbt_components/default/js/app.js @@ -0,0 +1 @@ +$('.select2').select2();