<?php qwp_render_css(); ?> <!--[if lt IE 9]> <script src="js/html5shiv.min.js"></script> <script src="js/respond.min.js"></script> <![endif]--> </head> <body> <div class="container"> <!-- The justified navigation menu is meant for single line per list item. Multiple lines will require custom code not provided by Bootstrap. --> <div class="masthead"> <h3 class="text-muted"><a href='./'><?php EL(PRODUCT_NAME); ?> </a></h3> <nav> <ul class="nav nav-justified"> <li class="active"><a href="#">Home</a></li> <li><a href="#">Projects</a></li> <li><a href="#">Services</a></li> <li><a href="#">Downloads</a></li> <li><a href="#">About</a></li> <li><a href="#">Contact</a></li> </ul> </nav> </div> <!-- Jumbotron -->
if (qwp_tmpl_has_sub_modules($MODULE[0])) { ?> <div class="container-fluid"> <div class="row"> <div class="col-sm-3 col-md-2 sidebar"> <ul class="nav nav-sidebar"> <?php if (file_exists(join_paths($MODULE_ROOT, 'home.php'))) { ?> <li class="<?php echo $PAGE ? '' : 'active'; ?> "><a href="<?php echo qwp_uri_current_home(); ?> "><?php EL('Dashboard'); ?> <span class="sr-only">(current)</span></a></li> <?php } ?> <?php qwp_tmpl_render_sub_modules(); ?> </ul> </div> <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main"> <?php } else { }
<li role="separator" class="divider"></li> <li class="dropdown-header">Nav header</li> <li><a href="#">Separated link</a></li> <li><a href="#">One more separated link</a></li> </ul> </li> </ul> <form class="navbar-form navbar-right"> <div class="form-group"> <input type="text" placeholder="Search..." class="form-control"> </div> <?php if (!qwp_is_logined()) { ?> <a href="?m=passport" class="btn btn-primary"><?php EL('Sign in'); ?> </a> <?php } else { ?> <a href="?m=sample" class="btn btn-primary"><?php qwp_echo_user_name(); ?> </a> <?php } ?> </form> </div> </div>
<label for="inputPassword3" class="col-sm-3 control-label">Phone</label> <div class="col-sm-9"> <input type="text" name="f[phone]" class="form-control" id="inputPhone1" placeholder="Phone"> </div> </div> <div class="form-group"> <div class="col-sm-offset-3 col-sm-9"> <div class="checkbox"> <label> <input type="checkbox"> Remember me </label> </div> </div> </div> <div class="form-group"> <div class="col-sm-offset-3 col-sm-9"> <button type="submit" class="btn btn-default"><?php EL('Save'); ?> </button> </div> </div> <div class="form-group"> <div class="col-sm-offset-3 col-sm-9"> <button type="button" onclick="qwp.dialog.showMsgBox({title:'A test message box', message:'Are you sure to save user info?'});" class="btn btn-info"><?php EL('Show message box'); ?> </button> </div> </div> </form>
<option value="f">Female</option> <option value="x">Unset</option> <option value="s">Is set</option> </select> </div> <div class="form-group"> <select name="s[avatar]" class="form-control"> <option value="">All</option> <option value="1">Has avatar</option> <option value="0">No avatar</option> </select> </div> <div class="form-group"> <select name="s[role]" class="form-control"> <option value=""><?php EL('All Roles'); ?> </option> <?php foreach ($roles as $role_item) { echo format('<option value="{0}">{1}</option>', $role_item['id'], L($role_item['name'])); } ?> </select> </div> <button onclick="fetchUsersData()" class="btn btn-info btn-sm"><i class="glyphicon glyphicon-search"></i></button> <button type="reset" class="btn btn-info btn-sm"><i class="glyphicon glyphicon-remove"></i></button> </form> </div> <div id="users-table" class="row qwp-table"></div> </div>