From 64c16c6c3f1129e31dff86f0b8b046d5e33ff5c9 Mon Sep 17 00:00:00 2001 From: zhuyj17 Date: Wed, 10 Aug 2016 16:45:46 +0800 Subject: [PATCH] Add a icon of bean on page. --- web/static/img/bean.png | Bin 0 -> 3887 bytes web/static/js/plot_monitor.js | 2 +- web/templates/base_AdminLTE.html | 3 +++ web/templates/monitor/status.html | 2 +- 4 files changed, 5 insertions(+), 2 deletions(-) create mode 100755 web/static/img/bean.png diff --git a/web/static/img/bean.png b/web/static/img/bean.png new file mode 100755 index 0000000000000000000000000000000000000000..8a26d67c52625f60b607707f1d018ce3289927c8 GIT binary patch literal 3887 zcmV+~576+5P)KLZ*U+5Lu!Sk^o_Z5E4Meg@_7P6crJiNL9pw)e1;Xm069{HJUZAPk55R%$-RIA z6-eL&AQ0xu!e<4=008gy@A0LT~suv4>S3ILP<0Bm`DLLvaF4FK%)Nj?Pt*r}7;7Xa9z9H|HZjR63e zC`Tj$K)V27Re@400>HumpsYY5E(E}?0f1SyGDiY{y#)Yvj#!WnKwtoXnL;eg03bL5 z07D)V%>y7z1E4U{zu>7~aD})?0RX_umCct+(lZpemCzb@^6=o|A>zVpu|i=NDG+7} zl4`aK{0#b-!z=TL9Wt0BGO&T{GJWpjryhdijfaIQ&2!o}p04JRKYg3k&Tf zVxhe-O!X z{f;To;xw^bEES6JSc$k$B2CA6xl)ltA<32E66t?3@gJ7`36pmX0IY^jz)rRYwaaY4 ze(nJRiw;=Qb^t(r^DT@T3y}a2XEZW-_W%Hszxj_qD**t_m!#tW0KDiJT&R>6OvVTR z07RgHDzHHZ48atvzz&?j9lXF70$~P3Knx_nJP<+#`N z#-MZ2bTkiLfR>_b(HgWKJ%F~Nr_oF3b#wrIijHG|(J>BYjM-sajE6;FiC7vY#};Gd zST$CUHDeuEH+B^pz@B062qXfFfD`NpUW5?BY=V%GM_5c)L#QR}BeW8_2v-S%gfYS= zB9o|3v?Y2H`NVi)In3rTB8+ej^> zQ=~r95NVuDChL%G$=>7$vV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6A xduz10{ws;)E4ux;SNrOZNT{)e`JbQv*8uF$Tu8v&NrV6Z002ovPDHLkV1j#|dkO#m literal 0 HcmV?d00001 diff --git a/web/static/js/plot_monitor.js b/web/static/js/plot_monitor.js index f6bdbce..c458056 100755 --- a/web/static/js/plot_monitor.js +++ b/web/static/js/plot_monitor.js @@ -206,7 +206,7 @@ function processBasicInfo() $("#con_ip").html(basic_info.IP); } $("#con_time").html(basic_info.RunningTime+"s"); - $("#con_billing").html(basic_info.billing+" beans"); + $("#con_billing").html(basic_info.billing+" "); },"json"); } setInterval(processBasicInfo,1000); diff --git a/web/templates/base_AdminLTE.html b/web/templates/base_AdminLTE.html index f650734..1a4a3dd 100644 --- a/web/templates/base_AdminLTE.html +++ b/web/templates/base_AdminLTE.html @@ -91,6 +91,7 @@

{{ mysession['nickname'] }} {{ mysession['description'] }} + 10000

@@ -132,6 +133,8 @@

{{ mysession['nickname'] }}

{{ mysession['status']}} + + 10000 diff --git a/web/templates/monitor/status.html b/web/templates/monitor/status.html index 224d49d..a14fb7d 100644 --- a/web/templates/monitor/status.html +++ b/web/templates/monitor/status.html @@ -137,7 +137,7 @@ $("#"+index+"_disk").html(usedp+"%
"+detail); },"json"); $("#"+index+"_time").html(data.monitor.basic_info.RunningTime+"s") - $("#"+index+"_billing").html(data.monitor.basic_info.billing+" beans") + $("#"+index+"_billing").html(data.monitor.basic_info.billing+" ") var state = data.monitor.basic_info.State; if(state == 'RUNNING')