Bootstrap snippet and html example. Publish 1 bootdey

Bootstrap 3.3.7 snippet "Publish 1 bootdey" with HTML, CSS, and JS. Copy, paste, and customize this responsive UI component for your project.

HTML code

Clean, semantic HTML that powers this Bootstrap 3.3.7 snippet. Copy and paste it into your page (with Bootstrap loaded) to reproduce the exact layout shown in the preview.



<div class="   " id="publishModal" style="width: 50%/*opacity:0.7 !important;*/" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  
   <div class="modal-publish-dialog">
        <div class="modal-content">
          <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
            <h4 class="modal-title" id="myModalLabel">Publish Post</h4>
          </div>
          <div class="modal-body">

              <div class="panel panel-default">
  <div class="panel-heading">Post visibility</div>
  <div class="panel-body">
               <div style="margin-top: 0px;" class="form-group"> <label for="recipient-name" class="control-label">Do you want to save this post with title:</label>
               <label class="form-control1" readonly  id="postTitleModal"></label> 
               </div>
               <div class="form-group">
                  <div class="checkbox1 m-t-lg">
                            <label>
                              <input type="checkbox" checked="checked" > Visible to everyone
                            </label>
                  </div>
               </div>
              
               <div style="display: none;" id="postWarning" class="form-group1">
                       <span>This post is public and the audio track duration is more than 30 secs. If you are sure to own the right for this track click "Save", otherwise consider to select just a portion of it.<span class="text-muted hide" id="moreless">Pay attention, visible to all posts cannot have a full audio track. It should be less than 30 secs. A new audio track will be created reflecting start/end position you have choosen. You can create more posts using the original audio track.  </span>

    <a style="display: none;" href="#moreless" class="btn btn-info btn-sm btn-default" data-toggle="class:show">
      <i class="fa fa-plus text"></i>
      <span class="text">Read more</span>
      <i class="fa fa-minus text-active"></i>
      <span class="text-active">Read less</span>
    </a>
</span> 
           </div>

 </div>
</div>
<br/><br/>  
              <div class="panel panel-default">
  <div class="panel-heading">Audio track</div>
  <div class="panel-body">
      
                <div id="durationModal" style="display: none1;" class="col-sm-12">

                          <div class="row">
							<div class="h-divider"></div> 
								bla bla bla			
                          </div>
                          <div class="row">
                           <form class="form-horizontal">
                            <fieldset>
                            
                           
                            
                            <!-- Text input-->
                            <div class="form-group">
                              <label class="col-md-4 control-label" for="textinput">Start time:</label>  
                              <div class="col-md-4">
                                <input id="textinput" name="textinput" type="text" placeholder="" class="form-control input-md">
                                
                              </div>
                              
                            </div>
                             <!-- Text input-->
                            <div class="form-group">
                              <label class="col-md-4 control-label" for="textinput">End time:</label>  
                              <div class="col-md-4">
                                <input id="textinput" name="textinput" type="text" placeholder="" class="form-control input-md">
                                
                              </div>
                              
                            </div>
                            
                             <div class="form-group">
                              <label class="col-md-4 control-label" for="textinput">Duration:</label>  
                              <div class="col-md-4">
                                <input id="textinput" name="textinput" type="text" placeholder="" class="form-control input-md">
                                
                              </div>
                              
                            </div>
                            </fieldset>
                            </form>

                            
                          </div>
                        </div>
                </div>
   </div>
</div>

          <div class="modal-footer">
  <!--           <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> -->
           <button type="button" id="cancelPublish" data-dismiss="modal" class="btn">Cancel</button>
          <button type="button" id="post" class="btn btn-info btn-primary">Save</button>
          
          </div>
          
        </div><!-- /.modal-content -->
      </div><!-- /.modal-dialog -->

    </div>

CSS code

Scoped CSS that styles the component. Paste it after Bootstrap 3.3.7 to keep the design, spacing, and responsiveness consistent.



body{margin-top:20px;}

Similar snippets

Bootstrap example and template. team tiles

team tiles

Bootstrap example and template. Social Profile widget with photos

Social Profile widget with photos

Bootstrap example and template. card with join and location

card with join and location

Bootstrap example and template. twitter feeds

twitter feeds

Bootstrap example and template. Table user information

Table user information

Bootstrap example and template. Show Hide Columns using bootstrap table

Show Hide Columns using bootstrap table

Bootstrap example and template. bs4 beta login

bs4 beta login

Bootstrap example and template. bs4 beta comment list

bs4 beta comment list

FAQ

How do I use this snippet?

Include Bootstrap 3.3.7, paste the HTML, add the CSS block, and include the JS (if any) to mirror the live preview.

Can I use it in commercial projects?

Yes. It’s free for personal and commercial work; check the snippets license for details.

Is it responsive?

Yes. It inherits the responsive grid and components from Bootstrap 3.3.7.

Bootstrap example and template. Publish 1 bootdey

About this bootstrap example/template

Optimized for copy‑paste: clean HTML, scoped CSS, and minimal JS so you can ship production‑ready UI faster and keep designs consistent.

Mobile‑first and responsive by default. Tested across modern browsers to reduce polish time on your project.

Already trusted in 758+ views. Reuse this snippet to speed up landing pages, dashboards, or onboarding flows.

Bootstrap 3.3.7

<link rel='stylesheet' href='https://netdna.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css'>

<script src='https://netdna.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js'></script>

This code example is based on bootstrap 3.3.7 and the grid system of this framework

Responsive

Based on bootstrap framework makes all the layouts perfectly responsive for all devices

Crossbrowser compatibility

Tested on all major browsers, it works smoothly on all of them

semantic html 5

Built on html / css3 the code quality is really amazing

Simple Integration

This code example can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working