1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208
| <!-- New appointment modal-->
<div class="modal fade" id="CreateNewAppointment" tabindex="-1" role="dialog" aria-hidden="true" ng-if="!mobileView">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="H8">
Nouveau rendez-vous</h4>
</div>
<div class="modal-body">
<div class="block-title">
Rendez-vous
<span class="glyphicon glyphicon-refresh pull-right" data-ng-click="loadSlots()" style="cursor:pointer; margin-right: 5px;"></span>
</div>
<form class="form-horizontal">
<div class="form-group">
<label class="col-md-4 control-label">
Date:</label>
<div class='input-group date col-md-8' id='datetimepicker' data-ng-disabled="editing != null" data-ng-model="currentAppointment.date" datepickerz>
<input type='text' class="form-control" id="frmDate" data-ng-disabled="editing != null" />
<span class="input-group-addon" style="padding: 10px 18px;">
<span class="glyphicon glyphicon-calendar"></span>
</span>
<!--<span class="input-group-addon btn primary" style="background-color: #1ba1e2; color: white;"><span class="glyphicon glyphicon-refresh"></span></span>-->
</div>
</div>
<div class="form-group">
<label class="col-md-4 control-label">
Societé:</label>
<div class="col-md-8" style="padding: 0;">
<select class="form-control" ng-model="currentAppointment.truckingcompany" ng-options="item.obj.code as item.obj.name for item in companies | orderBy:'obj.name'">
</select>
</div>
</div>
</form>
<div class="list-app form-control" style="padding: 0; overflow: auto;">
<div ng-show="slotsLoading" style="text-align: center;">
<img src="img/loader.gif?v=635784565800000000&l=fr&u=636470301463087117" alt="loading" /></div>
<scrollable-table>
<table class="table table-striped table-condensed table-hover table-responsive">
<tr class="agenda-appointment" ng-class="{'selected' : curSlot.starttime == slots.obj.starttime, 'disabled': editing != null}" ng-click="clickedSlot(slots)"
ng-repeat="slots in appointmentSlots">
<td class="agenda-date col-md-1 col-sm-1 col-xs-1"><span class="state" ng-class="{'state-green': slots.obj.occupationrate < 55, 'state-yellow': slots.obj.occupationrate >= 55 && slots.obj.occupationrate < 75, 'state-orange': slots.obj.occupationrate >= 75}"></span></td>
<td class="agenda-gate col-md-11 col-sm-11 col-xs-11">
{{slots.obj.starttime}} - {{slots.obj.endtime}} <span ng-if="slots.obj.occupationrate >= 55">(Reste {{slots.obj.nbopen}} RDV disponibles.)</span></td>
</tr>
</table>
</scrollable-table>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default btn-autosize" data-ng-click="cancelNewAppointment()" data-dismiss="modal">
Annuler</button>
<button type="button" class="btn btn-primary btn-autosize" data-ng-click="startNewAppointment()">
Confirmer</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="confirmDeleteContainer" tabindex="-1" role="dialog" style="z-index: 2000;" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="exampleModalLabel">
Confirmation de la suppression</h4>
</div>
<div class="modal-body">
<p>
Vous êtes sûr de vouloir supprimer cet élément ?</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default btn-autosize" ng-click="cancelDeleteContainer()" data-dismiss="modal">
Annuler</button>
<button type="button" class="btn btn-primary btn-autosize" ng-click="confirmDeleteContainer()">
Confirmer</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="exportContainerModal" tabindex="-1" role="dialog" aria-labelledby="exportContainerModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<h4 class="modal-title" id="H1">
Exporter la liste.</h4>
</div>
<div class="modal-body">
<p>
Exportation de la liste en cours</p>
</div>
<div class="modal-footer">
</div>
</div>
</div>
</div>
<div class="modal fade" id="creatingAppModal" tabindex="-1" role="dialog" aria-labelledby="exportContainerModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="H4">
Création du rendez-vous</h4>
</div>
<div class="modal-body">
<p>
La création du rendez-vous est en cours...</p>
</div>
<div class="modal-footer">
</div>
</div>
</div>
</div>
<div class="modal fade" id="deleteappModal" tabindex="-1" role="dialog" aria-labelledby="exportContainerModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="H5">
Suppression du rendez-vous</h4>
</div>
<div class="modal-body">
<p>
La suppression du rendez-vous est en cours...</p>
</div>
<div class="modal-footer">
</div>
</div>
</div>
</div>
<div class="modal fade" id="importContainerModal" tabindex="-1" role="dialog" aria-labelledby="importContainerModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close" ng-hide="importing">
<span aria-hidden="true">×</span>
</button>
<h4 class="modal-title" id="H2">
Importer des containers</h4>
</div>
<div class="modal-body">
<form ng-hide="importing" id="formContainer_file" name="formContainer_file" class="form-horizontal" method="post" action='./handler/object_functions.ashx?trame={"action":"IMPORTFILE", "obj_type": "container", "method": "ImportContainers", "object": {}, "refresh":false}' enctype="multipart/form-data">
<div class="form-group">
<label class="control-label col-lg-2 col-md-2">
Fichier:</label>
<div class="col-lg-8 col-md-8">
<input type="file" name="excelfile" id="excelfile" class="form-control excel" accept=".xlsx,*.csv" />
</div>
<div class="col-lg-2 col-md-2">
<a ng-click="importContainerFile()" class="btn btn-primary"><span class="glyphicon glyphicon-plus" aria-hidden="true"></span></a>
</div>
</div>
<div class="form-group">
<p class="col-lg-5 col-lg-offset-1" style="cursor: pointer;">
Exporter template vide.</p>
<a class="col-lg-2 col-lg-offset-1">
<p style="cursor: pointer;" ng-click="exportEmpty('csv')">
CSV</p>
</a><a class="col-lg-2 col-lg-offset-1">
<p style="cursor: pointer;" ng-click="exportEmpty('xslx')">
XSLX</p>
</a>
</div>
</form>
<pre ng-show="importing" style="text-align: center;">
<img src="img/loader.gif?v=635784565800000000&l=fr&u=636470301463087117" alt="loading" /></pre>
<div class="well">
Les mots clé pour les types de mouvements sont les suivants :
<ul>
<li>IN : Déchargement plein</li>
<li>INEM : Déchargement vide</li>
<li>OUT : Chargement plein</li>
<li>OUTEM : Chargement vide</li>
</ul>
</div>
</div>
<div class="modal-footer">
</div>
</div>
</div>
</div>
<div class="modal fade" id="confirmMobDelete" tabindex="-1" role="dialog" aria-hidden="true" style="z-index: 2000;">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="H3">
Confirmation de la suppression</h4>
</div>
<div class="modal-body">
<p>
Vous êtes sûr de vouloir supprimer cet élément ?
</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default btn-autosize" ng-click="cancelMobDelete()" data-dismiss="modal">
Annuler</button>
<button type="button" class="btn btn-primary btn-autosize" ng-click="confirmMobDelete()">
Confirmer</button>
</div>
</div>
</div>
</div> |
Partager