| 1 | <div class="panel panel-default"> |
| 2 | <div class="panel-heading"> |
| 3 | <h3 class="panel-title" trspan="portalSkin"></h3> |
| 4 | </div> |
| 5 | <div class="panel-body text-center"> |
| 6 | <button class="btn btn-info llcontainer" ng-click="showModal('portalSkinChoice.html')" ng-model="currentNode"> |
| 7 | <span ng-if="inSelect(currentNode.data)"> |
| 8 | <img ng-src="{{staticPrefix}}logos/{{currentNode.data}}.png" alt="{{currentNode.data}}" title="{{currentNode.data}}" /> |
| 9 | </span> |
| 10 | <span ng-if="!inSelect(currentNode.data)"> |
| 11 | <img ng-src="{{staticPrefix}}logos/custom.png" alt="Custom" title="Custom" /> |
| 12 | </span> |
| 13 | <div class="carousel-caption"> |
| 14 | <h4>{{currentNode.data}}</h4> |
| 15 | </div> |
| 16 | </button> |
| 17 | </div> |
| 18 | <table class="table" ng-if="!inSelect(currentNode.data)"> |
| 19 | <tr> |
| 20 | <th trspan="customPortalSkin"></th> |
| 21 | <td><input ng-model="currentNode.data" class="form-control"/></td> |
| 22 | </tr> |
| 23 | </table> |
| 24 | </div> |
| 25 | <script type="text/ng-template" id="portalSkinChoice.html"> |
| 26 | <div class="modal-header"> |
| 27 | <h3 class="modal-title" trspan="chooseSkin"></h3> |
| 28 | </div> |
| 29 | <div class="modal-body"> |
| 30 | <div class="row text-center"> |
| 31 | <div class="col-md-4" ng-repeat="b in currentNode.select"> |
| 32 | <button class="btn llcontainer" ng-class="{'btn-default':currentNode.data!==b.k,'btn-info':currentNode.data===b.k}" ng-click="ok(currentNode.data=b.k)"> |
| 33 | <img ng-src="{{staticPrefix}}logos/{{b.k}}.png" alt="{{b.v}}" title="{{b.v}}" /> |
| 34 | <div class="carousel-caption"> |
| 35 | <h4>{{b.v}}</h4> |
| 36 | </div> |
| 37 | </button> |
| 38 | </div> |
| 39 | <div class="col-md-4"> |
| 40 | <button class="btn llcontainer" ng-class="{'btn-default':inSelect(currentNode.data),'btn-info':!inSelect(currentNode.data)}" ng-click="currentNode.data='custom'"> |
| 41 | <img ng-src="{{staticPrefix}}logos/custom.png" alt="Custom" title="Custom" /> |
| 42 | <div class="carousel-caption"> |
| 43 | <h4>Custom</h4> |
| 44 | </div> |
| 45 | </button> |
| 46 | </div> |
| 47 | </div> |
| 48 | </div> |
| 49 | <table class="table" ng-if="!inSelect(currentNode.data)"> |
| 50 | <tr> |
| 51 | <th trspan="customPortalSkin"></th> |
| 52 | <td><input ng-model="currentNode.data" class="form-control"/></td> |
| 53 | </tr> |
| 54 | </table> |
| 55 | <div class="modal-footer"> |
| 56 | <button class="btn btn-success" ng-click="ok()"><i class="glyphicon glyphicon-ok"></i> <span trspan="ok"></span></button> |
| 57 | <button class="btn btn-danger" ng-click="cancel()"><i class="glyphicon glyphicon-remove"></i> <span trspan="cancel"></span></button> |
| 58 | </div> |
| 59 | </script> |
| 60 | <script type="text/menu"> |
| 61 | [{ |
| 62 | "title": "cancel", |
| 63 | "icon": "remove" |
| 64 | }] |
| 65 | </script> |