search field
This commit is contained in:
		| @@ -27,7 +27,7 @@ def generate_sample(ctx, e): | |||||||
|     if ctx.count % 50 == 0: |     if ctx.count % 50 == 0: | ||||||
|         emit('debug', {'text': 'Log message #'+str(ctx.count)+'!'}) |         emit('debug', {'text': 'Log message #'+str(ctx.count)+'!'}) | ||||||
|     tweet = e.data |     tweet = e.data | ||||||
|     print(tweet) |     # print(tweet) | ||||||
|     # base sample on previous one |     # base sample on previous one | ||||||
|     # sample = clip(-100, e.data['previous'] + random.uniform(+5.0, -5.0), 100) |     # sample = clip(-100, e.data['previous'] + random.uniform(+5.0, -5.0), 100) | ||||||
|     # emit to outside world |     # emit to outside world | ||||||
|   | |||||||
| @@ -58,7 +58,7 @@ | |||||||
|         </div> |         </div> | ||||||
|         <div class="main"> |         <div class="main"> | ||||||
|             <div class="leftcol"> |             <div class="leftcol"> | ||||||
|                 <div class="tweet"> <!-- You can use this template in the javascript file, css will come later --> |                 <!-- <div class="tweet">  | ||||||
|                     <img src="https://pbs.twimg.com/profile_images/1158803404656959490/9MKSbW4O_400x400.jpg" alt="" class="tweet-profilepicture"> |                     <img src="https://pbs.twimg.com/profile_images/1158803404656959490/9MKSbW4O_400x400.jpg" alt="" class="tweet-profilepicture"> | ||||||
|                     <div class="tweet-content"> |                     <div class="tweet-content"> | ||||||
|                         <div class="tweet-name"> |                         <div class="tweet-name"> | ||||||
| @@ -81,10 +81,17 @@ | |||||||
|                             </div> |                             </div> | ||||||
|                         </div> |                         </div> | ||||||
|                     </div> |                     </div> | ||||||
|                 </div> |                 </div> --> | ||||||
|             </div> |             </div> | ||||||
|             <div class="centercol"></div> |             <div class="centercol"></div> | ||||||
|             <div class="rightcol"></div> |             <div class="rightcol"> | ||||||
|  |                 <div class="filters"> | ||||||
|  |                     <div class="filters-search"> | ||||||
|  |                         <input type="text" name="" id="search"> | ||||||
|  |                         <span class="material-symbols-outlined">search</span> | ||||||
|  |                     </div> | ||||||
|  |                 </div> | ||||||
|  |             </div> | ||||||
|         </div>  |         </div>  | ||||||
|     </div> |     </div> | ||||||
|     <script src="./js/code.js"></script> |     <script src="./js/code.js"></script> | ||||||
|   | |||||||
| @@ -102,3 +102,20 @@ body { | |||||||
| 	display: flex; | 	display: flex; | ||||||
| 	align-items: center; | 	align-items: center; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | .filters-search input { | ||||||
|  | 	height: 28px; | ||||||
|  | 	width: 100%; | ||||||
|  | 	border: none; | ||||||
|  | 	font-family: 'Robot', sans-serif; | ||||||
|  | 	font-size: 24px; | ||||||
|  | 	padding: 0; | ||||||
|  | 	padding-right: 32px; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | .filters-search span { | ||||||
|  | 	position: absolute; | ||||||
|  | 	font-weight: 500; | ||||||
|  | 	font-size: 24px; | ||||||
|  | 	color: var(--main-medium-dark); | ||||||
|  | } | ||||||
		Reference in New Issue
	
	Block a user
	 Tim Wijma
					Tim Wijma