configuration.html 1.8 KB

12345678910111213141516171819202122232425262728293031323334
  1. <ion-view title="Sign-In">
  2. <ion-header-bar class="bar-positive">
  3. <h1 class="title">Configuración</h1>
  4. <div class="buttons">
  5. <button class="button button-clear ion-checkmark-round" style="font-size:22px !important;" type="submit" form="configuration-form" ng-disabled="!config.host || !config.port || !config.database || !config.username || !config.password"></button>
  6. </div>
  7. </ion-header-bar>
  8. <ion-content>
  9. <form id="configuration-form" ng-submit="configure()">
  10. <div class="list">
  11. <label class="item item-input item-stacked-label">
  12. <span class="input-label">Host</span>
  13. <input type="text" autofocus="autofocus" placeholder="localhost" ng-model="config.host">
  14. </label>
  15. <label class="item item-input item-stacked-label">
  16. <span class="input-label">Puerto</span>
  17. <input type="number" placeholder="8069" value="8069" ng-model="config.port">
  18. </label>
  19. <label class="item item-input item-stacked-label">
  20. <span class="input-label">Base de datos</span>
  21. <input type="text" placeholder="odoo" ng-model="config.database">
  22. </label>
  23. <label class="item item-input item-stacked-label">
  24. <span class="input-label">Usuario</span>
  25. <input type="text" placeholder="admin" ng-model="config.username">
  26. </label>
  27. <label class="item item-input item-stacked-label">
  28. <span class="input-label">Contraseña</span>
  29. <input type="password" placeholder="admin" ng-model="config.password">
  30. </label>
  31. </div>
  32. </form>
  33. </ion-content>
  34. </ion-view>