implements the file permissions report correctly and tests it.
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<div>
|
||||
<h1>Your permission settings are not ready for umbraco</h1>
|
||||
<p>
|
||||
In order to run umbraco, you'll need to update your permission settings.
|
||||
Detailed information about the correct file & folder permissions for Umbraco can be found
|
||||
<a href="http://our.umbraco.org/documentation/Installation/permissions"><strong>here</strong></a>.
|
||||
</p>
|
||||
<p>
|
||||
The following report list the permissions that are currently failing. Once the permissions are fixed press the 'Go back' button to restart the installation.
|
||||
</p>
|
||||
|
||||
<ul class="permissions-report unstyled">
|
||||
<li ng-repeat="(category, items) in installer.current.model.errors">
|
||||
<h4>{{category}}</h4>
|
||||
<ul>
|
||||
<li ng-repeat="item in items">
|
||||
{{item}}
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<p>
|
||||
<button class="btn btn-success" ng-click="restart()">Go back</button>
|
||||
</p>
|
||||
</div>
|
||||
@@ -57,6 +57,7 @@ body {
|
||||
height: 550px;
|
||||
text-align: left;
|
||||
padding: 30px;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
|
||||
@@ -222,3 +223,19 @@ height: 5px;
|
||||
right: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.permissions-report {
|
||||
overflow:auto;
|
||||
height:320px;
|
||||
margin:0;
|
||||
display:block;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
.permissions-report > li {
|
||||
list-style:none;
|
||||
}
|
||||
|
||||
.permissions-report h4 {
|
||||
margin:7px;
|
||||
}
|
||||
Reference in New Issue
Block a user