Skip to content

Commit

Permalink
style: improve colors and labels
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamed-Hacene committed Jan 16, 2025
1 parent 5f4f40a commit fd95f45
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion frontend/messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1088,5 +1088,6 @@
"implementationScore": "Implementation score",
"useDocumentationScore": "Use documentation score",
"useDocumentationScoreHelpText": "A second score (the documentation score) will be available for scoring the requirements.",
"importFolder": "Import domain"
"importFolder": "Import domain",
"importFolderHelpText": "Import a domain from a JSON or ZIP file"
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@
bind:cachedValue={formDataCache['name']}
data-focusindex="0"
/>
<FileInput {form} allowPaste={true} field="file" label={m.file()} allowedExtensions={['bak']} />
<FileInput {form} allowPaste={true} field="file" label={m.file()} allowedExtensions={['bak']} helpText={m.importFolderHelpText()} />
{/if}
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
type: 'component',
component: modalComponent,
// Data
title: safeTranslate('add-' + data.model.localName)
title: safeTranslate('importFolder')
};
if (checkConstraints(data.createForm.constraints, data.model.foreignKeys).length > 0) {
modalComponent = {
Expand Down Expand Up @@ -157,7 +157,7 @@
{/if}
{#if URLModel === 'folders'}
<button
class="inline-block border-e p-3 btn-mini-primary w-12 focus:relative"
class="inline-block border-e p-3 btn-mini bg-sky-400 text-white w-12 focus:relative"
data-testid="import-button"
title={safeTranslate('importFolder')}
on:click={modalFolderImportForm}
Expand Down

0 comments on commit fd95f45

Please sign in to comment.