ish_manager 0.1.8.355 → 0.1.8.357

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.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/ish_manager/application.js +68 -15
  3. data/app/assets/javascripts/ish_manager/email_contexts.js +1 -1
  4. data/app/assets/javascripts/ish_manager/email_templates.js +20 -0
  5. data/app/assets/javascripts/ish_manager/galleries.js +78 -0
  6. data/app/assets/stylesheets/ish_manager/application.scss +48 -9
  7. data/app/assets/stylesheets/ish_manager/email.scss +44 -0
  8. data/app/assets/stylesheets/ish_manager/{email_contexts_templates.scss → email_contexts.scss} +29 -49
  9. data/app/assets/stylesheets/ish_manager/email_conversations.scss +99 -21
  10. data/app/assets/stylesheets/ish_manager/email_templates.scss +59 -0
  11. data/app/assets/stylesheets/ish_manager/galleries.scss +10 -0
  12. data/app/assets/stylesheets/ish_manager/leads_leadsets.scss +96 -3
  13. data/app/assets/stylesheets/ish_manager/scheduled_actions_emails.scss +25 -0
  14. data/app/assets/stylesheets/ish_manager/tags.scss +5 -0
  15. data/app/controllers/ish_manager/application_controller.rb +15 -0
  16. data/app/controllers/ish_manager/email_actions_controller.rb +80 -0
  17. data/app/controllers/ish_manager/email_campaigns_controller.rb +13 -0
  18. data/app/controllers/ish_manager/email_contexts_controller.rb +41 -48
  19. data/app/controllers/ish_manager/email_conversations_controller.rb +6 -2
  20. data/app/controllers/ish_manager/email_filters_controller.rb +47 -0
  21. data/app/controllers/ish_manager/email_messages_controller.rb +1 -1
  22. data/app/controllers/ish_manager/email_templates_controller.rb +23 -10
  23. data/app/controllers/ish_manager/galleries_controller.rb +23 -8
  24. data/app/controllers/ish_manager/leads_controller.rb +3 -9
  25. data/app/controllers/ish_manager/leadset_tags_controller.rb +18 -0
  26. data/app/controllers/ish_manager/leadsets_controller.rb +13 -0
  27. data/app/controllers/ish_manager/scheduled_email_actions_controller.rb +38 -0
  28. data/app/helpers/ish_manager/application_helper.rb +4 -0
  29. data/app/mailers/ish_manager/application_mailer.rb +1 -1
  30. data/app/mailers/ish_manager/meeting_mailer.rb +2 -1
  31. data/app/mailers/ish_manager/office_mailer.rb +12 -10
  32. data/app/views/ish_manager/application/_debug.haml +2 -1
  33. data/app/views/ish_manager/application/_main_header_admin.haml +47 -60
  34. data/app/views/ish_manager/email_actions/_form.haml +52 -0
  35. data/app/views/ish_manager/email_actions/edit.haml +7 -0
  36. data/app/views/ish_manager/email_actions/index.haml +26 -0
  37. data/app/views/ish_manager/email_actions/new.haml +7 -0
  38. data/app/views/ish_manager/email_contexts/_form.haml +32 -30
  39. data/app/views/ish_manager/email_contexts/edit.haml +1 -1
  40. data/app/views/ish_manager/email_contexts/index.haml +27 -22
  41. data/app/views/ish_manager/email_contexts/show.haml +26 -15
  42. data/app/views/ish_manager/email_conversations/index.haml +46 -9
  43. data/app/views/ish_manager/email_conversations/show.haml +56 -21
  44. data/app/views/ish_manager/email_filters/_form.haml +12 -0
  45. data/app/views/ish_manager/email_filters/edit.haml +5 -0
  46. data/app/views/ish_manager/email_filters/index.haml +24 -0
  47. data/app/views/ish_manager/email_filters/new.haml +5 -0
  48. data/app/views/ish_manager/email_templates/_form.haml +32 -13
  49. data/app/views/ish_manager/email_templates/_form_reply_2_mini.haml +15 -0
  50. data/app/views/ish_manager/email_templates/_form_reply_mini.haml +1 -1
  51. data/app/views/ish_manager/email_templates/_index.haml +24 -11
  52. data/app/views/ish_manager/email_templates/_piousbox_roundborders.html.erb +4 -1
  53. data/app/views/ish_manager/email_templates/_wasyaco_roundborders.html.erb +5 -6
  54. data/app/views/ish_manager/email_templates/done/_form.haml +22 -0
  55. data/app/views/ish_manager/email_templates/done/_form2.haml +26 -0
  56. data/app/views/ish_manager/email_templates/edit.haml +2 -1
  57. data/app/views/ish_manager/email_templates/iframe_src.haml +4 -3
  58. data/app/views/ish_manager/email_templates/new.haml +5 -0
  59. data/app/views/ish_manager/email_templates/show.haml +9 -3
  60. data/app/views/ish_manager/galleries/show.haml +10 -1
  61. data/app/views/ish_manager/leads/_form.haml +11 -6
  62. data/app/views/ish_manager/leads/_form_import.haml +3 -3
  63. data/app/views/ish_manager/leads/edit.haml +19 -16
  64. data/app/views/ish_manager/leads/index.haml +25 -16
  65. data/app/views/ish_manager/leads/new.haml +8 -7
  66. data/app/views/ish_manager/leadsets/index.haml +60 -12
  67. data/app/views/ish_manager/leadsets/index_dataTables.haml +33 -0
  68. data/app/views/ish_manager/photos/_index_thumbs.haml +1 -1
  69. data/app/views/ish_manager/scheduled_actions/_form_mini.haml +16 -0
  70. data/app/views/ish_manager/scheduled_email_actions/_form.haml +26 -0
  71. data/app/views/ish_manager/scheduled_email_actions/index.haml +15 -0
  72. data/app/views/ish_manager/scheduled_email_actions/new.haml +4 -0
  73. data/app/views/ish_manager/scheduled_email_actions/show.haml +0 -0
  74. data/app/views/layouts/ish_manager/application.haml +2 -2
  75. data/app/views/layouts/ish_manager/application_fullwidth.haml +2 -2
  76. data/config/routes.rb +11 -2
  77. metadata +31 -6
  78. data/app/controllers/ish_manager/office_actions_controller.rb +0 -59
  79. data/app/views/ish_manager/office_actions/_form.haml +0 -83
  80. data/app/views/ish_manager/office_actions/index.haml +0 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 41936b74cab9eb00d566912ce0bf799cad9994da03ad6488c30f825996541d85
4
- data.tar.gz: eaf88d58f3189d9e0155a5d0fa5c7da9aa7c1be560068de9cbfd5f88ae52c0f6
3
+ metadata.gz: 76cc27a494947841dfe406703bd47dc759864338a4ff20d4e140f990136ed87c
4
+ data.tar.gz: fd94bcd0eb392cf1d66785b710488c822339d058ca20729849905cd3c40fe7a1
5
5
  SHA512:
6
- metadata.gz: eca56720c4ed0101a5e1b55bfa0f8b55169a72a4e2450b6f558b21523aa5c62eb0b73aeca2f15cb7639ab20af1ad9181886feedcd36eb5e2225177858ca515b9
7
- data.tar.gz: 1e3e8b689b5edb016e5ba3e6b54ccee260c0b949c38f298e14315651ab59ad4cc55b37cc1fc3261ef75027f85cd47ea2716b76818355b109bb7d7689c0cc6660
6
+ metadata.gz: 6945c3b629c8d6ad8cff0aea1c139611dd3665e59278109762be0ce52433ab0e6ee550073787a6b7acd38e92ca562b71f3b833ab2feeb93d4d830594601546e7
7
+ data.tar.gz: d5c953475df34ced1be74b808444646755a4069314e0823f8186a0cd814382606abb1838b9daf8a5ebf9441309cbdae7d3fb7bfc3168b114f0f51db4ddf591f9
@@ -12,6 +12,7 @@
12
12
  //
