This receives a response of list of torrents as props and displays them in a table view. From here we can send to download and also filter the results by query.
This commit is contained in:
		
							
								
								
									
										48
									
								
								client/app/components/styles/adminTorrentTable.jsx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										48
									
								
								client/app/components/styles/adminTorrentTable.jsx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,48 @@ | |||||||
|  | export default { | ||||||
|  |    table: { | ||||||
|  |       width: '80%', | ||||||
|  |       marginRight: 'auto', | ||||||
|  |       marginLeft: 'auto', | ||||||
|  |    }, | ||||||
|  |  | ||||||
|  |    searchSidebar: { | ||||||
|  |       height: '4em', | ||||||
|  |       marginTop: '1em', | ||||||
|  |    }, | ||||||
|  |    searchInner: { | ||||||
|  |       top: '0', | ||||||
|  |       right: '0', | ||||||
|  |       left: '0', | ||||||
|  |       bottom: '0', | ||||||
|  |       margin: 'auto', | ||||||
|  |       width: '50%', | ||||||
|  |       minWidth: '280px', | ||||||
|  |       height: '30px', | ||||||
|  |       border: '1px solid #d0d0d0', | ||||||
|  |       borderRadius: '4px', | ||||||
|  |       overflow: 'hidden' | ||||||
|  |    }, | ||||||
|  |    searchTextField: { | ||||||
|  |       display: 'inline-block', | ||||||
|  |       width: '95%', | ||||||
|  |       padding: '.3em', | ||||||
|  |       verticalAlign: 'middle', | ||||||
|  |       border: 'none', | ||||||
|  |       background: '#fff', | ||||||
|  |       fontSize: '14px', | ||||||
|  |       marginTop: '-7px', | ||||||
|  |    }, | ||||||
|  |    searchIcon: { | ||||||
|  |       width: '15px', | ||||||
|  |       height: '16px', | ||||||
|  |       marginRight: '4px', | ||||||
|  |       marginTop: '7px', | ||||||
|  |    }, | ||||||
|  |    searchSVGIcon: { | ||||||
|  |       fill: 'none', | ||||||
|  |       stroke: '#9d9d9d', | ||||||
|  |       strokeLinecap: 'round', | ||||||
|  |       strokeLinejoin: 'round', | ||||||
|  |       strokeMiterlimit: '10', | ||||||
|  |    }, | ||||||
|  | } | ||||||
		Reference in New Issue
	
	Block a user