educode_sales 0.3.7 → 0.3.8

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: c5f62ecb1fb5d2f9b42761618eae0525dd789bb69fc2522c108749eacfa26f05
4
- data.tar.gz: a0ec504c642dfe71bc8bd513140d96bc82b9de444a48945ee245bb812bc4884b
3
+ metadata.gz: 2b33617025aa42f341f3b82aec2cba9f62fffd5cf96eb926117e00cf20d1376e
4
+ data.tar.gz: 0a878a706c8c3469f3d5feb3922e6863064f00368c941cdb81bdc89c9068dc74
5
5
  SHA512:
6
- metadata.gz: d27c931c74c8ca700c4710d0b3fbd702152adbeb780de114324a07b4bca8de66cbc1b1f13fc82d11d873ec43ae2c8eb83422c98169e47c3c76f997e58c73a83a
7
- data.tar.gz: bdd71543da8fc7cf0687374af51870da0c2950ebb10d7db232af4a58b8f26e13c1b31777b95d1c636125a8dbcc17b79317bcdcd682242080d5783604f332d155
6
+ metadata.gz: 4a0d3612c32090a93db9b8136cf5250c7cb5151c9ffbdc53b76f1081e9a35bd134f0229f97c27dc0adec5f82666648179c73d7fcee9f8ed97a92b25a41010df7
7
+ data.tar.gz: e2efb528e4276ecc66b1bb6a17a72e49c944e092c73ea26c345718e20f431760709adb86ac073ca0ed5f901c9d6b5d09135c11c5203d511ab034a2714d380b49
@@ -3,7 +3,8 @@
3
3
  margin: 10px 10px 10px 10px;
4
4
  border: 5px solid #ffffff;
5
5
  border-radius: 5px;
6
- background-color: #ffffff
6
+ background-color: #ffffff;
7
+ min-width: 800px;
7
8
  }
8
9
 
9
10
  .layui-breadcrumb>* {
@@ -6,8 +6,9 @@
6
6
  <% end %>
7
7
  </div>
8
8
  </script>
9
-
9
+ <div class="min-height-table">
10
10
  <table class="layui-hide" id="activities_table" lay-filter="activities_table"></table>
11
+ </div>
11
12
 
12
13
  <script type="text/html" id="currentTableBar">
13
14
  <% if can? :update, EducodeSales::Activity %>
@@ -48,36 +49,37 @@
48
49
  {
49
50
  field: 'name',
50
51
  title: '活动名称',
51
- width: 300,
52
+ width: 400,
52
53
  templet: '#teachers'
53
54
  },
54
55
  {
55
56
  field: 'start_at',
56
- width: 200,
57
+ width: 120,
57
58
  title: '时间',
58
59
  sort: true,
59
60
  },
60
61
  {
61
62
  field: 'days',
62
63
  title: '天数',
63
- width: 200
64
+ width: 100
64
65
  },
65
66
  {
66
67
  field: 'teachers_count',
67
68
  title: '教师数',
68
- width: 200,
69
+ width: 100,
69
70
  templet: '#teachers_count'
70
71
  },
71
72
  {
72
73
  field: 'students_count',
73
74
  title: '学生数',
74
- width: 200
75
+ width: 100
75
76
  },
76
77
  {
77
- title: '操作',
78
- width: 120,
79
- toolbar: '#currentTableBar',
80
- align: "center"
78
+ title: '操作',
79
+ width: 120,
80
+ fixed: 'right',
81
+ toolbar: '#currentTableBar',
82
+ align: "center"
81
83
  }
82
84
  ]
83
85
  ],
@@ -1,4 +1,4 @@
1
- <div class="min-height-table edit-table">
1
+ <div class="min-height-table">
2
2
  <div style="margin: 10px 10px 10px 10px">
3
3
  <form class="layui-form layui-form-pane" lay-filter="search_form">
4
4
  <div class="layui-form-item">
@@ -192,7 +192,7 @@
192
192
  },
193
193
  {
194
194
  title: '操作',
195
- minWidth: 160,
195
+ minWidth: 170,
196
196
  toolbar: '#currentTableBar',
197
197
  align: "center",
198
198
  fixed: 'right'
@@ -71,7 +71,7 @@
71
71
  </button>
72
72
  </div>
73
73
  </script>
74
- <div class="edit-table">
74
+ <div class="">
75
75
  <table class="layui-hide" id="teachers_table" style="min-height: 300px;" lay-filter="teachers_table"></table>
76
76
  </div>
77
77
  <script type="text/html" id="currentTableBar">
@@ -226,7 +226,7 @@
226
226
  },
227
227
  {
228
228
  title: '操作',
229
- minWidth: 160,
229
+ minWidth: 170,
230
230
  toolbar: '#currentTableBar',
231
231
  align: "center",
232
232
  fixed: 'right'
@@ -1,3 +1,3 @@
1
1
  module EducodeSales
2
- VERSION = '0.3.7'
2
+ VERSION = '0.3.8'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: educode_sales
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.7
4
+ version: 0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - anke1460
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-09 00:00:00.000000000 Z
11
+ date: 2021-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails