vishwamano

source of vishwamano.com
git clone git://git.ricketyspace.net/vishwamano.git
Log | Files | Refs

commit dfee05ee009f87f355967ac0f10f4a9ec835e806
parent 11b0f9fa8cd91da01a0aa4b3318882a1eb85118f
Author: rsiddharth <rsiddharth@ninthfloor.org>
Date:   Wed, 31 Dec 2014 11:02:07 -0500

themes/bs3/templates/p-classes.tpl: cosemtic changes + removed close button in alert box.

Diffstat:
themes/bs3/templates/p-classes.tpl | 15+++++----------
1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/themes/bs3/templates/p-classes.tpl b/themes/bs3/templates/p-classes.tpl @@ -9,7 +9,7 @@ <h3 class="modal-title" id="vmreg-modal-label">Registration</h3> </div> <div class="modal-body"> - <form id="vmreg-form" method="POST" role="form" action="/as/photography-classes/index.php"> + <form id="vmreg-form" method="POST" role="form" action="/as/photography-classes/"> <div class="form-group"> <label for="name" class="control-label">Name:</label> <input type="text" name="name" class="form-control" id="name" required> @@ -42,7 +42,7 @@ </div> </div> -<!-- reg. modal end --> +<!-- reg. modal section end --> <div class="container-fluid"> <!-- top container start --> @@ -50,16 +50,13 @@ <div id="pc-alert-box" class="row"> <div class="col-sm-offset-2 col-sm-9"> <div class="alert alert-{$pc_msg.type}" role="alert"> - <button type="button" class="close" data-dismiss="alert"> - <span aria-hidden="true">&times;</span> - <span class="sr-only">Close</span> - </button> <p>{$pc_msg.content}</p> </div> </div> </div> {/if} - <div class="row"> <!-- top row start --> + + <div class="row"> <!-- pc row start --> <div class="col-sm-6"> <!-- pc column start --> <h1 class="text-center">{$pc_title}</h1> {$pc_intro} @@ -103,7 +100,7 @@ </div> <!-- pc column end --> - </div> <!-- top row end --> + </div> <!-- pc row end --> </div> <!-- top container end --> {include file='js.tpl'} @@ -115,8 +112,6 @@ var button = $(event.relatedTarget) // Button that triggered the modal var class_type = button.data('pclasstype') // Extract info from data-* attributes var class_level = button.data('pclasslevel') - // If necessary, you could initiate an AJAX request here (and then do the updating in a callback). - // Update the modal's content. We'll use jQuery here, but you could use a data binding library or other methods instead. var modal = $(this) modal.find('.modal-title').text(class_type + ' Registration') modal.find('#vmreg-submit').val(class_level)