Proyectos de Subversion Moodle

Rev

| 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">
30
                    <h5 class="sr-only modal-title">{{#str}} moodlenet:sharetomoodlenet, moodle {{/str}}</h5>
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>
36
                <button type="button" class="close" data-action="hide" aria-label="{{#cleanstr}}closebuttontitle{{/cleanstr}}">
37
                    <span aria-hidden="true">&times;</span>
38
                </button>
39
            </div>
40
            <div class="modal-body" data-region="body">
41
                <div class="moodlenet-share-modal-content">
42
                    <div class="moodlenet-share-activity-info">
43
                        <span class="moodlenet-activity-type text-uppercase">{{activitytype}}</span>
44
                        <span class="moodlenet-activity-name">{{activityname}}</span>
45
                    </div>
46
                    <hr class="moodlenet-share-activity-info-hr">
47
                    <div class="moodlenet-share-notice">
48
                        {{sharenotice}}
49
                    </div>
50
                    {{^fullsharing}}
51
                        <div class="moodlenet-share-total-activities font-weight-bold pl-2 ml-3">
52
                            {{selectedactivitiesnotice}}
53
                        </div>
54
                    {{/fullsharing}}
55
                </div>
56
            </div>
57
            <div class="modal-footer" data-region="footer">
58
                {{> core/moodlenet/send_activity_modal_footer_share }}
59
            </div>
60
        </div>
61
    </div>
62
</div>