diff --git a/i18n/en-US.json b/i18n/en-US.json index 622f93d..8aed9e6 100644 --- a/i18n/en-US.json +++ b/i18n/en-US.json @@ -293,7 +293,7 @@ "realm": "Realm" }, "spare": "Spare", - "title": "Devices", + "title": "Total Devices", "titleGrid": { "edit": "Edit", "enable": "Enable", diff --git a/i18n/fr-FR.json b/i18n/fr-FR.json index e8a57f7..6a727db 100644 --- a/i18n/fr-FR.json +++ b/i18n/fr-FR.json @@ -268,7 +268,7 @@ "realm": "Royaume" }, "spare": "Disponibles", - "title": "Téléphones", + "title": " Nombre de Téléphones", "titleGrid": { "edit": "Modifier", "enable": "Activer", diff --git a/submodules/devices/devices.css b/submodules/devices/devices.css index 5e24d5c..5c37428 100644 --- a/submodules/devices/devices.css +++ b/submodules/devices/devices.css @@ -1,36 +1,72 @@ #devices_container .devices-header { - background: #fcfcfc; - border: 1px solid #ddd; - border-radius: 4px; font-size: 18px; - height: 30px; line-height: 30px; - padding: 15px; } #devices_container .devices-header > * { display: inline-block; } +#devices_container .devices-header .title { + padding: 15px; + border: 1px solid #dcdcdc; + border-radius: 4px 0 0 4px; +} + #devices_container .devices-header .count-devices { - color: #22ccff; display: inline-block; - font-size: 28px; - font-weight: 600; - margin-left: 10px; - margin-right: 25px; margin-top: -5px; + margin-left: 15px; + color: #22ccff; + font-weight: 600; + font-size: 28px; +} + +#devices_container .devices-header .dropdown { + vertical-align: bottom; } #devices_container .devices-header .add-device { - font-size: 14px; + display: block; + margin: 0; + padding: 9px 13px; + border: 1px solid #dcdcdc; + border-left: 0; + border-radius: 0 4px 4px 0; + background-image: -webkit-linear-gradient(top, hsl(0, 0%, 98%) 0%, hsl(0, 0%, 95%) 100%); + background-image: -moz-linear-gradient(top, hsl(0, 0%, 98%) 0%, hsl(0, 0%, 95%) 100%); + background-image: -ms-linear-gradient(top, hsl(0, 0%, 98%) 0%, hsl(0, 0%, 95%) 100%); + background-image: -o-linear-gradient(top, hsl(0, 0%, 98%) 0%, hsl(0, 0%, 95%) 100%); + background-image: linear-gradient(top, hsl(0, 0%, 98%) 0%, hsl(0, 0%, 95%) 100%); + height: 42px; + vertical-align: top; + text-align: center; + font-size: 12px; +} + +#devices_container .devices-header .add-device:hover { + background-image: none; + background-color: #eee; + text-decoration: none; } #devices_container .devices-header .add-device i { + display: block; + margin: 0; + color: #929799; text-decoration: none; - margin-right: 5px; } +#devices_container .devices-header .add-device:hover i { + color: #22ccff; +} + +#devices_container .devices-header .search-box { margin: 16px 0 16px 15px; } + + + + + #devices_container .devices-grid { background: #fcfcfc; border: 1px solid #ddd; diff --git a/views/devices-layout.html b/views/devices-layout.html index 0c4268a..6de3a51 100644 --- a/views/devices-layout.html +++ b/views/devices-layout.html @@ -4,8 +4,12 @@ {{ i18n.devices.title }} {{countDevices}} +