From: Dobrica Pavlinusic Date: Mon, 13 Dec 2010 22:30:39 +0000 (+0100) Subject: Merge branch 'master' of github.com:dpavlin/angular-mojolicious X-Git-Url: http://git.rot13.org/?p=angular-mojolicious.git;a=commitdiff_plain;h=fa73d3afc7f9a54d80387299865012d0ab1aaf98;hp=06415ef5f34b3b6db008d583ffd340df9b465c78 Merge branch 'master' of github.com:dpavlin/angular-mojolicious --- diff --git a/README b/README index b7af6eb..4dd9f76 100644 --- a/README +++ b/README @@ -93,7 +93,8 @@ CouchDB examples: $ ./couchdb-trigger.pl http://localhost:5984/demo trigger/shell.pm - $ curl -X PUT http://localhost:5984/demo/t1 -d '{"trigger":{"command":"notify-send CouchDB t1"}}' + $ curl -X POST http://localhost:5984/demo/ -H 'Content-type:application/json' -d \ + '{"trigger":{"command":"notify-send \"CouchDB trigger notify example\""}}' couchdb-external-kinosearch.pl - external searcher for KinoSearch indexes diff --git a/common/mojo b/common/mojo index f56f468..c6b96c8 160000 --- a/common/mojo +++ b/common/mojo @@ -1 +1 @@ -Subproject commit f56f46879ef7fc32346ca8696270c6d47cb6cc5f +Subproject commit c6b96c83cb1904ce1894e18d3bf553df651817bd diff --git a/public/app/monitor/printers.html b/public/app/monitor/printers.html index 9af48f4..be75fe0 100644 --- a/public/app/monitor/printers.html +++ b/public/app/monitor/printers.html @@ -49,60 +49,42 @@ function Printers(xhr){
- - - - - - - - - + + + + + + + + + + - + - - + + + + + - - - + - +
{{printer._key}}{{printer.hostname}}
{{m}}
{{printer.hostname}}{{printer.model}}{{printer.serial}}
{{m}}
- - - - - -
{{ ((c.curr * 100 + 0.0001)/ c.max).toFixed(1) }}%{{c.name}}
+
+ + {{ ((c.curr * 100 + 0.0001)/ c.max).toFixed(1) }}% + - - - - - - -
{{t.capacity}}/{{t.max}}{{t.name}}{{t.dim_x}}*{{t.dim_y}}
+
+ + {{t.capacity}}/{{t.max}} + {{printer.pages}}{{printer.pages}}{{printer.info}}{{printer.info}}
diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000..f80a60d Binary files /dev/null and b/public/favicon.ico differ diff --git a/run.sh b/run.sh index 3d8c39c..f7e54c2 100755 --- a/run.sh +++ b/run.sh @@ -7,5 +7,5 @@ if [ ! -z "$1" ] ; then test -f public/angular/build/angular.js || ( cd public/angular && rake compile ) fi -./angular-server.pl daemon --reload #--listen 'http://*:3000' +./angular-server.pl daemon --reload --listen 'http://*:3001'