Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 13... Línea 13...
13
 
13
 
14
    You should have received a copy of the GNU General Public License
14
    You should have received a copy of the GNU General Public License
15
    along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
15
    along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
16
}}
16
}}
-
 
17
{{!
-
 
18
    @template theme_universe/secure
17
{{!
19
 
18
    Context variables required for this template:
20
    Context variables required for this template:
19
    * sitename - The name of the site
21
    * sitename - The name of the site
20
    * output - The core renderer for the page
22
    * output - The core renderer for the page
21
    * bodyattributes - attributes for the body tag as a string of html attributes
23
    * bodyattributes - attributes for the body tag as a string of html attributes
Línea 43... Línea 45...
43
    }
45
    }
44
}}
46
}}
45
{{> theme_universe/head }}
47
{{> theme_universe/head }}
Línea 46... Línea 48...
46
 
48
 
47
<body {{{ bodyattributes }}}>
49
<body {{{ bodyattributes }}}>
48
{{> core/local/toast/wrapper}}
-
 
49
 
-
 
Línea 50... Línea 50...
50
<div id="page-wrapper" class="d-print-block wrapper-md">
50
    {{> core/local/toast/wrapper}}
Línea -... Línea 51...
-
 
51
 
-
 
52
    <div id="page-wrapper" class="d-print-block">
-
 
53
 
-
 
54
        {{{ output.standard_top_of_body_html }}}
-
 
