|
10 | 10 |
|
11 | 11 | <tr>
|
12 | 12 | <td style="padding:4px 40px 4px {{ depth * 16 }}px;border-top: 1px solid #f1f5f8;">
|
13 |
| - <span class="icon" data-icon="{{ depth == 0 ? 'database' : 'categories' }}"></span> |
| 13 | + <span class="icon" data-icon="{{ depth == 0 ? 'database' : 'folder' }}"></span> |
14 | 14 | {{ folder }}
|
15 | 15 | </td>
|
16 | 16 | <td style="padding:4px 20px 4px 0;border-top: 1px solid #f1f5f8;">
|
17 |
| - <input type="number" name="folderOptions[{{ folder.id }}][maxUploadSize]" value="{{ options.maxUploadSize|default('') }}" style="text-align:right;width:75px;" /> |
| 17 | + <input type="number" name="folderOptions[{{ folder.id }}][maxUploadSize]" value="{{ options.maxUploadSize|default('') }}" class="chupInput table" /> |
18 | 18 | MB
|
19 | 19 | </td>
|
20 | 20 | <td style="padding:4px 20px 4px 0;border-top: 1px solid #f1f5f8;">
|
21 |
| - <input type="number" name="folderOptions[{{ folder.id }}][maxImageWidth]" value="{{ options.maxImageWidth|default('') }}" style="text-align:right;width:75px;" /> |
| 21 | + <input type="number" name="folderOptions[{{ folder.id }}][maxImageWidth]" value="{{ options.maxImageWidth|default('') }}" class="chupInput table" /> |
22 | 22 | Pixel
|
23 | 23 | </td>
|
24 | 24 | <td style="padding:4px 20px 4px 0;border-top: 1px solid #f1f5f8;">
|
25 |
| - <input type="number" name="folderOptions[{{ folder.id }}][maxImageHeight]" value="{{ options.maxImageHeight|default('') }}" style="text-align:right;width:75px;" /> |
| 25 | + <input type="number" name="folderOptions[{{ folder.id }}][maxImageHeight]" value="{{ options.maxImageHeight|default('') }}" class="chupInput table" /> |
26 | 26 | Pixel
|
27 | 27 | </td>
|
28 | 28 | </tr>
|
|
34 | 34 | {% if depth == 0 %}
|
35 | 35 | <tr>
|
36 | 36 | <td style="padding:4px 40px 4px 16px;border-top: 1px solid #f1f5f8;">
|
37 |
| - <span class="icon" data-icon="categories"></span> |
38 |
| - <input name="folderOptions[{{ folder.id }}][create][path]"> |
| 37 | + <span class="icon" data-icon="folder"></span> |
| 38 | + <input name="folderOptions[{{ folder.id }}][create][path]" class="chupInput"> |
39 | 39 | </td>
|
40 | 40 | <td style="padding:4px 20px 4px 0;border-top: 1px solid #f1f5f8;">
|
41 |
| - <input type="number" name="folderOptions[{{ folder.id }}][create][maxUploadSize]" style="text-align:right;width:75px;" /> |
| 41 | + <input type="number" name="folderOptions[{{ folder.id }}][create][maxUploadSize]" class="chupInput table" /> |
42 | 42 | MB
|
43 | 43 | </td>
|
44 | 44 | <td style="padding:4px 20px 4px 0;border-top: 1px solid #f1f5f8;">
|
45 |
| - <input type="number" name="folderOptions[{{ folder.id }}][create][maxImageWidth]" style="text-align:right;width:75px;" /> |
| 45 | + <input type="number" name="folderOptions[{{ folder.id }}][create][maxImageWidth]" class="chupInput table" /> |
46 | 46 | Pixel
|
47 | 47 | </td>
|
48 | 48 | <td style="padding:4px 20px 4px 0;border-top: 1px solid #f1f5f8;">
|
49 |
| - <input type="number" name="folderOptions[{{ folder.id }}][create][maxImageHeight]" style="text-align:right;width:75px;" /> |
| 49 | + <input type="number" name="folderOptions[{{ folder.id }}][create][maxImageHeight]" class="chupInput table" /> |
50 | 50 | Pixel
|
51 | 51 | </td>
|
52 | 52 | </tr>
|
53 | 53 | {% endif %}
|
54 | 54 | {% endfor %}
|
55 | 55 | {% endmacro %}
|
56 | 56 |
|
| 57 | +<style> |
| 58 | + .chupInput { |
| 59 | + border: 1px solid rgba(96,125,159,.25); |
| 60 | + } |
| 61 | +
|
| 62 | + .chupInput.table { |
| 63 | + width: 75px; |
| 64 | + text-align: right; |
| 65 | + } |
| 66 | +</style> |
| 67 | + |
57 | 68 | <h3>Global settings</h3>
|
58 | 69 | {{ forms.textField({
|
59 | 70 | errors: settings.getErrors('maxUploadSize'),
|
|
0 commit comments