Skip to content

Commit

Permalink
Merge pull request #39 from l-n-s/webui
Browse files Browse the repository at this point in the history
removed yarn stuff and make del button less ugly
  • Loading branch information
majestrate committed Nov 2, 2017
2 parents 673925c + c44f53c commit 8dd5956
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 1,347 deletions.
42 changes: 0 additions & 42 deletions contrib/webui/.yarnclean

This file was deleted.

2 changes: 1 addition & 1 deletion contrib/webui/Makefile
Expand Up @@ -12,7 +12,7 @@ build:
cat $(JS_ROOT)/*.js > $(JS)

run:
yarn run server
node server.js

clean:
rm -f $(CSS) $(JS)
12 changes: 7 additions & 5 deletions contrib/webui/css/main.css
Expand Up @@ -8,15 +8,17 @@ progress {
}

.button-remove {
background: red;
color: snow;
color: #222;
font-weight: bold;
padding: 3px 5px;
border-radius: 10px;
padding: 0px 10px;
border-radius: 4px;
border:1px #bbb solid;
}

.button-remove:hover {
cursor: pointer;
background: darkred;
background: crimson;
color: snow;
}

.torrent-row {
Expand Down
4 changes: 2 additions & 2 deletions contrib/webui/docroot/index.html
Expand Up @@ -22,7 +22,7 @@
<input class="u-full-width" type="text"
placeholder="Torrent location (URL or local file)"
data-bind="value: torrentURL"
id="exampleEmailInput">
id="torrent-url-input">
</div>
<div class="two columns">
<input class="u-full-width button-primary" type="submit"
Expand All @@ -43,7 +43,7 @@
<div><span data-bind="text: $data.Peers()"></span> peers connected. <span data-bind="text: $data.Speed()"></span></div>
</div>
<div class="two columns torrent-buttons">
<span class="button-remove" data-bind="click: remove" title="Remove torrent and delete files">X</span></div>
<span class="button-remove" data-bind="click: remove" title="Remove torrent and delete files">&mdash;</span></div>
</div>
</div>
</div>
Expand Down
1 change: 0 additions & 1 deletion contrib/webui/readme.md
Expand Up @@ -6,7 +6,6 @@ XD web ui source code
## dependencies

* nodejs
* yarn
* GNU Make

## building
Expand Down
12 changes: 0 additions & 12 deletions contrib/webui/webpack.config.js

This file was deleted.

0 comments on commit 8dd5956

Please sign in to comment.