55
        {{#hasblocks}}
-
 
56
            {{< theme_universe/drawer }}
-
 
57
                {{$id}}space-drawers-blocks{{/id}}
-
 
58
                {{$drawerclasses}}rui-right-drawer rui-blocks-column rui-blocks-area drawer drawer-right {{#blockdraweropen}} show{{/blockdraweropen}}{{/drawerclasses}}
-
 
59
                {{$drawercontent}}
-
 
60
                    <section class="d-print-none" aria-label="{{#str}}blocks{{/str}}">
-
 
61
                        {{{ addblockbutton }}}
-
 
62
                        {{{ sidepreblocks }}}
-
 
63
                    </section>
-
 
64
                {{/drawercontent}}
-
 
65
                {{$drawerpreferencename}}drawer-open-block{{/drawerpreferencename}}
-
 
66
                {{$forceopen}}{{#forceblockdraweropen}}1{{/forceblockdraweropen}}{{/forceopen}}
-
 
67
                {{$drawerstate}}show-drawer-right{{/drawerstate}}
-
 
68
                {{$tooltipplacement}}left{{/tooltipplacement}}
-
 
69
                {{$drawercloseonresize}}1{{/drawercloseonresize}}
-
 
70
                {{$closebuttontext}}{{#str}}closeblockdrawer, core{{/str}}{{/closebuttontext}}
-
 
71
            {{/ theme_universe/drawer}}
-
 
72
        {{/hasblocks}}
-
 
73
 
-
 
74
 
-
 
75
        <div id="page" data-region="mainpage" data-usertour="scroller" class="drawers {{#blockdraweropen}}show-hidden-drawer{{/blockdraweropen}} {{#blockdraweropen}}show-drawer-right{{/blockdraweropen}} drag-container">
-
 
76
            <div id="topofscroll" class="main-inner">
-
 
77
 
-
 
78
                <div class="drawer-toggles d-flex">
-
 
79
                    {{#hasblocks}}
-
 
80
                        <div id="sidepreopen-control" class="drawer-toggler drawer-right-toggle ml-auto d-print-none">
-
 
81
                            <button
-
 
82
                                class="btn border-0 icon-no-margin drawertoggle btn-close-drawer--right"
-
 
83
                                data-toggler="drawers"
-
 
84
                                data-action="toggle"
-
 
85
                                data-target="space-drawers-blocks"
-
 
86
                                data-bs-toggle="tooltip"
-
 
87
                                data-bs-placement="right"
-
 
88
                                title="{{#str}}opendrawerblocks, core{{/str}}"
-
 
89
                            >
-
 
90
                                <span class="sr-only">{{#str}}opendrawerblocks, core{{/str}}</span>
-
 
91
                                <span class="dir-rtl-hide">
-
 
92
                                    <svg width="20" height="20" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;">
-
 
93
                                        <g transform="matrix(1,0,0,1,-2,0)">
-
 
94
                                            <path d="M18.333,15L18.333,5C18.333,3.629 17.205,2.5 15.833,2.5L14.167,2.5C12.795,2.5 11.667,3.629 11.667,5L11.667,15C11.667,16.371 12.795,17.5 14.167,17.5L15.833,17.5C17.205,17.5 18.333,16.371 18.333,15Z" style="fill:none;fill-rule:nonzero;stroke:currentColor;stroke-width:1.67px;" />
-
 
95
                                        </g>
-
 
96
                                        <g transform="matrix(1,0,0,1,-2,0)">
-
 
97
                                            <path d="M11.667,10L5,10M5,10L7.5,7.5M5,10L7.5,12.5" style="fill:none;fill-rule:nonzero;stroke:currentColor;stroke-width:1.25px;stroke-linecap:round;stroke-linejoin:round;" />
-
 
98
                                        </g>
51
 
99
                                    </svg>
-
 
100
                                </span>
-
 
101
                                <span class="dir-ltr-hide">
-
 
102
                                    <svg width="20" height="20" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;">
-
 
103
                                        <g transform="matrix(1,0,0,1,-2,0)">
-
 
104
                                            <path d="M18.333,15L18.333,5C18.333,3.629 17.205,2.5 15.833,2.5L14.167,2.5C12.795,2.5 11.667,3.629 11.667,5L11.667,15C11.667,16.371 12.795,17.5 14.167,17.5L15.833,17.5C17.205,17.5 18.333,16.371 18.333,15Z" style="fill:none;fill-rule:nonzero;stroke:currentColor;stroke-width:1.67px;" />
-
 
105
                                        </g>
-
 
106
                                        <g transform="matrix(1,0,0,1,-2,0)">
-
 
107
                                            <path d="M11.667,10L5,10M5,10L7.5,7.5M5,10L7.5,12.5" style="fill:none;fill-rule:nonzero;stroke:currentColor;stroke-width:1.25px;stroke-linecap:round;stroke-linejoin:round;" />
-
 
108
                                        </g>
-
 
109
                                    </svg>                            
-
 
110
                                </span>
-
 
111
                            </button>
Línea 52... Línea 112...
52
    {{{ output.standard_top_of_body_html }}}
112
                        </div>
53
 
113
                    {{/hasblocks}}
-
 
114
                </div>
54
    <div id="page" data-region="mainpage" class="drawers {{#topbarcustomhtml}}topbar--ext{{/topbarcustomhtml}}">
115
 
-
 
116
                <div class="d-flex align-items-center pb-3 mb-3 border-bottom">
55
 
117
                    {{#topbarlogoareaon}}
56
        <div id="page-content" class="page-content wrapper-xl">
118
                        <div id="logo" class="d-inline-flex aabtn {{# output.should_display_navbar_logo }}has-logo{{/ output.should_display_navbar_logo }}">
-
 
119
                            {{#customlogo}}
-
 
120
                                <span class="rui-logo {{#customdmlogo}}dark-mode-logo{{/customdmlogo}}">
-
 
121
                                    <img src="{{customlogo}}" class="rui-custom-logo" alt="{{sitename}}" />
-
 
122
                                    {{#customdmlogo}}<img src="{{customdmlogo}}" class="rui-custom-dmlogo" alt="{{sitename}}" />{{/customdmlogo}}
57
            {{{coursepageinformationbanners}}}
123
                                </span>
58
            <div id="region-main-box">
124
                            {{/customlogo}}
59
                <section id="region-main" class="{{#hassidecourseblocks}}has-sidecourseblocks wrapper-has-blocks{{/hassidecourseblocks}}" aria-label="{{#str}}content{{/str}}">
125
 
60
                    <div {{#hassidecourseblocks}}class="blocks-wrapper d-inline-flex flex-wrap justify-content-between w-100"{{/hassidecourseblocks}}>
126
                            {{^customlogo}}
61
                        <div class="{{#hassidecourseblocks}}wrapper-blocks mx-0{{/hassidecourseblocks}}">
127
                                <span class="site-name">
62
                            {{#courseimagecontent}}<div class="rui-course-cover mb-4">{{{ output.course_hero }}}</div>{{/courseimagecontent}}
128
                                    {{^ customlogotxt }}{{{ sitename }}}{{/ customlogotxt }}
-
 
129
                                        {{{ customlogotxt }}}
-
 
130
                                </span>
-
 
131
                            {{/customlogo}}
-
 
132
                        </div>
-
 
133
                    {{/topbarlogoareaon}}
-
 
134
 
-
 
135
                    <div class="d-flex justify-content-end w-100">
-
 
136
                        <button id="darkModeBtn" class="btn--darkmode" type="button" data-preference="darkmode-on" {{^sdarkmode}}data-bs-toggle="tooltip" title="Dark Mode" {{/sdarkmode}}>
-
 
137
                            <span class="btn--darkmode-wrapper rui-dark-mode-status--on" data-bs-toggle="tooltip" data-title="{{{slightmode}}}" title="{{{slightmode}}}"><span class="sr-only">{{{slightmode}}}</span><svg width="16" height="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
-
 
138
                                    <path fill-rule="evenodd" clip-rule="evenodd" d="M12 16C14.2091 16 16 14.2091 16 12C16 9.79086 14.2091 8 12 8C9.79086 8 8 9.79086 8 12C8 14.2091 9.79086 16 12 16ZM12 18C15.3137 18 18 15.3137 18 12C18 8.68629 15.3137 6 12 6C8.68629 6 6 8.68629 6 12C6 15.3137 8.68629 18 12 18Z" fill="currentColor" />
-
 
139
                                    <path fill-rule="evenodd" clip-rule="evenodd" d="M11 0H13V4.06189C12.6724 4.02104 12.3387 4 12 4C11.6613 4 11.3276 4.02104 11 4.06189V0ZM7.0943 5.68018L4.22173 2.80761L2.80752 4.22183L5.6801 7.09441C6.09071 6.56618 6.56608 6.0908 7.0943 5.68018ZM4.06189 11H0V13H4.06189C4.02104 12.6724 4 12.3387 4 12C4 11.6613 4.02104 11.3276 4.06189 11ZM5.6801 16.9056L2.80751 19.7782L4.22173 21.1924L7.0943 18.3198C6.56608 17.9092 6.09071 17.4338 5.6801 16.9056ZM11 19.9381V24H13V19.9381C12.6724 19.979 12.3387 20 12 20C11.6613 20 11.3276 19.979 11 19.9381ZM16.9056 18.3199L19.7781 21.1924L21.1923 19.7782L18.3198 16.9057C17.9092 17.4339 17.4338 17.9093 16.9056 18.3199ZM19.9381 13H24V11H19.9381C19.979 11.3276 20 11.6613 20 12C20 12.3387 19.979 12.6724 19.9381 13ZM18.3198 7.0943L21.1923 4.22183L19.7781 2.80762L16.9056 5.6801C17.4338 6.09071 17.9092 6.56608 18.3198 7.0943Z" fill="currentColor" />
-
 
140
                                </svg></span>
-
 
141
                            <span class="btn--darkmode-wrapper rui-dark-mode-status--off" data-bs-toggle="tooltip" data-title="{{{sdarkmode}}}" title="{{{sdarkmode}}}"><span class="sr-only">{{{sdarkmode}}}</span><svg width="16" height="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
-
 
142
                                    <path fill-rule="evenodd" clip-rule="evenodd" d="M12.2256 2.00253C9.59172 1.94346 6.93894 2.9189 4.92893 4.92891C1.02369 8.83415 1.02369 15.1658 4.92893 19.071C8.83418 22.9763 15.1658 22.9763 19.0711 19.071C21.0811 17.061 22.0565 14.4082 21.9975 11.7743C21.9796 10.9772 21.8669 10.1818 21.6595 9.40643C21.0933 9.9488 20.5078 10.4276 19.9163 10.8425C18.5649 11.7906 17.1826 12.4053 15.9301 12.6837C14.0241 13.1072 12.7156 12.7156 12 12C11.2844 11.2844 10.8928 9.97588 11.3163 8.0699C11.5947 6.81738 12.2094 5.43511 13.1575 4.08368C13.5724 3.49221 14.0512 2.90664 14.5935 2.34046C13.8182 2.13305 13.0228 2.02041 12.2256 2.00253ZM17.6569 17.6568C18.9081 16.4056 19.6582 14.8431 19.9072 13.2186C16.3611 15.2643 12.638 15.4664 10.5858 13.4142C8.53361 11.362 8.73568 7.63895 10.7814 4.09281C9.1569 4.34184 7.59434 5.09193 6.34315 6.34313C3.21895 9.46732 3.21895 14.5326 6.34315 17.6568C9.46734 20.781 14.5327 20.781 17.6569 17.6568Z" fill="currentColor" />
-
 
143
                                </svg></span>
-
 
144
                        </button>
-
 
145
                    </div>
-
 
146
                </div>
-
 
147
 
-
 
148
                <div id="page-content" class="page-content wrapper-page">
-
 
149
 
-
 
150
                    {{{coursepageinformationbanners}}}
-
 
151
                    <div class="wrapper-header">
-
 
152
 
-
 
153
                        {{#customsidebarlogo}}
-
 
154
                            <div class="mt-md-5 mb-5 mx-md-2">
-
 
155
                                <img src="{{customsidebarlogo}}" alt="{{sitename}}" class="rui-custom-logo img-fluid" />
-
 
156
                                {{#customsidebardmlogo}}<img src="{{customsidebardmlogo}}" alt="{{sitename}}" class="rui-custom-dmlogo img-fluid" />{{/customsidebardmlogo}}
63
                            {{{ output.course_content_header }}}
157
                            </div>
64
                            {{{ output.main_content }}}
-
 
Línea -... Línea 158...
-
 
158
                        {{/customsidebarlogo}}
-
 
159
 
-
 
160
                        {{{ output.simple_header }}}
-
 
161
                    </div>
-
 
162
 
-
 
163
                    <section id="region-main" class="{{#hassidecourseblocks}}has-sidecourseblocks wrapper-has-blocks{{/hassidecourseblocks}}" aria-label="{{#str}}content{{/str}}">
-
 
164
                        <div {{#hassidecourseblocks}}class="blocks-wrapper d-inline-flex flex-wrap justify-content-between w-100" {{/hassidecourseblocks}}>
-
 
165
                            <div class="{{#hassidecourseblocks}}wrapper-blocks mx-0{{/hassidecourseblocks}}">
-
 
166
                                {{{ output.main_content }}}
-
 
167
                            </div>
65
                            {{{ output.course_content_footer }}}
168
                        </div>
66
                        </div>
-
 
67
                    </div>
-
 
Línea 68... Línea -...
68
                </section>
-
 
69
 
-
 
70
            </div>
-
 
71
        </div>
-
 
72
    </div>
-
 
73
 
-
 
74
        {{#hasblocks}}
-
 
75
        {{< theme_universe/drawer }}
-
 
76
            {{$id}}universe-drawers-blocks{{/id}}
-
 
77
            {{$drawerclasses}}drawer drawer-right{{#blockdraweropen}} show{{/blockdraweropen}}{{/drawerclasses}}
-
 
78
            {{$drawercontent}}
-
 
79
                <section class="d-print-none" aria-label="{{#str}}blocks{{/str}}">
-
 
80
                    {{{ addblockbutton }}}
-
 
81
                    {{{ sidepreblocks }}}
-
 
82
                </section>
-
 
83
            {{/drawercontent}}
-
 
84
            {{$drawerpreferencename}}drawer-open-block{{/drawerpreferencename}}
-
 
85
            {{$forceopen}}{{#forceblockdraweropen}}1{{/forceblockdraweropen}}{{/forceopen}}
-
 
86
            {{$drawerstate}}show-drawer-right{{/drawerstate}}
-
 
87
            {{$tooltipplacement}}left{{/tooltipplacement}}
-
 
88
            {{$drawercloseonresize}}1{{/drawercloseonresize}}
-
 
89
            {{$closebuttontext}}{{#str}}closeblockdrawer, core{{/str}}{{/closebuttontext}}
-
 
90
        {{/ theme_universe/drawer}}
-
 
91
    {{/hasblocks}}
-
 
92
 
-
 
93
 
169
                        {{{ output.course_content_footer }}}
94
    {{{ output.standard_after_main_region_html }}}
170
                    </section>
95
    
-
 
96
    <footer class="my-4 py-3 wrapper-md text-center">
-
 
-
 
171
 
Línea 97... Línea 172...
97
        <div class="rui-footer-copy rui-footer-content">
172
                </div>
Línea 98... Línea 173...
98
            {{{ footercopy }}}
173
            </div>
-
 
174
 
99
        </div>
175
        </div>
100
    </footer>
176
        {{{ output.standard_end_of_body_html }}}
101
 
177
        {{{ output.standard_after_main_region_html }}}
102
</div>
-
 
103
 
-
 
104
{{{ output.standard_end_of_body_html }}}
-
 
105
 
-
 
106
</body>
178
 
107
</html>
179
    </div>
108
{{#js}}
180
 
109
M.util.js_pending('theme_universe/loader');
181
</body>
110
require(['theme_universe/loader'], function() {
182
 
111
    M.util.js_complete('theme_universe/loader');
183
</html>