Skip to content
This repository has been archived by the owner on Dec 23, 2019. It is now read-only.

Commit

Permalink
fix: lint some html files
Browse files Browse the repository at this point in the history
  • Loading branch information
antleblanc committed Sep 17, 2018
1 parent 69535d2 commit 155dece
Show file tree
Hide file tree
Showing 38 changed files with 234 additions and 241 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<oui-column data-title="'telecom_dashboard_total_price' | translate" data-property="priceWithTax.text" data-sortable></oui-column>
<oui-column data-title="'telecom_dashboard_download' | translate" data-property="url">
<div class="float-right">
<a class="telecom-link" target="_blank"rel="noopener"
<a class="telecom-link" target="_blank" rel="noopener"
data-ng-href="{{ $row.url }}"
data-translate-attr="{ 'title': 'telecom_dashboard_bill_url' }">
<span class="ovh-font ovh-font-newtab ovh-font-1x4 my-0 mx-2" aria-hidden="true"></span>
Expand Down
13 changes: 6 additions & 7 deletions client/app/telecom/orders/telecom-orders.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,38 +12,37 @@ <h1 data-translate="telecom_orders_follow_up_title"></h1>
</h2>

<oui-datagrid data-rows="OrdersCtrl.ordersDetails" data-page-size="{{OrdersCtrl.perPage}}">
<oui-column data-title="'telecom_orders_follow_up_header_service' | translate"
<oui-column data-title="'telecom_orders_follow_up_header_service' | translate"
data-property="name" data-sortable="asc">
<a data-ui-sref="telecom.orders.show({serviceName: $row.xdsl })"
data-ng-bind="$row.name | limitTo: 25">
</a>
</oui-column>
<oui-column data-title="'telecom_orders_follow_up_header_type' | translate"
<oui-column data-title="'telecom_orders_follow_up_header_type' | translate"
data-property="accessType">
<span data-ng-bind="'telecom_orders_follow_up_type_' + $row.accessType | translate"></span>
</oui-column>
<oui-column data-title="'telecom_orders_follow_up_header_status' | translate"
<oui-column data-title="'telecom_orders_follow_up_header_status' | translate"
data-property="lineStatus">
<span data-ng-bind="'status_' + $row.lineStatus | translate"></span>
</oui-column>
<oui-column data-title="'telecom_orders_follow_up_header_step' | translate"
<oui-column data-title="'telecom_orders_follow_up_header_step' | translate"
data-property="lastTask.name">
<span data-ng-if="$row.lastTask"
data-ng-bind="'telecom_common_pack_xdsl_order_step_name_' + $row.lastTask.name | translate">
</span>
</oui-column>
<oui-column data-title="'telecom_orders_follow_up_header_state' | translate"
<oui-column data-title="'telecom_orders_follow_up_header_state' | translate"
data-property="lastTask.status" data-sortable>
<i class="ovh-font ovh-font-1x4 my-0 text-{{ $row.badgeClass }} {{ $row.badgeIconClass }}"
data-uib-tooltip="{{'telecom_common_pack_xdsl_order_status_' + $row.lastTask.status | translate}}"
data-tooltip-append-to-body="true">
</i>
</oui-column>
</oui-column>
</oui-datagrid>

</div>
</div>

</div>
<!-- /.telecom-orders -->

Original file line number Diff line number Diff line change
Expand Up @@ -407,10 +407,9 @@
<tfoot class="table-comparison__foot">
<tr class="table-comparison__property">
<td class="table-comparison__cell--empty" colspan="2"></td>
<td class="table-comparison__cell table-comparison__value table-comparison__value--button"
<td class="table-comparison__cell table-comparison__value table-comparison__value--button text-center"
data-title="{{ offer.description }}"
data-ng-repeat="offer in OffersCtrl.process.migrationOffers.result.offers track by $index"
class="text-center">
data-ng-repeat="offer in OffersCtrl.process.migrationOffers.result.offers track by $index">
<button type="button"
class="btn btn-primary"
data-ng-click="OffersCtrl.selectOffer(offer)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
<p class="mb-3 font-weight-bold"
data-ng-if="PackMoveContract.meeting.fakeMeeting"
data-translate="pack_move_contract_fake_meeting">
</p>
<p class="mb-3 font-weight-bold"
data-ng-if="!PackMoveContract.meeting.fakeMeeting"
data-translate-values="PackMoveContract.meeting.slot"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
<h2 class="widget-presentation-title"
data-translate="email_pro_detail_client_change_password">
</h2>
<form name=passwordChange data-ng-submit="$ctrl.changePassword()">
<form name="passwordChange" data-ng-submit="$ctrl.changePassword()">
<div
data-ovh-password
data-ovh-pwd="$ctrl.password"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
<h2 class="widget-presentation-title"
data-translate="hosted_email_detail_client_change_password">
</h2>
<form name=passwordChange data-ng-submit="DetailCtrl.changePassword()">
<form name="passwordChange" data-ng-submit="DetailCtrl.changePassword()">
<label for="password" data-translate="hosted_email_detail_client_change_password_label"></label>
<div class="row">
<ovh-ng-input-password
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,11 @@ <h2 class="widget-presentation-title" data-translate="telefony_activation_shippi
<div class="col-xs-12 col-md-2 font-weight-bold" data-translate="telefony_activation_shipping_mode"></div>
<div class="col-md-5 col-xs-12">
<div class="input-group mt-2">
<input type="radio"
data-ng-model="PackVoipLineActivationCtrl.shippingMode"
value="mondialRelay"
name="shipping-method"
required>
<input type="radio"
data-ng-model="PackVoipLineActivationCtrl.shippingMode"
value="mondialRelay"
name="shipping-method"
required>
<label class="pl-2" data-translate="telefony_activation_shipping_relay_label"></label>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
<div class="my-3 alert alert-warning"
role="alert"
data-ng-if="!XdslStatistics.synchronization.haveSeries && !XdslStatistics.synchronization.loading"
data-translate="xdsl_statistics_error"
data-translate="xdsl_statistics_error">
</div>

