diff --git a/cmd/web-app/static/assets/css/custom.css b/cmd/web-app/static/assets/css/custom.css
index a387a4b..4086a26 100644
--- a/cmd/web-app/static/assets/css/custom.css
+++ b/cmd/web-app/static/assets/css/custom.css
@@ -23,6 +23,18 @@ div.dataTables_wrapper div.dataTables_filter label {
margin-bottom: 0px;
}
+
+div.dataTables_wrapper div.dataTables_filter input {
+ font-size: .8rem;
+ font-weight: 400;
+ border-radius: 0.35rem;
+ font-weight: normal;
+ border: 1px solid rgb(166, 166, 166);
+ color: #858796;
+}
+
+
+
div.dataTables_wrapper div.dataTables_info {
flex: 0 0 50%;
max-width: 50%;
@@ -93,3 +105,7 @@ div.dataTable_card a.paginate_button.current {
background-color: #007bff;
}
+
+.alert p:last-child {
+ margin-bottom: 0;
+}
diff --git a/cmd/web-app/templates/content/account-view.gohtml b/cmd/web-app/templates/content/account-view.gohtml
index 31ed6f9..a627afa 100644
--- a/cmd/web-app/templates/content/account-view.gohtml
+++ b/cmd/web-app/templates/content/account-view.gohtml
@@ -56,9 +56,9 @@
Status
{{ if eq .account.Status.Value "active" }}
- {{ .account.Status.Title }}
+ {{ .account.Status.Title }}
{{else}}
- {{.account.Status.Title }}
+ {{.account.Status.Title }}
{{end}}
AWS credentials must be set and then the following configs be set as well.
export WEB_APP_SERVICE_S3_BUCKET_PUBLIC=example-bucket-public export WEB_APP_SERVICE_STATICFILES_IMG_RESIZE_ENABLED=1{{ else }} -
320, 480, 800
+ +This SaaS Starter Kit includes functions to resize images automatically and render the src of an image tag with an array of source URLs. The functions are custom functions that are rendered with the GO templates.
+ +{{ FUNCTION_NAME $._ctx "RELATIVE_PATH_TO_IMAGE_HERE" }}+ +
Generates an array of three images from the source file with widths of 320, 480 and 800.
<img {{ S3ImgSrcLarge $._ctx "/images/example-image-resize-galaxy-3000x1600.png" }}>- Result:
<img {{ S3ImgSrcLarge $._ctx "/images/example-image-resize-galaxy-3000x1600.png" }}>+ +
HTML:
<img {{ S3ImgSrcLarge $._ctx "/images/example-image-resize-galaxy-3000x1600.png" }}>+
Result:
<img {{ S3ImgSrcLarge $._ctx "/images/example-image-resize-galaxy-3000x1600.png" }}>
320, 480, 800
diff --git a/cmd/web-app/templates/content/projects-create.gohtml b/cmd/web-app/templates/content/projects-create.gohtml index f089585..333a222 100644 --- a/cmd/web-app/templates/content/projects-create.gohtml +++ b/cmd/web-app/templates/content/projects-create.gohtml @@ -3,23 +3,36 @@ {{end}} {{define "content"}} + +