Proyectos de Subversion Moodle

Rev

Rev 1 | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
{{!
2
    This file is part of Moodle - http://moodle.org/
3
    Moodle is free software: you can redistribute it and/or modify
4
    it under the terms of the GNU General Public License as published by
5
    the Free Software Foundation, either version 3 of the License, or
6
    (at your option) any later version.
7
    Moodle is distributed in the hope that it will be useful,
8
    but WITHOUT ANY WARRANTY; without even the implied warranty of
9
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10
    GNU General Public License for more details.
11
    You should have received a copy of the GNU General Public License
12
    along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
13
}}
14
{{!
15
    @template core/moodlenet/send_activity_modal_base
16
    Modal to send activity to MoodleNet
17
    Example context (json):
18
    {
19
        "uniqid": 123456,
20
        "activitytype": "assignment",
21
        "activityname": "Test assignment",
22
        "sharetype": "resource"
23
    }
24
}}
25
<div class="modal moodle-has-zindex" data-region="modal-container" aria-hidden="true" role="dialog">
26
    <div class="modal-dialog moodlenet-share-dialog" role="document" data-region="modal" aria-labelledby="{{uniqid}}-moodlenet-modal-title" tabindex="0">
27
        <div class="modal-content">
28
            <div class="modal-header no-border" data-region="header">
29
                <div id="{{uniqid}}-moodlenet-modal-title" class="modal-title" data-region="title">
1441 ariadna 30
                    <h5 class="visually-hidden modal-title">{{#str}} moodlenet:sharetomoodlenet, moodle {{/str}}</h5>
1 efrain 31
                    <div class="d-flex moodlenet-share-moodlenetinfo">
32
                        <span class="moodlenet-logo">{{#pix}} moodlenet, moodle, {{#str}} moodlenet:sharetomoodlenet, moodle {{/str}} {{/pix}}</span>
33
                        <span class="moodlenet-title">{{#str}} moodlenet:sharetomoodlenet, moodle {{/str}}</span>
34
                    </div>
35
                </div>
1441 ariadna 36
                <button type="button" class="btn-close" data-action="hide" aria-label="{{#cleanstr}}closebuttontitle{{/cleanstr}}"></button>
1 efrain 37
            </div>
38
            <div class="modal-body" data-region="body">
39
                <div class="moodlenet-share-modal-content">
40
                    <div class="moodlenet-share-activity-info">
41
                        <span class="moodlenet-activity-type text-uppercase">{{activitytype}}</span>
42
                        <span class="moodlenet-activity-name">{{activityname}}</span>
43
                    </div>
44
                    <hr class="moodlenet-share-activity-info-hr">
45
                    <div class="moodlenet-share-notice">
46
                        {{sharenotice}}
47
                    </div>
48
                    {{^fullsharing}}
1441 ariadna 49
                        <div class="moodlenet-share-total-activities fw-bold ps-2 ms-3">
1 efrain 50
                            {{selectedactivitiesnotice}}
51
                        </div>
52
                    {{/fullsharing}}
53
                </div>
54
            </div>
55
            <div class="modal-footer" data-region="footer">
56
                {{> core/moodlenet/send_activity_modal_footer_share }}
57
            </div>
58
        </div>
59
    </div>
60
</div>