* Add i18n for database importer name - fixes #3213 * Clean up database config list styling - use full width of panel so that the heading doesn't get truncated (NOTE: Heading should really be outside the list, not in it) - use the same color as the rest of the UI for the border * One more border color definition This should really be an override rather than hacking on the pure.less file, but since that's how it was done originally, that's where we'll fix it for now. * Get rid of weird grey dashed bottom border
This commit is contained in:
parent
d774f68675
commit
5746951ec0
@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
|
"database-import/importer-name": "Database",
|
||||||
"database-import/title": "Database Servers",
|
"database-import/title": "Database Servers",
|
||||||
"database-import/preparing": "Preparing result …",
|
"database-import/preparing": "Preparing result …",
|
||||||
"database-import/checking": "Validating query …",
|
"database-import/checking": "Validating query …",
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
|
"database-import/importer-name": "Base de données",
|
||||||
"database-import/title": "Serveurs de base de données",
|
"database-import/title": "Serveurs de base de données",
|
||||||
"database-import/preparing": "Préparation du résultat…",
|
"database-import/preparing": "Préparation du résultat…",
|
||||||
"database-import/checking": "Validation de la requête…",
|
"database-import/checking": "Validation de la requête…",
|
||||||
|
@ -52,7 +52,7 @@ Refine.DatabaseImportController = function(createProjectUI) {
|
|||||||
this._parsingPanel = createProjectUI.addCustomPanel();
|
this._parsingPanel = createProjectUI.addCustomPanel();
|
||||||
|
|
||||||
createProjectUI.addSourceSelectionUI({
|
createProjectUI.addSourceSelectionUI({
|
||||||
label: "Database",
|
label: $.i18n('database-import/importer-name'),
|
||||||
id: "database-source",
|
id: "database-source",
|
||||||
ui: new Refine.DatabaseSourceUI(this)
|
ui: new Refine.DatabaseSourceUI(this)
|
||||||
});
|
});
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<div class="pure-g">
|
<div class="pure-g">
|
||||||
<div class="pure-u-1-5">
|
<div class="pure-u-1-5">
|
||||||
<div class="pure-u-1"><button type="button" id="newConnectionButtonDiv" bind="newConnectionButton" class="pure-button pure-button-primary">New Connection</button></div>
|
<div class="pure-u-1"><button type="button" id="newConnectionButtonDiv" bind="newConnectionButton" class="pure-button pure-button-primary">New Connection</button></div>
|
||||||
<div class="pure-u-1-2" style="border-bottom: 1px dashed; border-color:lightgrey; margin-top:1px; padding-right:1px;"></div>
|
<div class="pure-u-1-2" style="margin-top:1px; padding-right:1px;"></div>
|
||||||
<div class="pure-u-1 sidebarDiv" bind="sidebarDiv">
|
<div class="pure-u-1 sidebarDiv" bind="sidebarDiv">
|
||||||
|
|
||||||
<div class="pure-menu pure-menu-scrollable custom-restricted">
|
<div class="pure-menu pure-menu-scrollable custom-restricted">
|
||||||
|
@ -88,13 +88,12 @@
|
|||||||
|
|
||||||
.custom-restricted {
|
.custom-restricted {
|
||||||
height: 300px;
|
height: 300px;
|
||||||
width: 200px;
|
width: 100%;
|
||||||
border: 1px solid #bce8f1;
|
border: 1px solid #bcf;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
margin-right:10px;
|
|
||||||
padding-right:10px;
|
|
||||||
margin-bottom:10px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// FIXME: This is a duplicate
|
||||||
.custom-restricted-width {
|
.custom-restricted-width {
|
||||||
/* To limit the menu width to the content of the menu: */
|
/* To limit the menu width to the content of the menu: */
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@ -117,7 +116,7 @@
|
|||||||
.new-connection-legend {
|
.new-connection-legend {
|
||||||
padding-left: 2px;
|
padding-left: 2px;
|
||||||
margin-left: 2px;
|
margin-left: 2px;
|
||||||
border-color: #bce8f1;
|
border-color: #bcf;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sql-editor-div {
|
.sql-editor-div {
|
||||||
@ -131,9 +130,6 @@
|
|||||||
.new-connection-fieldset {
|
.new-connection-fieldset {
|
||||||
border: 1px solid gray;
|
border: 1px solid gray;
|
||||||
}
|
}
|
||||||
.sc-list {
|
|
||||||
border-bottom: 1px dotted #bce8f1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sc-context-more-vert:after {
|
.sc-context-more-vert:after {
|
||||||
content: "";
|
content: "";
|
||||||
|
@ -1040,7 +1040,7 @@ since IE8 won't execute CSS that contains a CSS3 selector.
|
|||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
color: #333;
|
color: #333;
|
||||||
/* border-bottom: 1px solid #e5e5e5; */
|
/* border-bottom: 1px solid #e5e5e5; */
|
||||||
border-bottom: 1px solid #bce8f1;
|
border-bottom: 1px solid #bcf;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pure-form-stacked input[type="text"],
|
.pure-form-stacked input[type="text"],
|
||||||
|
Loading…
Reference in New Issue
Block a user