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
removed spot container usage in favor of using s as suggested by @wielinde
Jonas Jabari08bd05313808
diff --git a/app/views/my/access_token_partials/_api_tokens_section.html.erb b/app/views/my/access_token_partials/_api_tokens_section.html.erbindex ad3eb9827c3..6a879d7c3b0 100644--- a/app/views/my/access_token_partials/_api_tokens_section.html.erb+++ b/app/views/my/access_token_partials/_api_tokens_section.html.erb@@ -26,13 +26,16 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.See COPYRIGHT and LICENSE files for more details.++#%>-<div class="spot-container">- <h3 class="spot-subheader-small"><%= t("my_account.access_tokens.api.title") %></h1>- <div class="spot-divider"></div>- <p class="spot-body-big">- <%= t("my_account.access_tokens.api.text_hint") %>- </p>- <div class="spot-body-big">+<div class="attributes-group">+ <div class="attributes-group--header">+ <div class="attributes-group--header-container">+ <h3 class="attributes-group--header-text"><%= t("my_account.access_tokens.api.title") %></h3>+ </div>+ </div>+ <div>+ <p>+ <%= t("my_account.access_tokens.api.text_hint") %>+ </p><% if Setting.rest_api_enabled? %><% if api_token %><div class="generic-table--container">@@ -83,6 +86,4 @@ See COPYRIGHT and LICENSE files for more details.</div><% end %></div>-</div>--+</div>\ No newline at end of filediff --git a/app/views/my/access_token_partials/_icalendar_tokens_section.html.erb b/app/views/my/access_token_partials/_icalendar_tokens_section.html.erbindex 0ec33ef877d..696dceed91d 100644--- a/app/views/my/access_token_partials/_icalendar_tokens_section.html.erb+++ b/app/views/my/access_token_partials/_icalendar_tokens_section.html.erb@@ -26,13 +26,16 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.See COPYRIGHT and LICENSE files for more details.++#%>-<div class="spot-container">- <h3 class="spot-subheader-small"><%= t("my_account.access_tokens.ical.title") %></h1>- <div class="spot-divider"></div>- <p class="spot-body-big">- <%= t("my_account.access_tokens.ical.text_hint", path: "https://www.openproject.org/docs/").html_safe %>- </p>- <div class="spot-body-big">+<div class="attributes-group">+ <div class="attributes-group--header">+ <div class="attributes-group--header-container">+ <h3 class="attributes-group--header-text"><%= t("my_account.access_tokens.ical.title") %></h3>+ </div>+ </div>+ <div>+ <p>+ <%= t("my_account.access_tokens.ical.text_hint", path: "https://www.openproject.org/docs/").html_safe %>+ </p><% if Setting.ical_enabled? %><% if ical_tokens_grouped_by_query.any? %><div class="generic-table--container">diff --git a/app/views/my/access_token_partials/_oauth_tokens_section.html.erb b/app/views/my/access_token_partials/_oauth_tokens_section.html.erbindex f2dfd83f8b9..e0ed43b483e 100644--- a/app/views/my/access_token_partials/_oauth_tokens_section.html.erb+++ b/app/views/my/access_token_partials/_oauth_tokens_section.html.erb@@ -26,13 +26,16 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.See COPYRIGHT and LICENSE files for more details.++#%>-<div class="spot-container">- <h3 class="spot-subheader-small"><%= t("my_account.access_tokens.oauth.title") %></h1>- <div class="spot-divider"></div>- <p class="spot-body-big">- <%= t("my_account.access_tokens.oauth.text_hint") %>- </p>- <div class="spot-body-big">+<div class="attributes-group">+ <div class="attributes-group--header">+ <div class="attributes-group--header-container">+ <h3 class="attributes-group--header-text"><%= t("my_account.access_tokens.oauth.title") %></h3>+ </div>+ </div>+ <div>+ <p>+ <%= t("my_account.access_tokens.oauth.text_hint") %>+ </p><% if granted_applications.any? %><div class="generic-table--container"><div class="generic-table--results-container">diff --git a/app/views/my/access_token_partials/_rss_tokens_section.html.erb b/app/views/my/access_token_partials/_rss_tokens_section.html.erbindex 45be27acde9..4db42a807ec 100644--- a/app/views/my/access_token_partials/_rss_tokens_section.html.erb+++ b/app/views/my/access_token_partials/_rss_tokens_section.html.erb@@ -26,13 +26,16 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.See COPYRIGHT and LICENSE files for more details.++#%>-<div class="spot-container">- <h3 class="spot-subheader-small"><%= t("my_account.access_tokens.rss.title") %></h1>- <div class="spot-divider"></div>- <p class="spot-body-big">- <%= t("my_account.access_tokens.rss.text_hint") %>- </p>- <div class="spot-body-big">+<div class="attributes-group">+ <div class="attributes-group--header">+ <div class="attributes-group--header-container">+ <h3 class="attributes-group--header-text"><%= t("my_account.access_tokens.rss.title") %></h3>+ </div>+ </div>+ <div>+ <p>+ <%= t("my_account.access_tokens.rss.text_hint") %>+ </p><% if Setting.feeds_enabled? %><% if rss_token %><div class="generic-table--container">diff --git a/frontend/src/global_styles/content/_access_token_page.sass b/frontend/src/global_styles/content/_access_token_page.sassdeleted file mode 100644index 424e038c842..00000000000--- a/frontend/src/global_styles/content/_access_token_page.sass+++ /dev/null@@ -1,33 +0,0 @@-//-- copyright-// OpenProject is an open source project management software.-// Copyright (C) 2012-2023 the OpenProject GmbH-//-// This program is free software; you can redistribute it and/or-// modify it under the terms of the GNU General Public License version 3.-//-// OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:-// Copyright (C) 2006-2013 Jean-Philippe Lang-// Copyright (C) 2010-2013 the ChiliProject Team-//-// This program is free software; you can redistribute it and/or-// modify it under the terms of the GNU General Public License-// as published by the Free Software Foundation; either version 2-// of the License, or (at your option) any later version.-//-// This program is distributed in the hope that it will be useful,-// but WITHOUT ANY WARRANTY; without even the implied warranty of-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the-// GNU General Public License for more details.-//-// You should have received a copy of the GNU General Public License-// along with this program; if not, write to the Free Software-// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.-//-// See COPYRIGHT and LICENSE files for more details.-//++--.access-token-page--container- .spot-container- padding-left: 0px- padding-right: 0px- margin-bottom: 30pxdiff --git a/frontend/src/global_styles/content/_index.sass b/frontend/src/global_styles/content/_index.sassindex e837da3580f..5497c4a6765 100644--- a/frontend/src/global_styles/content/_index.sass+++ b/frontend/src/global_styles/content/_index.sass@@ -1,4 +1,3 @@-@import access_token_page@import accounts@import accounts_mobile@import avatar