django-bom 1.262__py3-none-any.whl
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.
Potentially problematic release.
This version of django-bom might be problematic. Click here for more details.
- bom/__init__.py +1 -0
- bom/admin.py +207 -0
- bom/apps.py +8 -0
- bom/auth_backends.py +47 -0
- bom/base_classes.py +31 -0
- bom/constants.py +217 -0
- bom/context_processors.py +9 -0
- bom/csv_headers.py +252 -0
- bom/decorators.py +32 -0
- bom/form_fields.py +59 -0
- bom/forms.py +1328 -0
- bom/helpers.py +367 -0
- bom/local_settings.py +35 -0
- bom/migrations/0001_initial.py +135 -0
- bom/migrations/0002_auto_20180908_2151.py +24 -0
- bom/migrations/0003_sellerpart_data_source.py +18 -0
- bom/migrations/0004_auto_20180911_0011.py +18 -0
- bom/migrations/0005_auto_20181007_1934.py +56 -0
- bom/migrations/0006_auto_20181007_1949.py +41 -0
- bom/migrations/0007_auto_20181009_0256.py +19 -0
- bom/migrations/0008_auto_20181030_0427.py +19 -0
- bom/migrations/0009_subpart_reference.py +18 -0
- bom/migrations/0010_auto_20181202_0733.py +23 -0
- bom/migrations/0011_auto_20181202_2113.py +22 -0
- bom/migrations/0012_partchangehistory.py +30 -0
- bom/migrations/0013_auto_20190222_1631.py +19 -0
- bom/migrations/0014_auto_20190223_2353.py +18 -0
- bom/migrations/0015_auto_20190303_1915.py +136 -0
- bom/migrations/0016_auto_20190405_2308.py +58 -0
- bom/migrations/0017_auto_20190616_1912.py +19 -0
- bom/migrations/0018_auto_20190616_2143.py +24 -0
- bom/migrations/0019_auto_20190624_1246.py +45 -0
- bom/migrations/0020_auto_20190627_0207.py +38 -0
- bom/migrations/0021_auto_20190627_0428.py +23 -0
- bom/migrations/0022_auto_20190811_2140.py +35 -0
- bom/migrations/0023_auto_20191205_2351.py +255 -0
- bom/migrations/0024_auto_20191214_1342.py +89 -0
- bom/migrations/0025_auto_20191221_1907.py +38 -0
- bom/migrations/0026_auto_20191222_2258.py +22 -0
- bom/migrations/0027_auto_20191222_2347.py +17 -0
- bom/migrations/0028_partrevision_displayable_synopsis.py +74 -0
- bom/migrations/0029_auto_20191231_1630.py +23 -0
- bom/migrations/0030_auto_20200101_2253.py +22 -0
- bom/migrations/0031_auto_20200104_1352.py +38 -0
- bom/migrations/0032_auto_20200126_1806.py +27 -0
- bom/migrations/0033_auto_20200203_0618.py +29 -0
- bom/migrations/0034_auto_20200222_0359.py +30 -0
- bom/migrations/0035_auto_20200303_0111.py +34 -0
- bom/migrations/0036_auto_20200303_0538.py +17 -0
- bom/migrations/0037_auto_20200405_1642.py +44 -0
- bom/migrations/0038_auto_20200422_0504.py +19 -0
- bom/migrations/0039_auto_20200929_2315.py +41 -0
- bom/migrations/0040_alter_organization_currency.py +19 -0
- bom/migrations/0041_organization_subscription_quantity.py +18 -0
- bom/migrations/0042_auto_20210720_2137.py +23 -0
- bom/migrations/0043_auto_20211123_0157.py +24 -0
- bom/migrations/0044_auto_20220831_1241.py +23 -0
- bom/migrations/0045_sellerpart_link.py +18 -0
- bom/migrations/0046_alter_sellerpart_unique_together.py +17 -0
- bom/migrations/0047_sellerpart_seller_part_number.py +18 -0
- bom/migrations/0048_rename_part_organization_number_class_bom_part_organiz_b333d6_idx_and_more.py +1017 -0
- bom/migrations/0049_alter_assembly_id_alter_assemblysubparts_id_and_more.py +99 -0
- bom/migrations/0050_alter_organization_options.py +17 -0
- bom/migrations/0051_alter_manufacturer_organization_and_more.py +41 -0
- bom/migrations/0052_remove_partrevision_attribute_and_more.py +584 -0
- bom/migrations/__init__.py +0 -0
- bom/models.py +886 -0
- bom/part_bom.py +192 -0
- bom/settings.py +262 -0
- bom/static/bom/css/dashboard.css +17 -0
- bom/static/bom/css/jquery.treetable.css +28 -0
- bom/static/bom/css/materialize.min.css +13 -0
- bom/static/bom/css/part-info.css +15 -0
- bom/static/bom/css/style.css +482 -0
- bom/static/bom/css/tablesorter-theme.materialize.css +176 -0
- bom/static/bom/css/treetable-theme.css +42 -0
- bom/static/bom/doc/sample_part_classes.csv +38 -0
- bom/static/bom/doc/test_bom.csv +6 -0
- bom/static/bom/doc/test_bom_5_intelligent.csv +4 -0
- bom/static/bom/doc/test_full_bom.csv +37 -0
- bom/static/bom/doc/test_new_parts.csv +5 -0
- bom/static/bom/doc/test_new_parts_5_intelligent.csv +5 -0
- bom/static/bom/img/_ionicons_svg_md-arrow-dropdown.svg +1 -0
- bom/static/bom/img/_ionicons_svg_md-arrow-dropright.svg +1 -0
- bom/static/bom/img/favicon.ico +0 -0
- bom/static/bom/img/google/web/1x/btn_google_signin_dark_disabled_web.png +0 -0
- bom/static/bom/img/google/web/1x/btn_google_signin_dark_focus_web.png +0 -0
- bom/static/bom/img/google/web/1x/btn_google_signin_dark_normal_web.png +0 -0
- bom/static/bom/img/google/web/1x/btn_google_signin_dark_pressed_web.png +0 -0
- bom/static/bom/img/google/web/1x/btn_google_signin_light_disabled_web.png +0 -0
- bom/static/bom/img/google/web/1x/btn_google_signin_light_focus_web.png +0 -0
- bom/static/bom/img/google/web/1x/btn_google_signin_light_normal_web.png +0 -0
- bom/static/bom/img/google/web/1x/btn_google_signin_light_pressed_web.png +0 -0
- bom/static/bom/img/google/web/2x/btn_google_signin_dark_disabled_web@2x.png +0 -0
- bom/static/bom/img/google/web/2x/btn_google_signin_dark_focus_web@2x.png +0 -0
- bom/static/bom/img/google/web/2x/btn_google_signin_dark_normal_web@2x.png +0 -0
- bom/static/bom/img/google/web/2x/btn_google_signin_dark_pressed_web@2x.png +0 -0
- bom/static/bom/img/google/web/2x/btn_google_signin_light_disabled_web@2x.png +0 -0
- bom/static/bom/img/google/web/2x/btn_google_signin_light_focus_web@2x.png +0 -0
- bom/static/bom/img/google/web/2x/btn_google_signin_light_normal_web@2x.png +0 -0
- bom/static/bom/img/google/web/2x/btn_google_signin_light_pressed_web@2x.png +0 -0
- bom/static/bom/img/google/web/vector/btn_google_dark_disabled_ios.eps +814 -0
- bom/static/bom/img/google/web/vector/btn_google_dark_disabled_ios.svg +24 -0
- bom/static/bom/img/google/web/vector/btn_google_dark_focus_ios.eps +1866 -0
- bom/static/bom/img/google/web/vector/btn_google_dark_focus_ios.svg +51 -0
- bom/static/bom/img/google/web/vector/btn_google_dark_normal_ios.eps +1031 -0
- bom/static/bom/img/google/web/vector/btn_google_dark_normal_ios.svg +50 -0
- bom/static/bom/img/google/web/vector/btn_google_dark_pressed_ios.eps +1031 -0
- bom/static/bom/img/google/web/vector/btn_google_dark_pressed_ios.svg +50 -0
- bom/static/bom/img/google/web/vector/btn_google_light_disabled_ios.eps +814 -0
- bom/static/bom/img/google/web/vector/btn_google_light_disabled_ios.svg +24 -0
- bom/static/bom/img/google/web/vector/btn_google_light_focus_ios.eps +1837 -0
- bom/static/bom/img/google/web/vector/btn_google_light_focus_ios.svg +44 -0
- bom/static/bom/img/google/web/vector/btn_google_light_normal_ios.eps +1002 -0
- bom/static/bom/img/google/web/vector/btn_google_light_normal_ios.svg +43 -0
- bom/static/bom/img/google/web/vector/btn_google_light_pressed_ios.eps +1002 -0
- bom/static/bom/img/google/web/vector/btn_google_light_pressed_ios.svg +43 -0
- bom/static/bom/img/google_drive_logo.svg +1 -0
- bom/static/bom/img/indabom.png +0 -0
- bom/static/bom/img/mouser.png +0 -0
- bom/static/bom/img/octopart_blue.svg +19 -0
- bom/static/bom/js/formset-handler.js +65 -0
- bom/static/bom/js/jquery-3.4.1.min.js +2 -0
- bom/static/bom/js/jquery.ba-floatingscrollbar.min.js +10 -0
- bom/static/bom/js/jquery.treetable.js +629 -0
- bom/static/bom/js/materialize.min.js +6 -0
- bom/templates/bom/account-delete.html +23 -0
- bom/templates/bom/add-manufacturer-part.html +66 -0
- bom/templates/bom/add-sellerpart.html +93 -0
- bom/templates/bom/base-menu.html +16 -0
- bom/templates/bom/base.html +129 -0
- bom/templates/bom/bom-action-btn.html +23 -0
- bom/templates/bom/bom-action-table.html +57 -0
- bom/templates/bom/bom-base-menu.html +6 -0
- bom/templates/bom/bom-base.html +24 -0
- bom/templates/bom/bom-form-modal.html +36 -0
- bom/templates/bom/bom-form.html +30 -0
- bom/templates/bom/bom-modal-add-users.html +49 -0
- bom/templates/bom/bom-signup.html +12 -0
- bom/templates/bom/components/bom-flat.html +131 -0
- bom/templates/bom/components/bom-indented.html +237 -0
- bom/templates/bom/components/manufacturer-part-list.html +270 -0
- bom/templates/bom/components/seller-part-list.html +62 -0
- bom/templates/bom/create-part.html +65 -0
- bom/templates/bom/dashboard-menu.html +15 -0
- bom/templates/bom/dashboard.html +303 -0
- bom/templates/bom/edit-manufacturer-part.html +72 -0
- bom/templates/bom/edit-part-class.html +120 -0
- bom/templates/bom/edit-part.html +67 -0
- bom/templates/bom/edit-quantity-of-measure.html +119 -0
- bom/templates/bom/edit-user-meta.html +70 -0
- bom/templates/bom/help.html +1356 -0
- bom/templates/bom/manufacturer-info.html +82 -0
- bom/templates/bom/manufacturers.html +97 -0
- bom/templates/bom/nothing-to-see.html +15 -0
- bom/templates/bom/organization-create.html +135 -0
- bom/templates/bom/part-info.html +448 -0
- bom/templates/bom/part-revision-display.html +50 -0
- bom/templates/bom/part-revision-edit.html +39 -0
- bom/templates/bom/part-revision-manage-bom.html +115 -0
- bom/templates/bom/part-revision-new.html +57 -0
- bom/templates/bom/part-revision-release.html +41 -0
- bom/templates/bom/search-help.html +101 -0
- bom/templates/bom/seller-info.html +82 -0
- bom/templates/bom/sellers.html +97 -0
- bom/templates/bom/settings.html +734 -0
- bom/templates/bom/signup.html +28 -0
- bom/templates/bom/subscription_panel.html +16 -0
- bom/templates/bom/table_of_contents.html +47 -0
- bom/templates/bom/upload-bom.html +111 -0
- bom/templates/bom/upload-parts-help.html +103 -0
- bom/templates/bom/upload-parts.html +50 -0
- bom/templates/registration/login.html +39 -0
- bom/tests.py +1592 -0
- bom/third_party_apis/__init__.py +0 -0
- bom/third_party_apis/base_api.py +51 -0
- bom/third_party_apis/google_drive.py +166 -0
- bom/third_party_apis/mouser.py +132 -0
- bom/third_party_apis/test_apis.py +24 -0
- bom/urls.py +100 -0
- bom/utils.py +228 -0
- bom/validators.py +23 -0
- bom/views/__init__.py +0 -0
- bom/views/json_views.py +55 -0
- bom/views/views.py +1773 -0
- bom/wsgi.py +16 -0
- django_bom-1.262.dist-info/METADATA +206 -0
- django_bom-1.262.dist-info/RECORD +191 -0
- django_bom-1.262.dist-info/WHEEL +5 -0
- django_bom-1.262.dist-info/licenses/LICENSE +674 -0
- django_bom-1.262.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,482 @@
|
|
|
1
|
+
@import url('https://fonts.googleapis.com/css?family=Roboto');
|
|
2
|
+
|
|
3
|
+
html {
|
|
4
|
+
line-height: normal;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
main {
|
|
8
|
+
min-height: 100vh;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
p, li {
|
|
12
|
+
font-size: 1.1rem; /* Slightly larger to compensate for thin weight */
|
|
13
|
+
font-weight: 300;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/* We use significant size differences to replace the lack of bold weights */
|
|
17
|
+
h1 {
|
|
18
|
+
font-size: 2.5rem;
|
|
19
|
+
font-weight: 300;
|
|
20
|
+
line-height: 1.1;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
h2 {
|
|
24
|
+
font-size: 2.0rem;
|
|
25
|
+
font-weight: 300;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
h3 {
|
|
29
|
+
font-size: 1.7rem;
|
|
30
|
+
font-weight: 300;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
h4 {
|
|
34
|
+
font-size: 1.4rem;
|
|
35
|
+
font-weight: 300;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
h5 {
|
|
39
|
+
font-size: 1.1rem;
|
|
40
|
+
font-weight: 400;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.tabs {
|
|
44
|
+
/* Materialize has a bug that shows the scrollbar sometimes, this prevents it */
|
|
45
|
+
/*overflow-x: hidden;*/
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
td, tr {
|
|
49
|
+
padding-right: 1px;
|
|
50
|
+
padding-left: 1px;
|
|
51
|
+
min-width: 40px;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/*.help-block {*/
|
|
55
|
+
/* color: red;*/
|
|
56
|
+
/*}*/
|
|
57
|
+
|
|
58
|
+
.tight td {
|
|
59
|
+
padding: 3px 3px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.tighter {
|
|
63
|
+
padding: 1px 1px;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.text-small {
|
|
67
|
+
font-size: .75em;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.text-normal {
|
|
71
|
+
font-size: 1em;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.text-right {
|
|
75
|
+
text-align: right;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.text-center {
|
|
79
|
+
text-align: center;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.info {
|
|
83
|
+
color: red;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.single-line {
|
|
87
|
+
white-space: nowrap;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.table-action {
|
|
91
|
+
display: inline-flex;
|
|
92
|
+
align-items: center;
|
|
93
|
+
vertical-align: middle;
|
|
94
|
+
font-size: 0.9rem;
|
|
95
|
+
font-weight: 500;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/* 2. Tighten icons so they don't stretch the row height */
|
|
99
|
+
.table-action .material-icons {
|
|
100
|
+
font-size: 1.1rem !important;
|
|
101
|
+
margin-right: 4px;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/* 3. Give consecutive actions a little breathing room */
|
|
105
|
+
.table-action + .table-action {
|
|
106
|
+
margin-left: 12px;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.responsive-table-wrapper {
|
|
110
|
+
overflow-x: auto;
|
|
111
|
+
padding-bottom: 16px;
|
|
112
|
+
/*min-width: 100%;
|
|
113
|
+
max-width: 110%;
|
|
114
|
+
margin: 0 -5%;*/
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.autocomplete-content {
|
|
118
|
+
opacity: .8;
|
|
119
|
+
position: absolute;
|
|
120
|
+
width: 100%;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.hidden {
|
|
124
|
+
display: none;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.cell-collapsed {
|
|
128
|
+
/* background: grey; */
|
|
129
|
+
background-color: #f2f2f2;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.page-footer {
|
|
133
|
+
margin-top: 50px;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.tabs .tab a {
|
|
137
|
+
/*@extend .green .lighten-3;*/
|
|
138
|
+
color: #a5d6a7;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.tabs .tab a:hover, .tabs .tab a.active {
|
|
142
|
+
background-color: transparent;
|
|
143
|
+
color: #66bb6a;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.tabs .tab.disabled a, .tabs .tab.disabled a:hover {
|
|
147
|
+
color: rgba(165, 214, 167, 0.5);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.tabs .indicator {
|
|
151
|
+
background-color: #66bb6a;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.tabs .tab a:focus, .tabs .tab a:focus.active {
|
|
155
|
+
background-color: transparent;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/* Alerts */
|
|
159
|
+
.alert {
|
|
160
|
+
padding: 5px;
|
|
161
|
+
background-color: #dcedc8; /* light green lighten-4 */
|
|
162
|
+
margin: 5px;
|
|
163
|
+
border: solid #aed581 1px; /* light green lighten-2 */
|
|
164
|
+
border-radius: 10px;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.alert-error {
|
|
168
|
+
color: white;
|
|
169
|
+
background-color: #f44336; /* red */
|
|
170
|
+
border: solid #e57373 1px; /* red lighten-2 */
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.alert-warning {
|
|
174
|
+
background-color: #f0f4c3; /* lime lighten-4 */
|
|
175
|
+
border: solid #dce775 1px; /* lime lighten-2 */
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.messages.tags {
|
|
179
|
+
font-weight: bold;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/* Override treetable icon */
|
|
183
|
+
table.treetable tr.collapsed span.indenter a {
|
|
184
|
+
background-image: url('../img/_ionicons_svg_md-arrow-dropright.svg');
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
table.treetable tr.expanded span.indenter a {
|
|
188
|
+
background-image: url('../img/_ionicons_svg_md-arrow-dropdown.svg');
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/* Override Materialize container */
|
|
192
|
+
.container-app {
|
|
193
|
+
margin: 0 auto;
|
|
194
|
+
max-width: none;
|
|
195
|
+
width: 95%;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
@media only screen and (min-width: 601px) {
|
|
199
|
+
.container-app {
|
|
200
|
+
width: 95%;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
@media only screen and (min-width: 993px) {
|
|
205
|
+
.container-app {
|
|
206
|
+
width: 90%;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.primary-color {
|
|
211
|
+
color: #66bb6a;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.dark-color {
|
|
215
|
+
color: #338a3e;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.light-color {
|
|
219
|
+
color: #98ee99;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.btn-icon-round {
|
|
223
|
+
border-radius: 50%;
|
|
224
|
+
padding: 0 8px;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.file-field .btn, .file-field .btn-large, .file-field .btn-small {
|
|
228
|
+
background-color: #66BB6A;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.btn-flat {
|
|
232
|
+
background-color: #f5f5f5;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.btn-primary {
|
|
236
|
+
background-color: #66BB6A;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.btn-warning {
|
|
240
|
+
background-color: #F44336;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
a.anchor {
|
|
244
|
+
display: block;
|
|
245
|
+
position: relative;
|
|
246
|
+
top: -64px;
|
|
247
|
+
visibility: hidden;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
/* Specific Styling */
|
|
251
|
+
.part-info-form input {
|
|
252
|
+
text-align: right;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.materialize-checkbox-padding div {
|
|
256
|
+
padding: 14.5px 0;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
/* Material dropdowns tighter */
|
|
260
|
+
.dropdown-content li > a, .dropdown-content li > span {
|
|
261
|
+
padding: 6px;
|
|
262
|
+
line-height: 16px;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.dropdown-content li {
|
|
266
|
+
min-height: 30px;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
/* table of contents styling */
|
|
270
|
+
/*#toc div.h1 { margin-left: 0 }*/
|
|
271
|
+
#toc li.h2 {
|
|
272
|
+
margin-left: 0
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
#toc li.h3 {
|
|
276
|
+
margin-left: 1em
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
#toc li.h4 {
|
|
280
|
+
margin-left: 2em
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
#toc li.h5 {
|
|
284
|
+
margin-left: 3em
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
/* Printer friendly */
|
|
288
|
+
.printer-show {
|
|
289
|
+
display: none;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
@media print {
|
|
293
|
+
.container {
|
|
294
|
+
width: 8.5in;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
body {
|
|
298
|
+
font-family: verdana, arial, sans-serif;
|
|
299
|
+
/*transform: scale(.7);*/
|
|
300
|
+
/*transform-origin: left top;*/
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
main {
|
|
304
|
+
min-height: 0;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
html {
|
|
308
|
+
height: 100%;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.navbar-fixed {
|
|
312
|
+
display: none;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
.sidenav {
|
|
316
|
+
display: none;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
footer {
|
|
320
|
+
display: none;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
.printer-show {
|
|
324
|
+
display: block;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.printer-hide {
|
|
328
|
+
display: none;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
.modal {
|
|
332
|
+
display: none;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
.dropdown-content {
|
|
336
|
+
display: none;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.dropdown-trigger {
|
|
340
|
+
display: none;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
table {
|
|
344
|
+
page-break-inside: avoid;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.pagination {
|
|
348
|
+
display: none;
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
/* --- Settings & Admin Layout Refinements (flat, Material-inspired) --- */
|
|
353
|
+
/* Scoped to .container-app so marketing pages and legacy views remain unchanged. */
|
|
354
|
+
|
|
355
|
+
/* Section spacing for denser admin/settings layouts */
|
|
356
|
+
.container-app .section {
|
|
357
|
+
padding-top: 16px;
|
|
358
|
+
padding-bottom: 16px;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
/* Consistent section headers with optional leading/trailing icons */
|
|
362
|
+
.container-app .section-title {
|
|
363
|
+
display: flex;
|
|
364
|
+
align-items: center;
|
|
365
|
+
gap: 8px;
|
|
366
|
+
margin: 0 0 8px 0;
|
|
367
|
+
letter-spacing: 0.2px;
|
|
368
|
+
font-weight: 500;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
.container-app .section-title .material-icons {
|
|
372
|
+
line-height: 1;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
.container-app .section-title img {
|
|
376
|
+
height: 1.8rem;
|
|
377
|
+
margin-left: 6px;
|
|
378
|
+
vertical-align: middle;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
/* When a service logo/image is used as a leading icon, adjust spacing */
|
|
382
|
+
.container-app .section-title img:first-child {
|
|
383
|
+
margin-left: 0;
|
|
384
|
+
margin-right: 6px;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
/* Comfortable dividers between blocks */
|
|
388
|
+
.container-app .divider {
|
|
389
|
+
margin: 16px 0;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
/* Slightly smaller paragraph text and tighter rhythm in settings */
|
|
393
|
+
.container-app .section p {
|
|
394
|
+
margin: 0 0 12px 0;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
/* Tabs separation from content */
|
|
398
|
+
.container-app .tabs {
|
|
399
|
+
margin-bottom: 12px;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
/* Flat collections (used as key-value lists in settings) */
|
|
403
|
+
.container-app .collection.z-depth-0 {
|
|
404
|
+
border: none;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
.container-app .collection.z-depth-0 .collection-item {
|
|
408
|
+
border: none;
|
|
409
|
+
padding-left: 0;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
/* Button group spacing in aligned action rows */
|
|
413
|
+
.container-app .right-align .btn,
|
|
414
|
+
.container-app .right-align .btn-flat {
|
|
415
|
+
margin-left: 4px;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
/* Master-Detail Settings Layout */
|
|
420
|
+
.settings-grid {
|
|
421
|
+
margin-top: 20px;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
@media only screen and (min-width: 993px) {
|
|
425
|
+
.settings-grid {
|
|
426
|
+
display: flex;
|
|
427
|
+
flex-wrap: nowrap;
|
|
428
|
+
align-items: stretch;
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
.settings-nav {
|
|
433
|
+
padding: 0 !important;
|
|
434
|
+
border-right: 1px solid #e0e0e0;
|
|
435
|
+
min-height: 70vh;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
.settings-nav .collection {
|
|
439
|
+
border: none;
|
|
440
|
+
margin: 0;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
.settings-nav .collection .collection-item {
|
|
444
|
+
border: none;
|
|
445
|
+
padding: 12px 20px;
|
|
446
|
+
display: flex;
|
|
447
|
+
align-items: center;
|
|
448
|
+
color: #5f6368;
|
|
449
|
+
cursor: pointer;
|
|
450
|
+
transition: background-color 0.2s;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
.settings-nav .collection .collection-item:hover {
|
|
454
|
+
background-color: #f1f3f4;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
.settings-nav .collection .collection-item.active {
|
|
458
|
+
background-color: rgba(165, 214, 167, 0.5);
|
|
459
|
+
color: #000000;
|
|
460
|
+
font-weight: 500;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
.settings-nav .collection .collection-item .material-icons {
|
|
464
|
+
margin-right: 16px;
|
|
465
|
+
font-size: 20px;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
.settings-content {
|
|
469
|
+
padding: 0 40px !important;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
@media only screen and (max-width: 992px) {
|
|
473
|
+
.settings-nav {
|
|
474
|
+
border-right: none;
|
|
475
|
+
border-bottom: 1px solid #e0e0e0;
|
|
476
|
+
min-height: auto;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.settings-content {
|
|
480
|
+
padding: 0 20px !important;
|
|
481
|
+
}
|
|
482
|
+
}
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
/*************
|
|
2
|
+
Materialize theme (http://materializecss.com/)
|
|
3
|
+
*************/
|
|
4
|
+
/* jQuery materialize Theme */
|
|
5
|
+
.tablesorter-materialize {
|
|
6
|
+
width: 100%;
|
|
7
|
+
}
|
|
8
|
+
.tablesorter-materialize thead th,
|
|
9
|
+
.tablesorter-materialize thead td,
|
|
10
|
+
.tablesorter-materialize tfoot th,
|
|
11
|
+
.tablesorter-materialize tfoot td {
|
|
12
|
+
font: 14px/20px Arial, Sans-serif;
|
|
13
|
+
font-weight: bold;
|
|
14
|
+
padding: 4px;
|
|
15
|
+
margin: 0 0 18px;
|
|
16
|
+
background-color: #eee;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.tablesorter-materialize .tablesorter-header {
|
|
20
|
+
cursor: pointer;
|
|
21
|
+
}
|
|
22
|
+
.tablesorter-materialize .sorter-false {
|
|
23
|
+
cursor: default;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.tablesorter-materialize .tablesorter-header-inner {
|
|
27
|
+
position: relative;
|
|
28
|
+
padding: 4px 18px 4px 4px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/* sort icons */
|
|
32
|
+
.tablesorter-materialize thead .tablesorter-header {
|
|
33
|
+
background-repeat: no-repeat;
|
|
34
|
+
background-position: center right;
|
|
35
|
+
padding: 4px 18px 4px 4px;
|
|
36
|
+
white-space: normal;
|
|
37
|
+
cursor: pointer;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* black unsorted icon */
|
|
41
|
+
.tablesorter-materialize thead .tablesorter-headerUnSorted {
|
|
42
|
+
/* <svg xmlns="http://www.w3.org/2000/svg" width="18" height="12" viewBox="0 0 24 16"><path d="M15 8 1 8 8 0zM15 9 1 9 8 16z" fill="#222"/></svg> */
|
|
43
|
+
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDI0IDE2Ij48cGF0aCBkPSJNMTUgOCAxIDggOCAwek0xNSA5IDEgOSA4IDE2eiIgZmlsbD0iIzIyMiIvPjwvc3ZnPg==);
|
|
44
|
+
}
|
|
45
|
+
/* black asc icon */
|
|
46
|
+
.tablesorter-materialize thead .tablesorter-headerAsc {
|
|
47
|
+
/* <svg xmlns="http://www.w3.org/2000/svg" width="18" height="12" viewBox="0 0 24 16"><path d="M15 11 1 11 8 3z" fill="#222"/></svg> */
|
|
48
|
+
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDI0IDE2Ij48cGF0aCBkPSJNMTUgMTEgMSAxMSA4IDN6IiBmaWxsPSIjMjIyIi8+PC9zdmc+);
|
|
49
|
+
}
|
|
50
|
+
/* black desc icon */
|
|
51
|
+
.tablesorter-materialize thead .tablesorter-headerDesc {
|
|
52
|
+
/* <svg xmlns="http://www.w3.org/2000/svg" width="18" height="12" viewBox="0 0 24 16"><path d="M15 6 1 6 8 13z" fill="#222"/></svg> */
|
|
53
|
+
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDI0IDE2Ij48cGF0aCBkPSJNMTUgNiAxIDYgOCAxM3oiIGZpbGw9IiMyMjIiLz48L3N2Zz4=);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/* white unsorted icon */
|
|
57
|
+
.tablesorter-materialize-dark thead .tablesorter-headerUnSorted {
|
|
58
|
+
/* <svg xmlns="http://www.w3.org/2000/svg" width="18" height="12" viewBox="0 0 24 16"><path d="M15 8 1 8 8 0zM15 9 1 9 8 16z" fill="#fff"/></svg> */
|
|
59
|
+
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDI0IDE2Ij48cGF0aCBkPSJNMTUgOCAxIDggOCAwek0xNSA5IDEgOSA4IDE2eiIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg==);
|
|
60
|
+
}
|
|
61
|
+
/* white asc icon */
|
|
62
|
+
.tablesorter-materialize-dark thead .tablesorter-headerAsc {
|
|
63
|
+
/* <svg xmlns="http://www.w3.org/2000/svg" width="18" height="12" viewBox="0 0 24 16"><path d="M15 11 1 11 8 3z" fill="#fff"/></svg> */
|
|
64
|
+
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDI0IDE2Ij48cGF0aCBkPSJNMTUgMTEgMSAxMSA4IDN6IiBmaWxsPSIjZmZmIi8+PC9zdmc+);
|
|
65
|
+
}
|
|
66
|
+
/* white desc icon */
|
|
67
|
+
.tablesorter-materialize-dark thead .tablesorter-headerDesc {
|
|
68
|
+
/* <svg xmlns="http://www.w3.org/2000/svg" width="18" height="12" viewBox="0 0 24 16"><path d="M15 6 1 6 8 13z" fill="#fff"/></svg> */
|
|
69
|
+
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDI0IDE2Ij48cGF0aCBkPSJNMTUgNiAxIDYgOCAxM3oiIGZpbGw9IiNmZmYiLz48L3N2Zz4=);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/* since materialize (table-striped) uses nth-child(), we just use this to add a zebra stripe color */
|
|
73
|
+
.tablesorter-materialize > tbody > tr.odd > td,
|
|
74
|
+
.tablesorter-materialize > tbody > tr.tablesorter-hasChildRow.odd:hover ~ tr.tablesorter-hasChildRow.odd ~ .tablesorter-childRow.odd > td {
|
|
75
|
+
background-color: #f9f9f9;
|
|
76
|
+
}
|
|
77
|
+
.tablesorter-materialize > tbody > tr.hover > td,
|
|
78
|
+
.tablesorter-materialize > tbody > tr.odd:hover > td,
|
|
79
|
+
.tablesorter-materialize > tbody > tr.even:hover > td,
|
|
80
|
+
.tablesorter-materialize > tbody > tr.tablesorter-hasChildRow.odd:hover ~ .tablesorter-childRow.odd > td,
|
|
81
|
+
.tablesorter-materialize > tbody > tr.tablesorter-hasChildRow.even:hover ~ .tablesorter-childRow.even > td {
|
|
82
|
+
background-color: #f5f5f5;
|
|
83
|
+
}
|
|
84
|
+
.tablesorter-materialize > tbody > tr.even > td,
|
|
85
|
+
.tablesorter-materialize > tbody > tr.tablesorter-hasChildRow.even:hover ~ tr.tablesorter-hasChildRow.even ~ .tablesorter-childRow.even > td {
|
|
86
|
+
background-color: #fff;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/* processing icon */
|
|
90
|
+
.tablesorter-materialize .tablesorter-processing {
|
|
91
|
+
background-image: url('data:image/gif;base64,R0lGODlhFAAUAKEAAO7u7lpaWgAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQBCgACACwAAAAAFAAUAAACQZRvoIDtu1wLQUAlqKTVxqwhXIiBnDg6Y4eyx4lKW5XK7wrLeK3vbq8J2W4T4e1nMhpWrZCTt3xKZ8kgsggdJmUFACH5BAEKAAIALAcAAAALAAcAAAIUVB6ii7jajgCAuUmtovxtXnmdUAAAIfkEAQoAAgAsDQACAAcACwAAAhRUIpmHy/3gUVQAQO9NetuugCFWAAAh+QQBCgACACwNAAcABwALAAACE5QVcZjKbVo6ck2AF95m5/6BSwEAIfkEAQoAAgAsBwANAAsABwAAAhOUH3kr6QaAcSrGWe1VQl+mMUIBACH5BAEKAAIALAIADQALAAcAAAIUlICmh7ncTAgqijkruDiv7n2YUAAAIfkEAQoAAgAsAAAHAAcACwAAAhQUIGmHyedehIoqFXLKfPOAaZdWAAAh+QQFCgACACwAAAIABwALAAACFJQFcJiXb15zLYRl7cla8OtlGGgUADs=');
|
|
92
|
+
background-position: center center !important;
|
|
93
|
+
background-repeat: no-repeat !important;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/* caption */
|
|
97
|
+
.tablesorter-materialize > .caption {
|
|
98
|
+
background-color: #fff;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/* filter widget */
|
|
102
|
+
.tablesorter-materialize .tablesorter-filter-row input.tablesorter-filter,
|
|
103
|
+
.tablesorter-materialize .tablesorter-filter-row select.tablesorter-filter {
|
|
104
|
+
width: 98%;
|
|
105
|
+
margin: 0;
|
|
106
|
+
padding: 4px 6px;
|
|
107
|
+
color: #333;
|
|
108
|
+
-webkit-box-sizing: border-box;
|
|
109
|
+
-moz-box-sizing: border-box;
|
|
110
|
+
box-sizing: border-box;
|
|
111
|
+
-webkit-transition: height 0.1s ease;
|
|
112
|
+
-moz-transition: height 0.1s ease;
|
|
113
|
+
-o-transition: height 0.1s ease;
|
|
114
|
+
transition: height 0.1s ease;
|
|
115
|
+
}
|
|
116
|
+
.tablesorter-materialize .tablesorter-filter-row .tablesorter-filter.disabled {
|
|
117
|
+
background-color: #eee;
|
|
118
|
+
color: #555;
|
|
119
|
+
cursor: not-allowed;
|
|
120
|
+
border: 1px solid #ccc;
|
|
121
|
+
border-radius: 4px;
|
|
122
|
+
box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset;
|
|
123
|
+
box-sizing: border-box;
|
|
124
|
+
transition: height 0.1s ease;
|
|
125
|
+
}
|
|
126
|
+
.tablesorter-materialize .tablesorter-filter-row {
|
|
127
|
+
background-color: #efefef;
|
|
128
|
+
}
|
|
129
|
+
.tablesorter-materialize .tablesorter-filter-row td {
|
|
130
|
+
background-color: #efefef;
|
|
131
|
+
line-height: normal;
|
|
132
|
+
text-align: center;
|
|
133
|
+
padding: 4px 6px;
|
|
134
|
+
vertical-align: middle;
|
|
135
|
+
-webkit-transition: line-height 0.1s ease;
|
|
136
|
+
-moz-transition: line-height 0.1s ease;
|
|
137
|
+
-o-transition: line-height 0.1s ease;
|
|
138
|
+
transition: line-height 0.1s ease;
|
|
139
|
+
}
|
|
140
|
+
/* hidden filter row */
|
|
141
|
+
.tablesorter-materialize .tablesorter-filter-row.hideme td {
|
|
142
|
+
padding: 2px; /* change this to modify the thickness of the closed border row */
|
|
143
|
+
margin: 0;
|
|
144
|
+
line-height: 0;
|
|
145
|
+
}
|
|
146
|
+
.tablesorter-materialize .tablesorter-filter-row.hideme * {
|
|
147
|
+
height: 1px;
|
|
148
|
+
min-height: 0;
|
|
149
|
+
border: 0;
|
|
150
|
+
padding: 0;
|
|
151
|
+
margin: 0;
|
|
152
|
+
/* don't use visibility: hidden because it disables tabbing */
|
|
153
|
+
opacity: 0;
|
|
154
|
+
filter: alpha(opacity=0);
|
|
155
|
+
}
|
|
156
|
+
/* rows hidden by filtering (needed for child rows) */
|
|
157
|
+
.tablesorter .filtered {
|
|
158
|
+
display: none;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
/* pager plugin */
|
|
162
|
+
.tablesorter-materialize .tablesorter-pager select {
|
|
163
|
+
padding: 4px 6px;
|
|
164
|
+
display: inline-block;
|
|
165
|
+
width: auto;
|
|
166
|
+
}
|
|
167
|
+
.tablesorter-materialize .tablesorter-pager .pagedisplay {
|
|
168
|
+
border: 0;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/* ajax error row */
|
|
172
|
+
.tablesorter .tablesorter-errorRow td {
|
|
173
|
+
text-align: center;
|
|
174
|
+
cursor: pointer;
|
|
175
|
+
background-color: #e6bf99;
|
|
176
|
+
}
|