Publish

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

HTML code

Copy, paste, change, customize and run the following HTML code to get a result like the one shown 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

Copy, paste, change, customize and run the following CSS code to get a result Like the one shown in the preview selection

body{margin-top:20px;}
                                    

Similar snippets

Bootstrap snippet bs4 Accordion form Wizard

bs4 Accordion form Wizard

View

Bootstrap snippet bs4 profile detail page

bs4 profile detail page

View

Bootstrap snippet bs4 social profile

bs4 social profile

View

About this snippet

Creator: Paolo Gianfi

Bootstrap version: 3.3.7

Created: Aug 20th 2017, 12:22

Views: 94