|
@@ -132227,22 +132227,12 @@ define(['exports'], function (exports) { 'use strict';
|
|
var v2 = parseInt(v1 * 2.55).toString(16);
|
|
var v2 = parseInt(v1 * 2.55).toString(16);
|
|
if (v2.length == 1)
|
|
if (v2.length == 1)
|
|
v2 = '0' + v2;
|
|
v2 = '0' + v2;
|
|
- console.log(v2);
|
|
|
|
- if (parseInt(v2) < 95) {
|
|
|
|
- return Ext.String
|
|
|
|
- .format('<div>'
|
|
|
|
- + '<div style="float:left;border:1px solid #008000;height:15px;width:100%;" class="progress-danger">'
|
|
|
|
- + '<div style="float:left;text-align:center;width:100%;color:blue;">{0}%</div>'
|
|
|
|
- + '<div style="background: #D9534F;width:{1}%;height:13px;"></div>'
|
|
|
|
- + '</div></div>', v, v1, v2);
|
|
|
|
- }
|
|
|
|
- // return Ext.String
|
|
|
|
- // .format(
|
|
|
|
- // '<div>'
|
|
|
|
- // + '<div style="float:left;border:1px solid #008000;height:15px;width:100%;">'
|
|
|
|
- // + '<div style="float:left;text-align:center;width:100%;color:blue;">{0}%</div>'
|
|
|
|
- // + '<div style="background: #FAB2{2};width:{1}%;height:13px;"></div>'
|
|
|
|
- // + '</div></div>', v, v1, v2);
|
|
|
|
|
|
+ return Ext.String
|
|
|
|
+ .format('<div>'
|
|
|
|
+ + '<div style="float:left;border:1px solid #008000;height:15px;width:100%;">'
|
|
|
|
+ + '<div style="float:left;text-align:center;width:100%;color:blue;">{0}%</div>'
|
|
|
|
+ + '<div style="background: #FAB2{2};width:{1}%;height:13px;"></div>'
|
|
|
|
+ + '</div></div>', v, v1, v2);
|
|
},
|
|
},
|
|
//button
|
|
//button
|
|
button: function (v, rd, model) {
|
|
button: function (v, rd, model) {
|