Adding Orchard.DynamicForms.

This commit is contained in:
Sipke Schoorstra
2014-10-14 16:10:01 -07:00
parent 16853760ac
commit 507ddd13b8
158 changed files with 6180 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<staticContent>
<clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="7.00:00:00" />
</staticContent>
<handlers accessPolicy="Script,Read">
<!--
iis7 - for any request to a file exists on disk, return it via native http module.
accessPolicy 'Script' is to allow for a managed 404 page.
-->
<add name="StaticFile" path="*" verb="*" modules="StaticFileModule" preCondition="integratedMode" resourceType="File" requireAccess="Read" />
</handlers>
</system.webServer>
</configuration>

View File

@@ -0,0 +1,25 @@
/* Forms
***************************************************************/
.dynamic-form input[type='text'],
.dynamic-form input.text,
.dynamic-form textarea.text {
width: 99%;
line-height: 1.5em;
margin-bottom: 0.8em;
}
/* Validation
***************************************************************/
.input-validation-error, input.text.input-validation-error {
border:1px solid #990808;
}
.field-validation-error {
color: #990808;
}
/* Elements
***************************************************************/
.form-field-element {
margin: 0.8em 0 0 0;
}

View File

@@ -0,0 +1,46 @@
.layout-editor .canvas .x-form {
background: none repeat scroll 0 0 #fafafa;
border: 1px solid #bdbcbc;
margin: 0 0 0.3em;
padding: 4.3em 0.4em 2.5em 0.4em;
position: relative;
}
.layout-editor .canvas .x-form .form-toolbar {
padding: 0 0.5em 0 0.5em;
height: 27px;
}
.layout-editor .canvas .x-form .drag-handle {
background: none repeat scroll 0 0 #e4e4e4;
cursor: move;
left: -1px;
position: absolute;
right: -1px;
top: -1px;
z-index: 25;
border: 1px solid #bdbcbc;
height: 27px;
}
.layout-editor .canvas .x-form .drag-handle .name {
line-height: 1.5em;
}
.layout-editor .canvas .x-row .x-column .x-form .x-holder,
.layout-editor .canvas .x-form .x-holder {
min-height: 5em;
border: none;
}
.layout-editor .hidden-field {
background: #e5e5e5;
padding: 0.5em;
-ms-opacity: .5;
opacity: .5;
}
input.text.design,
textarea.text.design {
width: 99%;
}

View File

@@ -0,0 +1,18 @@
.dynamic-forms tbody.forms td:last-child,
.dynamic-forms-submissions tbody.submissions td:last-child {
text-align: right;
}
.bindings table thead th.property-type,
.bindings table tbody td.property-type {
width: 300px;
text-align: right;
}
th.validator-name {
width: 20%;
}
th.validator-settings {
width: 80%;
}

View File

@@ -0,0 +1,7 @@
.navicon-dynamic-forms {
background-image: url(menu.dynamicforms.png) !important;
}
.navicon-dynamic-forms:hover {
background-position: 0 -30px !important;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 381 B