Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
After upgrade to Umbraco 7.4 these directives were moved, but it brea…
…ks Vorto so adding them back as a temp solution.
- Loading branch information
Showing
28 changed files
with
505 additions
and
2 deletions.
There are no files selected for viewing
Binary file not shown.
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 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,21 @@ | ||
<div class="btn-group dropup" ng-if="defaultButton" > | ||
<!-- primary button --> | ||
<a class="btn btn-success" href="#" ng-click="performAction(defaultButton)" prevent-default> | ||
<localize key="{{defaultButton.labelKey}}">{{defaultButton.labelKey}}</localize> | ||
</a> | ||
|
||
<a class="btn btn-success dropdown-toggle" data-toggle="dropdown" | ||
ng-if="buttons.length > 0"> | ||
<span class="caret"></span> | ||
</a> | ||
|
||
<!-- sub buttons --> | ||
<ul class="dropdown-menu bottom-up" role="menu" aria-labelledby="dLabel" | ||
ng-if="buttons.length > 0"> | ||
<li ng-repeat="btn in model.subButtons"> | ||
<a href="#" ng-click="performAction(btn)" ng-disabled="true" prevent-default> | ||
<localize key="{{btn.labelKey}}">{{btn.labelKey}}</localize> | ||
</a> | ||
</li> | ||
</ul> | ||
</div> |
13 changes: 13 additions & 0 deletions
13
Sources/24days/umbraco/Views/directives/html/umb-control-group.html
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,13 @@ | ||
<div class="umb-property"> | ||
<div class="control-group umb-control-group" ng-class="{error: !formValid(), hidelabel:hideLabel=='true'}"> | ||
<div class="umb-el-wrap"> | ||
<label ng-if="hideLabel!=='true'" class="control-label" for="{{alias}}"> | ||
{{labelstring}} | ||
<small>{{descriptionstring}}</small> | ||
</label> | ||
|
||
<div class="controls controls-row" ng-transclude> | ||
</div> | ||
</div> | ||
</div> | ||
</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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div class="umb-pane" ng-transclude> | ||
|
||
</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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div class="umb-panel tabbable" ng-transclude> | ||
|
||
</div> |
28 changes: 28 additions & 0 deletions
28
Sources/24days/umbraco/Views/directives/html/umb-photo-folder.html
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,28 @@ | ||
<div class="umb-photo-folder" ng-style="containerStyle"> | ||
<div class="picrow" ng-repeat="row in rows"> | ||
|
||
<div class="pic" | ||
ng-class="img.cssclass" | ||
ng-style="img.style" ng-repeat="img in row.images"> | ||
|
||
<a href="#media/media/edit/{{img.id}}" | ||
ng-click="clickHandler(img, $event, false)" | ||
title="{{img.name}}"> | ||
|
||
<div ng-style="img.style" class="umb-non-thumbnail" ng-if="!img.thumbnail"> | ||
<i class="icon large {{img.icon}}"></i> | ||
<span>{{img.name}}</span> | ||
</div> | ||
|
||
<div ng-if="img.thumbnail" class="umb-photo" ng-style="img.thumbStyle" alt="{{img.name}}"> | ||
|
||
</div> | ||
</a> | ||
|
||
<a href ng-click="clickHandler(img, $event, true)" class="selector-overlay"> | ||
<localize key="buttons_select" ng-if="img.isFolder">Select</localize> | ||
<span ng-if="!img.isFolder">{{img.name}}</span> | ||
</a> | ||
</div> | ||
</div> | ||
</div> |
8 changes: 8 additions & 0 deletions
8
Sources/24days/umbraco/Views/directives/html/umb-upload-dropzone.html
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,8 @@ | ||
<div class="umb-upload-drop-zone"> | ||
<div class="info"> | ||
<i class="icon icon-parachute-drop"></i> | ||
<p> | ||
<localize key="media_dropFilesHere">Drop your files here...</localize> | ||
</p> | ||
</div> | ||
</div> |
19 changes: 19 additions & 0 deletions
19
Sources/24days/umbraco/Views/directives/imaging/umb-image-crop.html
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,19 @@ | ||
<div class="umb-cropper umb-editor" ng-show="src"> | ||
<div class="crop-container"> | ||
<div class="viewport" ng-style="style()"> | ||
<img ng-src="{{src}}" ng-style="dimensions.image"/> | ||
<div class="overlay" ng-style="dimensions.image"></div> | ||
</div> | ||
</div> | ||
|
||
<div class="crop-slider"> | ||
<i class="icon-picture"></i> | ||
<input | ||
type="range" | ||
min="{{dimensions.scale.min}}" | ||
max="{{dimensions.scale.max}}" | ||
step="0.001" | ||
ng-model="dimensions.scale.current" /> | ||
<i class="icon-picture" style="font-size: 22px"></i> | ||
</div> | ||
</div> |
34 changes: 34 additions & 0 deletions
34
Sources/24days/umbraco/Views/directives/imaging/umb-image-folder.html
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,34 @@ | ||
<form style="width: 100%" method="POST" enctype="multipart/form-data" class="umb-editor umb-folderbrowser" | ||
umb-image-upload="blueimpOptions"> | ||
|
||
<div class="drop-zone"> | ||
|
||
<div class="fileinput-button umb-upload-button-big" ng-hide="dropping || uploading"> | ||
<i class="icon icon-page-up"></i> | ||
<p><localize key="media_clickToUpload">Click to upload</localize></p> | ||
<input type="file" name="files[]" multiple ng-disabled="disabled" class="uploader"> | ||
</div> | ||
|
||
<umb-upload-dropzone ng-show="dropping && !uploading"></umb-upload-dropzone> | ||
|
||
<div ng-if="uploading"> | ||
|
||
<umb-image-upload-progress></umb-image-upload-progress> | ||
|
||
<div class="umb-photo-preview" | ||
ng-repeat="file in files" | ||
ng-style="{opacity: file.completed == true ? '0.25' : '1.0'}" | ||
umb-upload-preview="file"> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
|
||
|
||
<umb-photo-folder ng-show="files.length == 0" | ||
min-height="105" | ||
min-width="220" | ||
on-click="clickHandler" | ||
ng-model="images" /> | ||
|
||
</form> |
12 changes: 12 additions & 0 deletions
12
Sources/24days/umbraco/Views/directives/imaging/umb-image-gravity.html
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,12 @@ | ||
<div class="umb-cropper-gravity"> | ||
<div class="gravity-container"> | ||
<div class="viewport"> | ||
<img ng-src="{{src}}" style="max-width: 100%; max-height: 100%" /> | ||
|
||
<div class="overlay" ng-style="style()"> | ||
|
||
</div> | ||
|
||
</div> | ||
</div> | ||
</div> |
4 changes: 4 additions & 0 deletions
4
Sources/24days/umbraco/Views/directives/imaging/umb-image-thumbnail.html
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,4 @@ | ||
<div class="umb-crop-thumbnail-container" | ||
ng-style="{height: height, width: width, overflow: 'hidden', position: 'relative'}"> | ||
<img ng-src="{{src}}" alt="{{}}" ng-style="preview" class="noScale" /> | ||
</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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<div> | ||
<p ng-hide="!caption" class="umb-abstract">{{caption}}</p> | ||
|
||
<div class="umb-pane btn-toolbar umb-btn-toolbar"> | ||
<div class="control-group umb-control-group"> | ||
<a href class="btn btn-link" ng-click="onCancel()"><localize key="general_cancel">Cancel</localize></a> | ||
<a href class="btn btn-primary" ng-click="onConfirm()"><localize key="general_ok">Ok</localize></a> | ||
</div> | ||
</div> | ||
</div> |
19 changes: 19 additions & 0 deletions
19
Sources/24days/umbraco/Views/directives/umb-content-name.html
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,19 @@ | ||
<ng-form name="contentNameForm"> | ||
<div class="umb-headline-editor-wrapper" ng-class="{'ng-invalid': contentNameForm.name.$invalid}"> | ||
|
||
<input type="text" | ||
ng-disabled="ngDisabled" | ||
name="name" | ||
localize="placeholder" | ||
class="umb-headline" | ||
select-on-focus | ||
placeholder="{{placeholder}}" | ||
ng-model="model" | ||
required | ||
val-server-field="Name"/> | ||
|
||
<span class="help-inline" val-msg-for="name" val-toggle-msg="required">Required</span> | ||
<span class="help-inline" val-msg-for="name" val-toggle-msg="valServerField">{{contentNameForm.name.errorMsg}}</span> | ||
|
||
</div> | ||
</ng-form> |
17 changes: 17 additions & 0 deletions
17
Sources/24days/umbraco/Views/directives/umb-contextmenu.html
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,17 @@ | ||
<div> | ||
<div class='umb-modalcolumn-header'> | ||
<h1>{{menuDialogTitle}}</h1> | ||
</div> | ||
|
||
<div class='umb-modalcolumn-body'> | ||
<ul class="umb-actions"> | ||
<li class="action" ng-class="{sep:action.seperator}" ng-repeat="action in menuActions"> | ||
<a prevent-default | ||
ng-click="executeMenuItem(action)"> | ||
<i class="icon icon-{{action.cssclass}}"></i> | ||
<span class="menu-label">{{action.name}}</span> | ||
</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div ng-include="propertyEditorView"> | ||
|
||
</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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<div class="umb-panel-header"> | ||
<div class="row-fluid"> | ||
|
||
<div ng-transclude></div> | ||
|
||
<ul ng-show="showTabs" class="nav nav-tabs umb-nav-tabs span12"> | ||
|
||
<li ng-class="{'tab-error': tabHasError}" ng-repeat="tab in visibleTabs" val-tab> | ||
<a href="#tab{{tab.id}}" data-toggle="tab">{{ tab.label }}</a> | ||
</li> | ||
|
||
</ul> | ||
</div> | ||
</div> |
38 changes: 38 additions & 0 deletions
38
Sources/24days/umbraco/Views/directives/umb-item-sorter.html
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,38 @@ | ||
<div class="umb-dialog" style="width: 500px" ng-switch on="model.complete"> | ||
|
||
<form name="sortForm" ng-submit="performSort()" ng-switch-when="false"> | ||
<div class="umb-dialog-body" auto-scale="90"> | ||
<p class="umb-abstract">Sort children of {{viewModel.name}}</p> | ||
|
||
<table class="table umb-table"> | ||
<thead> | ||
<tr> | ||
<td>Name</td> | ||
<td>Last Update</td> | ||
<td>Index</td> | ||
</thead> | ||
<tbody ui-sortable="sortableOptions" ng-model="model.itemsToSort"> | ||
<tr ng-repeat="item in model.itemsToSort"> | ||
<td>{{item.column1}}</td> | ||
<td>{{item.column2}}</td> | ||
<td>{{item.column3}}</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
|
||
</div> | ||
<div class="btn-toolbar umb-btn-toolbar"> | ||
<button type="button" class="btn" ng-click="handleCancel()">Cancel</button> | ||
<button type="submit" class="btn btn-primary">Sort</button> | ||
</div> | ||
</form> | ||
<div ng-switch-when="true"> | ||
<div class="alert alert-success"> | ||
{{model.successMsg}} | ||
</div> | ||
|
||
<div class="btn-toolbar umb-btn-toolbar"> | ||
<button class="btn" ng-click="handleOk()">{{model.okButton}}</button> | ||
</div> | ||
</div> | ||
</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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<div id="login" ng-show="!authenticated" ng-animate="'slide'" ng-cloak> | ||
<div class="form"> | ||
<h1>Happy {{today}}!, log in below</h1> | ||
<div class="control-group"> | ||
<input type="text" ng-model="login" class="input-xlarge" placeholder="Enter your username" /> | ||
</div> | ||
<div class="control-group"> | ||
<input type="password" ng-model="password" class="input-xlarge" placeholder="Enter your password" /> | ||
</div> | ||
<input type="button" ng-click="signin()" class="btn" value="Login" /> | ||
</div> | ||
</div> |
Oops, something went wrong.