Changeset 10989 for main/waeup.kofa


Ignore:
Timestamp:
27 Jan 2014, 15:47:28 (11 years ago)
Author:
Henrik Bettermann
Message:

Add missing icons.

Fix variable form.

Location:
main/waeup.kofa/branches/uli-diazo-themed/layout
Files:
11 added
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/branches/uli-diazo-themed/layout/static/css/base.css

    r10987 r10989  
    114114}
    115115
     116.form-inline select {
     117    width: 100%;
     118}
     119
    116120.phone-input {
    117121    width: 30%
     
    142146}
    143147
     148.sorting { background: url('../img/sort_both.png') no-repeat center right; }
     149.sorting_asc { background: url('../img/sort_asc.png') no-repeat center right; }
     150.sorting_desc { background: url('../img/sort_desc.png') no-repeat center right; }
     151
     152.sorting_asc_disabled { background: url('../img/sort_asc_disabled.png') no-repeat center right; }
     153.sorting_desc_disabled { background: url('../img/sort_desc_disabled.png') no-repeat center right; }
     154
     155.paginate_enabled_previous { background: url('../img/back_enabled.png') no-repeat top left; }
     156.paginate_enabled_previous:hover { background: url('../img/back_enabled_hover.png') no-repeat top left; }
     157.paginate_disabled_previous { background: url('../img/back_disabled.png') no-repeat top left; }
     158
     159.paginate_enabled_next { background: url('../img/forward_enabled.png') no-repeat top right; }
     160.paginate_enabled_next:hover { background: url('../img/forward_enabled_hover.png') no-repeat top right; }
     161.paginate_disabled_next { background: url('../img /forward_disabled.png') no-repeat top right; }
     162
    144163/* Smartphone styles */
    145164
  • main/waeup.kofa/branches/uli-diazo-themed/layout/theme.html

    r10987 r10989  
    149149              </div>
    150150              <div class="hero-unit kofa-content-label-box">
    151                 <h1 class="kofa-content-label-title">waeup.kofa theme</h1>
     151                <h1 class="kofa-content-label-title">WAeUP.Kofa Theme</h1>
    152152                <p class="kofa-content-label-descr">
    153                   A sample theme for waeup.kofa</p>
     153                  A sample theme for WAeUP.Kofa</p>
    154154              </div>
    155155              <p>
     
    179179                <fieldset id="form-fieldset">
    180180                  <legend>A Sample Form</legend>
    181                   <div class="form-group">
     181                  <div class="form-group variable-form">
    182182                    <label>Some Label</label>
    183183                    <input type="text" class="textType"
     
    230230              </tbody>
    231231            </table>
     232
     233            <br><br>
     234            <h3>A Sample Inline Form</h3>
     235            <form method="POST" class="form-inline">
     236            <br />
     237              <div class="form-group">
     238                <input class="btn btn-primary" type="submit" name="search"
     239                  value="Find student(s)" />
     240              </div>
     241              <div class="form-group">
     242                <select name="searchtype">
     243                  <option value="student_id">with id</option>
     244                  <option value="fullname">with name</option>
     245                  <option value="reg_number">with registration number</option>
     246                  <option value="matric_number">with matriculation number</option>
     247                  <option value="current_session">in session</option>
     248                  <option value="depcode">in department</option>
     249                  <option value="current_mode">in study mode</option>
     250                  <option value="suspended">
     251                    with deactivated account (search term omitted)
     252                  </option>
     253                  <option value="transcript">
     254                    who requested transcript (search term omitted)
     255                  </option>
     256                </select>
     257              </div>
     258              <div class="form-group">
     259                <input type="text" class="form-control" name="searchterm" />
     260              </div>
     261            </form>
     262
     263
    232264          </div> <!-- /well -->
    233265        </div> <!-- /kofa-content-wide -->
     
    251283      });
    252284    </script>
     285
    253286    <script type="text/javascript">
    254287      $("button.rowadd").click(function (evt) {
     
    256289         evt.preventDefault();
    257290         /* Add first .form-field after last .form-field... */
    258          $(".form-group:last").after($(".form-group:first").clone().hide().fadeIn());
     291         $(".variable-form:last").after($(".variable-form:first").clone().hide().fadeIn());
    259292      });
    260293    </script>
Note: See TracChangeset for help on using the changeset viewer.