optimize the row height in web ui

This commit is contained in:
OttoMao 2015-07-01 14:43:32 +08:00
parent 3e679f0834
commit f4a68e2786
6 changed files with 8 additions and 6 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "anyproxy", "name": "anyproxy",
"version": "3.5.1", "version": "3.5.2",
"description": "A fully configurable proxy in NodeJS, which can handle HTTPS requests perfectly.", "description": "A fully configurable proxy in NodeJS, which can handle HTTPS requests perfectly.",
"main": "proxy.js", "main": "proxy.js",
"bin": { "bin": {

View File

@ -21,7 +21,7 @@ exports.avalibility = function(test){
//test web socket //test web socket
setTimeout(function(){ setTimeout(function(){
var ws = new WebSocket('ws://127.0.0.1:' + SOCKET_PORT , { var ws = new WebSocket('ws://127.0.0.1:' + SOCKET_PORT , {
protocolVersion: 8 protocolVersion: 8
}); });
ws.on('open', function open(){}); ws.on('open', function open(){});

View File

@ -28,7 +28,7 @@ function init(React){
React.createElement("table", {className: "uk-table uk-table-condensed uk-table-hover"}, React.createElement("table", {className: "uk-table uk-table-condensed uk-table-hover"},
React.createElement("thead", null, React.createElement("thead", null,
React.createElement("tr", null, React.createElement("tr", null,
React.createElement("th", {className: "col_id"}, "id"), React.createElement("th", {className: "col_id"}, "#"),
React.createElement("th", {className: "col_method"}, "method"), React.createElement("th", {className: "col_method"}, "method"),
React.createElement("th", {className: "col_code"}, "code"), React.createElement("th", {className: "col_code"}, "code"),
React.createElement("th", {className: "col_host"}, "host"), React.createElement("th", {className: "col_host"}, "host"),

View File

@ -118,7 +118,7 @@ body, html {
.mainTableWrapper thead{ .mainTableWrapper thead{
background: #F4F5F9; background: #F4F5F9;
border-bottom: 1px solid #777; border-bottom: 1px solid #AAA;
} }
.mainTableWrapper td, .mainTableWrapper td,
@ -127,6 +127,8 @@ body, html {
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
font-size: 12px;
line-height: 16px;
} }
.mainTableWrapper tbody tr{ .mainTableWrapper tbody tr{

View File

@ -419,7 +419,7 @@
React.createElement("table", {className: "uk-table uk-table-condensed uk-table-hover"}, React.createElement("table", {className: "uk-table uk-table-condensed uk-table-hover"},
React.createElement("thead", null, React.createElement("thead", null,
React.createElement("tr", null, React.createElement("tr", null,
React.createElement("th", {className: "col_id"}, "id"), React.createElement("th", {className: "col_id"}, "#"),
React.createElement("th", {className: "col_method"}, "method"), React.createElement("th", {className: "col_method"}, "method"),
React.createElement("th", {className: "col_code"}, "code"), React.createElement("th", {className: "col_code"}, "code"),
React.createElement("th", {className: "col_host"}, "host"), React.createElement("th", {className: "col_host"}, "host"),

View File

@ -28,7 +28,7 @@ function init(React){
<table className="uk-table uk-table-condensed uk-table-hover"> <table className="uk-table uk-table-condensed uk-table-hover">
<thead> <thead>
<tr> <tr>
<th className="col_id">id</th> <th className="col_id">#</th>
<th className="col_method">method</th> <th className="col_method">method</th>
<th className="col_code">code</th> <th className="col_code">code</th>
<th className="col_host">host</th> <th className="col_host">host</th>