Added Contact No and Email
authorHarishankar <v.harishankar@gmail.com>
Fri, 26 Oct 2018 13:18:13 +0000 (18:48 +0530)
committerHarishankar <v.harishankar@gmail.com>
Fri, 26 Oct 2018 13:18:13 +0000 (18:48 +0530)
Added contact number and email to basic
details thus completing the first screen

bindata.go
resources/resumebuilder.glade
resumebuilder.go

index 86ca043..12cacc9 100644 (file)
@@ -68,7 +68,7 @@ func (fi bindataFileInfo) Sys() interface{} {
        return nil
 }
 
-var _resourcesResumebuilderGlade = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x5a\x49\x6f\xe3\x36\x14\xbe\xe7\x57\xb0\xbc\x16\x8e\xb7\xc9\x4c\x02\xd8\x1a\x34\x93\xf1\x5c\xa6\x33\x40\x9d\xb6\x47\x81\x26\x9f\x25\xd6\x34\xa9\x92\x94\x97\x7f\x5f\xd0\x4b\xe2\x45\x92\x25\xd9\x96\x1d\x34\x97\x20\x96\xf8\xa8\xc7\x6f\x79\x5c\xc0\xce\xe7\xd9\x58\xa0\x09\x68\xc3\x95\xec\xe2\xe6\x6d\x03\x23\x90\x54\x31\x2e\x83\x2e\xfe\xf3\xb9\x57\xbb\xc7\x9f\xbd\x9b\xce\x2f\xb5\x1a\xfa\x06\x12\x34\xb1\xc0\xd0\x94\xdb\x10\x05\x82\x30\x40\xed\xdb\x56\xeb\xb6\x89\x6a\x35\xef\xa6\xc3\xa5\x05\x3d\x24\x14\xbc\x1b\x84\x3a\x1a\xfe\x8d\xb9\x06\x83\x04\x1f\x74\x71\x60\x47\xbf\xe2\xd7\x0f\xb5\x6f\x5b\x0d\x5c\x5f\xb4\x53\x83\x7f\x80\x5a\x44\x05\x31\xa6\x8b\xbf\xd9\xd1\xdf\x5c\x32\x35\xc5\x88\xb3\x2e\xfe\x9d\x70\xb9\xfa\xed\x1a\x23\xd4\x89\xb4\x8a\x40\xdb\x39\x92\x64\x0c\x5d\xec\xfe\x62\xef\xb5\x59\xa7\xbe\x6e\x90\xdc\x9e\x12\xe9\x0f\x15\x8d\x0d\xf6\x7a\x44\x18\x38\xd4\x7e\xba\xe8\xd5\x8f\x94\xe1\x96\x2b\x89\x3d\x0a\x6e\x94\x35\x25\x6b\x11\xd1\x20\xed\x5e\x07\x34\xe4\x82\x2d\xff\x77\xdd\x09\x42\x21\x54\x82\x81\xae\xaf\x1a\xd4\x37\x5a\xec\xb4\xde\xc3\xe2\x87\xb2\x30\x50\x6a\x84\xd7\x4d\xf6\x33\x9c\x70\xc3\x07\x02\xb0\xf7\xac\xe3\xbd\xe1\x1c\x80\x20\x35\x64\x2b\xad\xe4\xd4\x7a\x7c\x06\x0c\x6f\xb6\x29\x91\x5b\x19\x8a\xd2\x93\x4c\x4e\xf4\xab\xb4\x7a\xbe\x94\x53\x8f\x6b\x63\x7f\x2c\x24\xb3\x13\x96\xc4\x3c\xb3\xa1\xef\x54\x0c\xc6\x62\xaf\xd5\xba\x4b\x4b\xa4\xf4\xc8\x4b\xb2\x93\x16\xca\x65\x14\x5b\x3f\x8a\x75\xa4\x0c\x60\xcf\x3d\x4c\x0f\xef\xd4\x97\x40\xed\x3d\x8f\x08\x1d\x71\x19\x1c\xfe\xdc\xcc\x81\xd2\x2c\x92\xe0\x1c\x7b\xcd\x8c\x80\x4e\x3d\xf1\xdb\x5b\x86\x79\x79\x98\x93\xfc\xef\x64\x00\x22\x07\xdb\xa7\xe0\x2b\x53\xad\x49\xb1\x62\x91\x1c\xb2\x9a\x48\x23\x88\x25\x03\xe1\x40\x02\xd7\x95\x13\x2a\xaa\x80\xc1\xf6\xa7\xa2\x04\xde\xbf\x13\x98\x83\xc0\xef\xe4\x4a\xf9\xbb\xcb\x08\x38\x07\x7f\x1b\xd5\xd7\x61\xf2\x5e\x7c\xd1\xe5\x8a\xef\x5d\xe3\x3a\xbd\xbb\xcb\xf6\x87\x22\xe3\x0a\x81\x07\xa1\xdd\x88\xce\x18\xe4\xd5\x97\x8d\x3e\xcc\xae\xad\x60\xb4\xee\x33\xe8\x38\x87\x6a\xfe\x20\x8c\xab\xc7\xd8\x5a\x25\xd7\x9b\x00\x91\xa7\x66\xa4\xa3\xea\x3a\x28\x32\xea\x1d\x3d\xde\x3d\x1c\xa5\xc7\x42\x6a\xbe\x44\xe9\xd2\x40\x81\x4f\xc0\xf8\x0c\x86\x24\x16\xb6\x84\xa2\x09\xb5\x7c\x52\x22\x6b\xa6\xc9\xd4\xe7\x92\x71\x4a\xac\xd2\x39\xe2\x0d\x0f\x24\x11\xab\x68\xab\x82\x40\x00\xc3\x28\x24\x92\x09\xd0\x5d\xdc\x87\x99\x23\xbb\x0f\x02\xa8\x75\x6f\xcc\x94\x44\x11\xb0\x2e\x96\x0a\xd7\xcf\x54\x86\x33\x56\x44\x29\x8e\x6a\x5d\xd8\x51\x3d\x18\x1f\xeb\xa9\x65\x17\x47\xb8\xea\x53\xa1\x29\xfd\xdd\x55\xe7\x74\xd5\x4e\x7c\xa0\x55\x1c\xe5\x28\x9b\x87\xcd\xb8\x54\x49\x95\x76\x6c\x37\x0a\xe9\xea\xd2\x76\x3c\xc6\x82\x3f\x6d\x08\xfa\x08\x07\x7e\x3c\xce\x81\x1f\xdf\x1d\x98\x1a\x77\x3d\x0e\x5c\x88\xa4\x52\x03\x3e\x64\xd8\xe9\x3a\x0c\xf8\x46\xcf\x14\x9e\x88\x05\xa4\x86\xe8\x91\x6b\x1b\x5e\xdb\x36\xe1\xa1\xe2\x73\x85\xcd\xe5\x4c\x9f\x4c\xe0\x04\xf5\xd4\x75\x73\x44\x39\x6d\xb6\x0b\xed\x3c\x77\xeb\x69\xfb\x0d\xae\x68\x8a\x2d\xd7\xa9\xe0\x74\xb4\x5d\x9f\x5e\x88\xfb\xb2\x7e\x57\x41\x81\x2a\x36\x73\xcd\xb1\xf7\x21\x6b\xb5\x79\x0e\x71\x7f\x21\x02\x24\x23\x7a\x29\x6f\xe7\xfb\x9f\xc3\x85\xeb\x4b\x1c\xa6\x64\x1d\xd8\x1e\x56\x65\xf3\xbe\xf2\xe3\x94\xa2\xa1\x73\x20\x1a\x7b\xad\x46\xb1\x81\x8e\x95\x74\x70\x16\xda\xda\x33\x32\x3f\xb8\xf3\xd8\x52\x3c\x23\xf3\x9a\x79\x99\x7b\x5f\x64\xff\xa4\x1e\xab\xdd\xa1\x16\x2a\x2d\xae\x98\x57\xac\xf7\x37\x3a\x21\xff\xc6\x98\x06\x63\xd0\x50\x69\x44\xd5\x78\x1c\x4b\xb7\xde\xe3\x4a\x5e\xdb\xe4\x9c\x59\xf2\xce\x41\x68\x4f\x97\x3c\xe7\x3f\x6a\x0a\xad\xbe\x56\x95\x13\x93\x3f\x23\x82\x07\x12\x7b\x85\xf2\x35\x21\x61\x6a\xea\xdb\x79\x04\xd8\x93\x4a\x66\x7f\x37\x91\xa8\x64\xb2\xfa\x54\x2b\x21\x80\x6d\x5d\xb4\x38\x19\x7a\x07\x10\x2c\x13\xbe\x85\x04\xcf\x70\xdb\x21\x2c\x92\xf1\x78\x86\x99\xfd\x8b\xc3\xea\x0a\xca\xca\xe4\x29\xb0\x1c\x0d\xcd\x09\xe0\x49\xea\x82\x50\x0a\x91\x35\xbe\x25\x83\x1c\x2a\x5d\xf5\x91\x52\x9b\xd6\x6f\xd3\x25\x95\x1a\x98\x1a\xb4\xe4\x04\x39\x0a\xd7\xa6\xe0\x16\xc6\x89\x28\x27\x5c\xa2\xc9\xf1\x8d\x0b\x4d\x9d\xed\xf6\x49\x6e\x38\x24\x65\x9f\x9c\xf9\x6e\x0e\x96\x0c\xfc\x21\x17\x22\x93\xf6\x84\x44\xf6\x92\xd8\xa2\x68\xa1\xa3\xcd\x0e\x72\xcd\xe1\xd5\xde\x07\xca\x3d\x6f\x3f\x12\xc3\x29\x7a\x02\x4b\xb8\x30\x69\x00\x5d\x09\xfe\xd9\xa0\x5f\xf8\x12\x56\x79\x94\x5e\x2f\xd4\xa5\xd8\xe5\xff\xad\xd0\xaf\x2c\xce\x5a\x49\x9e\x11\xf7\x6a\x05\x9d\x5c\xd9\x0b\x12\x9d\xab\x93\x6d\xc8\x36\x5e\xbe\xbe\xe8\xd4\x37\x6e\xb0\xfe\x17\x00\x00\xff\xff\x39\xe0\xa7\xcf\x1a\x2b\x00\x00")
+var _resourcesResumebuilderGlade = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xec\x5b\x5b\x6f\xe2\x38\x14\x7e\xef\xaf\xf0\xfa\x75\x45\x29\x50\x3a\xad\x04\x19\x6d\x2f\x8c\x56\x9a\xe9\x48\xdb\xee\xee\x23\x32\xf6\x81\x78\x6b\xec\xac\xed\x14\xf8\xf7\x2b\x73\x69\xb9\x24\x21\x97\x12\x52\x2d\x2f\xa3\x19\xe2\xe3\x1c\x7f\xe7\xfb\x3e\x5f\xe2\xe9\x7c\x9d\x8e\x05\x7a\x05\x6d\xb8\x92\x5d\xdc\x38\xbf\xc0\x08\x24\x55\x8c\xcb\x51\x17\xff\xf9\xdc\xab\x5d\xe3\xaf\xde\x59\xe7\x97\x5a\x0d\x7d\x03\x09\x9a\x58\x60\x68\xc2\xad\x8f\x46\x82\x30\x40\xad\xf3\x66\xf3\xbc\x81\x6a\x35\xef\xac\xc3\xa5\x05\x3d\x24\x14\xbc\x33\x84\x3a\x1a\xfe\x0d\xb9\x06\x83\x04\x1f\x74\xf1\xc8\xbe\xfc\x8a\xdf\x5f\xd4\x3a\x6f\x5e\xe0\xfa\xbc\x9d\x1a\xfc\x03\xd4\x22\x2a\x88\x31\x5d\xfc\xcd\xbe\xfc\xcd\x25\x53\x13\x8c\x38\xeb\xe2\x1f\x84\xcb\xe5\xbf\x5d\x63\x84\x3a\x81\x56\x01\x68\x3b\x43\x92\x8c\xa1\x8b\xdd\x9f\xd8\x7b\x6f\xd6\xa9\xaf\x1a\x44\xb7\xa7\x44\xf6\x87\x8a\x86\x06\x7b\x3d\x22\x0c\xec\x6b\x3f\x99\xf7\xda\x0f\x94\xe1\x96\x2b\x89\x3d\x0a\x6e\x94\x35\x25\x6b\x01\xd1\x20\xed\x4e\x07\xd4\xe7\x82\x2d\xfe\xee\xba\x13\x84\x82\xaf\x04\x03\x5d\x5f\x36\xa8\xaf\xb5\xd8\x6a\xbd\x83\xc5\xa3\xb2\x30\x50\xea\x05\xaf\x9a\xec\x66\xf8\xca\x0d\x1f\x08\xc0\xde\xb3\x0e\x77\x86\xb3\x07\x82\xd8\x90\x8d\xb4\xa2\x53\xeb\xf1\x29\x30\xbc\xde\x26\x47\x6e\x79\x4a\x14\x9f\x64\x74\xa2\x0f\xd2\xea\xd9\x82\x4e\x3d\xae\x8d\x7d\x9c\x53\x66\x2b\x2c\xaa\xf2\xcc\xfa\x7d\xc7\x62\x30\x16\x7b\xcd\x66\x3b\x2e\x91\xdc\x23\xcf\x59\x9d\xb8\x50\x2e\x83\xd0\xf6\x83\x50\x07\xca\x00\xf6\xdc\x8f\xf1\xe1\x9d\xfa\x02\xa8\x9d\xdf\x03\x42\x5f\xb8\x1c\xed\x7f\xdd\xd4\x81\xd2\xc8\x92\xe0\x0c\x7b\x8d\x84\x80\x4e\x3d\xf2\xdd\x1b\x82\x79\xfb\x31\x65\xf1\xbf\x93\x01\x88\x14\xd5\xfe\x88\x7a\x25\xb2\x35\x2a\x56\xcc\x93\x43\x56\x13\x69\x04\xb1\x64\x20\x1c\x48\xe0\xba\x72\x44\x45\x25\x54\xb0\xf5\x25\x6b\x01\xaf\x4f\x05\x4c\x51\xc0\xef\xa4\xa2\xf5\x6b\x27\x04\x1c\xa2\x7e\x6b\xee\xeb\x30\x39\x99\x2f\x3a\x9e\xf9\xb6\x2f\xaa\xa9\xdd\xed\x6a\x5f\x66\x19\x97\x0f\x7c\xe4\xdb\xb5\xe8\x84\x41\x56\xde\x36\x9e\x60\x5a\x35\xc3\x68\x5e\x27\x94\xe3\x10\xac\xf9\x83\x30\xae\x6e\x43\x6b\x95\x5c\x6d\x02\x44\x1a\xcf\x88\x47\xd5\x75\x90\x65\xd4\x5b\x7c\x6c\xdf\x14\xe2\x63\x26\x36\x1f\xc3\xba\x34\x50\xe0\xaf\x60\xfa\x0c\x86\x24\x14\x36\x07\xa3\x09\xb5\xfc\x35\x47\xd6\x4c\x93\x49\x9f\x4b\xc6\x29\xb1\x4a\xa7\x88\x37\x7c\x24\x89\x58\x46\x5b\x35\x1a\x09\x60\x18\xf9\x44\x32\x01\xba\x8b\x9f\x60\xea\x8a\xfd\x04\x02\xa8\x75\x4f\xcc\x84\x04\x01\xb0\x2e\x96\x0a\xd7\x0f\x64\xc3\x09\x2b\xa2\x18\x45\x35\x8f\xac\xa8\x1e\x8c\x8b\x6a\x6a\xd1\x45\x01\x55\x7d\xc9\x34\xa5\x9f\x54\x75\x48\x55\x6d\xc5\x8f\xb4\x0a\x83\x14\xb6\xb9\x5f\x8c\x0b\x96\x94\x29\xc7\xd6\x45\x26\x5e\x1d\x5b\x8e\x45\x24\xf8\xd3\xfa\xa0\x0b\x28\xf0\xaa\x98\x02\xaf\x4e\x0a\x8c\x8d\xab\x8e\x02\xe7\x24\x29\x55\x80\x37\x09\x72\xaa\x86\x00\x3f\xe9\x99\xc2\x3d\xb1\x80\xd4\x10\xdd\x72\x6d\xfd\xaa\x6d\x13\x6e\x4a\x3e\x57\x58\x5f\xce\x3c\x91\x57\xf8\x00\x3f\x75\xdd\x14\xb0\xd3\x46\x2b\xd3\xce\x73\xdb\x4f\x5b\x9f\x70\x45\x93\x6d\xb9\x4e\x05\xa7\x2f\x9b\xfe\xf4\x56\xb8\xbb\xd5\xb3\x12\x0c\xaa\x99\x95\xdb\x97\x37\xad\x72\xc9\x7d\x47\x04\x48\x46\xf4\x82\xde\x4e\xf7\x3f\x87\x73\xd5\xe7\x38\x4c\x49\x3a\xb0\xdd\xcf\xca\xc6\x75\xe9\xc7\x29\x59\x43\x67\x40\x34\xf6\x9a\x17\xd9\x06\x3a\x56\xd2\xc1\x99\x69\x6b\xcf\xc8\x6c\xef\xce\x63\x83\xf1\x8c\xcc\x6a\xe6\x6d\xee\x7d\xa3\xfd\xbd\xba\x2d\x77\x87\x9a\xc9\x5a\x9c\x99\x97\x7c\xe4\xf3\x49\x27\xe4\xdf\x18\xd3\x60\x0c\x1a\x2a\x8d\xa8\x1a\x8f\x43\xe9\xd6\x7b\x5c\xc9\xaa\x4d\xce\xad\xa4\xc5\xfa\x21\x0a\xda\xd3\x39\xcf\xf9\x0b\x4d\xa1\xe5\x7b\x55\x3e\x32\xf5\xa7\x44\xf0\x91\xc4\x5e\xa6\x7c\x8d\x4f\x98\x9a\xf4\xed\x2c\x00\xec\x49\x25\x93\xdf\x1b\x59\xa8\xe8\x62\x3d\x51\xad\x84\x00\xb6\x71\xd1\xe2\xc3\xd0\xdb\x83\x60\x9e\xf0\x0d\x24\x78\x82\xda\xf6\x61\x11\x8d\xc7\x33\x4c\xed\x5f\x1c\x96\x57\x50\x96\x22\x8f\x81\xa5\x30\x34\x1f\x00\x4f\x54\x17\x84\x52\x08\xac\xe9\x5b\x32\x48\xc1\xd2\x65\x1f\x31\xde\xb4\x7a\x1a\x4f\xa9\xd8\xc0\xd8\xa0\x45\x4d\x90\x2b\xe1\x4a\x14\xdc\xc2\x38\x12\xe5\x88\x4b\x34\x29\xde\x71\xa4\xa9\xb3\xd5\x3a\xdd\x70\x48\x33\x77\xde\x29\x69\x09\xb5\xe8\x31\x1c\x0f\x92\x4e\xb1\x8e\x33\x61\x5e\x36\x4b\x5e\xf1\xaf\x7d\x26\x5f\x22\xb3\x00\xa6\xf4\x39\xb4\xfa\xdb\xd0\xad\x2f\xed\x81\x9f\x38\x15\x1e\xc9\x06\x2e\x1b\x09\x87\xab\x15\xfa\xd6\xde\x2e\xb4\x3b\xfc\xd4\xdf\xda\x1f\x6a\x3f\x08\x17\xe8\xf7\xfb\xca\x99\xcf\x55\xc9\xdb\xaf\x35\xf3\x79\x18\x13\x9e\xe7\xca\x46\xb6\xbb\x28\x9f\xde\x74\xc0\xc1\x54\x3d\xd3\x69\x7f\x08\x71\xa2\xb2\x8f\xce\x7c\x3b\x07\x4b\x06\xfd\x21\x17\x22\x51\xa7\x11\x89\xec\x24\xb1\xb1\x3c\x9c\xaf\x61\xd7\x3b\x48\x65\x7e\xb9\x58\x93\xd7\x79\xd2\xbb\xce\x2d\x31\x9c\xa2\x7b\xb0\x84\x0b\x13\x07\x50\x45\xf0\x4f\x06\xfd\xc8\x17\xc0\xf3\xa3\xf4\x7e\x99\x3f\xc6\xb4\xfe\xdf\x0c\x7d\x60\x61\xd2\x29\xd6\x01\x71\x2f\x97\xd0\xd1\xbb\xca\x8c\x85\x4e\xd5\xc9\x26\x64\x6b\x0f\xdf\x1f\x74\xea\x6b\xff\x7b\xe6\xbf\x00\x00\x00\xff\xff\x4d\x79\x94\xef\x96\x33\x00\x00")
 
 func resourcesResumebuilderGladeBytes() ([]byte, error) {
        return bindataRead(
@@ -83,7 +83,7 @@ func resourcesResumebuilderGlade() (*asset, error) {
                return nil, err
        }
 
-       info := bindataFileInfo{name: "resources/resumebuilder.glade", size: 11034, mode: os.FileMode(436), modTime: time.Unix(1540483777, 0)}
+       info := bindataFileInfo{name: "resources/resumebuilder.glade", size: 13206, mode: os.FileMode(436), modTime: time.Unix(1540559596, 0)}
        a := &asset{bytes: bytes, info: info}
        return a, nil
 }
index f9bc334..2d16827 100644 (file)
                 <signal name="clicked" handler="SaveButtonClicked" swapped="no"/>
               </object>
               <packing>
-                <property name="x">326</property>
-                <property name="y">424</property>
+                <property name="x">327</property>
+                <property name="y">493</property>
               </packing>
             </child>
             <child>
                 <property name="y">331</property>
               </packing>
             </child>
+            <child>
+              <object class="GtkLabel">
+                <property name="visible">True</property>
+                <property name="can_focus">False</property>
+                <property name="label" translatable="yes">Contact Number</property>
+              </object>
+              <packing>
+                <property name="x">37</property>
+                <property name="y">423</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="ContactNumber">
+                <property name="width_request">220</property>
+                <property name="height_request">34</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="input_purpose">phone</property>
+              </object>
+              <packing>
+                <property name="x">224</property>
+                <property name="y">415</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel">
+                <property name="width_request">58</property>
+                <property name="height_request">20</property>
+                <property name="visible">True</property>
+                <property name="can_focus">False</property>
+                <property name="label" translatable="yes">E-Mail ID</property>
+              </object>
+              <packing>
+                <property name="x">37</property>
+                <property name="y">464</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkEntry" id="Email">
+                <property name="width_request">221</property>
+                <property name="height_request">34</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="input_purpose">email</property>
+              </object>
+              <packing>
+                <property name="x">224</property>
+                <property name="y">454</property>
+              </packing>
+            </child>
           </object>
           <packing>
             <property name="tab_fill">False</property>
index e1b26dd..ab16b01 100644 (file)
@@ -13,6 +13,8 @@ type Applicant struct {
        DateOfBirth Date
        Sex         Sex
        Address     string
+       ContactNo   string
+       Email       string
        Education   []Education
 }
 
@@ -108,6 +110,15 @@ func getBasicDetails() (*Applicant, error) {
                return nil, err
        }
 
+       contact, err := getLineText("ContactNumber")
+       if err != nil {
+               return nil, err
+       }
+       email, err := getLineText("Email")
+       if err != nil {
+               return nil, err
+       }
+
        // Store the contents in Applicant object
        var applicant = new(Applicant)
 
@@ -116,6 +127,8 @@ func getBasicDetails() (*Applicant, error) {
        applicant.DateOfBirth = selecteddate
        applicant.Sex = selectedsex
        applicant.Address = address
+       applicant.ContactNo = contact
+       applicant.Email = email
 
        return applicant, nil
 }