mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-02-20 21:47:59 +01:00
Added styling and lang for Page Route Overrides
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
# v1.7.0-rc.4
|
||||
## mm/dd/2018
|
||||
|
||||
1. [](#new)
|
||||
* Added styling and lang for **Route Overrides** in the default page blueprint
|
||||
1. [](#improved)
|
||||
* Added option to toggle between `line-awesome` and `font-awesome` icon sets [#1334](https://github.com/getgrav/grav-plugin-admin/issues/1334)
|
||||
1. [](#bugfix)
|
||||
|
||||
@@ -702,3 +702,7 @@ PLUGIN_ADMIN:
|
||||
TOOLS_DIRECT_INSTALL_UPLOAD_DESC: "You can easily install a valid Grav <strong>theme</strong>, <strong>plugin</strong>, or even <strong>Grav</strong> update Zip package via this method. This package does not have to be registered via GPM and allows you to easily roll back to a prior version or install for testing."
|
||||
TOOLS_DIRECT_INSTALL_URL_TITLE: "Install Package via Remote URL Reference"
|
||||
TOOLS_DIRECT_INSTALL_URL_DESC: "Alternatively, you can also reference a full URL to the package ZIP file and install it via this remote URL."
|
||||
ROUTE_OVERRIDES: "Route Overrides"
|
||||
ROUTE_DEFAULT: "Default Route"
|
||||
ROUTE_CANONICAL: "Canonical Route"
|
||||
ROUTE_ALIASES: "Route Aliases"
|
||||
|
||||
2
themes/grav/css-compiled/template.css
vendored
2
themes/grav/css-compiled/template.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -293,6 +293,13 @@ form {
|
||||
textarea {
|
||||
height: 7rem;
|
||||
}
|
||||
|
||||
&[data-grav-array-type="container"] {
|
||||
max-width: 100% !important;
|
||||
input[type=text] {
|
||||
width: calc(70% - 110px);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.large, .large.form-input-addon-wrapper input {
|
||||
@@ -301,6 +308,13 @@ form {
|
||||
textarea {
|
||||
height: 10rem;
|
||||
}
|
||||
|
||||
&[data-grav-array-type="container"] {
|
||||
max-width: 100% !important;
|
||||
input[type=text] {
|
||||
width: calc(100% - 110px);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
select {
|
||||
@@ -358,6 +372,9 @@ form {
|
||||
.form-row {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
margin-right: 0;
|
||||
max-width: 100% !important;
|
||||
|
||||
span {
|
||||
padding: 0.5rem;
|
||||
display: inline-block;
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
|
||||
{% block input %}
|
||||
{% import _self as array_field %}
|
||||
<div data-grav-array-type="container"{% if field.value_only %} data-grav-array-mode="value_only"{% endif %}{{ value|length <= 1 ? ' class="one-child"' : '' }}>
|
||||
<div class="{{ field.size }}" data-grav-array-type="container"{% if field.value_only %} data-grav-array-mode="value_only"{% endif %}{{ value|length <= 1 ? ' class="one-child"' : '' }}>
|
||||
{% if value|length %}
|
||||
{% for key, text in value -%}
|
||||
{% if text is not iterable %}
|
||||
|
||||
Reference in New Issue
Block a user