Вы находитесь на странице: 1из 2

<div class="row">

<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">


<!--<div ng-scrollbar class="scrollme"-->
<table class="table tabCra table-striped table-bordered table-condensed
table-hover" border="1">
<caption>
<div class="center">
<h4>Les jours travaills</h4>
</div>
<div class="validCra center" ng-show="craValide" >
<strong>Cra Valid YES</strong>
</div>
<div class="alert-danger invalidCra center" ng-animate="animate" ng-
show="!craValide" >
<strong>Cra non termin : <span>
{{ ligneEnErreur }}</span></strong>
</div>
</caption>
<thead>
<tr>
<th ng-repeat="item in headerMission" class="{{ item.class }}" ng-
click="headerCraToToggle(item);">{{ item.label }}</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="ligneCra in lignesCra" >
<td ng-repeat="item in ligneCra" class="{{ item.class }}">
<ng-form name="itemForm">
<div ng-if="item.hasImage">
<div ng-if="item.image.src != ''" ng-animate="animate" >
<img data-trigger="hover" data-title="Supprimer la ligne
de cra" data-toggle ="tooltip" bs-tooltip ng-src="{{item.image.src}}"
class="ligneCraImage" ng-click="lignesCra.splice(ligneCra.ligneCraNumber,1)" data-
placement="right" />
</div>
</div>
<div ng-if="item.hasInput && item.isDay && !item.disabled"
class="form-group">
<input type="text" name="{{ item.name }}" ng-
pattern="/^((0(\.[0-9]*)?)|(1(\.0)?))$/" ng-model="item.data" class="{{ item.class
}}" ng-blur="calculNbJoursTravail();validForm()"/>
</div>
<div ng-messages="craForm.item.name.$error" class="errors">
<span ng-message="required">Required!</span>
<span ng-message="min">Too small!</span>
<span ng-message="pattern">Paattern!</span>
</div>
<div ng-if="item.hasInput && item.isDay && item.disabled "
class="form-group">

</div>
<div ng-if="item.hasInput && !item.isDay" class="form-group">
<input type="text" name="{{ item.name }}" ng-
model="item.data" class="cellType"/>
</div>
</ng-form>
</td>
</tr>
</tbody>
</table>
<!--</div>-->
</div>
</div>