Skip to content

Commit 27c88be

Browse files
committed
Feedback addressed
Added File extension description in main view
1 parent 1b12856 commit 27c88be

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

module/langs/translation-en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"files-import/menu-localdirectory": "Files from local directory",
33
"files-import/directory": "Local directory",
4+
"files-import/fileExtensionsLabel": "Create a project by loading details of files from one or more folders on your local system. File details included are file name, extension, size in KB, creation date, last modification date, permissions, SHA-256 checksum, author and file path.",
45
"files-import/selectDrive": "Select a drive or folder",
56
"files-import/selectDirectory": "Browse the directory hierarchy & Select the directories from which file details need to be generated.",
67
"files-import/no-directory-selected": "No directory selected",

module/scripts/index/import-from-local-dir-form.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<form bind="form">
22
<div class="grid-layout layout-normal">
3+
<label class="drive-selector-container" id="fileExtensionsLabel"></label>
34
<div class="drive-selector-container">
45
<label id="driveSelectorLabel">Select drive / folder</label>
56
<select class="dropdown-container" bind="driveselector" id="drive-selector">
@@ -12,6 +13,6 @@
1213
<div id="directory-tree"></div>
1314
</div>
1415
<button type="submit" bind="nextButton" class="button button-primary" type="button"></button>
15-
</div>
16+
</div>
1617
</div>
1718
</form>

module/scripts/index/import-from-local-dir.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Refine.LocalDirectorySourceUI.prototype.attachUI = function (bodyDiv) {
1111
this._elmts = DOM.bind(bodyDiv);
1212

1313
$("#directoryTreePanel").hide();
14+
$('#fileExtensionsLabel').text($.i18n('files-import/fileExtensionsLabel'));
1415
$('#driveSelectorLabel').text($.i18n('files-import/selectDrive'));
1516
$('#directorySelectLabel').text($.i18n('files-import/selectDirectory'));
1617
this._elmts.nextButton.html($.i18n('files-import/next'));

module/styles/files-importing-controller.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
margin-bottom: 15px;
3232
display: flex;
3333
width: 100%;
34+
cursor: pointer;
3435
}
3536

3637
.dropdown-container {
@@ -44,7 +45,7 @@
4445
}
4546

4647
.directory-tree-container {
47-
height: 475px;
48+
height: 440px;
4849
border: 1px solid rgb(118, 118, 118);
4950
overflow: auto;
5051
margin-top: 5px;

0 commit comments

Comments
 (0)