Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
moodle
moodle
Commits
bb9716cc
Commit
bb9716cc
authored
Mar 02, 2017
by
Eloy Lafuente
Browse files
Merge branch 'MDL-57321-master' of
git://github.com/cameron1729/moodle
parents
7b0a4144
df21e24f
Changes
15
Hide whitespace changes
Inline
Side-by-side
admin/templates/setting_configtext.mustache
View file @
bb9716cc
...
...
@@ -38,5 +38,5 @@
}
}}
<div
class=
"form-text defaultsnext"
>
<input
type=
"text"
name=
"
{{
name
}}
"
value=
"
{{
value
}}
"
size=
"
{{
size
}}
"
id=
"
{{
id
}}
"
class=
"
{{#
forceltr
}}
text-ltr
{{/
forceltr
}}
"
{{#
attributes
}}
{{
name
}}
="
{{
value
}}
"
{{/
attributes
}}
>
<input
type=
"text"
name=
"
{{
name
}}
"
value=
"
{{
value
}}
"
size=
"
{{
size
}}
"
id=
"
{{
id
}}
"
class=
"
{{#
forceltr
}}
text-ltr
{{/
forceltr
}}
"
{{#
attributes
}}
{{
name
}}
="
{{
value
}}
"
{{/
attributes
}}
>
</div>
lib/templates/action_link.mustache
View file @
bb9716cc
...
...
@@ -52,11 +52,11 @@
}
}}
{{^
disabled
}}
<a
href=
"
{{{
url
}}}
"
id=
"
{{
id
}}
"
class=
"
{{
classes
}}
"
{{#
attributes
}}
{{
name
}}
=
{{#
quote
}}{{
value
}}{{/
quote
}}
{{/
attributes
}}
>
{{#
icon
}}{{>
core
/
pix_icon
}}{{/
icon
}}{{{
text
}}}
</a>
<a
href=
"
{{{
url
}}}
"
id=
"
{{
id
}}
"
class=
"
{{
classes
}}
"
{{#
attributes
}}
{{
name
}}
=
{{#
quote
}}{{
value
}}{{/
quote
}}{{/
attributes
}}
>
{{#
icon
}}{{>
core
/
pix_icon
}}{{/
icon
}}{{{
text
}}}
</a>
{{#
hasactions
}}
{{>
core
/
actions
}}
{{/
hasactions
}}
{{/
disabled
}}
{{#
disabled
}}
<span
class=
"currentlink
{{
classes
}}
"
{{#
attributes
}}
{{
name
}}
=
{{#
quote
}}{{
value
}}{{/
quote
}}
{{/
attributes
}}
>
{{#
icon
}}{{>
core
/
pix_icon
}}{{/
icon
}}{{{
text
}}}
</span>
<span
class=
"currentlink
{{
classes
}}
"
{{#
attributes
}}
{{
name
}}
=
{{#
quote
}}{{
value
}}{{/
quote
}}{{/
attributes
}}
>
{{#
icon
}}{{>
core
/
pix_icon
}}{{/
icon
}}{{{
text
}}}
</span>
{{/
disabled
}}
lib/templates/action_menu.mustache
View file @
bb9716cc
...
...
@@ -30,10 +30,10 @@
}
}
}}
<div
class=
"
{{
classes
}}
"
{{#
attributes
}}{{
name
}}
="
{{
value
}}
"
{{/
attributes
}}
>
<div
class=
"
{{
classes
}}
"
{{#
attributes
}}
{{
name
}}
="
{{
value
}}
"
{{/
attributes
}}
>
{{#
primary
}}
<ul
class=
"
{{
classes
}}
"
{{#
attributes
}}{{
name
}}
="
{{
value
}}
"
{{/
attributes
}}
>
<ul
class=
"
{{
classes
}}
"
{{#
attributes
}}
{{
name
}}
="
{{
value
}}
"
{{/
attributes
}}
>
{{#
prioritise
}}
<li
role=
"presentation"
>
{{>
core
/
action_menu_trigger
}}
</li>
{{/
prioritise
}}
<!--
...
...
@@ -46,7 +46,7 @@
{{/
primary
}}
{{#
secondary
}}
<ul
class=
"
{{
classes
}}
"
{{#
attributes
}}{{
name
}}
="
{{
value
}}
"
{{/
attributes
}}
>
<ul
class=
"
{{
classes
}}
"
{{#
attributes
}}
{{
name
}}
="
{{
value
}}
"
{{/
attributes
}}
>
{{#
items
}}
<li
role=
"presentation"
>
{{>
core
/
action_menu_item
}}
</li>
{{/
items
}}
</ul>
{{/
secondary
}}
...
...
lib/templates/action_menu_link.mustache
View file @
bb9716cc
...
...
@@ -29,7 +29,7 @@
}
}}
{{^
disabled
}}
<a
href=
"
{{
url
}}
"
class=
"
{{
classes
}}
"
{{#
attributes
}}{{
name
}}
=
{{#
quote
}}{{
value
}}{{/
quote
}}{{/
attributes
}}
{{#
showtext
}}
aria-labelledby=
"actionmenuaction-
{{
instance
}}
"
{{/
showtext
}}
>
{{#
icon
}}{{>
core
/
pix_icon
}}{{/
icon
}}{{#
showtext
}}
<span
class=
"menu-action-text"
id=
"actionmenuaction-
{{
instance
}}
"
>
{{{
text
}}}
</span>
{{/
showtext
}}
</a>
<a
href=
"
{{
url
}}
"
class=
"
{{
classes
}}
"
{{#
attributes
}}
{{
name
}}
=
{{#
quote
}}{{
value
}}{{/
quote
}}{{/
attributes
}}
{{#
showtext
}}
aria-labelledby=
"actionmenuaction-
{{
instance
}}
"
{{/
showtext
}}
>
{{#
icon
}}{{>
core
/
pix_icon
}}{{/
icon
}}{{#
showtext
}}
<span
class=
"menu-action-text"
id=
"actionmenuaction-
{{
instance
}}
"
>
{{{
text
}}}
</span>
{{/
showtext
}}
</a>
{{/
disabled
}}
{{#
disabled
}}
<span
class=
"currentlink"
role=
"menuitem"
>
{{#
icon
}}{{>
core
/
pix_icon
}}{{/
icon
}}{{{
text
}}}
</span>
...
...
lib/templates/pix_icon.mustache
View file @
bb9716cc
...
...
@@ -40,4 +40,4 @@
}
}}
<img
{{#
attributes
}}{{
name
}}
="
{{
value
}}
"
{{/
attributes
}}
/>
\ No newline at end of file
<img
{{#
attributes
}}
{{
name
}}
="
{{
value
}}
"
{{/
attributes
}}
/>
\ No newline at end of file
lib/templates/select_time.mustache
View file @
bb9716cc
...
...
@@ -31,7 +31,7 @@
}
}}
<label
for=
"
{{
id
}}
"
class=
"accesshide"
>
{{
label
}}
</label>
<select
name=
"
{{
name
}}
"
id=
"
{{
id
}}
"
{{#
attributes
}}
{{
name
}}
="
{{
value
}}
"
{{/
attributes
}}
>
<select
name=
"
{{
name
}}
"
id=
"
{{
id
}}
"
{{#
attributes
}}
{{
name
}}
="
{{
value
}}
"
{{/
attributes
}}
>
{{#
options
}}
<option
value=
"
{{
value
}}
"
{{#
selected
}}
selected
{{/
selected
}}
>
{{
name
}}
</option>
{{/
options
}}
...
...
lib/templates/single_select.mustache
View file @
bb9716cc
...
...
@@ -88,7 +88,7 @@
<input
type=
"hidden"
name=
"
{{
name
}}
"
value=
"
{{
value
}}
"
>
{{/
params
}}
{{#
label
}}
<label
for=
"
{{
id
}}
"
{{#
labelattributes
}}{{
name
}}
="
{{
value
}}
"
{{/
labelattributes
}}
>
<label
for=
"
{{
id
}}
"
{{#
labelattributes
}}
{{
name
}}
="
{{
value
}}
"
{{/
labelattributes
}}
>
{{{
label
}}}
</label>
{{/
label
}}
...
...
lib/templates/url_select.mustache
View file @
bb9716cc
...
...
@@ -27,7 +27,7 @@
<input
type=
"hidden"
name=
"sesskey"
value=
"
{{
sesskey
}}
"
>
<div
class=
"form-group"
>
{{#
label
}}
<label
for=
"
{{
id
}}
"
{{#
labelattributes
}}{{
name
}}
="
{{
value
}}
"
{{/
labelattributes
}}
>
<label
for=
"
{{
id
}}
"
{{#
labelattributes
}}
{{
name
}}
="
{{
value
}}
"
{{/
labelattributes
}}
>
{{
label
}}
</label>
{{/
label
}}
...
...
theme/boost/templates/core/action_menu.mustache
View file @
bb9716cc
...
...
@@ -30,10 +30,10 @@
}
}
}}
<div
class=
"action-menu
{{
classes
}}
"
{{#
attributes
}}{{
name
}}
="
{{
value
}}
"
{{/
attributes
}}
>
<div
class=
"action-menu
{{
classes
}}
"
{{#
attributes
}}
{{
name
}}
="
{{
value
}}
"
{{/
attributes
}}
>
{{#
primary
}}
<div
class=
"
{{
classes
}}
"
{{#
attributes
}}{{
name
}}
="
{{
value
}}
"
{{/
attributes
}}
>
<div
class=
"
{{
classes
}}
"
{{#
attributes
}}
{{
name
}}
="
{{
value
}}
"
{{/
attributes
}}
>
{{#
prioritise
}}{{>
core
/
action_menu_trigger
}}{{/
prioritise
}}{{
!
...
...
theme/boost/templates/core/action_menu_link.mustache
View file @
bb9716cc
...
...
@@ -27,7 +27,7 @@
}
}}
{{^
disabled
}}
<a
href=
"
{{
url
}}
"
class=
"
{{
classes
}}
"
{{#
attributes
}}{{
name
}}
=
{{#
quote
}}{{
value
}}{{/
quote
}}{{/
attributes
}}
{{#
showtext
}}
aria-labelledby=
"actionmenuaction-
{{
instance
}}
"
{{/
showtext
}}
>
{{#
icon
}}{{>
core
/
pix_icon
}}{{/
icon
}}{{#
showtext
}}
<span
class=
"menu-action-text"
id=
"actionmenuaction-
{{
instance
}}
"
>
{{{
text
}}}
</span>
{{/
showtext
}}
</a>
<a
href=
"
{{
url
}}
"
class=
"
{{
classes
}}
"
{{#
attributes
}}
{{
name
}}
=
{{#
quote
}}{{
value
}}{{/
quote
}}{{/
attributes
}}
{{#
showtext
}}
aria-labelledby=
"actionmenuaction-
{{
instance
}}
"
{{/
showtext
}}
>
{{#
icon
}}{{>
core
/
pix_icon
}}{{/
icon
}}{{#
showtext
}}
<span
class=
"menu-action-text"
id=
"actionmenuaction-
{{
instance
}}
"
>
{{{
text
}}}
</span>
{{/
showtext
}}
</a>
{{/
disabled
}}
{{#
disabled
}}
<span
class=
"currentlink"
role=
"menuitem"
>
{{#
icon
}}{{>
core
/
pix_icon
}}{{/
icon
}}{{{
text
}}}
</span>
...
...
theme/boost/templates/core/action_menu_trigger.mustache
View file @
bb9716cc
...
...
@@ -17,15 +17,15 @@
{{
!
Action
menu
trigger.
}}
<
span
class=
"dropdown"
>
<a
href=
"#"
class=
"dropdown-toggle"
id=
"
dropdown
-
{{
instance
}}
"
title=
"
{{
title
}}
"
role=
"button"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
>
{{{
actiontext
}}}{{{
menutrigger
}}}{{#
icon
}}{{>
core
/
pix_icon
}}{{/
icon
}}{{#
rawicon
}}{{{
.
}}}{{/
rawicon
}}{{#
menutrigger
}}
<b
class=
"caret"
></b>
{{/
menutrigger
}}
</a>
<
div
class=
"dropdown"
>
<a
href=
"#"
class=
"dropdown-toggle"
id=
"
action-menu-toggle
-
{{
instance
}}
"
title=
"
{{
title
}}
"
role=
"button"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
>
{{{
actiontext
}}}{{{
menutrigger
}}}{{#
icon
}}{{>
core
/
pix_icon
}}{{/
icon
}}{{#
rawicon
}}{{{
.
}}}{{/
rawicon
}}{{#
menutrigger
}}
<b
class=
"caret"
></b>
{{/
menutrigger
}}
</a>
{{#
secondary
}}
<div
class=
"dropdown-menu dropdown-menu-right
{{
classes
}}
"
{{#
attributes
}}{{
name
}}
="
{{
value
}}
"
{{/
attributes
}}
aria-labelledby=
"dropdown-
{{
instance
}}
"
>
<div
class=
"dropdown-menu dropdown-menu-right
{{
classes
}}
"
{{#
attributes
}}
{{
name
}}
="
{{
value
}}
"
{{/
attributes
}}
"
>
{{#
items
}}{{
!
}}{{#
actionmenulink
}}
<a
href=
"
{{
url
}}
"
class=
"dropdown-item
{{
classes
}}
"
{{#
attributes
}}{{
name
}}
=
{{#
quote
}}{{
value
}}{{/
quote
}}{{/
attributes
}}
{{#
showtext
}}
aria-labelledby=
"actionmenuaction-
{{
instance
}}
"
{{/
showtext
}}
>
{{#
icon
}}{{>
core
/
pix_icon
}}{{/
icon
}}{{#
showtext
}}
<span
class=
"menu-action-text"
id=
"actionmenuaction-
{{
instance
}}
"
>
{{{
text
}}}
</span>
{{/
showtext
}}
</a>
{{/
actionmenulink
}}{{
!
}}{{#
actionmenulink
}}
<a
href=
"
{{
url
}}
"
class=
"dropdown-item
{{
classes
}}
"
{{#
attributes
}}
{{
name
}}
=
{{#
quote
}}{{
value
}}{{/
quote
}}{{/
attributes
}}
{{#
showtext
}}
aria-labelledby=
"actionmenuaction-
{{
instance
}}
"
{{/
showtext
}}
>
{{#
icon
}}{{>
core
/
pix_icon
}}{{/
icon
}}{{#
showtext
}}
<span
class=
"menu-action-text"
id=
"actionmenuaction-
{{
instance
}}
"
>
{{{
text
}}}
</span>
{{/
showtext
}}
</a>
{{/
actionmenulink
}}{{
!
}}{{#
actionmenufiller
}}
<div
class=
"dropdown-divider"
></div>
{{/
actionmenufiller
}}{{
!
}}{{^
actionmenulink
}}{{^
actionmenufiller
}}
<div
class=
"dropdown-item"
>
{{>
core
/
action_menu_item
}}
</div>
{{/
actionmenufiller
}}{{/
actionmenulink
}}{{
!
}}{{/
items
}}
</div>
{{/
secondary
}}
</
span
>
</
div
>
theme/boost/templates/core/custom_menu_item.mustache
View file @
bb9716cc
{{^
divider
}}
{{#
haschildren
}}
<
span
class=
"dropdown nav-item"
>
<
div
class=
"dropdown nav-item"
>
<a
class=
"dropdown-toggle nav-link"
id=
"drop-down-
{{
uniqid
}}
"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
href=
"#"
>
{{
text
}}
</a>
...
...
@@ -14,7 +14,7 @@
{{/
divider
}}
{{/
children
}}
</div>
</
span
>
</
div
>
{{/
haschildren
}}
{{^
haschildren
}}
<a
class=
"nav-item nav-link"
href=
"
{{{
url
}}}
"
{{#
title
}}
title=
"
{{{
title
}}}
"
{{/
title
}}
>
{{
text
}}
</a>
...
...
theme/boost/templates/core/pix_icon.mustache
View file @
bb9716cc
...
...
@@ -39,4 +39,4 @@
}
}}
<img
class=
"icon
{{
extraclasses
}}
"
{{#
attributes
}}{{
name
}}
="
{{
value
}}
"
{{/
attributes
}}
/>
<img
class=
"icon
{{
extraclasses
}}
"
{{#
attributes
}}
{{
name
}}
="
{{
value
}}
"
{{/
attributes
}}
/>
theme/boost/templates/core/select_time.mustache
View file @
bb9716cc
...
...
@@ -31,7 +31,7 @@
}
}}
<label
for=
"
{{
id
}}
"
class=
"sr-only"
>
{{
label
}}
</label>
<select
name=
"
{{
name
}}
"
id=
"
{{
id
}}
"
{{#
attributes
}}
{{
name
}}
="
{{
value
}}
"
{{/
attributes
}}
class=
"form-control"
>
<select
name=
"
{{
name
}}
"
id=
"
{{
id
}}
"
{{#
attributes
}}
{{
name
}}
="
{{
value
}}
"
{{/
attributes
}}
class=
"form-control"
>
{{#
options
}}
<option
value=
"
{{
value
}}
"
{{#
selected
}}
selected
{{/
selected
}}
>
{{
name
}}
</option>
{{/
options
}}
...
...
theme/boost/templates/custom_menu_footer.mustache
View file @
bb9716cc
...
...
@@ -8,8 +8,10 @@
{{/
url
}}
{{/
divider
}}
{{#
haschildren
}}
<ul
class=
"list-unstyled m-l-1"
>
{{>
theme_boost
/
custom_menu_footer
}}
</ul>
<li>
<ul
class=
"list-unstyled m-l-1"
>
{{>
theme_boost
/
custom_menu_footer
}}
</ul>
</li>
{{/
haschildren
}}
{{/
children
}}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment