|
1 | 1 | {% extends "generator/index.html" %} |
2 | | -{% from "generator/_macros.html" import info, number_field, check_field %} |
| 2 | +{% from "generator/_macros.html" import info, number_field %} |
3 | 3 |
|
4 | 4 | {% block title %}Generate random feature models{% endblock %} |
5 | 5 |
|
6 | 6 | {% block wizard_content %} |
| 7 | +<div class="notice d-flex bg-light-primary rounded border-primary border border-dashed p-5 mb-8"> |
| 8 | + <i class="ki-duotone ki-information fs-2x text-primary me-4 mt-1"><span class="path1"></span><span class="path2"></span><span class="path3"></span></i> |
| 9 | + <div class="fs-7 text-gray-700 fw-semibold"> |
| 10 | + This first step is just the basics of the batch — how many models to produce, a seed for reproducibility, and a name prefix for the output files. Advanced options (language levels, tree shape, constraints, attributes, ensure-satisfiable, filename suffixes) come in later steps. |
| 11 | + </div> |
| 12 | +</div> |
| 13 | + |
7 | 14 | <div class="row g-8"> |
8 | 15 | <div class="col-xl-8"> |
9 | 16 |
|
|
18 | 25 | <div class="mb-7"> |
19 | 26 | <label for="name_prefix" class="form-label d-flex align-items-center"> |
20 | 27 | Name prefix |
21 | | - {{ info("Prefix used when naming the generated UVL files (e.g. 'fm' produces fm_0.uvl, fm_1.uvl…).") }} |
| 28 | + {{ info("Prefix used when naming the generated UVL files (e.g. 'fm' produces fm0.uvl, fm1.uvl…).") }} |
22 | 29 | </label> |
23 | 30 | <input type="text" id="name_prefix" name="name_prefix" |
24 | 31 | placeholder="fm" |
25 | 32 | value="{{ values.get('name_prefix', '') }}" |
26 | 33 | class="form-control form-control-solid"> |
27 | 34 | </div> |
28 | 35 |
|
29 | | - <div class="separator separator-dashed my-7"></div> |
30 | | - |
31 | | - <div class="d-flex flex-column gap-4"> |
32 | | - {{ check_field('ensure_satisfiable', 'Ensure satisfiable', |
33 | | - 'If on, the generator rejects unsatisfiable models and keeps sampling until it gets a valid one.', |
34 | | - values) }} |
35 | | - {{ check_field('feature_count_suffix', 'Append feature count to filename', |
36 | | - "Adds '_Nf' to each filename, where N is the number of features of that model.", |
37 | | - values) }} |
38 | | - {{ check_field('constraint_count_suffix', 'Append constraint count to filename', |
39 | | - "Adds '_Nc' to each filename, where N is the number of cross-tree constraints of that model.", |
40 | | - values) }} |
41 | | - </div> |
42 | | - |
43 | 36 | {% if errors.get('global') %} |
44 | 37 | <div class="alert alert-danger mt-7">{{ errors['global'] }}</div> |
45 | 38 | {% endif %} |
|
0 commit comments