Bootstrap snippet and html example. Publish

This html snippet was created to help web designers, web developers, front-end and back-end developer save time. Use it for free in your project and build your app faster, You can also download the HTML, CSS, and JS code.

HTML code

This is the html code used to create this bootstrap snippet, You can copy and paste the following html code inside a page with bootstrap 3.3.7 included, to get the result that you can see in the preview selection

<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

This is the css code used to create this bootstrap snippet, You can copy and paste the following css code inside a page with bootstrap 3.3.7 included, to get the result that you can see in the preview selection

body{margin-top:20px;}

Similar snippets

Bootstrap example and template. bs4 navbar with dropdown animations

bs4 navbar with dropdown animations

Bootstrap example and template. Your Mail Sent Successfully

Your Mail Sent Successfully

Bootstrap example and template. single team list

single team list

Bootstrap example and template. Inbox mail

Inbox mail

Bootstrap example and template. chat app

chat app

Bootstrap example and template. file manager with folders recent files and members

file manager with folders recent files and members

Bootstrap example and template. bs5 dark footer

bs5 dark footer

Bootstrap example and template. Receipt page

Receipt page

Bootstrap example and template. Publish

About this bootstrap example/template

We hope you will enjoy this awesome snippet and stay tuned for the latest updates, bootdey snippets are already used in thousands of blogs, websites and projects. We believe it will save your precious time and gives trendy look to your next web project.

We always try to offer the best beautiful and responsive source of Bootstrap code examples and components.

This code example currectly have 533 views, Using this bootstrap snippet you have the following benefits:

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