Advertisement
Guest User

Untitled

a guest
Mar 6th, 2015
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 7.44 KB | None | 0 0
  1. <div>
  2.     <div class="modal-header">
  3.         <div class="page-header">
  4.             <h1 style="margin: 0px;" translate>
  5.                 PROMO.ACTION_CREATOR_TEXT
  6.                 <!--  <small translate>PROMO.ACTION_ADDING</small>-->
  7.             </h1>
  8.         </div>
  9.     </div>
  10.  
  11.  
  12.     <div class="modal-body">
  13.         <div class="main-container-modal">
  14.  
  15.             <div ng-show="progress == 1">
  16.  
  17.                 <div ng-show="showCategoriesList">
  18.                     <span ng-repeat="path in chosenCategoriesPath">{{path.name}}</span>
  19.  
  20.                     <div class="row">
  21.                         <div class="col-lg-12">
  22.                             <div id="category-box">
  23.                                 <div class="category-content">
  24.                                     <div class="category-topbar">
  25.                                         <span ng-click="fetchSubcategories(0)" ><span translate>BACK_IN_CATEGORIES</span></span>
  26.                                         <span ng-click="showCategories = !showCategories"><span translate>FILL</span></span>
  27.                                     </div>
  28.                                     <div ng-show="showCategories" class="categories"
  29.                                         ng-repeat="cat in categories.content[indexOverCategories]">
  30.                                         <a ng-ref="javascipt:void(0)"
  31.                                           ng-click="fetchSubcategories(1, cat.id, cat.name)">
  32.                                             {{cat.name}}
  33.                                         </a>
  34.                                     </div>
  35.                                 </div>
  36.                             </div>
  37.                         </div>
  38.                     </div>
  39.                 </div>
  40.             </div>
  41.  
  42.             <div ng-show="progress ==2">
  43.  
  44.                 <div>
  45.                     <form role="form" class="form-box">
  46.                         <div class="form-group">
  47.                             <h3 style="text-align: center">{{type}}</h3>
  48.                         </div>
  49.                         <div class="form-group">
  50.                             <input ng-model="newMessage.title"
  51.                                   type="text" class="form-control"
  52.                                   id="title" placeholder="Wpisz tytuł"
  53.                                   maxlength="33" />
  54.                         </div>
  55.  
  56.                         <div class="form-group">
  57.                             <input ng-model="newMessage.params.text1"
  58.                                   type="text" class="form-control"
  59.                                   id="text1" placeholder="Wpisz tekst"
  60.                                   maxlength="33" />
  61.                         </div>
  62.  
  63.                         <div class="form-group">
  64.                             <input ng-model="newMessage.params.text2"
  65.                                   type="text" class="form-control"
  66.                                   id="text2" placeholder="Wpisz tekst"
  67.                                   maxlength="33" />
  68.                         </div>
  69.  
  70.                         <input type="file" ng-model="newMessage.logo.fullImage"
  71.                               ng-file-select="onFileSelect($files, $event.target)" multiple accept="image/*" id="upBtnLogo">
  72.                         <div class="button" ng-file-select="onFileSelect($files, $event)" data-multiple="true"></div>
  73.                         <br />
  74.                         <button ng-click="upload.abort()" translate> CANCEL_UPLOAD</button>
  75.                         <br />
  76.                         <br />
  77.  
  78.                         <input type="file" ng-model="newMessage.params.prodImg.fullImage"
  79.                               ng-file-select="onFileSelect($files, $event.target)" multiple accept="image/*" id="upBtnProduct">
  80.                         <div class="button" ng-file-select="onFileSelect($files, $event)" data-multiple="true"></div>
  81.                         <br />
  82.                         <button ng-click="upload.abort()" translate> CANCEL_UPLOAD</button>
  83.                         <br />
  84.                         <br />
  85.                     </form>
  86.                 </div>
  87.  
  88.  
  89.                 <div class="preview-small">
  90.                     <!--<textarea>{{newAction.name}}</textarea>-->
  91.                     <div id="preview-holder-tmp2" class="center">
  92.                         <img ng-src="{{temporaryTemplatesList[selectedIndex].imgSrc}}" />
  93.                         <div style="position: absolute; top:1px">
  94.                             <textarea ng-model="newMessage.params.text1" id="title-textarea-tmp2" readonly cols="17" rows="1"
  95.                                      style="text-align: center; font-size: 10px; border: 0px; font-weight: bold;">
  96.  
  97.                             </textarea>
  98.                             <hr class="style-one" style="position: absolute;top:100px;left:120px;min-width: 130px" />
  99.                             <hr class="style-one" style="position: absolute;top:135px;left:120px;min-width: 130px" />
  100.                             <hr class="style-one" style="position: absolute;top:185px;left:120px;min-width: 130px" />
  101.                             <textarea ng-model="newMessage.params.text2" id="description-box-tmp2" readonly cols="17" rows="1"
  102.                                      style="text-align: center; font-size: 10px; border: 0px;margin-top: 10px">
  103.  
  104.                             </textarea>
  105.                             <div id="logo-box">
  106.                                 <img class="logo-img" ng-if="newMessage.logoUrl.length > 0"
  107.                                      ng-src="{{newMessage.logoUrl}}miniature.tb"
  108.                                      style="width: 130px; height: 30px;" />
  109.                             </div>
  110.                             <hr class="style-one" style="position: absolute; top: 117px;" />
  111.                             <div id="img-box" ng-if="newMessage.params.prodImg.length > 0">
  112.                                 <img ng-src="{{newMessage.params.prodImg}}miniature.tb" />
  113.                             </div>
  114.                         </div>
  115.                     </div>
  116.                 </div>
  117.  
  118.  
  119.  
  120.             </div>
  121.             <div ng-show="progress == 3">
  122.                 <ng-include src="'resources/views/DateAndBeaconsModalPage.html'"></ng-include>
  123.             </div>
  124.         </div>
  125.  
  126.     </div>
  127.  
  128. </div>
  129.  
  130. <div class="modal-footer">
  131.     <button type="button" class="btn btn-default" ng-click="$dismiss(clearData(beaconList, newMessage))" translate>
  132.         PROMO.CANCEL_TEXT
  133.     </button>
  134.     <button type="button" class="btn btn-default"  ng-show="!(progress ==2)"
  135.            ng-click="progress = progress-1" >
  136.         <span translate> PROMO.BACK_TEXT</span>
  137.     </button>
  138.     <button type="button" class="btn btn-info" ng-hide="progress ==3"
  139.            ng-click="progress = progress+1" >
  140.         <!--/*prepareForm(selectedIndex)*/ -->
  141.         <span translate>  PROMO.NEXT_TEXT</span>
  142.     </button>
  143.     <button type="button" class="btn btn-info" ng-show="(progress == 3)" ng-if="newMessage.edited !== true" ng-click="$close(addNewAction(newMessage), showMe())" >
  144.         <span translate>  PROMO.SAVE_TEXT</span>
  145.     </button>
  146.     <button type="button" class=" btn btn-info" ng-show="progress == 3" ng-if="newMessage.edited == true" ng-click="$close(sendChanges(newMessage, beaconList), showMe())" > <span translate>PROMO.SAVE_TEXT</span></button>
  147.  
  148. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement