mirror of
https://github.com/OMGeeky/andors-trail.git
synced 2026-02-23 15:38:29 +01:00
Factorized the checkbox definition in content editor.
This commit is contained in:
@@ -198,6 +198,9 @@
|
||||
<option value="consumedBonemeals">Bonemeals consumed (greater or equals)</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="filedWithLabel">
|
||||
<label class="checkbox"><input type="checkbox" id="requirenegation" ng-model="require.negate" />Negate this requirement</label>
|
||||
</div>
|
||||
<div ng-show="require.requireType=='questProgress'">
|
||||
<div class="fieldWithLabel">
|
||||
<label for="requireID" >Quest ID:</label>
|
||||
@@ -207,9 +210,6 @@
|
||||
<label for="requirevalue">Stage:</label>
|
||||
<input type="text" size="3" id="requirevalue" class="field at-input-quantity" ng-model="require.value" />
|
||||
</div>
|
||||
<div class="filedWithLabel">
|
||||
<label class="checkbox"><input type="checkbox" id="requirenegation" ng-model="require.negate" />Negate this requirement</label>
|
||||
</div>
|
||||
</div>
|
||||
<div ng-show="require.requireType=='questLatestProgress'">
|
||||
<div class="fieldWithLabel">
|
||||
@@ -220,9 +220,6 @@
|
||||
<label for="requirevalue">Stage:</label>
|
||||
<input type="text" size="3" id="requirevalue" class="field at-input-quantity" ng-model="require.value" />
|
||||
</div>
|
||||
<div class="filedWithLabel">
|
||||
<label class="checkbox"><input type="checkbox" id="requirenegation" ng-model="require.negate" />Negate this requirement</label>
|
||||
</div>
|
||||
</div>
|
||||
<div ng-show="require.requireType=='inventoryRemove'">
|
||||
<div class="fieldWithLabel">
|
||||
@@ -233,9 +230,6 @@
|
||||
<label for="requirevalue">Quantity:</label>
|
||||
<input type="text" size="3" id="requirevalue" class="field at-input-quantity" ng-model="require.value" />
|
||||
</div>
|
||||
<div class="filedWithLabel">
|
||||
<label class="checkbox"><input type="checkbox" id="requirenegation" ng-model="require.negate" />Negate this requirement</label>
|
||||
</div>
|
||||
</div>
|
||||
<div ng-show="require.requireType=='inventoryKeep'">
|
||||
<div class="fieldWithLabel">
|
||||
@@ -246,9 +240,6 @@
|
||||
<label for="requirevalue">Quantity:</label>
|
||||
<input type="text" size="3" id="requirevalue" class="field at-input-quantity" ng-model="require.value" />
|
||||
</div>
|
||||
<div class="filedWithLabel">
|
||||
<label class="checkbox"><input type="checkbox" id="requirenegation" ng-model="require.negate" />Negate this requirement</label>
|
||||
</div>
|
||||
</div>
|
||||
<div ng-show="require.requireType=='wear'">
|
||||
<div class="fieldWithLabel">
|
||||
@@ -259,9 +250,6 @@
|
||||
<label for="requirevalue">Quantity (optional):</label>
|
||||
<input type="text" size="3" id="requirevalue" class="field at-input-quantity" ng-model="require.value" />
|
||||
</div>
|
||||
<div class="filedWithLabel">
|
||||
<label class="checkbox"><input type="checkbox" id="requirenegation" ng-model="require.negate" />Negate this requirement</label>
|
||||
</div>
|
||||
</div>
|
||||
<div ng-show="require.requireType=='skillLevel'">
|
||||
<div class="fieldWithLabel">
|
||||
@@ -272,9 +260,6 @@
|
||||
<label for="requirevalue">Level:</label>
|
||||
<input type="text" size="3" id="requirevalue" class="field at-input-quantity" ng-model="require.value" />
|
||||
</div>
|
||||
<div class="filedWithLabel">
|
||||
<label class="checkbox"><input type="checkbox" id="requirenegation" ng-model="require.negate" />Negate this requirement</label>
|
||||
</div>
|
||||
</div>
|
||||
<div ng-show="require.requireType=='killedMonster'">
|
||||
<div class="fieldWithLabel">
|
||||
@@ -285,9 +270,6 @@
|
||||
<label for="requirevalue">Quantity:</label>
|
||||
<input type="text" size="3" id="requirevalue" class="field at-input-quantity" ng-model="require.value" />
|
||||
</div>
|
||||
<div class="filedWithLabel">
|
||||
<label class="checkbox"><input type="checkbox" id="requirenegation" ng-model="require.negate" />Negate this requirement</label>
|
||||
</div>
|
||||
</div>
|
||||
<div ng-show="require.requireType=='timerElapsed'">
|
||||
<div class="fieldWithLabel">
|
||||
@@ -298,9 +280,6 @@
|
||||
<label for="requirevalue">Number of rounds:</label>
|
||||
<input type="text" size="3" id="requirevalue" class="field at-input-quantity" ng-model="require.value" />
|
||||
</div>
|
||||
<div class="filedWithLabel">
|
||||
<label class="checkbox"><input type="checkbox" id="requirenegation" ng-model="require.negate" />Negate this requirement</label>
|
||||
</div>
|
||||
</div>
|
||||
<div ng-show="require.requireType=='usedItem'">
|
||||
<div class="fieldWithLabel">
|
||||
@@ -311,27 +290,18 @@
|
||||
<label for="requirevalue">Quantity:</label>
|
||||
<input type="text" size="3" id="requirevalue" class="field at-input-quantity" ng-model="require.value" />
|
||||
</div>
|
||||
<div class="filedWithLabel">
|
||||
<label class="checkbox"><input type="checkbox" id="requirenegation" ng-model="require.negate" />Negate this requirement</label>
|
||||
</div>
|
||||
</div>
|
||||
<div ng-show="require.requireType=='spentGold'">
|
||||
<div class="fieldWithLabel">
|
||||
<label for="requirevalue">Quantity:</label>
|
||||
<input type="text" size="3" id="requirevalue" class="field at-input-quantity" ng-model="require.value" />
|
||||
</div>
|
||||
<div class="filedWithLabel">
|
||||
<label class="checkbox"><input type="checkbox" id="requirenegation" ng-model="require.negate" />Negate this requirement</label>
|
||||
</div>
|
||||
</div>
|
||||
<div ng-show="require.requireType=='consumedBonemeals'">
|
||||
<div class="fieldWithLabel">
|
||||
<label for="requirevalue">Quantity:</label>
|
||||
<input type="text" size="3" id="requirevalue" class="field at-input-quantity" ng-model="require.value" />
|
||||
</div>
|
||||
<div class="filedWithLabel">
|
||||
<label class="checkbox"><input type="checkbox" id="requirenegation" ng-model="require.negate" />Negate this requirement</label>
|
||||
</div>
|
||||
</div>
|
||||
<button ng-click="removeRequirement(reply, require)" class="btn pull-right" title="Remove requirement"><i class="icon-trash"></i> Remove requirement</button>
|
||||
<div class="clearfix"></div>
|
||||
|
||||
Reference in New Issue
Block a user