Example #1
0
func UploadBlobButton(dropZoneSelector, listSelector, onComplete string) view.View {
	var button view.Div
	button.Content = view.Views{
		view.H1("jQuery required!"),
		RequireUploadBlobButtonScript("#"+button.ID(), dropZoneSelector, listSelector, onComplete),
	}
	return &button
}
Example #2
0
func UploadImageButton(dropZoneSelector, listSelector string, thumbnailSize int, onComplete string) view.View {
	var button view.Div
	button.Content = view.Views{
		view.H1("jQuery required!"),
		RequireUploadImageButtonScript("#"+button.ID(), dropZoneSelector, listSelector, thumbnailSize, onComplete),
	}
	return &button
}