Browse Source

Fixes

pull/3/head
M@dD3n 5 years ago
parent
commit
0bb26b14fb
  1. 17
      admin/templates/css/main.css
  2. 9
      install/structure_base.sql

17
admin/templates/css/main.css

@ -1421,3 +1421,20 @@ li.plupload_droptext { background: transparent; text-align: center; vertical-ali
background: #ffffff; background: #ffffff;
color: #000000; color: #000000;
} }
.jq-selectbox__search {
margin: 5px;
}
.jq-selectbox__search input {
box-sizing: border-box;
width: 100%;
margin: 0;
padding: 5px 27px 6px 8px;
border: 1px solid #CCC;
border-radius: 3px;
outline: none;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAMCAYAAABiDJ37AAAAGXRFWV6u2aoSqBZD/lDrNWRJynLK2qpBn4rc6K2XB9/Nb8EGABtf1thzY6X2AAAAABJRU5ErkJggg==) no-repeat 100% 50%;
box-shadow: inset 1px 1px #F1F1F1;
color: #333;
}

9
install/structure_base.sql

@ -45,7 +45,8 @@ CREATE TABLE `%%PRFX%%_document_fields` (
KEY `document_id` (`document_id`), KEY `document_id` (`document_id`),
KEY `field_value` (`field_value`(333)), KEY `field_value` (`field_value`(333)),
KEY `rubric_field_id` (`rubric_field_id`), KEY `rubric_field_id` (`rubric_field_id`),
KEY `queries` (`document_id`,`rubric_field_id`) KEY `queries` (`document_id`,`rubric_field_id`),
KEY `requests_num` (`rubric_field_id`,`field_number_value`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 PACK_KEYS=0;#inst# ) ENGINE=MyISAM DEFAULT CHARSET=utf8 PACK_KEYS=0;#inst#
@ -148,7 +149,8 @@ CREATE TABLE `%%PRFX%%_documents` (
KEY `expire` (`document_expire`), KEY `expire` (`document_expire`),
KEY `status` (`document_status`), KEY `status` (`document_status`),
KEY `deleted` (`document_deleted`), KEY `deleted` (`document_deleted`),
KEY `count_view` (`document_count_view`) KEY `count_view` (`document_count_view`),
KEY `request_cond` (`Id`,`rubric_id`,`document_status`,`document_deleted`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 PACK_KEYS=0;#inst# ) ENGINE=MyISAM DEFAULT CHARSET=utf8 PACK_KEYS=0;#inst#
@ -335,7 +337,8 @@ CREATE TABLE `%%PRFX%%_rubric_fields` (
PRIMARY KEY (`Id`), PRIMARY KEY (`Id`),
KEY `rubric_id` (`rubric_id`), KEY `rubric_id` (`rubric_id`),
KEY `field_type` (`rubric_field_type`), KEY `field_type` (`rubric_field_type`),
KEY `field_alias` (`rubric_field_alias`) KEY `field_alias` (`rubric_field_alias`),
KEY `rubgroups` (`rubric_id`,`rubric_field_group`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 PACK_KEYS=0;#inst# ) ENGINE=MyISAM DEFAULT CHARSET=utf8 PACK_KEYS=0;#inst#

Loading…
Cancel
Save