forked from umbraco/Umbraco-Azure-Gallery
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3186d4f
commit 8c4fd19
Showing
2,609 changed files
with
332,326 additions
and
534,396 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<div id="modelsBuilder" ng-controller="Umbraco.Dashboard.ModelsBuilderController as vm"> | ||
|
||
<umb-box> | ||
<umb-box-content> | ||
|
||
<div ng-show="!vm.loading" class="pull-right"> | ||
<button type="button" class="btn" ng-click="vm.reload()"><span>Reload</span></button> | ||
</div> | ||
|
||
<h3 class="bold">Models Builder</h3> | ||
|
||
<umb-load-indicator ng-show="vm.loading"></umb-load-indicator> | ||
|
||
<div ng-show="!vm.loading && vm.dashboard"> | ||
<div ng-bind-html="vm.dashboard.text"></div> | ||
|
||
<div ng-if="vm.dashboard.outOfDateModels"> | ||
<p>Models are <strong>out-of-date</strong>.</p> | ||
</div> | ||
|
||
<div ng-if="vm.dashboard.canGenerate"> | ||
<div ng-if="vm.dashboard.generateCausesRestart"> | ||
<p style="color: red; font-weight: bold;">Generating models will restart the application.</p> | ||
</div> | ||
<div ng-show="!vm.generating"> | ||
<button type="button" ng-click="vm.generate()" class="btn btn-danger"> | ||
<span>Generate models</span> | ||
</button> | ||
</div> | ||
<div class="umb-loader-wrapper" ng-show="vm.generating"> | ||
<div class="umb-loader"></div> | ||
</div> | ||
</div> | ||
|
||
<div ng-if="vm.dashboard.lastError" style="margin-top: 32px;" ng-show="!vm.generating"> | ||
<span style="color: red; font-weight: bold;">Last generation failed with the following error:</span> | ||
<pre style="width: 80%; white-space: pre-line; background: #f8f8f8; padding: 4px; font-size: small;">{{vm.dashboard.lastError}}</pre> | ||
</div> | ||
</div> | ||
|
||
</umb-box-content> | ||
</umb-box> | ||
|
||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,18 @@ | ||
{ | ||
//array of files we want to inject into the application on app_start | ||
javascript: [ | ||
'~/App_Plugins/ModelsBuilder/modelsbuilder.controller.js', | ||
'~/App_Plugins/ModelsBuilder/modelsbuilder.resource.js' | ||
// array of files we want to inject into the application | ||
"javascript": [ | ||
"~/App_Plugins/ModelsBuilder/modelsbuilder.controller.js", | ||
"~/App_Plugins/ModelsBuilder/modelsbuilder.resource.js" | ||
], | ||
|
||
// models builder dashboard | ||
"dashboards": [ | ||
{ | ||
"alias": "settingsModelsBuilder", | ||
"name": "Models Builder", | ||
"view": "/App_Plugins/ModelsBuilder/modelsbuilder.html", | ||
"sections": [ "settings" ], | ||
"weight": 40 | ||
} | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.