<commit_before>
	<div class="manage-container">
		<div class="board-design-section board-design-section-canvas">
			<div class="board-design-section-title">
				<span class="board-design-step">1</span> Design Your Room
			</div>
			<div class="row">
				<div class="col-md-7">
					<div class="board-content-body">
						<div id="board-container">
							<div id="board-toolbar" class="board-toolbar">
								<div class="btn-group btn-group-sm">
									<button type="button" class="btn btn-default" id="bp-rotate-left"><span class="fa fa-repeat" style="font-size: 12px;"></span> Rotate</button>
									<button type="button" class="btn btn-default" id="bp-move-forward"><span class="fa fa-angle-up" style="font-size: 12px;"></span> Forward</button>
									<button type="button" class="btn btn-default" id="bp-move-backward"><span class="fa fa-angle-down" style="font-size: 12px;"></span> Backward</button>
									<button type="button" class="btn btn-default" id="bp-move-front"><span class="fa fa-angle-double-up" style="font-size: 12px;"></span> Front</button>
									<button type="button" class="btn btn-default" id="bp-move-back"><span class="fa fa-angle-double-down" style="font-size: 12px;"></span> Back</button>
								</div>
							</div>	
													
							<div id="board-canvas" style="margin-bottom: 20px; position:relative;">
								<canvas id="canvas" data-board-id="<%= @board.id %>" width="630" height="360" style="border: 1px solid #eee;"></canvas>
							</div>
						</div>
						
						<div id="board-product-preview" style=" height: 180px; border: 1px solid #eee;">
							
						</div>
						
					</div>		
				</div>
				<div class="col-md-5">
					
					
					<ul class="nav nav-tabs">
					  <li class="active"><a href="#search_pane" data-toggle="tab">Find Products</a></li>
					  <li><a href="#bookmarks" id="bookmarks_tab" data-toggle="tab">Bookmarks</a></li>
					</ul>

					<!-- Tab panes -->
					<div class="tab-content">
					  <div class="tab-pane active" id="search_pane">
					  		<div id="design" class="tab-pane active board-manage-panel">
								<div id="board_search_panel" class="">
									<div class="board-products-search-fields">
										<%= form_tag("/rooms/product_search", method: "get", :id => "product_search_form") do %>
											<div class="row">
												<div class="col-md-3">
													<%= select_tag "supplier_id", options_from_collection_for_select(@suppliers, "id", "name"),:include_blank => false, :class => "form-control input-sm", :prompt => "Wholesaler" %>
												</div>
												<div class="col-md-3">
													<%= select_tag "department_taxon", options_from_collection_for_select(@department_taxons, "id", "name"), :include_blank => false, :class => "form-control input-sm", :prompt => "Department" %>
												</div>
												<div class="col-md-3">

													<input type="text" id="product_keywords" name="product_keywords" class="form-control input-sm" placeholder="Keywords">
												</div>
												<div class="col-md-3">
													<%= submit_tag("Search", :class => "btn btn-primary btn-sm")%>
												</div>
											</div>
										<% end %>
									</div>
									<div id="select-products-pagination" class="select-products-pagination"></div>
									<div id="select-products-box" class="select-products-box">							
										<div class="board-search-empty-state">Search for products above and drag them onto your board.</div>
									</div>
								</div>
							</div>
					  </div>
					  <div class="tab-pane" id="bookmarks">
						<div class="tab-pane active board-manage-panel">
							<div id="" class="">		
								<div id="select-bookmark-products-box" class="select-products-box">	
									<div id="bookmark-preloader" class="hidden" style="padding-top: 20px; text-align: center;"><%= image_tag("store/preloader64.gif")%></div>
									<div id="bookmarks_container">
										<%= render :partial => "product_results", :locals => {:products => @bookmarked_products}%>
								</div>
							</div>
						</div>
							
							
							
							</div>
						</div><commit_msg>delaying the bookmark search to load the design page faster<commit_after>
	<div class="manage-container">
		<div class="board-design-section board-design-section-canvas">
			<div class="board-design-section-title">
				<span class="board-design-step">1</span> Design Your Room
			</div>
			<div class="row">
				<div class="col-md-7">
					<div class="board-content-body">
						<div id="board-container">
							<div id="board-toolbar" class="board-toolbar">
								<div class="btn-group btn-group-sm">
									<button type="button" class="btn btn-default" id="bp-rotate-left"><span class="fa fa-repeat" style="font-size: 12px;"></span> Rotate</button>
									<button type="button" class="btn btn-default" id="bp-move-forward"><span class="fa fa-angle-up" style="font-size: 12px;"></span> Forward</button>
									<button type="button" class="btn btn-default" id="bp-move-backward"><span class="fa fa-angle-down" style="font-size: 12px;"></span> Backward</button>
									<button type="button" class="btn btn-default" id="bp-move-front"><span class="fa fa-angle-double-up" style="font-size: 12px;"></span> Front</button>
									<button type="button" class="btn btn-default" id="bp-move-back"><span class="fa fa-angle-double-down" style="font-size: 12px;"></span> Back</button>
								</div>
							</div>	
													
							<div id="board-canvas" style="margin-bottom: 20px; position:relative;">
								<canvas id="canvas" data-board-id="<%= @board.id %>" width="630" height="360" style="border: 1px solid #eee;"></canvas>
							</div>
						</div>
						
						<div id="board-product-preview" style=" height: 180px; border: 1px solid #eee;">
							
						</div>
						
					</div>		
				</div>
				<div class="col-md-5">
					
					
					<ul class="nav nav-tabs">
					  <li class="active"><a href="#search_pane" data-toggle="tab">Find Products</a></li>
					  <li><a href="#bookmarks" id="bookmarks_tab" data-toggle="tab">Bookmarks</a></li>
					</ul>

					<!-- Tab panes -->
					<div class="tab-content">
					  <div class="tab-pane active" id="search_pane">
					  		<div id="design" class="tab-pane active board-manage-panel">
								<div id="board_search_panel" class="">
									<div class="board-products-search-fields">
										<%= form_tag("/rooms/product_search", method: "get", :id => "product_search_form") do %>
											<div class="row">
												<div class="col-md-3">
													<%= select_tag "supplier_id", options_from_collection_for_select(@suppliers, "id", "name"),:include_blank => false, :class => "form-control input-sm", :prompt => "Wholesaler" %>
												</div>
												<div class="col-md-3">
													<%= select_tag "department_taxon", options_from_collection_for_select(@department_taxons, "id", "name"), :include_blank => false, :class => "form-control input-sm", :prompt => "Department" %>
												</div>
												<div class="col-md-3">

													<input type="text" id="product_keywords" name="product_keywords" class="form-control input-sm" placeholder="Keywords">
												</div>
												<div class="col-md-3">
													<%= submit_tag("Search", :class => "btn btn-primary btn-sm")%>
												</div>
											</div>
										<% end %>
									</div>
									<div id="select-products-pagination" class="select-products-pagination"></div>
									<div id="select-products-box" class="select-products-box">							
										<div class="board-search-empty-state">Search for products above and drag them onto your board.</div>
									</div>
								</div>
							</div>
					  </div>
					  <div class="tab-pane" id="bookmarks">
						<div class="tab-pane active board-manage-panel">
							<div id="" class="">		
								<div id="select-bookmark-products-box" class="select-products-box">	
									<div id="bookmark-preloader" class="hidden" style="padding-top: 20px; text-align: center;"><%= image_tag("store/preloader64.gif")%></div>
									<div id="bookmarks_container">
										<%#= render :partial => "product_results", :locals => {:products => @bookmarked_products}%>
								</div>
							</div>
						</div>
							
							
							
							</div>
						</div>
{'fraction_non_alphanumeric': 0.18833594408964935, 'fraction_numerical': 0.008193758284130619, 'mean_word_length': 2.7488708220415536, 'pattern_counts': {'":': 0, '<': 205, '<?xml version=': 0, '>': 227, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2350169', 'n_tokens_mistral': 3820, 'n_tokens_neox': 2615, 'n_words': 518}