|
20 | 20 | <div class="cell-5"> |
21 | 21 | <b>{{ trans('cruds.imports.title') }}</b> |
22 | 22 | / |
23 | | - <a href="/export/alices" target="_blank">Current security Measures</a> |
| 23 | + <a href="/export/alices" target="_blank">{{ trans('cruds.imports.current') }}</a> |
24 | 24 | </div> |
25 | 25 | </div> |
26 | 26 |
|
|
43 | 43 | </div> |
44 | 44 | <div class="row"> |
45 | 45 | <div class="cell-5"> |
46 | | - or |
| 46 | + {{ trans('cruds.imports.or') }} |
47 | 47 | <input name="file" type="file" id="file" data-role="file" data-prepend="Select import file:"> |
48 | 48 | </div> |
49 | 49 | </div> |
50 | 50 | <div class="row"> |
51 | 51 | <div class="cell-4"> |
52 | 52 | <input type="checkbox" name="clean" id="clean"> |
53 | | - Remove all other measures and controls |
| 53 | + {{ trans('cruds.imports.remove_all') }} |
54 | 54 | </div> |
55 | 55 | </div> |
56 | 56 | <div class="row"> |
57 | 57 | <div class="cell-4"> |
58 | 58 | <input type="checkbox" name="test"> |
59 | | - Generate fake measurements |
| 59 | + {{ trans('cruds.imports.fake') }} |
60 | 60 | </div> |
61 | 61 | <div class="cell-1" align="right"> |
62 | 62 | <button type="submit" class="button success drop-shadow" |
|
65 | 65 | </button> |
66 | 66 | </div> |
67 | 67 | </div> |
68 | | - |
69 | 68 | </form> |
70 | 69 |
|
71 | | - |
72 | 70 | <div class="row"> |
73 | 71 | <div class="cell-5"> |
74 | | - The import format is an XLSX document with these columns : |
| 72 | + {{ trans('cruds.imports.format') }} |
75 | 73 | </div> |
76 | 74 | </div> |
77 | | - <div class="row"> |
78 | | - <div class="cell-6"> |
79 | | - |
80 | | - <table class="table subcompact"> |
81 | | - <thead> |
82 | | - <tr> |
83 | | - <td>Column</td><td>Name</td><td>Type</td><td>Description</td> |
84 | | - </tr> |
85 | | - </thead> |
86 | | - <tbody> |
87 | | - <tr> |
88 | | - <td>A</td><td>Framework</td><td>string(32)</td> |
89 | | - <td> |
90 | | - The security framework used. |
91 | | - </td> |
92 | | - </tr> |
93 | | - <tr> |
94 | | - <td>B</td><td>Domain name</td><td>string(32)</td> |
95 | | - <td> |
96 | | - The domain name, it is created if it does not exist. |
97 | | - </td> |
98 | | - </tr> |
99 | | - <tr> |
100 | | - <td>C</td><td>Domain description</td><td>string(255)</td> |
101 | | - <td> |
102 | | - The description of the domain. |
103 | | - </td> |
104 | | - </tr> |
105 | | - <tr> |
106 | | - <td>D</td><td>Clause</td><td>string(32)</td> |
107 | | - <td> |
108 | | - If the clause exists the security measure is updated,<br> |
109 | | - if the clause does not exist, a new security measure is created,<br> |
110 | | - if all other fields of the line are empty, the measure, related controls and documents are removed. |
111 | | - </td> |
112 | | - </tr> |
113 | | - <tr> |
114 | | - <td>E</td><td>Name</td><td>string(255)</td><td>The name of the security measure</td> |
115 | | - </tr> |
116 | | - <tr> |
117 | | - <td>F</td><td>Description</td><td>text</td><td>The description of the security measure</td> |
118 | | - </tr> |
119 | | - <tr> |
120 | | - <td>G</td><td>Attributes</td><td>text</td><td>List of tags (#... #... #...)</td> |
121 | | - </tr> |
122 | | - <tr> |
123 | | - <td>H</td><td>Input</td><td>text</td><td>The input elements</td> |
124 | | - </tr> |
125 | | - <tr> |
126 | | - <td>I</td><td>Model</td><td>text</td><td>The computation model</td> |
127 | | - </tr> |
128 | | - <tr> |
129 | | - <td>J</td><td>Indicator</td><td>text</td><td>The indicator (Green, Orange, Red)</td> |
130 | | - </tr> |
131 | | - <tr> |
132 | | - <td>K</td><td>Action plan</td><td>text</td><td>The proposed action plan</td> |
133 | | - </tr> |
134 | | - </tbody> |
135 | | - </table> |
136 | 75 |
|
137 | | - </div> |
138 | | - </div> |
| 76 | + <div class="row"> |
| 77 | + <div class="cell-md-6"> |
| 78 | + <table class="table striped border subcompact"> |
| 79 | + <thead> |
| 80 | + <tr> |
| 81 | + <th>Column</th> |
| 82 | + <th>Name</th> |
| 83 | + <th>Type</th> |
| 84 | + <th>Description</th> |
| 85 | + </tr> |
| 86 | + </thead> |
| 87 | + <tbody> |
| 88 | + <tr> |
| 89 | + <td>A</td><td>{{ trans('cruds.imports.framework') }}</td><td>string(32)</td> |
| 90 | + <td>{{ trans('cruds.imports.framework_helper') }}</td> |
| 91 | + </tr> |
| 92 | + <tr> |
| 93 | + <td>B</td><td>{{ trans('cruds.imports.domain') }}</td><td>string(32)</td> |
| 94 | + <td>{{ trans('cruds.imports.domain_helper') }}</td> |
| 95 | + </tr> |
| 96 | + <tr> |
| 97 | + <td>C</td><td>{{ trans('cruds.imports.domain_description') }}</td><td>string(255)</td> |
| 98 | + <td>{{ trans('cruds.imports.domain_description_helper') }}</td> |
| 99 | + </tr> |
| 100 | + <tr> |
| 101 | + <td>D</td><td>{{ trans('cruds.imports.clause') }}</td><td>string(32)</td> |
| 102 | + <td> |
| 103 | + {!! trans('cruds.imports.clause_helper') !!} |
| 104 | + </td> |
| 105 | + </tr> |
| 106 | + <tr> |
| 107 | + <td>E</td><td>{{ trans('cruds.imports.name') }}</td><td>string(255)</td> |
| 108 | + <td>{{ trans('cruds.imports.name_helper') }}</td> |
| 109 | + </tr> |
| 110 | + <tr> |
| 111 | + <td>F</td><td>{{ trans('cruds.imports.description') }}</td><td>text</td> |
| 112 | + <td>{{ trans('cruds.imports.description_helper') }}</td> |
| 113 | + </tr> |
| 114 | + <tr> |
| 115 | + <td>G</td><td>{{ trans('cruds.imports.attributes') }}</td><td>text</td> |
| 116 | + <td>{{ trans('cruds.imports.attributes_helper') }}</td> |
| 117 | + </tr> |
| 118 | + <tr> |
| 119 | + <td>H</td><td>{{ trans('cruds.imports.input') }}</td><td>text</td> |
| 120 | + <td>{{ trans('cruds.imports.input_helper') }}</td> |
| 121 | + </tr> |
| 122 | + <tr> |
| 123 | + <td>I</td><td>Model</td><td>text</td> |
| 124 | + <td>{{ trans('cruds.imports.model_helper') }}</td> |
| 125 | + </tr> |
| 126 | + <tr> |
| 127 | + <td>J</td><td>{{ trans('cruds.imports.indicator') }}</td><td>text</td> |
| 128 | + <td>{{ trans('cruds.imports.indicator_helper') }}</td> |
| 129 | + </tr> |
| 130 | + <tr> |
| 131 | + <td>K</td><td>{{ trans('cruds.imports.action') }}</td><td>text</td> |
| 132 | + <td>{{ trans('cruds.imports.action_helper') }}</td> |
| 133 | + </tr> |
| 134 | + </tbody> |
| 135 | + </table> |
| 136 | + </div> |
| 137 | + </div> |
139 | 138 |
|
140 | 139 | <div class="row"> |
141 | 140 | <div class="cell-6 fg-red"> |
142 | | - This action could not be undone, take a backup before ! |
| 141 | + {{ trans('cruds.imports.warning') }} |
143 | 142 | </div> |
144 | 143 | </div> |
145 | 144 |
|
|
0 commit comments