Expand Down
14 changes: 7 additions & 7 deletions client/app/telecom/pack/xdsl/modem/dmz/pack-xdsl-modem-dmz.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ <h2 class="widget-presentation-title" data-translate="xdsl_modem_dmz_status"></h
<label for="dmzIPAddress"
data-translate="xdsl_modem_dmz_modem_address"
class="sr-only"></label>
<input name="dmzIPAddress"
id="dmzIPAddress"
type="text"
class="form-control"
data-ng-model="DmzCtrl.dmz"
placeholder="000.000.000.000"
data-ui-validate="'DmzCtrl.validator.isIP($value)'"/>
<input name="dmzIPAddress"
id="dmzIPAddress"
type="text"
class="form-control"
data-ng-model="DmzCtrl.dmz"
placeholder="000.000.000.000"
data-ui-validate="'DmzCtrl.validator.isIP($value)'">
</td>
<td data-ng-if="DmzCtrl.mediator.tasks.changeModemConfigDMZ" class="text-center">
<oui-spinner data-size="s"></oui-spinner>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,27 +88,27 @@ <h3>
<label for="bdhcpName"
data-translate="xdsl_modem_bdhcp_name"
class="sr-only"></label>
<input type="text"
name="bdhcpName"
id="bdhcpName"
class="form-control"
data-ng-model="bail.tempValue.name"
maxlength="30"
placeholder="{{ 'xdsl_modem_bdhcp_placeholder_name' | translate }}"/>
<input type="text"
name="bdhcpName"
id="bdhcpName"
class="form-control"
data-ng-model="bail.tempValue.name"
maxlength="30"
placeholder="{{ 'xdsl_modem_bdhcp_placeholder_name' | translate }}">
</td>

<td class="form-group" data-title="{{ 'xdsl_modem_bdhcp_ip' | translate }}">
<label for="bdhcpIPAddress"
data-translate="xdsl_modem_bdhcp_ip"
class="sr-only"></label>
<input type="text"
name="bdhcpIPAddress"
id="bdhcpIPAddress"
class="form-control"
data-ng-model="bail.tempValue.IPAddress"
data-ui-validate="'BdhcpCtrl.validator.isIP($value)'"
maxlength="15"
placeholder="192.168.x.x"/>
<input type="text"
name="bdhcpIPAddress"
id="bdhcpIPAddress"
class="form-control"
data-ng-model="bail.tempValue.IPAddress"
data-ui-validate="'BdhcpCtrl.validator.isIP($value)'"
maxlength="15"
placeholder="192.168.x.x">
</td>

<td class="form-group" data-title="{{ 'xdsl_modem_bdhcp_mac' | translate }}">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,84 +99,84 @@ <h3>

<td class="form-group" data-title="{{ 'xdsl_modem_dhcp_gateway' | translate }}">
<label for="dhcpDefaultGateway" data-translate="xdsl_modem_dhcp_gateway" class="sr-only"></label>
<input name="dhcpDefaultGateway"
id="dhcpDefaultGateway"
type="text"
class="form-control"
data-ng-model="dhcp.tempValue.defaultGateway"
placeholder="192.168.1.254"
data-ui-validate="'DhcpCtrl.validator.isIP($value)'"
data-maxlength="15"/>
<input name="dhcpDefaultGateway"
id="dhcpDefaultGateway"
type="text"
class="form-control"
data-ng-model="dhcp.tempValue.defaultGateway"
placeholder="192.168.1.254"
data-ui-validate="'DhcpCtrl.validator.isIP($value)'"
data-maxlength="15">
</td>

<td class="form-group" data-title="{{ 'xdsl_modem_dhcp_primary_dns' | translate }}">
<label for="dhcpPrimaryDNS" data-translate="xdsl_modem_dhcp_primary_dns" class="sr-only"></label>
<input name="dhcpPrimaryDNS"
id="dhcpPrimaryDNS"
type="text"
class="form-control"
data-ng-model="dhcp.tempValue.primaryDNS"
placeholder="x.x.x.x"
data-ui-validate="'DhcpCtrl.validator.isIP($value)'"
data-maxlength="15"/>
<input name="dhcpPrimaryDNS"
id="dhcpPrimaryDNS"
type="text"
class="form-control"
data-ng-model="dhcp.tempValue.primaryDNS"
placeholder="x.x.x.x"
data-ui-validate="'DhcpCtrl.validator.isIP($value)'"
data-maxlength="15">
</td>

<td class="form-group" data-title="{{ 'xdsl_modem_dhcp_secondary_dns' | translate }}">
<label for="dhcpSecondaryDNS" data-translate="xdsl_modem_dhcp_secondary_dns" class="sr-only"></label>
<input name="dhcpSecondaryDNS"
id="dhcpSecondaryDNS"
type="text"
class="form-control"
data-ng-model="dhcp.tempValue.secondaryDNS"
placeholder="x.x.x.x"
data-ui-validate="'DhcpCtrl.validator.isIP($value) || !$value'"
data-maxlength="15"/>
<input name="dhcpSecondaryDNS"
id="dhcpSecondaryDNS"
type="text"
class="form-control"
data-ng-model="dhcp.tempValue.secondaryDNS"
placeholder="x.x.x.x"
data-ui-validate="'DhcpCtrl.validator.isIP($value) || !$value'"
data-maxlength="15">
</td>

<td class="form-group" data-title="{{ 'xdsl_modem_dhcp_dns_domain' | translate }}">
<label for="dhcpDomainName" data-translate="xdsl_modem_dhcp_dns_domain" class="sr-only"></label>
<input name="dhcpDomainName"
id="dhcpDomainName"
type="text"
class="form-control"
data-ng-model="dhcp.tempValue.domainName"
placeholder="lan"
required
data-maxlength="30"/>
<input name="dhcpDomainName"
id="dhcpDomainName"
type="text"
class="form-control"
data-ng-model="dhcp.tempValue.domainName"
placeholder="lan"
required
data-maxlength="30">
</td>

<td class="form-group" data-title="{{ 'xdsl_modem_dhcp_playa_dhcp' | translate }}">
<label for="dhcpStartAddress" data-translate="xdsl_modem_dhcp_playa_dhcp_start" class="sr-only"></label>
<label for="dhcpEndAddress" data-translate="xdsl_modem_dhcp_playa_dhcp_end" class="sr-only"></label>
<input name="dhcpStartAddress"
id="dhcpStartAddress"
type="text"
class="form-control"
data-ng-model="dhcp.tempValue.startAddress"
placeholder="192.168.1.64"
data-ui-validate="'DhcpCtrl.validator.isIP($value)'"
data-maxlength="15"/>
<input name="dhcpEndAddress"
id="dhcpEndAddress"
type="text"
class="form-control"
data-ng-model="dhcp.tempValue.endAddress"
placeholder="192.168.1.253"
data-ui-validate="'DhcpCtrl.validator.isIP($value) && DhcpCtrl.isIpInOrder(dhcp.tempValue.startAddress, $value)'"
data-maxlength="15"/>
<input name="dhcpStartAddress"
id="dhcpStartAddress"
type="text"
class="form-control"
data-ng-model="dhcp.tempValue.startAddress"
placeholder="192.168.1.64"
data-ui-validate="'DhcpCtrl.validator.isIP($value)'"
data-maxlength="15">
<input name="dhcpEndAddress"
id="dhcpEndAddress"
type="text"
class="form-control"
data-ng-model="dhcp.tempValue.endAddress"
placeholder="192.168.1.253"
data-ui-validate="'DhcpCtrl.validator.isIP($value) && DhcpCtrl.isIpInOrder(dhcp.tempValue.startAddress, $value)'"
data-maxlength="15">
</td>

<td class="form-group" data-title="{{ 'xdsl_modem_dhcp_allocation_time' | translate }}">
<label for="dhcpLeaseTime" data-translate="xdsl_modem_dhcp_allocation_time" class="sr-only"></label>
<input name="dhcpLeaseTime"
id="dhcpLeaseTime"
type="number"
class="form-control"
data-ng-model="dhcp.tempValue.leaseTime"
data-maxlength="5"
min="0"
max="86400"
placeholder="86400"/>
<input name="dhcpLeaseTime"
id="dhcpLeaseTime"
type="number"
class="form-control"
data-ng-model="dhcp.tempValue.leaseTime"
data-maxlength="5"
min="0"
max="86400"
placeholder="86400">
</td>

<td class="form-group col-mobile-button-big">
Expand Down
Loading

0 comments on commit 155dece

Please sign in to comment.