diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..27b63cd
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule "scss/srht"]
+ path = scss/srht
+ url = https://git.sr.ht/~sircmpwn/srht
diff --git a/scss/base.scss b/scss/base.scss
deleted file mode 100644
index 468b1c6..0000000
--- a/scss/base.scss
+++ /dev/null
@@ -1,3 +0,0 @@
-@import "bootstrap";
-$fa-font-path: "../node_modules/font-awesome/fonts/";
-@import "font-awesome";
diff --git a/scss/main.scss b/scss/main.scss
new file mode 100644
index 0000000..32b72ec
--- /dev/null
+++ b/scss/main.scss
@@ -0,0 +1,37 @@
+@import "base";
+
+.table {
+ tbody td {
+ border: none;
+ }
+}
+
+.torrent {
+ &.paused {
+ color: $gray-dark;
+ background: $gray-lighter;
+ }
+
+ &.idle {
+ color: $gray-dark;
+ }
+
+ &.error {
+ background-color: $brand-danger;
+ color: $white;
+ a {
+ color: $white;
+ text-decoration: underline;
+ }
+ }
+
+ &.seeding {
+ background-image: linear-gradient(to right, lighten($brand-info, 20), $brand-info);
+ }
+
+ &.leeching {
+ background-image: linear-gradient(to right, lighten($brand-success, 20), $brand-success);
+ }
+
+ background-repeat: no-repeat;
+}
diff --git a/scss/srht b/scss/srht
new file mode 160000
index 0000000..1cea294
--- /dev/null
+++ b/scss/srht
@@ -0,0 +1 @@
+Subproject commit 1cea2941056108fe5fb17626ad9a45f4276c83eb
diff --git a/src/index.js b/src/index.js
index 07c8669..5204d12 100644
--- a/src/index.js
+++ b/src/index.js
@@ -3,10 +3,13 @@ import { render } from 'react-dom';
import { Provider } from 'react-redux';
import store from './store';
-import scss from '../scss/base.scss';
+import scss from '../scss/main.scss';
import { ws_init } from './socket';
import { filter_subscribe } from './actions/filter_subscribe';
+import Nav from './ui/navigation';
+import Main from './ui/main';
+
ws_init(() => {
store.dispatch(filter_subscribe());
store.dispatch(filter_subscribe('server'));
@@ -14,9 +17,12 @@ ws_init(() => {
render(
- Hello world!
-
+
TODO
+name | +up | +down | +
---|---|---|
+ + {t.name} + + | +{t.rate_up} | +{t.rate_down} | +