diff --git a/src/app/app.html b/src/app/app.html
index 3650c33..af1d830 100644
--- a/src/app/app.html
+++ b/src/app/app.html
@@ -16,5 +16,4 @@
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/app/app.scss b/src/app/app.scss
index 57c2734..c4f4bdf 100644
--- a/src/app/app.scss
+++ b/src/app/app.scss
@@ -18,41 +18,47 @@
html {
font-size: 1em;
}
-
ion-header {
text-align: center;
+
+ ion-navbar.toolbar {
+ min-height: 35px;
+ height: 35px;
+ }
.toolbar-background {
- background-color: #21BA45;
+ background-color: rgba(0, 0, 0, 0.2);
}
- .ui.header,
- button[menutoggle],
- button[ion-button] span,
- button[ion-button] ion-icon {
+ .toolbar-title {
+ color: white;
+ font-size: 20px;
+ }
+}
+ion-content.content {
+ background: #00b5ad;
+}
+ion-header {
+ .ui.header, button[menutoggle], button[ion-button] span, button[ion-button] ion-icon {
color: white;
}
}
-
ion-menu {
.ui.header {
color: white;
}
}
-
.ui.card {
width: 100%;
- &>.content{
+
+ &>.content {
.author {
text-align: right;
padding-top: 10px;
}
}
}
-
-.ui.form,
-.ui.button {
+.ui.form, .ui.button {
font-size: 100%;
}
-
.ui.button.add-new {
background-color: #21BA45;
color: white;
@@ -62,7 +68,6 @@ ion-menu {
right: 15px;
bottom: 15px;
}
-
.ui.dropdown.button {
text-align: center;
}
\ No newline at end of file
diff --git a/src/app/app.settings.ts b/src/app/app.settings.ts
index fee9aca..a807d4f 100644
--- a/src/app/app.settings.ts
+++ b/src/app/app.settings.ts
@@ -3,8 +3,7 @@ import { Injectable } from '@angular/core';
@Injectable()
export class AppSettings {
public get SERVER_URL(): any {
- // return 'http://hamlets.communityforge.net/commex';
- return 'http://northwind.servicestack.net/customers.json';
+ return 'http://hamlets.communityforge.net/commex';
}
public get URL(): any {
diff --git a/src/assets/images/ces_logo.png b/src/assets/images/ces_logo.png
new file mode 100644
index 0000000..2759831
Binary files /dev/null and b/src/assets/images/ces_logo.png differ
diff --git a/src/components/fieldBuilder/fieldBuilder.html b/src/components/fieldBuilder/fieldBuilder.html
index bded1b0..144d566 100644
--- a/src/components/fieldBuilder/fieldBuilder.html
+++ b/src/components/fieldBuilder/fieldBuilder.html
@@ -19,6 +19,15 @@
+
+
+
+
{{ field.placeholder || '' }}
+
+
+
diff --git a/src/components/fieldBuilder/fieldBuilder.ts b/src/components/fieldBuilder/fieldBuilder.ts
index 4a6f3f4..caeb4c6 100644
--- a/src/components/fieldBuilder/fieldBuilder.ts
+++ b/src/components/fieldBuilder/fieldBuilder.ts
@@ -117,6 +117,15 @@ export class FieldBuilderComponent implements OnInit, AfterViewInit {
}
});
break;
+ case 'select':
+ $field.parents('.ui.dropdown').dropdown({
+ onChange: (value) => {
+ let fieldValue = {};
+ fieldValue[this.field.name] = value;
+ this.fieldForm.setValue(fieldValue);
+ }
+ });
+ break;
case 'member':
this.autocompleteService = this.fieldTypes[this.field.type].autocomplete;
this.autocompleteSearch();
diff --git a/src/pages/login/login.html b/src/pages/login/login.html
index 17aa851..40dbd84 100644
--- a/src/pages/login/login.html
+++ b/src/pages/login/login.html
@@ -1,30 +1,53 @@
-
+ Welcome
-
-
-