rails_execution 0.1.12 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9c9f69594d1544929dc597d2219bfdbfcd9d3a5363a318f3fb0b1023bb90e37f
4
- data.tar.gz: 1b849805b9e61c5aac71151fc085b6275ae39361144aac69a5b432803b1ec461
3
+ metadata.gz: 36a6be9ba48db5e274f1f18928954e5b42c935441b8714703355e1403bc7c7c6
4
+ data.tar.gz: f15e2627a9126d5894a793b108b2b497d081662b1907311165ee596b7a864a70
5
5
  SHA512:
6
- metadata.gz: 87d094570a17200e63a2f54ecca933c911ca9315ed947b1b0bdaf8a7655de47697cef2d1a60eeecaffc4409d36277abcf9d584239b17f51908fbb1762fc52b0a
7
- data.tar.gz: 5151f11dfd7e81f31b4f3456c8d215493af7a5f61f536578d8d53653083f36b33b934f583dc0066f0b26dbefe140e123e63ae1848452e3a827ef7ea4fa583b24
6
+ metadata.gz: a63e9f1fc4630fcfb9574fb836012fac922661d647d289b77009ea7504cf95f6170d75f1cbd625fc78e294d579f22da62215a95e013bf0eaa9948d8828178926
7
+ data.tar.gz: 26aa66432f80095874c20c4efc66de5022f3f21a9083eddaa14403116121dbb5ff8d1498c6605b79c1090333ef22536d3f63a4b533e4260f6626a1d3d0c1c4a2
@@ -1,5 +1,18 @@
1
- //= require_tree ./ace.1.32.5
2
- //= require_tree .
1
+ window.RailsExecution = window.RailsExecution || {};
2
+ window.RailsExecution.linkifyDomains = function($container) {
3
+ $container.find('a[href]').each(function() {
4
+ var $a = $(this);
5
+ var href = $a.attr('href');
6
+ $a.attr('target', '_blank').attr('rel', 'noopener noreferrer');
7
+
8
+ if (!/^https?:\/\//i.test(href)) return;
9
+ if ($a.text().trim() !== href) return;
10
+
11
+ try {
12
+ $a.text(new URL(href).hostname);
13
+ } catch (e) {}
14
+ });
15
+ };
3
16
 
4
17
  document.addEventListener("DOMContentLoaded", function() {
5
18
  flatpickr("input[type=datetime-local]", {
@@ -37,6 +37,7 @@ window.comments.renderMarkdown = function(commentKey) {
37
37
  var htmlEl = $(commentKey + " p.content-html");
38
38
  markdownEl.hide();
39
39
  htmlEl.html(marked.parse(markdownEl.html()));
40
+ window.RailsExecution.linkifyDomains(htmlEl);
40
41
  }
41
42
  window.comments.cancelEditMode = function(cancelButton) {
42
43
  var $rootComment = $(cancelButton).closest('.media-comment');
@@ -1,3 +0,0 @@
1
- /*
2
- *= require_tree .
3
- */
@@ -0,0 +1 @@
1
+ .nav-link{font-size:14px}.fs-13,.form-label{font-size:13px}.section-title{font-size:1rem;font-weight:500}#reviewers{max-height:150px;overflow-y:auto}#reviewers input{display:none}#reviewers input:checked+label:after{content:"✓";display:block;width:20px;height:20px;position:absolute;left:0;top:0}#reviewers input:checked+label{background:#d3d3d3}#reviewers label{position:relative;outline:none;user-select:none;width:100%;font-size:13px;padding:4px 4px 4px 15px;cursor:pointer}.select2-container--default .select2-selection--multiple,.select2-container--default.select2-container--focus .select2-selection--multiple{border:1px solid #cbcbcb !important}#description-markdown{display:none}#task-detail{width:100%;position:relative}#task-detail.fullscreen{position:fixed;top:0;left:0;width:100%;height:100%;z-index:100}#task-detail.fullscreen #script-editor{height:100% !important;max-height:100% !important}#task-detail.fullscreen a#click2detail{display:none}#task-detail.fullscreen a#click2full i.bi-arrows-fullscreen{display:none}#task-detail.fullscreen a#click2full i.bi-arrows-angle-contract{display:block}#task-detail #script-editor.collapsed{max-height:300px}#task-detail a#click2detail{position:absolute;margin-top:-40px;margin-left:calc(50% - 100px);width:200px;color:#000;background-color:hsla(0,0%,100%,.5);border-radius:30px;padding:5px;text-align:center;font-size:12px}#task-detail a{opacity:0;transition:all .3s}#task-detail:hover a{opacity:1}#script-editor-container{position:relative;padding-top:15px;background-color:#002b36;border-radius:5px;overflow-y:hidden}#script-editor-container #click2full{position:absolute;top:10px;right:10px}#script-editor-container.fullscreen{position:fixed;top:0;left:0;width:100%;height:100%}#script-editor-container.fullscreen #script-editor{height:100%}#script-editor{position:relative;width:100%;height:700px;font-size:13px}.user-info span{font-size:13px}.hidden{display:none}small,.small{font-size:10px !important}.media-comment{position:relative}.media-comment img{max-width:100%}.media-comment a.edit-comment{position:absolute;right:10px;top:7px}.media-comment.editing .edit-comment-form{display:block !important}.media-comment.editing .review-comment-content{display:none !important}.editor-toolbar{text-align:right}.editor-toolbar button{color:gray}a{text-decoration:none}#activities-section ul{overflow-y:auto;max-height:400px;box-sizing:border-box}#activities-section ul li{width:100%}.fs13px{font-size:13px}nav.execution-paging{margin-top:30px}nav.execution-paging a.page-link{background-color:initial;border:none;color:#333;outline:none}nav.execution-paging .disabled>.page-link,nav.execution-paging .page-link.disabled{background-color:initial}nav.execution-paging .active>.page-link,nav.execution-paging .page-link.active{background-color:#0d6efd;color:#fff;border-radius:7px}hr.smoothly{border:0;height:1px;background-image:linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0))}#insights_chart{width:100%}a#click2full{position:absolute;z-index:10;top:10px;right:20px;color:#000;background-color:hsla(0,0%,100%,.5);border-radius:30px;padding:5px 15px;text-align:center;font-size:10px}a#click2full i.bi-arrows-fullscreen{display:block}a#click2full i.bi-arrows-angle-contract{display:none}.normal-text{font-size:.8em}#description-html{max-height:400px;overflow-y:auto}#all-tips .tip{display:none;font-size:.8em;font-weight:300}.task-title{color:#000}
@@ -0,0 +1 @@
1
+ .label-tag{cursor:pointer}.filter-select-container .user-info img,.filter-select-value img.bd-placeholder-img.flex-shrink-0.me-2.rounded{width:30px;height:30px}input.form-control:focus,input.form-control:active,input.form-control:hover{box-shadow:none}#reviewers .select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#fff;border-radius:7px;padding:0px 20px 0px 7px;font-size:.9rem}#reviewers .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{border-right:none;left:auto;right:0px;padding:0px 7px}#reviewers .select2-container--default .select2-selection--multiple .select2-selection__choice__remove span{font-size:1rem;font-weight:400;line-height:normal}#labels .select2-container--default .select2-selection--multiple .select2-selection__choice{overflow:visible;border:none;background-color:#fff;padding:0;font-size:.9rem}#labels .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{border-right:none;left:auto;right:0px;padding:0px 7px}#labels .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{background-color:rgba(0,0,0,0)}#labels .select2-container--default .select2-selection--multiple .select2-selection__choice__remove span{font-size:1rem;font-weight:400;line-height:normal}#labels .select2-container--default .select2-selection--multiple .select2-selection__choice__display{padding:0}#labels .label-colors{padding:3px 23px 3px 10px;border-radius:20px}.select2-results__options span.badge{border-radius:20px}.select2-container--default .select2-dropdown.labeling .select2-results .select2-results__option--selected{opacity:.3;background-color:rgba(0,0,0,0) !important;color:#ddd}.label-colors{font-weight:300}.label-colors.label-tag{padding:5px 10px}.label-colors.bg-none{background-color:rgba(0,0,0,0) !important}.label-colors.lc-red{background-color:#ffcdd2;color:#f44336}.label-colors.lc-pink{background-color:#f8bbd0;color:#e91e63}.label-colors.lc-purple{background-color:#e1bee7;color:#9c27b0}.label-colors.lc-deep-purple{background-color:#d1c4e9;color:#673ab7}.label-colors.lc-indigo{background-color:#c5cae9;color:#3f51b5}.label-colors.lc-blue{background-color:#bbdefb;color:#2196f3}.label-colors.lc-light-blue{background-color:#b3e5fc;color:#03a9f4}.label-colors.lc-cyan{background-color:#e0f7fa;color:#00bcd4}.label-colors.lc-teal{background-color:#b2dfdb;color:#009688}.label-colors.lc-green{background-color:#c8e6c9;color:#4caf50}.label-colors.lc-orange{background-color:#ffe0b2;color:#ff9800}.label-colors.lc-deep-orange{background-color:#ffccbc;color:#ff5722}.label-colors.lc-brown{background-color:#d7ccc8;color:#795548}.label-colors.lc-grey{background-color:#f5f5f5;color:#9e9e9e}.label-colors.lc-blue-grey{background-color:#cfd8dc;color:#607d8b}
@@ -222,11 +222,13 @@ module RailsExecution
222
222
  helper_method :repeat_mode_options
223
223
 
224
224
  def task_logs
225
- @task_logs ||= ::RailsExecution.configuration.logging_files.call(current_task)
225
+ @task_logs ||= ::RailsExecution.configuration.logging_files.call(current_task) || []
226
226
  end
227
227
  helper_method :task_logs
228
228
 
229
229
  def task_attachment_files
230
+ return [] unless ::RailsExecution.configuration.file_upload
231
+
230
232
  @task_attachment_files ||= ::RailsExecution.configuration.file_reader.new(current_task).call
231
233
  end
232
234
  helper_method :task_attachment_files
@@ -16,7 +16,7 @@ class RailsExecution::Task < RailsExecution::AppModel
16
16
 
17
17
  before_validation :auto_assign_labels
18
18
 
19
- enum status: {
19
+ compat_enum :status, {
20
20
  created: 'created',
21
21
  reviewing: 'reviewing',
22
22
  approved: 'approved',
@@ -25,14 +25,14 @@ class RailsExecution::Task < RailsExecution::AppModel
25
25
  failed: 'failed',
26
26
  rejected: 'rejected',
27
27
  closed: 'closed',
28
- }, _prefix: :is
28
+ }, prefix: :is
29
29
 
30
- enum syntax_status: {
30
+ compat_enum :syntax_status, {
31
31
  bad: 'bad',
32
32
  good: 'good',
33
- }, _prefix: true
33
+ }, prefix: true
34
34
 
35
- enum repeat_mode: {
35
+ compat_enum :repeat_mode, {
36
36
  none: 'Does not repeat',
37
37
  hourly: 'Hourly',
38
38
  daily: 'Daily',
@@ -40,7 +40,7 @@ class RailsExecution::Task < RailsExecution::AppModel
40
40
  monthly: 'Monthly',
41
41
  annually: 'Anually',
42
42
  weekdays: 'Every weekday (Monday to Friday)',
43
- }, _prefix: :repeat
43
+ }, prefix: :repeat
44
44
 
45
45
  scope :processing, -> { where(status: PROCESSING_STATUSES) }
46
46
 
@@ -5,11 +5,11 @@ class RailsExecution::TaskReview < RailsExecution::AppModel
5
5
  validates :task, presence: true
6
6
  validates :status, presence: true
7
7
 
8
- enum status: {
8
+ compat_enum :status, {
9
9
  reviewing: 'reviewing',
10
10
  approved: 'approved',
11
11
  rejected: 'rejected',
12
- }, _prefix: :is
12
+ }, prefix: :is
13
13
 
14
14
  scope :checked, -> { where(status: [:approved, :rejected]) }
15
15
 
@@ -6,7 +6,36 @@
6
6
  = csrf_meta_tags
7
7
  = favicon_link_tag 'executions/favicon.png'
8
8
  = stylesheet_link_tag 'https://cdn.jsdelivr.net/npm/bootstrap@5.2.1/dist/css/bootstrap.min.css'
9
+ = stylesheet_link_tag 'executions/bootstrap-icons'
10
+ = stylesheet_link_tag 'executions/comments'
11
+ = stylesheet_link_tag 'executions/easymde.min'
12
+ = stylesheet_link_tag 'executions/flatpickr.min'
13
+ = stylesheet_link_tag 'executions/fonts'
14
+ = stylesheet_link_tag 'executions/highlight.min'
15
+ = stylesheet_link_tag 'executions/select2.min'
16
+ = stylesheet_link_tag 'executions/modify'
17
+ = stylesheet_link_tag 'executions/style'
9
18
  = stylesheet_link_tag 'executions/base'
19
+ %style
20
+ ul li.task-is-rejected { background: url('#{image_path("executions/rejected.png")}') no-repeat; background-position: calc(100% - 70px) center; }
21
+ ul li.task-is-approved { background: url('#{image_path("executions/approved.png")}') no-repeat; background-position: calc(100% - 70px) center; }
22
+ = javascript_include_tag 'https://code.jquery.com/jquery-3.7.1.min.js'
23
+ = javascript_include_tag 'executions/rails'
24
+ = javascript_include_tag 'executions/bootstrap.5.2.1.min'
25
+ = javascript_include_tag 'executions/select2.min'
26
+ = javascript_include_tag 'executions/flatpickr.min'
27
+ = javascript_include_tag 'executions/marked.min'
28
+ = javascript_include_tag 'executions/easymde.min'
29
+ = javascript_include_tag 'executions/chart.min'
30
+ = javascript_include_tag 'executions/highlight.min'
31
+ = javascript_include_tag 'executions/highlight.ruby.min'
32
+ = javascript_include_tag 'executions/ace.1.32.5/base.min'
33
+ = javascript_include_tag 'executions/ace.1.32.5/mode-ruby.min'
34
+ = javascript_include_tag 'executions/ace.1.32.5/ext-language_tools.min'
35
+ = javascript_include_tag 'executions/ace.1.32.5/snippets-ruby.min'
36
+ = javascript_include_tag 'executions/ace.1.32.5/theme-solarized_dark.min'
37
+ = javascript_include_tag 'executions/comments'
38
+ = javascript_include_tag 'executions/events'
10
39
  = javascript_include_tag 'executions/base'
11
40
 
12
41
  %body.bg-light.fw-light.pb-5
@@ -24,4 +24,5 @@
24
24
  - if current_task.description.present?
25
25
  :javascript
26
26
  $('#description-html').html(marked.parse($('#description-markdown').html()));
27
+ window.RailsExecution.linkifyDomains($('#description-html'));
27
28
  hljs.highlightAll();
@@ -14,7 +14,7 @@ class <%= migration_class_name %> < ActiveRecord::Migration<%= migration_version
14
14
  t.column :jid, :string
15
15
  end
16
16
  add_index :rails_execution_tasks, :status
17
- add_index :rails_execution_tasks, %i[owner_id owner_type], name: :owner_index
17
+ add_index :rails_execution_tasks, %i[owner_id owner_type], name: :re_tasks_owner_index
18
18
 
19
19
  create_table :rails_execution_labels do |t|
20
20
  t.timestamps
@@ -31,7 +31,7 @@ class <%= migration_class_name %> < ActiveRecord::Migration<%= migration_version
31
31
  t.column :owner_type, :string
32
32
  end
33
33
  add_index :rails_execution_comments, :task_id
34
- add_index :rails_execution_comments, %i[owner_id owner_type], name: :owner_index
34
+ add_index :rails_execution_comments, %i[owner_id owner_type], name: :re_comments_owner_index
35
35
 
36
36
  create_table :rails_execution_activities, force: true do |t|
37
37
  t.timestamps null: false
@@ -41,7 +41,7 @@ class <%= migration_class_name %> < ActiveRecord::Migration<%= migration_version
41
41
  t.column :owner_type, :string
42
42
  end
43
43
  add_index :rails_execution_activities, :task_id
44
- add_index :rails_execution_activities, %i[owner_id owner_type], name: :owner_index
44
+ add_index :rails_execution_activities, %i[owner_id owner_type], name: :re_activities_owner_index
45
45
 
46
46
  create_table :rails_execution_task_reviews, force: true do |t|
47
47
  t.timestamps null: false
@@ -51,7 +51,7 @@ class <%= migration_class_name %> < ActiveRecord::Migration<%= migration_version
51
51
  t.column :owner_type, :string
52
52
  end
53
53
  add_index :rails_execution_task_reviews, :task_id
54
- add_index :rails_execution_task_reviews, %i[owner_id owner_type], name: :owner_index
54
+ add_index :rails_execution_task_reviews, %i[owner_id owner_type], name: :re_reviews_owner_index
55
55
 
56
56
  create_table :rails_execution_task_labels, force: true do |t|
57
57
  t.timestamps null: false
@@ -11,4 +11,14 @@ class RailsExecution::AppModel < model_klass
11
11
  scope :descending, -> { order(id: :desc) }
12
12
  scope :ascending, -> { order(id: :asc) }
13
13
 
14
+ # Supports both old (< Rails 7.0) and new (>= Rails 7.0) `enum` syntax.
15
+ def self.compat_enum(column, values, **options)
16
+ if ActiveRecord::VERSION::MAJOR >= 7
17
+ enum column, values, **options
18
+ else
19
+ legacy_options = options.transform_keys { |key| :"_#{key}" }
20
+ enum({ column => values }.merge(legacy_options))
21
+ end
22
+ end
23
+
14
24
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsExecution
4
- VERSION = '0.1.12'
4
+ VERSION = '0.2.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_execution
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Khoa Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-02-16 00:00:00.000000000 Z
11
+ date: 2026-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: haml
@@ -68,9 +68,9 @@ files:
68
68
  - app/assets/stylesheets/executions/flatpickr.min.css
69
69
  - app/assets/stylesheets/executions/fonts.css
70
70
  - app/assets/stylesheets/executions/highlight.min.css
71
- - app/assets/stylesheets/executions/modify.scss
71
+ - app/assets/stylesheets/executions/modify.css
72
72
  - app/assets/stylesheets/executions/select2.min.css
73
- - app/assets/stylesheets/executions/style.scss
73
+ - app/assets/stylesheets/executions/style.css
74
74
  - app/controllers/rails_execution/base_controller.rb
75
75
  - app/controllers/rails_execution/comments_controller.rb
76
76
  - app/controllers/rails_execution/dashboards_controller.rb
@@ -1,283 +0,0 @@
1
- .nav-link {
2
- font-size: 14px;
3
- }
4
-
5
- .fs-13, .form-label {
6
- font-size: 13px;
7
- }
8
-
9
- .section-title {
10
- font-size: 1rem;
11
- font-weight: 500;
12
- }
13
-
14
- #reviewers {
15
- max-height: 150px;
16
- overflow-y: auto;
17
-
18
- input {
19
- display: none;
20
- &:checked + label:after {
21
- content: '✓';
22
- display: block;
23
- width: 20px;
24
- height: 20px;
25
- position: absolute;
26
- left: 0;
27
- top: 0;
28
- }
29
-
30
- &:checked + label {
31
- background: lightgray;
32
- }
33
- }
34
-
35
- label {
36
- position: relative;
37
- outline: none;
38
- user-select: none;
39
- width: 100%;
40
- font-size: 13px;
41
- padding: 4px 4px 4px 15px;
42
- cursor: pointer;
43
- }
44
- }
45
-
46
- .select2-container--default .select2-selection--multiple,
47
- .select2-container--default.select2-container--focus .select2-selection--multiple {
48
- border: 1px solid #cbcbcb !important;
49
- }
50
-
51
- #description-markdown {
52
- display: none;
53
- }
54
-
55
- #task-detail {
56
- width: 100%;
57
- position: relative;
58
-
59
- &.fullscreen {
60
- position: fixed;
61
- top: 0;
62
- left: 0;
63
- width: 100%;
64
- height: 100%;
65
- z-index: 100;
66
-
67
- #script-editor {
68
- height: 100% !important;
69
- max-height: 100% !important;
70
- }
71
- a#click2detail {
72
- display: none;
73
- }
74
-
75
- a#click2full {
76
- i.bi-arrows-fullscreen {
77
- display: none;
78
- }
79
- i.bi-arrows-angle-contract {
80
- display: block;
81
- }
82
- }
83
- }
84
-
85
- #script-editor.collapsed {
86
- max-height: 300px;
87
- }
88
- a#click2detail {
89
- position: absolute;
90
- margin-top: -40px;
91
- margin-left: calc(50% - 100px);
92
- width: 200px;
93
- color: #000;
94
- background-color: rgba(255, 255, 255, 0.5);
95
- border-radius: 30px;
96
- padding: 5px;
97
- text-align: center;
98
- font-size: 12px;
99
- }
100
-
101
- a {
102
- opacity: 0;
103
- transition: all 0.3s
104
- }
105
-
106
- &:hover { a { opacity: 1; } }
107
- }
108
-
109
- #script-editor-container {
110
- position: relative;
111
- padding-top: 15px;
112
- background-color: #002b36;
113
- border-radius: 5px;
114
- overflow-y: hidden;
115
-
116
- #click2full {
117
- position: absolute;
118
- top: 10px;
119
- right: 10px;
120
- }
121
-
122
- &.fullscreen {
123
- position: fixed;
124
- top: 0;
125
- left: 0;
126
- width: 100%;
127
- height: 100%;
128
-
129
- #script-editor {
130
- height: 100%;
131
- }
132
- }
133
- }
134
-
135
- #script-editor {
136
- position: relative;
137
- width: 100%;
138
- height: 700px;
139
- font-size: 13px;
140
- }
141
-
142
- .user-info {
143
- span {
144
- font-size: 13px;
145
- }
146
- }
147
-
148
- .hidden {
149
- display: none;
150
- }
151
-
152
- small, .small {
153
- font-size: 10px !important;
154
- }
155
-
156
- .media-comment {
157
- position: relative;
158
-
159
- img {
160
- max-width: 100%;
161
- }
162
-
163
- a.edit-comment {
164
- position: absolute;
165
- right: 10px;
166
- top: 7px;
167
- }
168
-
169
- &.editing {
170
- .edit-comment-form {
171
- display: block !important;
172
- }
173
- .review-comment-content {
174
- display: none !important;
175
- }
176
- }
177
- }
178
-
179
- .editor-toolbar {
180
- text-align: right;
181
- button {
182
- color: #808080;
183
- }
184
- }
185
-
186
- a {
187
- text-decoration: none;
188
- }
189
-
190
- #activities-section {
191
- ul {
192
- overflow-y: auto;
193
- max-height: 400px;
194
- box-sizing: border-box;
195
- li {
196
- width: 100%;
197
- }
198
- }
199
- }
200
-
201
- .fs13px {
202
- font-size: 13px;
203
- }
204
-
205
- nav.execution-paging {
206
- margin-top: 30px;
207
- a.page-link {
208
- background-color: initial;
209
- border: none;
210
- color: #333;
211
- outline: none;
212
- }
213
- .disabled>.page-link, .page-link.disabled {
214
- background-color: initial;
215
- }
216
- .active>.page-link, .page-link.active {
217
- background-color: #0d6efd;
218
- color: #FFF;
219
- border-radius: 7px;
220
- }
221
- }
222
-
223
- hr.smoothly {
224
- border: 0;
225
- height: 1px;
226
- background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
227
- }
228
-
229
- ul li{
230
- &.task-is-rejected {
231
- background: asset-url('executions/rejected.png') no-repeat;
232
- background-position: calc(100% - 70px) center;
233
- }
234
-
235
- &.task-is-approved {
236
- background: asset-url('executions/approved.png') no-repeat;
237
- background-position: calc(100% - 70px) center;
238
- }
239
- }
240
-
241
- #insights_chart {
242
- width: 100%;
243
- }
244
-
245
- a#click2full {
246
- position: absolute;
247
- z-index: 10;
248
- top: 10px;
249
- right: 20px;
250
- color: #000;
251
- background-color: rgba(255, 255, 255, 0.5);
252
- border-radius: 30px;
253
- padding: 5px 15px;
254
- text-align: center;
255
- font-size: 10px;
256
-
257
- i.bi-arrows-fullscreen {
258
- display: block;
259
- }
260
- i.bi-arrows-angle-contract {
261
- display: none;
262
- }
263
- }
264
-
265
- .normal-text {
266
- font-size: 0.8em;
267
- }
268
-
269
- #description-html {
270
- max-height: 400px;
271
- overflow-y: auto;
272
- }
273
- #all-tips {
274
- .tip {
275
- display: none;
276
- font-size: 0.8em;
277
- font-weight: 300;
278
- }
279
- }
280
-
281
- .task-title {
282
- color: #000;
283
- }
@@ -1,153 +0,0 @@
1
- .label-tag {
2
- cursor: pointer;
3
- }
4
- .filter-select-container .user-info img,
5
- .filter-select-value img.bd-placeholder-img.flex-shrink-0.me-2.rounded {
6
- width: 30px;
7
- height: 30px;
8
- }
9
-
10
- input.form-control:focus,
11
- input.form-control:active,
12
- input.form-control:hover {
13
- box-shadow: none;
14
- }
15
-
16
- /* reviewers */
17
- #reviewers {
18
- .select2-container--default .select2-selection--multiple .select2-selection__choice {
19
- background-color: #FFF;
20
- border-radius: 7px;
21
- padding: 0px 20px 0px 7px;
22
- font-size: 0.9rem;
23
- }
24
- .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
25
- border-right: none;
26
- left: auto;
27
- right: 0px;
28
- padding: 0px 7px;
29
- span {
30
- font-size: 1rem;
31
- font-weight: 400;
32
- line-height: normal;
33
- }
34
- }
35
- }
36
-
37
- #labels {
38
- .select2-container--default .select2-selection--multiple .select2-selection__choice {
39
- overflow: visible;
40
- border: none;
41
- background-color: #FFF;
42
- padding: 0;
43
- font-size: 0.9rem;
44
- }
45
- .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
46
- border-right: none;
47
- left: auto;
48
- right: 0px;
49
- padding: 0px 7px;
50
- &:hover {
51
- background-color: transparent;
52
- }
53
- span {
54
- font-size: 1rem;
55
- font-weight: 400;
56
- line-height: normal;
57
- }
58
- }
59
-
60
- .select2-container--default .select2-selection--multiple .select2-selection__choice__display {
61
- padding: 0;
62
- }
63
-
64
- .label-colors {
65
- padding: 3px 23px 3px 10px;
66
- border-radius: 20px;
67
- }
68
- }
69
-
70
- .select2-results__options span.badge {
71
- border-radius: 20px;
72
- }
73
-
74
- .select2-container--default .select2-dropdown.labeling .select2-results {
75
- .select2-results__option--selected {
76
- opacity: 0.3;
77
- background-color: transparent !important;
78
- color: #DDD;
79
- }
80
- }
81
-
82
- .label-colors {
83
- font-weight: 300;
84
-
85
- &.label-tag {
86
- padding: 5px 10px;
87
- }
88
-
89
- &.bg-none {
90
- background-color: transparent !important;
91
- }
92
-
93
- &.lc-red {
94
- background-color: #ffcdd2;
95
- color: #f44336;
96
- }
97
- &.lc-pink {
98
- background-color: #f8bbd0;
99
- color: #e91e63;
100
- }
101
- &.lc-purple {
102
- background-color: #e1bee7;
103
- color: #9c27b0;
104
- }
105
- &.lc-deep-purple {
106
- background-color: #d1c4e9;
107
- color: #673ab7;
108
- }
109
- &.lc-indigo {
110
- background-color: #c5cae9;
111
- color: #3f51b5;
112
- }
113
- &.lc-blue {
114
- background-color: #bbdefb;
115
- color: #2196f3;
116
- }
117
- &.lc-light-blue {
118
- background-color: #b3e5fc;
119
- color: #03a9f4;
120
- }
121
- &.lc-cyan {
122
- background-color: #e0f7fa;
123
- color: #00bcd4;
124
- }
125
- &.lc-teal {
126
- background-color: #b2dfdb;
127
- color: #009688;
128
- }
129
- &.lc-green {
130
- background-color: #c8e6c9;
131
- color: #4caf50;
132
- }
133
- &.lc-orange {
134
- background-color: #ffe0b2;
135
- color: #ff9800;
136
- }
137
- &.lc-deep-orange {
138
- background-color: #ffccbc;
139
- color: #ff5722;
140
- }
141
- &.lc-brown {
142
- background-color: #d7ccc8;
143
- color: #795548;
144
- }
145
- &.lc-grey {
146
- background-color: #f5f5f5;
147
- color: #9e9e9e;
148
- }
149
- &.lc-blue-grey {
150
- background-color: #cfd8dc;
151
- color: #607d8b;
152
- }
153
- }