Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 25... Línea 25...
25
        "generalerror": "Error message",
25
        "generalerror": "Error message",
26
        "haslines": true,
26
        "haslines": true,
27
        "scenarios": [
27
        "scenarios": [
28
            {
28
            {
29
                "type": "Scenario",
29
                "type": "Scenario",
30
                "title": "Scenario title",
30
                "name": "Scenario title",
31
                "hassteps": true,
31
                "hassteps": true,
32
                "steps": [
32
                "steps": [
33
                    {
33
                    {
34
                        "text": "Step text",
34
                        "text": "Step text",
35
                        "isvalid": true,
35
                        "isvalid": true,
Línea 51... Línea 51...
51
{{/isvalid}}
51
{{/isvalid}}
52
{{#haslines}}
52
{{#haslines}}
53
    <p>{{#str}} testscenario_steps, tool_generator {{/str}}</p>
53
    <p>{{#str}} testscenario_steps, tool_generator {{/str}}</p>
54
{{/haslines}}
54
{{/haslines}}
55
{{#scenarios}}
55
{{#scenarios}}
56
<h3>{{type}}: {{name}}</h3>
56
<h3>{{type}}{{#name}}: {{name}} {{/name}}</h3>
57
<div>
57
<div>
58
    {{#scenarioerror}}
58
    {{#scenarioerror}}
59
    <div class="alert alert-danger mb-3" role="alert">
59
    <div class="alert alert-danger mb-3" role="alert">
60
        <span class="fa fa-times"></span>
60
        <span class="fa fa-times"></span>
61
        {{scenarioerror}}
61
        {{scenarioerror}}
Línea 72... Línea 72...
72
        {{#steps}}
72
        {{#steps}}
73
        <li class="list-group-item">
73
        <li class="list-group-item">
74
            <div>
74
            <div>
75
                {{text}}
75
                {{text}}
76
                {{^isvalid}}
76
                {{^isvalid}}
77
                <span class="badge badge-pill badge-danger">
77
                <span class="badge rounded-pill text-bg-danger">
78
                    <span class="fa fa-times"></span>
78
                    <span class="fa fa-times"></span>
79
                    {{#str}} error {{/str}}
79
                    {{#str}} error {{/str}}
80
                </span>
80
                </span>
81
                {{/isvalid}}
81
                {{/isvalid}}
82
                {{#isvalid}}
82
                {{#isvalid}}
83
                    {{#isexecuted}}
83
                    {{#isexecuted}}
84
                    <span class="badge badge-pill badge-success">
84
                    <span class="badge rounded-pill text-bg-success">
85
                        <span class="fa fa-check "></span>
85
                        <span class="fa fa-check "></span>
86
                        {{#str}} success {{/str}}
86
                        {{#str}} success {{/str}}
87
                    </span>
87
                    </span>
88
                    {{/isexecuted}}
88
                    {{/isexecuted}}
89
                {{/isvalid}}
89
                {{/isvalid}}