forked from zaclys/searxng
		
	oscar template: update messages
This commit is contained in:
		
							parent
							
								
									a538bed745
								
							
						
					
					
						commit
						9158571059
					
				
					 6 changed files with 19 additions and 6 deletions
				
			
		
							
								
								
									
										8
									
								
								searx/templates/oscar/messages/first_time.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								searx/templates/oscar/messages/first_time.html
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,8 @@ | ||||||
|  | <div class="alert alert-info fade in" role="alert"> | ||||||
|  |     <button class="close" data-dismiss="alert" type="button"> | ||||||
|  |         <span aria-hidden="true">×</span> | ||||||
|  |         <span class="sr-only">Close</span> | ||||||
|  |     </button> | ||||||
|  |     <strong class="lead">{{ icon('info-sign') }} {{ _('Heads up!') }}</strong> | ||||||
|  |     {{ _('It look like you are using searx first time.') }} | ||||||
|  | </div> | ||||||
|  | @ -1,4 +1,4 @@ | ||||||
| <div class="alert alert-warning" role="alert"> | <div class="alert alert-warning" role="alert"> | ||||||
|     <strong>{{ _('Warning!') }}</strong> |     <strong class="lead">{{ _('Warning!') }}</strong> | ||||||
|     {{ _('Please enable JavaScript to use full functionality of this site.') }} |     {{ _('Please enable JavaScript to use full functionality of this site.') }} | ||||||
| </div> | </div> | ||||||
|  |  | ||||||
							
								
								
									
										5
									
								
								searx/templates/oscar/messages/no_data_available.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								searx/templates/oscar/messages/no_data_available.html
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,5 @@ | ||||||
|  | {% from 'oscar/macros.html' import icon %} | ||||||
|  | <div class="alert alert-info fade in" role="alert"> | ||||||
|  |     <strong class="lead">{{ icon('info-sign') }} {{ _('Heads up!') }}</strong> | ||||||
|  |     {{ _('There is currently no data available. ') }} | ||||||
|  | </div> | ||||||
|  | @ -1,8 +1,9 @@ | ||||||
|  | {% from 'oscar/macros.html' import icon %} | ||||||
| <div class="alert alert-success fade in" role="alert"> | <div class="alert alert-success fade in" role="alert"> | ||||||
|     <button class="close" data-dismiss="alert" type="button"> |     <button class="close" data-dismiss="alert" type="button"> | ||||||
|         <span aria-hidden="true">×</span> |         <span aria-hidden="true">×</span> | ||||||
|         <span class="sr-only">Close</span> |         <span class="sr-only">Close</span> | ||||||
|     </button> |     </button> | ||||||
|     <strong>{{ _('Well done!') }}</strong> |     <strong class="lead">{{ icon('ok-sign') }} {{ _('Well done!') }}</strong> | ||||||
|     {{ _('Settings saved successfully.') }} |     {{ _('Settings saved successfully.') }} | ||||||
| </div> | </div> | ||||||
|  |  | ||||||
|  | @ -1,8 +1,9 @@ | ||||||
|  | {% from 'oscar/macros.html' import icon %} | ||||||
| <div class="alert alert-danger fade in" role="alert"> | <div class="alert alert-danger fade in" role="alert"> | ||||||
|     <button class="close" data-dismiss="alert" type="button"> |     <button class="close" data-dismiss="alert" type="button"> | ||||||
|         <span aria-hidden="true">×</span> |         <span aria-hidden="true">×</span> | ||||||
|         <span class="sr-only">Close</span> |         <span class="sr-only">Close</span> | ||||||
|     </button> |     </button> | ||||||
|     <strong>{{ _('Oh snap!') }}</strong> |     <strong class="lead">{{ icon('exclamation-sign') }} {{ _('Oh snap!') }}</strong> | ||||||
|     {{ _('Something went wrong.') }} |     {{ _('Something went wrong.') }} | ||||||
| </div> | </div> | ||||||
|  |  | ||||||
|  | @ -22,9 +22,7 @@ | ||||||
|                 {% endfor %} |                 {% endfor %} | ||||||
|                 {% if not stat_category %} |                 {% if not stat_category %} | ||||||
|                 <div class="col-sm-12 col-md-12"> |                 <div class="col-sm-12 col-md-12"> | ||||||
|                     <div class="alert alert-info" role="alert"> |                     {% include 'oscar/messages/no_data_available.html' %} | ||||||
|                         {{ _('There is currently no data available.') }} |  | ||||||
|                     </div> |  | ||||||
|                 </div> |                 </div> | ||||||
|                 {% endif %} |                 {% endif %} | ||||||
|             </div> |             </div> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Thomas Pointhuber
						Thomas Pointhuber