Merge branch 'MDL-59696-33' of git://github.com/junpataleta/moodle into MOODLE_33_STABLE
This commit is contained in:
@@ -8,6 +8,19 @@
|
|||||||
"formid": "url_select_form",
|
"formid": "url_select_form",
|
||||||
"sesskey": "sesskey",
|
"sesskey": "sesskey",
|
||||||
"label": "core/url_select",
|
"label": "core/url_select",
|
||||||
|
"helpicon": {
|
||||||
|
"title": "Help with something",
|
||||||
|
"text": "Help with something",
|
||||||
|
"url": "http://example.org/help",
|
||||||
|
"linktext": "",
|
||||||
|
"icon":{
|
||||||
|
"extraclasses": "iconhelp",
|
||||||
|
"attributes": [
|
||||||
|
{"name": "src", "value": "../../../pix/help.svg"},
|
||||||
|
{"name": "alt", "value": "Help icon"}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
"showbutton": "Go",
|
"showbutton": "Go",
|
||||||
"options": [{
|
"options": [{
|
||||||
"name": "Group 1", "isgroup": true, "options":
|
"name": "Group 1", "isgroup": true, "options":
|
||||||
@@ -25,7 +38,6 @@
|
|||||||
<div class="{{classes}}">
|
<div class="{{classes}}">
|
||||||
<form method="post" action="{{action}}" class="form-inline" id="{{formid}}">
|
<form method="post" action="{{action}}" class="form-inline" id="{{formid}}">
|
||||||
<input type="hidden" name="sesskey" value="{{sesskey}}">
|
<input type="hidden" name="sesskey" value="{{sesskey}}">
|
||||||
<div class="form-group">
|
|
||||||
{{#label}}
|
{{#label}}
|
||||||
<label for="{{id}}"{{#labelattributes}} {{name}}="{{value}}"{{/labelattributes}}>
|
<label for="{{id}}"{{#labelattributes}} {{name}}="{{value}}"{{/labelattributes}}>
|
||||||
{{label}}
|
{{label}}
|
||||||
@@ -48,7 +60,6 @@
|
|||||||
{{/isgroup}}
|
{{/isgroup}}
|
||||||
{{/options}}
|
{{/options}}
|
||||||
</select>
|
</select>
|
||||||
</div>
|
|
||||||
{{#showbutton}}
|
{{#showbutton}}
|
||||||
<input type="submit" class="btn btn-secondary" value="{{showbutton}}">
|
<input type="submit" class="btn btn-secondary" value="{{showbutton}}">
|
||||||
{{/showbutton}}
|
{{/showbutton}}
|
||||||
|
|||||||
@@ -122,6 +122,15 @@ form {
|
|||||||
margin-right: .3em;
|
margin-right: .3em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.custom-select {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Make the submit button align with the .custom-select element.
|
||||||
|
.custom-select + input[type="submit"] {
|
||||||
|
margin: 0 0 0 5px;
|
||||||
|
}
|
||||||
|
|
||||||
#portfolio-add-button {
|
#portfolio-add-button {
|
||||||
display: inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16539,6 +16539,12 @@ form {
|
|||||||
.singleselect label {
|
.singleselect label {
|
||||||
margin-right: .3em;
|
margin-right: .3em;
|
||||||
}
|
}
|
||||||
|
.custom-select {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
.custom-select + input[type="submit"] {
|
||||||
|
margin: 0 0 0 5px;
|
||||||
|
}
|
||||||
#portfolio-add-button {
|
#portfolio-add-button {
|
||||||
display: inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user