fixed config admin panel field input padding
This commit is contained in:
parent
5120a2f287
commit
4d94ed50ee
|
@ -26,7 +26,7 @@ angular.module('forms').config(['$translateProvider', function ($translateProvid
|
|||
EMAIL_SUBJECT: 'Subject',
|
||||
EMAIL_MESSAGE: 'Message',
|
||||
ENABLE_RESPONDENT_NOTIFICATIONS: 'Respondent Notifications are currently',
|
||||
ENABLE_SELF_NOTIFICATIONS: 'Respondent Notifications are currently',
|
||||
ENABLE_SELF_NOTIFICATIONS: 'Self Notifications are currently',
|
||||
TOGGLE_ENABLED: 'Enabled',
|
||||
TOGGLE_DISABLED: 'Disabled',
|
||||
ADD_VARIABLE_BUTTON: 'Add variable',
|
||||
|
|
|
@ -26,7 +26,7 @@ angular.module('forms').config(['$translateProvider', function ($translateProvid
|
|||
EMAIL_SUBJECT: 'Sujet',
|
||||
EMAIL_MESSAGE: "Message",
|
||||
ENABLE_RESPONDENT_NOTIFICATIONS: 'Les notifications des répondants sont actuellement',
|
||||
ENABLE_SELF_NOTIFICATIONS: "Les notifications des répondants sont actuellement",
|
||||
ENABLE_SELF_NOTIFICATIONS: 'Les notifications automatiques sont actuellement',
|
||||
TOGGLE_ENABLED: 'Activé',
|
||||
TOGGLE_DISABLED: 'Désactivé',
|
||||
ADD_VARIABLE_BUTTON: "Ajouter une variable",
|
||||
|
|
|
@ -26,7 +26,7 @@ angular.module('forms').config(['$translateProvider', function ($translateProvid
|
|||
EMAIL_SUBJECT: "Betreff",
|
||||
EMAIL_MESSAGE: 'Nachricht',
|
||||
ENABLE_RESPONDENT_NOTIFICATIONS: 'Antwortbenachrichtigungen sind derzeit',
|
||||
ENABLE_SELF_NOTIFICATIONS: 'Antwortbenachrichtigungen sind derzeit',
|
||||
ENABLE_SELF_NOTIFICATIONS: 'Selbstbenachrichtigungen sind derzeit',
|
||||
TOGGLE_ENABLED: 'Aktiviert',
|
||||
TOGGLE_DISABLED: 'Deaktiviert',
|
||||
ADD_VARIABLE_BUTTON: 'Variable hinzufügen',
|
||||
|
|
|
@ -26,7 +26,7 @@ angular.module('forms').config(['$translateProvider', function ($translateProvid
|
|||
EMAIL_SUBJECT: 'Oggetto',
|
||||
EMAIL_MESSAGE: 'Messaggio',
|
||||
ENABLE_RESPONDENT_NOTIFICATIONS: 'Notifiche rispondenti sono attualmente',
|
||||
ENABLE_SELF_NOTIFICATIONS: 'Notifiche rispondenti sono attualmente',
|
||||
ENABLE_SELF_NOTIFICATIONS: 'Le notifiche auto sono attualmente',
|
||||
TOGGLE_ENABLED: 'Abilitato',
|
||||
TOGGLE_DISABLED: 'disabilitato',
|
||||
ADD_VARIABLE_BUTTON: 'Aggiungi variabile',
|
||||
|
|
|
@ -27,7 +27,7 @@ angular.module('forms').config(['$translateProvider', function ($translateProvid
|
|||
EMAIL_SUBJECT: 'Asunto',
|
||||
EMAIL_MESSAGE: 'Mensaje',
|
||||
ENABLE_RESPONDENT_NOTIFICATIONS: 'Las notificaciones de los demandados son actualmente',
|
||||
ENABLE_SELF_NOTIFICATIONS: 'Las notificaciones de los demandados son actualmente',
|
||||
ENABLE_SELF_NOTIFICATIONS: 'Las notificaciones automáticas están actualmente',
|
||||
TOGGLE_ENABLED: 'Habilitado',
|
||||
TOGGLE_DISABLED: 'Desactivado',
|
||||
ADD_VARIABLE_BUTTON: 'Agregar variable',
|
||||
|
|
|
@ -36,7 +36,6 @@ angular.module('forms').directive('configureFormDirective', ['$rootScope', '$fil
|
|||
return field.fieldType === 'email';
|
||||
});
|
||||
|
||||
console.log($scope.emailFields);
|
||||
$scope.formHasEmailField = ($scope.emailFields.length > 0);
|
||||
|
||||
$scope.go = function(tab){
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<h5>{{ 'SEND_NOTIFICATION_TO' | translate }}:</h5>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 field-input">
|
||||
<div class="col-sm-12 field-input">
|
||||
<ui-select ng-model="myform.respondentNotifications.toField" theme="selectize">
|
||||
<ui-select-match placeholder="{{ 'OPTION_PLACEHOLDER' | translate }}">
|
||||
{{$select.selected.title}}
|
||||
|
@ -25,11 +25,11 @@
|
|||
</div>
|
||||
|
||||
<div class="row field">
|
||||
<div class="field-title col-xs-12">
|
||||
<div class="field-title col-sm-12">
|
||||
<h5>{{ 'REPLY_TO' | translate }}:</h5>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 field-input">
|
||||
<div class="col-sm-12 field-input">
|
||||
<input class="form-control"
|
||||
type="text"
|
||||
ng-model="myform.respondentNotifications.replyEmail"
|
||||
|
@ -41,7 +41,7 @@
|
|||
<div class="field-title col-sm-12">
|
||||
<h5>{{ 'EMAIL_SUBJECT' | translate }}:</h5>
|
||||
</div>
|
||||
<div class="col-sm-12">
|
||||
<div class="col-sm-12 field-input">
|
||||
<text-angular class="email-subject" ng-model="myform.respondentNotifications.subject" ta-toolbar="[['insertField']]" ta-default-wrap="n"></text-angular>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -51,7 +51,7 @@
|
|||
<h5>{{ 'EMAIL_MESSAGE' | translate }}</h5>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-12">
|
||||
<div class="col-sm-12 field-input">
|
||||
<text-angular class="email-subject" ng-model="myform.respondentNotifications.htmlTemplate" ta-toolbar="[['bold','italics', 'insertField']]"></text-angular>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<h5>{{ 'SEND_NOTIFICATION_TO' | translate }}</h5>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-12">
|
||||
<div class="col-sm-12 field-input">
|
||||
<input class="form-control"
|
||||
type="text"
|
||||
ng-model="myform.selfNotifications.toEmails"
|
||||
|
@ -18,7 +18,7 @@
|
|||
<h5>{{ 'REPLY_TO' | translate }}</h5>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 ui-select">
|
||||
<div class="col-sm-12 ui-select field-input">
|
||||
<ui-select ng-model="myform.selfNotifications.fromField" theme="selectize">
|
||||
<ui-select-match placeholder="{{ 'OPTION_PLACEHOLDER' | translate }}">
|
||||
{{$select.selected.title}}
|
||||
|
@ -36,7 +36,7 @@
|
|||
<h5>{{ 'EMAIL_SUBJECT' | translate }}</h5>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-12">
|
||||
<div class="col-sm-12 field-input">
|
||||
<text-angular class="email-subject" ng-model="myform.selfNotifications.subject" ta-toolbar="[['insertField']]" ta-default-wrap="n"></text-angular>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -46,7 +46,7 @@
|
|||
<h5>{{ 'EMAIL_MESSAGE' | translate }}</h5>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-12">
|
||||
<div class="col-sm-12 field-input">
|
||||
<text-angular ng-model="myform.selfNotifications.htmlTemplate" ta-toolbar="[['bold','italics', 'insertField']]"></text-angular>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -60,12 +60,12 @@
|
|||
|
||||
<label style="display: inline-block;">
|
||||
<input type="radio" data-ng-value="true" ng-model="myform.selfNotifications.enabled" ng-required="true" style="background-color:#33CC00;"/>
|
||||
<span>{{ 'ENABLED' | translate }}</span>
|
||||
<span>{{ 'TOGGLE_ENABLED' | translate }}</span>
|
||||
</label>
|
||||
|
||||
<label style="display: inline-block;">
|
||||
<input type="radio" data-ng-value="false" ng-model="myform.selfNotifications.enabled" ng-required="true" />
|
||||
<span>{{ 'DISABLED' | translate }}</span>
|
||||
<span>{{ 'TOGGLE_DISABLED' | translate }}</span>
|
||||
</label>
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue