OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Use new tab styles for configuration modals
Henriette Dinger565520ae6f2c
diff --git a/app/views/types/form/_settings.html.erb b/app/views/types/form/_settings.html.erbindex 8f8ae0951cf..591b6e931ed 100644--- a/app/views/types/form/_settings.html.erb+++ b/app/views/types/form/_settings.html.erb@@ -27,7 +27,6 @@ See docs/COPYRIGHT.rdoc for more details.++#%>-<div class="grid-block"><div class="grid-content"><!--[form:type]-->diff --git a/frontend/src/app/components/wp-table/configuration-modal/wp-table-configuration.modal.html b/frontend/src/app/components/wp-table/configuration-modal/wp-table-configuration.modal.htmlindex 8d9a56daed2..629068de437 100644--- a/frontend/src/app/components/wp-table/configuration-modal/wp-table-configuration.modal.html+++ b/frontend/src/app/components/wp-table/configuration-modal/wp-table-configuration.modal.html@@ -19,22 +19,18 @@</ng-container><div *ngIf="!!tabPortalHost"- class="tabs--container">- <ul>- <li *ngFor="let tab of availableTabs">- <a class="tab-show"- role="button"- [ngClass]="{ '-disabled': tab.disableBecause != null, 'selected': currentTab && tab.name === currentTab.name }"+ class="content--tabs scrollable-tabs">+ <ul class="tabrow">+ <li *ngFor="let tab of availableTabs"+ [ngClass]="{ 'selected': currentTab && tab.name === currentTab.name }">+ <a role="button"+ [ngClass]="{ '-disabled': tab.disableBecause != null }"[attr.title]="tab.disableBecause || tab.title"[textContent]="tab.title"(click)="switchTo(tab.name)"href></a></ul>- <div class="tabs-buttons" style="display:none;">- <button class="tab-left icon-context icon-arrow-left4"></button>- <button class="tab-right icon-context icon-arrow-right5"></button>- </div></div><div class="tab-content" #tabContentOutlet></div>diff --git a/frontend/src/app/modules/boards/board/configuration-modal/board-configuration.modal.html b/frontend/src/app/modules/boards/board/configuration-modal/board-configuration.modal.htmlindex d3a2d4f3dd8..02bc09e9223 100644--- a/frontend/src/app/modules/boards/board/configuration-modal/board-configuration.modal.html+++ b/frontend/src/app/modules/boards/board/configuration-modal/board-configuration.modal.html@@ -15,22 +15,18 @@<h3 [textContent]="text.title"></h3><div *ngIf="!!tabPortalHost"- class="tabs--container">- <ul>- <li *ngFor="let tab of availableTabs">- <a class="tab-show"- role="button"- [ngClass]="{ '-disabled': tab.disableBecause != null, 'selected': currentTab && tab.name === currentTab.name }"+ class="content--tabs scrollable-tabs">+ <ul class="tabrow">+ <li *ngFor="let tab of availableTabs"+ [ngClass]="{ 'selected': currentTab && tab.name === currentTab.name }">+ <a role="button"+ [ngClass]="{ '-disabled': tab.disableBecause != null }"[attr.title]="tab.disableBecause || tab.title"[textContent]="tab.title"(click)="switchTo(tab.name)"href></a></ul>- <div class="tabs-buttons" style="display:none;">- <button class="tab-left icon-context icon-arrow-left4"></button>- <button class="tab-right icon-context icon-arrow-right5"></button>- </div></div><div class="tab-content" #tabContentOutlet></div>diff --git a/frontend/src/app/modules/common/openproject-common.module.ts b/frontend/src/app/modules/common/openproject-common.module.tsindex 85df10e084e..17f402abec8 100644--- a/frontend/src/app/modules/common/openproject-common.module.ts+++ b/frontend/src/app/modules/common/openproject-common.module.ts@@ -70,8 +70,8 @@ import {CollapsibleSectionComponent} from "core-app/modules/common/collapsible-simport {NoResultsComponent} from "core-app/modules/common/no-results/no-results.component";import {DragDropModule} from "@angular/cdk/drag-drop";import {UserAutocompleterComponent} from "app/modules/common/autocomplete/user-autocompleter.component";-import {ScrollableTabsComponent} from "core-app/modules/common/tabs/scrollable-tabs.component";-import {ContentTabsComponent} from "core-app/modules/common/tabs/content-tabs.component";+import {ScrollableTabsComponent} from "core-app/modules/common/tabs/scrollable-tabs/scrollable-tabs.component";+import {ContentTabsComponent} from "core-app/modules/common/tabs/content-tabs/content-tabs.component";import {BrowserDetector} from "core-app/modules/common/browser/browser-detector.service";import {EditableToolbarTitleComponent} from "core-app/modules/common/editable-toolbar-title/editable-toolbar-title.component";import {UserAvatarComponent} from "core-components/user/user-avatar/user-avatar.component";diff --git a/frontend/src/app/modules/common/tabs/content-tabs.component.ts b/frontend/src/app/modules/common/tabs/content-tabs/content-tabs.component.tssimilarity index 95%rename from frontend/src/app/modules/common/tabs/content-tabs.component.tsrename to frontend/src/app/modules/common/tabs/content-tabs/content-tabs.component.tsindex 99c5d235357..3e6a550840b 100644--- a/frontend/src/app/modules/common/tabs/content-tabs.component.ts+++ b/frontend/src/app/modules/common/tabs/content-tabs/content-tabs.component.ts@@ -37,7 +37,7 @@ import {DynamicBootstrapper} from "core-app/globals/dynamic-bootstrapper";import {GonService} from "core-app/modules/common/gon/gon.service";import {StateService} from '@uirouter/core';import {I18nService} from "core-app/modules/common/i18n/i18n.service";-import {ScrollableTabsComponent} from "core-app/modules/common/tabs/scrollable-tabs.component";+import {ScrollableTabsComponent} from "core-app/modules/common/tabs/scrollable-tabs/scrollable-tabs.component";export const contentTabsSelector = 'content-tabs';@@ -51,7 +51,7 @@ interface GonTab {@Component({selector: contentTabsSelector,- templateUrl: '/app/modules/common/tabs/scrollable-tabs.component.html',+ templateUrl: '/app/modules/common/tabs/scrollable-tabs/scrollable-tabs.component.html',changeDetection: ChangeDetectionStrategy.OnPush})diff --git a/frontend/src/app/modules/common/tabs/scrollable-tabs.component.html b/frontend/src/app/modules/common/tabs/scrollable-tabs/scrollable-tabs.component.htmlsimilarity index 100%rename from frontend/src/app/modules/common/tabs/scrollable-tabs.component.htmlrename to frontend/src/app/modules/common/tabs/scrollable-tabs/scrollable-tabs.component.htmldiff --git a/frontend/src/app/modules/common/tabs/scrollable-tabs.component.ts b/frontend/src/app/modules/common/tabs/scrollable-tabs/scrollable-tabs.component.tssimilarity index 100%rename from frontend/src/app/modules/common/tabs/scrollable-tabs.component.tsrename to frontend/src/app/modules/common/tabs/scrollable-tabs/scrollable-tabs.component.tsdiff --git a/frontend/src/app/modules/global_search/tabs/global-search-tabs.component.ts b/frontend/src/app/modules/global_search/tabs/global-search-tabs.component.tsindex 2e80ab9b9d6..25f30fc9f13 100644--- a/frontend/src/app/modules/global_search/tabs/global-search-tabs.component.ts+++ b/frontend/src/app/modules/global_search/tabs/global-search-tabs.component.ts@@ -30,13 +30,13 @@ import {Component, OnDestroy} from '@angular/core';import {DynamicBootstrapper} from "core-app/globals/dynamic-bootstrapper";import {GlobalSearchService} from "core-app/modules/global_search/services/global-search.service";import {Subscription} from "rxjs";-import {ScrollableTabsComponent} from "core-app/modules/common/tabs/scrollable-tabs.component";+import {ScrollableTabsComponent} from "core-app/modules/common/tabs/scrollable-tabs/scrollable-tabs.component";export const globalSearchTabsSelector = 'global-search-tabs';@Component({selector: globalSearchTabsSelector,- templateUrl: '/app/modules/common/tabs/scrollable-tabs.component.html'+ templateUrl: '/app/modules/common/tabs/scrollable-tabs/scrollable-tabs.component.html'})export class GlobalSearchTabsComponent extends ScrollableTabsComponent implements OnDestroy {