13
13
  // require ish_manager/vendor/jquery-3.6.0.min
14
14
  // require ish_manager/vendor/bootstrap.min
15
+ //
15
16
  //= require ish_manager/vendor/jquery.iframe-transport
16
17
  //= require ish_manager/vendor/jquery.ui.widget
17
18
  //= require ish_manager/vendor/jquery.fileupload
@@ -20,6 +21,8 @@
20
21
  //
21
22
  //= require ish_manager/maps
22
23
  //= require ish_manager/email_contexts
24
+ //= require ish_manager/email_templates
25
+ //= require ish_manager/galleries
23
26
 
24
27
  $(function () {
25
28
 
@@ -57,14 +60,16 @@ $(function () {
57
60
  $('select').material_select()
58
61
  }
59
62
  if (!!$('body').select2) {
60
- $('.select2').select2({
61
- width: 'element'
63
+ $('.select2').each(function() {
64
+ $( this ).select2({
65
+ width: '100%'
66
+ })
62
67
  })
63
68
  }
64
69
  }
65
70
 
66
71
 
67
- $(".collapse-expand").each(function(idx, obj) {
72
+ $(".collapse-expand").each(function() {
68
73
  const thisId = $(this).attr('id')
69
74
  const state = localStorage.getItem("collapse-expand#"+thisId)
70
75
  if (state === 'collapsed') {
@@ -84,6 +89,10 @@ $(function () {
84
89
  e.stopPropagation()
85
90
  })
86
91
 
92
+ $(".expand-next").click(function (_e) {
93
+ // logg($(this).next(), 'expand?')
94
+ $(this).next().slideToggle()
95
+ })
87
96
 
88
97
  if ('function' === typeof $('body').DataTable) {
89
98
  const _props = {
@@ -105,29 +114,39 @@ $(function () {
105
114
  $('select').formSelect();
106
115
  }
107
116
 
108
- if ($(".data-table").length) {
109
- $("input[type='checkbox'].i-sel").change(() => {
110
- $( $(".n-selected")[0] ).html( $("input[type='checkbox'].i-sel:checked").length )
111
- })
112
- }
117
+ //
118
+ // select-all
119
+ // _vp_ 2023-02-28
113
120
 
114
- $("button.delete-btn").click(e => {
115
- let out = []
121
+ $("input[type='checkbox'].i-sel").change(() => {
122
+ $( $(".n-selected")[0] ).html( $("input[type='checkbox'].i-sel:checked").length )
123
+ })
124
+
125
+ $(".delete-btn").click(function(e) {
126
+ logg(e, 'deleting...')
127
+
128
+ const action_path = $(this).data('url')
129
+ const out = []
116
130
 
117
131
  $( $("input[type='checkbox'].i-sel:checked") ).each( idx => {
118
132
  let val = $($("input[type='checkbox'].i-sel:checked")[idx]).val()
119
133
  out.push(val)
120
134
  })
135
+ logg(out, 'out')
121
136
 
122
137
  $.ajax({
123
- url: '/api/leadsets',
138
+ url: action_path,
124
139
  type: 'DELETE',
125
- data: { leadset_ids: out },
140
+ data: {
141
+ ids: out,
142
+ jwt_token: localStorage.getItem('jwt_token'),
143
+ },
126
144
  success: e => {
127
- logg(e, 'deleted Ok')
145
+ logg((e||{}).responseText, 'deleted Ok')
146
+ location.reload()
128
147
  },
129
148
  error: e => {
130
- logg(e, 'deleted Err')
149
+ logg((e||{}).responseText, 'deleted Err')
131
150
  },
132
151
  })
133
152
 
@@ -135,7 +154,9 @@ $(function () {
135
154
 
136
155
  $(".select-all input[type='checkbox']").change((e) => {
137
156
  const count = $("input[type='checkbox'].i-sel:checked").length
138
- const new_state = count ? false : true
157
+ const new_state = count ? false : true // all will be checked?
158
+
159
+ $(".select-all input[type='checkbox']").prop('checked', new_state)
139
160
 
140
161
  $( $("input[type='checkbox'].i-sel") ).each( i => {
141
162
  $( $("input[type='checkbox'].i-sel")[i] ).prop('checked', new_state)
@@ -144,5 +165,37 @@ $(function () {
144
165
  $( $(".n-selected")[0] ).html( $("input[type='checkbox'].i-sel:checked").length )
145
166
  })
146
167
 
168
+ //
169
+ // email conversations
170
+ //
171
+ $("body.email_conversations-show a.preview").click(function(e) {
172
+ // logg(e, 'clicked')
173
+
174
+ if ($(this).data('expanded')) {
175
+ $(this).parent().find(".expand").html('')
176
+ $(this).parent().find(".my-actions").addClass('hide')
177
+ $(this).data('expanded', false)
178
+ return
179
+ }
180
+
181
+ const action_path = "/api/email_messages/" + $(this).data('id')
182
+
183
+ $.ajax({
184
+ url: action_path,
185
+ type: 'GET',
186
+ data: {
187
+ jwt_token: localStorage.getItem('jwt_token'),
188
+ },
189
+ success: e => {
190
+ $(this).parent().find(".expand").html(e.item.part_html)
191
+ $(this).parent().find(".my-actions").removeClass('hide')
192
+ $(this).data('expanded', true)
193
+ },
194
+ error: e => {
195
+ logg((e||{}).responseText, 'cannot get email_message')
196
+ },
197
+ })
198
+ })
199
+
147
200
  });
148
201
 
@@ -1,6 +1,6 @@
1
1
 
2
2
  AppRouter = {
3
- new_email_context_with: (slug) => `/manager/email_contexts/new_with/${slug}`
3
+ new_email_context_with: (slug) => `/manager/email_contexts/new_with_template/${slug}`
4
4
  }
5
5
 
6
6
  $(document).ready(() => {
@@ -0,0 +1,20 @@
1
+
2
+ $(document).ready(() => {
3
+
4
+ if ($(".email-templates--form").length) {
5
+ $(".tab-labels > a").click(function() {
6
+ logg( $(this).data('ref'), 'ref')
7
+
8
+ $(this).parent().find("a").each((idx, item) => {
9
+ $(item).removeClass('active')
10
+ })
11
+ $( this ).addClass('active')
12
+
13
+ $(this).parent().parent().find(".tabs > div").each((idx, item) => {
14
+ $(item).css('display', 'none')
15
+ })
16
+ $(this).parent().parent().find( $(this).data('ref') ).css('display', 'block')
17
+ })
18
+ }
19
+
20
+ })
@@ -0,0 +1,78 @@
1
+
2
+ const AppRouter = {
3
+ gallery_update_ordering_path: ({ id, slug }) => `/manager/galleries/${slug || id}/update_ordering`,
4
+ }
5
+ $(document).ready(function () {
6
+
7
+ if ( $(".orderable-items").length ) {
8
+ if ($(".orderable-items").length > 1) {
9
+ logg("There are many .orderable-items! This was only meant to work with one.")
10
+ }
11
+ // let slug = $( $(".orderable-items")[0] ).data('slug')
12
+ let id = $( $(".orderable-items")[0] ).data('id')
13
+ let token = $( $(".orderable-items")[0] ).data('token')
14
+
15
+ $(".orderable-items .items > div").each(function (idx, item) {
16
+ let $el = $(this)
17
+
18
+ $(this).find('a.mvLeft').click(function() {
19
+ // move element up one step
20
+ if ($el.not(':first-child'))
21
+ $el.prev().before($el);
22
+ })
23
+
24
+ $(this).find('a.mvRight').click(function() {
25
+ // move element down one step
26
+ if ($el.not(':last-child'))
27
+ $el.next().after($el);
28
+ })
29
+
30
+ })
31
+ $(".save-ordering").click(function() {
32
+
33
+ let els = $(this).parent().find(".items .item")
34
+ let ids = []
35
+ $(els).map((idx, item) => {
36
+ ids.push( $(item).data('id') )
37
+ })
38
+
39
+ $.ajax({
40
+ type: 'PATCH',
41
+ url: AppRouter.gallery_update_ordering_path({ id: id }),
42
+ data: {
43
+ authenticity_token: token,
44
+ gallery: {
45
+ sorted_photo_ids: ids,
46
+ },
47
+ },
48
+ success: (e) => {
49
+ logg('success')
50
+ },
51
+
52
+ })
53
+
54
+ logg('ok')
55
+ })
56
+ }
57
+
58
+ })
59
+
60
+ /*
61
+ //element to move
62
+ var $el = $(selector);
63
+
64
+ //move element down one step
65
+ if ($el.not(':last-child'))
66
+ $el.next().after($el);
67
+
68
+ //move element up one step
69
+ if ($el.not(':first-child'))
70
+ $el.prev().before($el);
71
+
72
+ //move element to top
73
+ $el.parent().prepend($el);
74
+
75
+ //move element to end
76
+ $el.parent().append($el);
77
+ */
78
+
@@ -4,19 +4,24 @@
4
4
  *= require ish_manager/jquery-ui
5
5
  *= require_self
6
6
  *
7
- *= require ish_manager/email_contexts_templates
7
+ *= require ish_manager/email_contexts
8
8
  *= require ish_manager/email_conversations
9
9
  *= require ish_manager/email_messages
10
+ *= require ish_manager/email_templates
11
+ *= require ish_manager/email
10
12
  *
11
13
  *= require ish_manager/galleries
14
+ *= require ish_manager/leads_leadsets
12
15
  *= require ish_manager/maps
13
16
  *= require ish_manager/markers
14
- *= require ish_manager/leads_leadsets
17
+ *= require ish_manager/office
18
+ *= require ish_manager/pagination
15
19
  *= require ish_manager/photos
20
+ *= require ish_manager/scheduled_actions_emails
21
+ *= require ish_manager/tags
16
22
  *= require ish_manager/user_profiles
17
23
  *= require ish_manager/videos
18
- *= require ish_manager/pagination
19
- *= require ish_manager/office
24
+ *
20
25
  **/
21
26
 
22
27
  a[target='_blank'] {
@@ -65,6 +70,11 @@ ul:not(.browser-default).bullets, {
65
70
  .collapse-expand::after {
66
71
  content: " [<>]";
67
72
  }
73
+ .expand-next + form {
74
+ // border: 1px solid red !important;
75
+ // display: none !important;
76
+ }
77
+
68
78
  .alert {
69
79
  border: 1px solid red;
70
80
  padding: .8em;
@@ -103,6 +113,12 @@ body.application-fullwidth {
103
113
  padding: 1em;
104
114
  }
105
115
 
116
+ table.bordered {
117
+ td {
118
+ border: 1px solid black;
119
+ }
120
+ }
121
+
106
122
  .bordered-card {
107
123
  border: 1px solid grey;
108
124
  padding: .5em;
@@ -111,6 +127,11 @@ body.application-fullwidth {
111
127
  padding: 0.5em;
112
128
  }
113
129
 
130
+ /* B */
131
+
132
+ .btn {
133
+ border: 1px solid red;
134
+ }
114
135
 
115
136
  /* C */
116
137
 
@@ -185,9 +206,15 @@ table.dataTable {
185
206
  float: right;
186
207
  }
187
208
 
209
+ /* G */
210
+ .gray,
211
+ .grey {
212
+ color: #999;
213
+ }
214
+
188
215
  /* H */
189
216
  .hide, .hidden {
190
- display: none;
217
+ display: none !important;
191
218
  }
192
219
 
193
220
  /* I */
@@ -214,6 +241,9 @@ ul.inline li {
214
241
  }
215
242
  }
216
243
 
244
+ .input-date {
245
+ width: 100px;
246
+ }
217
247
 
218
248
  /* L */
219
249
  textarea.large {
@@ -305,12 +335,13 @@ textarea.large {
305
335
 
306
336
  /* N */
307
337
 
308
- label.n-selected {
309
- border: 1px solid red;
310
- padding: 0.5em;
338
+ .n-selected {
311
339
 
340
+ &::before {
341
+ content: "(";
342
+ }
312
343
  &::after {
313
- content: " Selected";
344
+ content: ")";
314
345
  }
315
346
  }
316
347
 
@@ -325,6 +356,10 @@ label.n-selected {
325
356
  }
326
357
 
327
358
  /* P */
359
+ .padded {
360
+ padding: 0.5em;
361
+ }
362
+
328
363
  .panel-content {
329
364
  padding: .5em;
330
365
  }
@@ -335,6 +370,10 @@ label.n-selected {
335
370
  padding: .2em;
336
371
  }
337
372
 
373
+ .relative {
374
+ position: relative;
375
+ }
376
+
338
377
  /* S */
339
378
 
340
379
  .select2-container {
@@ -0,0 +1,44 @@
1
+
2
+
3
+ .email-actions-edit,
4
+ .email-actions-index,
5
+ .email-filters-index,
6
+ .email-templates-edit,
7
+ .email-templates-show,
8
+ .email-contexts-edit,
9
+ .email-contexts-show,
10
+ .emails-ns, // emails namespace
11
+ .leads-edit,
12
+ .leads-index {
13
+ .header {
14
+ display: flex;
15
+ justify-content: center;
16
+ }
17
+ }
18
+
19
+
20
+ .form-mini {
21
+
22
+ display: inline-block;
23
+
24
+ // display: flex;
25
+ // flex-direction: column;
26
+
27
+ max-width: 400px;
28
+
29
+ margin-left: 20px;
30
+
31
+ border: 1px solid #666;
32
+ border-radius: 5px;
33
+ padding: 5px;
34
+ background: #eee;
35
+
36
+ * {
37
+ display: inline;
38
+ }
39
+
40
+ .header {
41
+ display: block;
42
+ }
43
+ }
44
+
@@ -19,47 +19,17 @@
19
19
 
20
20
  }
21
21
 
22
- .email-templates-index ul li,
23
- .email-contexts-index .header,
24
- .email-contexts-index ul.main li {
25
-
26
- a {
27
- margin-right: 0.5em;
28
-
29
- &::before {
30
- content: "[";
31
- }
32
-
33
- &::after {
34
- content: "]";
35
- }
36
- }
37
-
38
- }
39
-
40
-
41
- .email-templates--form-mini {
42
- border: 1px solid red;
43
- padding: 1em;
22
+ .email-contexts--form,
23
+ .email-templates--form {
44
24
 
45
- form {
25
+ .field-template {
46
26
  display: flex;
47
27
 
48
- > * {
49
- padding-right: 20px;
28
+ a.action-view {
29
+ width: 150px;
50
30
  }
51
31
  }
52
32
 
53
- }
54
-
55
- .email-templates--form-reply-mini,
56
- .email-templates--form-schedule-mini {
57
-
58
- }
59
-
60
- .email-contexts--form,
61
- .email-templates--form {
62
-
63
33
  textarea {
64
34
  width: 100%;
65
35
  min-height: 200px;
@@ -82,23 +52,33 @@
82
52
  margin: 10px;
83
53
  }
84
54
 
85
-
86
55
  }
87
56
 
88
- .form-mini {
89
- margin-left: 20px;
90
- display: inline-block;
91
- border: 1px solid #666;
92
- border-radius: 5px;
93
- padding: 5px;
94
- background: #eee;
57
+ .email-contexts-index {
95
58
 
96
- * {
97
- display: inline;
59
+ > .collapse-expand {
60
+ display: flex;
61
+ justify-content: center;
62
+
63
+ .header {
64
+ a {
65
+ &:before {
66
+ content: '[';
67
+ }
68
+ &:after {
69
+ content: ']';
70
+ }
71
+ }
72
+ }
98
73
  }
99
- .send-at {
100
- input {
101
- width: 150px;
74
+
75
+
76
+
77
+ table {
78
+ th.actions {
79
+ min-width: 100px;
102
80
  }
103
81
  }
104
- }
82
+
83
+ }
84
+
@@ -2,43 +2,120 @@
2
2
  .email-conversations-index,
3
3
  .email-conversations-show {
4
4
 
5
+ font-size: 14px;
6
+
7
+ margin: 0 1em;
8
+
9
+ > .actions {
10
+ border: 1px solid cyan;
11
+
12
+ display: inline;
13
+
14
+ > * {
15
+ display: inline;
16
+ margin-right: .3em;
17
+ }
18
+ }
19
+
20
+ .conversations {
21
+
22
+ tr:hover {
23
+ background: #eee;
24
+ }
25
+
26
+ tr {
27
+ border-bottom: 1px solid yellow;
28
+ margin-bottom: 0.3em;
29
+
30
+ // display: flex;
31
+
32
+ .subject {
33
+ // background: #ccc;
34
+
35
+ flex-grow: 1;
36
+ }
37
+ }
38
+
39
+ tr.state_unread {
40
+ background: #fffdd2;
41
+ }
42
+ }
43
+
44
+ // refers to number of messages in a conversation
45
+ .count {
46
+ display: inline;
47
+ width: 30px;
48
+ text-align: right;
49
+ }
50
+
51
+ .datetime {
52
+ // background: #999;
53
+ width: 150px;
54
+
55
+ display: flex;
56
+ justify-content: space-between;
57
+ }
58
+
59
+ .header {
60
+ display: flex;
61
+ align-items: baseline;
62
+
63
+ .label {
64
+ padding-right: 0.2em;
65
+ }
66
+ }
67
+
68
+ // these are inside a conversation. _vp_ 2023-02-28
5
69
  .messages {
6
70
  // border: 1px solid red;
7
71
 
8
72
  padding-left: 0;
9
-
10
73
  list-style-type: none;
11
74
 
12
- li {
13
-
75
+ .item:first-child {
76
+ border-top: 1px solid yellow;
77
+ }
78
+ .item {
79
+ border-bottom: 1px solid yellow;
14
80
  margin-bottom: 0.2em;
15
81
 
16
- // clear: both;
17
-
18
- .date {
19
- // border: 1px solid orange;
82
+ .expand {
83
+ border: 1px solid red;
84
+ max-height: 500px;
85
+ overflow: auto;
86
+ }
20
87
 
21
- width: 120px;
22
- float: left;
88
+ .my-actions {
89
+ display: flex;
23
90
  }
24
91
 
25
92
  .preview {
26
93
  // border: 1px solid gold;
27
94
 
95
+ display: inline-block;
96
+ width: 100%;
28
97
  white-space: nowrap;
29
98
  overflow: hidden;
30
99
  text-overflow: ellipsis;
100
+ }
31
101
 
102
+ .row-1 {
103
+ display: flex;
104
+ justify-content: space-between;
32
105
  }
33
106
  }
34
107
  }
35
108
 
36
109
  .participants {
37
- border: 1px solid #999900;
38
- background: #ffffcc;
39
- border-radius: 5px;
40
- padding: 5px;
41
- display: inline;
110
+ width: 250px;
111
+ padding-left: .3em;
112
+
113
+ // border: 1px solid #999900;
114
+ // background: #ffffcc;
115
+ // border-radius: 5px;
116
+ // padding: 5px;
117
+
118
+ // display: inline;
42
119
 
43
120
  ul {
44
121
  display: inline;
@@ -49,17 +126,18 @@
49
126
  }
50
127
  }
51
128
 
52
- }
129
+ .select-all.chip {
130
+ display: flex;
131
+ border: 1px solid cyan;
132
+ }
53
133
 
54
- .email-conversations-show {
55
- .header {
134
+ .tags {
56
135
  display: flex;
57
- align-items: baseline;
136
+ flex-direction: column;
58
137
 
59
- .label {
60
- padding-right: 0.2em;
138
+ .chip {
139
+ border: 1px solid cyan;
61
140
  }
62
141
  }
63
142
 
64
-
65
143
  }