2015-05-19 06:25:00 +00:00
<!DOCTYPE html>
< html lang = "en" >
2016-04-24 14:26:11 +00:00
< head >
< meta http-equiv = "Content-Type" content = "text/html; charset=UTF-8" >
<!-- Meta, title, CSS, favicons, etc. -->
< meta charset = "utf-8" >
< meta http-equiv = "X-UA-Compatible" content = "IE=edge" >
< meta name = "viewport" content = "width=device-width, initial-scale=1" >
< title > Gentellela Alela! | < / title >
<!-- Bootstrap -->
< link href = "../vendors/bootstrap/dist/css/bootstrap.min.css" rel = "stylesheet" >
<!-- Font Awesome -->
< link href = "../vendors/font-awesome/css/font-awesome.min.css" rel = "stylesheet" >
<!-- iCheck -->
< link href = "../vendors/iCheck/skins/flat/green.css" rel = "stylesheet" >
<!-- bootstrap - wysiwyg -->
< link href = "../vendors/google-code-prettify/bin/prettify.min.css" rel = "stylesheet" >
<!-- Select2 -->
< link href = "../vendors/select2/dist/css/select2.min.css" rel = "stylesheet" >
<!-- Switchery -->
< link href = "../vendors/switchery/dist/switchery.min.css" rel = "stylesheet" >
<!-- starrr -->
< link href = "../vendors/starrr/dist/starrr.css" rel = "stylesheet" >
<!-- Custom Theme Style -->
< link href = "css/custom.css" rel = "stylesheet" >
< / head >
< body class = "nav-md" >
< div class = "container body" >
< div class = "main_container" >
< div class = "col-md-3 left_col" >
< div class = "left_col scroll-view" >
< div class = "navbar nav_title" style = "border: 0;" >
< a href = "index.html" class = "site_title" > < i class = "fa fa-paw" > < / i > < span > Gentellela Alela!< / span > < / a >
< / div >
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
< div class = "clearfix" > < / div >
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
<!-- menu prile quick info -->
< div class = "profile" >
< div class = "profile_pic" >
< img src = "images/img.jpg" alt = "..." class = "img-circle profile_img" >
< / div >
< div class = "profile_info" >
< span > Welcome,< / span >
< h2 > John Doe< / h2 >
< / div >
< / div >
<!-- /menu prile quick info -->
< br / >
<!-- sidebar menu -->
< div id = "sidebar-menu" class = "main_menu_side hidden-print main_menu" >
< div class = "menu_section" >
< h3 > General< / h3 >
< ul class = "nav side-menu" >
< li > < a > < i class = "fa fa-home" > < / i > Home < span class = "fa fa-chevron-down" > < / span > < / a >
< ul class = "nav child_menu" style = "display: none" >
< li > < a href = "index.html" > Dashboard< / a >
< / li >
< li > < a href = "index2.html" > Dashboard2< / a >
< / li >
< li > < a href = "index3.html" > Dashboard3< / a >
< / li >
< / ul >
< / li >
< li > < a > < i class = "fa fa-edit" > < / i > Forms < span class = "fa fa-chevron-down" > < / span > < / a >
< ul class = "nav child_menu" style = "display: none" >
< li > < a href = "form.html" > General Form< / a >
< / li >
< li > < a href = "form_advanced.html" > Advanced Components< / a >
< / li >
< li > < a href = "form_validation.html" > Form Validation< / a >
< / li >
< li > < a href = "form_wizards.html" > Form Wizard< / a >
< / li >
< li > < a href = "form_upload.html" > Form Upload< / a >
< / li >
< li > < a href = "form_buttons.html" > Form Buttons< / a >
< / li >
< / ul >
< / li >
< li > < a > < i class = "fa fa-desktop" > < / i > UI Elements < span class = "fa fa-chevron-down" > < / span > < / a >
< ul class = "nav child_menu" style = "display: none" >
< li > < a href = "general_elements.html" > General Elements< / a >
< / li >
< li > < a href = "media_gallery.html" > Media Gallery< / a >
< / li >
< li > < a href = "typography.html" > Typography< / a >
< / li >
< li > < a href = "icons.html" > Icons< / a >
< / li >
< li > < a href = "glyphicons.html" > Glyphicons< / a >
< / li >
< li > < a href = "widgets.html" > Widgets< / a >
< / li >
< li > < a href = "invoice.html" > Invoice< / a >
< / li >
< li > < a href = "inbox.html" > Inbox< / a >
< / li >
< li > < a href = "calendar.html" > Calendar< / a >
< / li >
< / ul >
< / li >
< li > < a > < i class = "fa fa-table" > < / i > Tables < span class = "fa fa-chevron-down" > < / span > < / a >
< ul class = "nav child_menu" style = "display: none" >
< li > < a href = "tables.html" > Tables< / a >
< / li >
< li > < a href = "tables_dynamic.html" > Table Dynamic< / a >
< / li >
< / ul >
< / li >
< li > < a > < i class = "fa fa-bar-chart-o" > < / i > Data Presentation < span class = "fa fa-chevron-down" > < / span > < / a >
< ul class = "nav child_menu" style = "display: none" >
< li > < a href = "chartjs.html" > Chart JS< / a >
< / li >
< li > < a href = "chartjs2.html" > Chart JS2< / a >
< / li >
< li > < a href = "morisjs.html" > Moris JS< / a >
< / li >
< li > < a href = "echarts.html" > ECharts < / a >
< / li >
< li > < a href = "other_charts.html" > Other Charts < / a >
< / li >
< / ul >
< / li >
< / ul >
< / div >
< div class = "menu_section" >
< h3 > Live On< / h3 >
< ul class = "nav side-menu" >
< li > < a > < i class = "fa fa-bug" > < / i > Additional Pages < span class = "fa fa-chevron-down" > < / span > < / a >
< ul class = "nav child_menu" style = "display: none" >
< li > < a href = "e_commerce.html" > E-commerce< / a >
< / li >
< li > < a href = "projects.html" > Projects< / a >
< / li >
< li > < a href = "project_detail.html" > Project Detail< / a >
< / li >
< li > < a href = "contacts.html" > Contacts< / a >
< / li >
< li > < a href = "profile.html" > Profile< / a >
< / li >
< / ul >
< / li >
< li > < a > < i class = "fa fa-windows" > < / i > Extras < span class = "fa fa-chevron-down" > < / span > < / a >
< ul class = "nav child_menu" style = "display: none" >
< li > < a href = "page_404.html" > 404 Error< / a >
< / li >
< li > < a href = "page_500.html" > 500 Error< / a >
< / li >
< li > < a href = "plain_page.html" > Plain Page< / a >
< / li >
< li > < a href = "login.html" > Login Page< / a >
< / li >
< li > < a href = "pricing_tables.html" > Pricing Tables< / a >
< / li >
< / ul >
< / li >
< li > < a > < i class = "fa fa-sitemap" > < / i > Multilevel Menu < span class = "fa fa-chevron-down" > < / span > < / a >
< ul class = "nav child_menu" style = "display: none" >
< li > < a href = "#level1_1" > Level One< / a >
< li > < a > Level One< span class = "fa fa-chevron-down" > < / span > < / a >
< ul class = "nav child_menu" style = "display: none" >
< li class = "sub_menu" > < a href = "level2.html" > Level Two< / a >
< / li >
< li > < a href = "#level2_1" > Level Two< / a >
< / li >
< li > < a href = "#level2_2" > Level Two< / a >
< / li >
< / ul >
< / li >
< li > < a href = "#level1_2" > Level One< / a >
< / li >
< / ul >
< / li >
< li > < a href = "javascript:void(0)" > < i class = "fa fa-laptop" > < / i > Landing Page < span class = "label label-success pull-right" > Coming Soon< / span > < / a >
< / li >
< / ul >
< / div >
2015-05-19 06:25:00 +00:00
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
<!-- /sidebar menu -->
<!-- /menu footer buttons -->
< div class = "sidebar-footer hidden-small" >
< a data-toggle = "tooltip" data-placement = "top" title = "Settings" >
< span class = "glyphicon glyphicon-cog" aria-hidden = "true" > < / span >
< / a >
< a data-toggle = "tooltip" data-placement = "top" title = "FullScreen" >
< span class = "glyphicon glyphicon-fullscreen" aria-hidden = "true" > < / span >
< / a >
< a data-toggle = "tooltip" data-placement = "top" title = "Lock" >
< span class = "glyphicon glyphicon-eye-close" aria-hidden = "true" > < / span >
< / a >
< a data-toggle = "tooltip" data-placement = "top" title = "Logout" >
< span class = "glyphicon glyphicon-off" aria-hidden = "true" > < / span >
< / a >
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
<!-- /menu footer buttons -->
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
< / div >
2016-03-06 10:42:44 +00:00
2016-04-24 14:26:11 +00:00
<!-- top navigation -->
< div class = "top_nav" >
2016-03-06 10:42:44 +00:00
2016-04-24 14:26:11 +00:00
< div class = "nav_menu" >
< nav class = "" role = "navigation" >
< div class = "nav toggle" >
< a id = "menu_toggle" > < i class = "fa fa-bars" > < / i > < / a >
< / div >
2016-03-06 10:42:44 +00:00
2016-04-24 14:26:11 +00:00
< ul class = "nav navbar-nav navbar-right" >
< li class = "" >
< a href = "javascript:;" class = "user-profile dropdown-toggle" data-toggle = "dropdown" aria-expanded = "false" >
< img src = "images/img.jpg" alt = "" > John Doe
< span class = " fa fa-angle-down" > < / span >
< / a >
< ul class = "dropdown-menu dropdown-usermenu pull-right" >
< li > < a href = "javascript:;" > Profile< / a >
2016-03-06 10:42:44 +00:00
< / li >
2016-04-24 14:26:11 +00:00
< li >
< a href = "javascript:;" >
< span class = "badge bg-red pull-right" > 50%< / span >
< span > Settings< / span >
< / a >
2016-03-06 10:42:44 +00:00
< / li >
2016-04-24 14:26:11 +00:00
< li >
< a href = "javascript:;" > Help< / a >
2016-03-06 10:42:44 +00:00
< / li >
2016-04-24 14:26:11 +00:00
< li > < a href = "login.html" > < i class = "fa fa-sign-out pull-right" > < / i > Log Out< / a >
2016-03-06 10:42:44 +00:00
< / li >
< / ul >
< / li >
2016-04-24 14:26:11 +00:00
< li role = "presentation" class = "dropdown" >
< a href = "javascript:;" class = "dropdown-toggle info-number" data-toggle = "dropdown" aria-expanded = "false" >
< i class = "fa fa-envelope-o" > < / i >
< span class = "badge bg-green" > 6< / span >
< / a >
< ul id = "menu1" class = "dropdown-menu list-unstyled msg_list" role = "menu" >
< li >
< a >
< span class = "image" >
< img src = "images/img.jpg" alt = "Profile Image" / >
< / span >
< span >
< span > John Smith< / span >
< span class = "time" > 3 mins ago< / span >
< / span >
< span class = "message" >
Film festivals used to be do-or-die moments for movie makers. They were where...
< / span >
< / a >
2016-03-06 10:42:44 +00:00
< / li >
2016-04-24 14:26:11 +00:00
< li >
< a >
< span class = "image" >
< img src = "images/img.jpg" alt = "Profile Image" / >
< / span >
< span >
< span > John Smith< / span >
< span class = "time" > 3 mins ago< / span >
< / span >
< span class = "message" >
Film festivals used to be do-or-die moments for movie makers. They were where...
< / span >
< / a >
2016-03-06 10:42:44 +00:00
< / li >
2016-04-24 14:26:11 +00:00
< li >
< a >
< span class = "image" >
< img src = "images/img.jpg" alt = "Profile Image" / >
< / span >
< span >
< span > John Smith< / span >
< span class = "time" > 3 mins ago< / span >
< / span >
< span class = "message" >
Film festivals used to be do-or-die moments for movie makers. They were where...
< / span >
< / a >
2016-03-06 10:42:44 +00:00
< / li >
2016-04-24 14:26:11 +00:00
< li >
< a >
< span class = "image" >
< img src = "images/img.jpg" alt = "Profile Image" / >
< / span >
< span >
< span > John Smith< / span >
< span class = "time" > 3 mins ago< / span >
< / span >
< span class = "message" >
Film festivals used to be do-or-die moments for movie makers. They were where...
< / span >
< / a >
2016-03-06 10:42:44 +00:00
< / li >
2016-04-24 14:26:11 +00:00
< li >
< div class = "text-center" >
< a >
< strong > See All Alerts< / strong >
< i class = "fa fa-angle-right" > < / i >
< / a >
< / div >
2016-03-06 10:42:44 +00:00
< / li >
< / ul >
< / li >
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
< / ul >
< / nav >
2016-03-06 10:42:44 +00:00
< / div >
2015-05-19 06:25:00 +00:00
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
<!-- /top navigation -->
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
<!-- page content -->
< div class = "right_col" role = "main" >
< div class = "" >
2016-03-06 10:42:44 +00:00
2016-04-24 14:26:11 +00:00
< div class = "page-title" >
< div class = "title_left" >
< h3 > Form Elements< / h3 >
< / div >
< div class = "title_right" >
< div class = "col-md-5 col-sm-5 col-xs-12 form-group pull-right top_search" >
< div class = "input-group" >
< input type = "text" class = "form-control" placeholder = "Search for..." >
< span class = "input-group-btn" >
< button class = "btn btn-default" type = "button" > Go!< / button >
< / span >
< / div >
2016-03-06 10:42:44 +00:00
< / div >
< / div >
< / div >
2016-04-24 14:26:11 +00:00
< div class = "clearfix" > < / div >
< div class = "row" >
< div class = "col-md-12 col-sm-12 col-xs-12" >
< div class = "x_panel" >
< div class = "x_title" >
< h2 > Form Design < small > different form elements< / small > < / h2 >
< ul class = "nav navbar-right panel_toolbox" >
< li > < a class = "collapse-link" > < i class = "fa fa-chevron-up" > < / i > < / a >
< / li >
< li class = "dropdown" >
< a href = "#" class = "dropdown-toggle" data-toggle = "dropdown" role = "button" aria-expanded = "false" > < i class = "fa fa-wrench" > < / i > < / a >
< ul class = "dropdown-menu" role = "menu" >
< li > < a href = "#" > Settings 1< / a >
< / li >
< li > < a href = "#" > Settings 2< / a >
< / li >
< / ul >
< / li >
< li > < a class = "close-link" > < i class = "fa fa-close" > < / i > < / a >
< / li >
< / ul >
< div class = "clearfix" > < / div >
< / div >
< div class = "x_content" >
< br / >
< form id = "demo-form2" data-parsley-validate class = "form-horizontal form-label-left" >
< div class = "form-group" >
< label class = "control-label col-md-3 col-sm-3 col-xs-12" for = "first-name" > First Name < span class = "required" > *< / span >
< / label >
< div class = "col-md-6 col-sm-6 col-xs-12" >
< input type = "text" id = "first-name" required = "required" class = "form-control col-md-7 col-xs-12" >
< / div >
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
< div class = "form-group" >
< label class = "control-label col-md-3 col-sm-3 col-xs-12" for = "last-name" > Last Name < span class = "required" > *< / span >
< / label >
< div class = "col-md-6 col-sm-6 col-xs-12" >
< input type = "text" id = "last-name" name = "last-name" required = "required" class = "form-control col-md-7 col-xs-12" >
< / div >
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
< div class = "form-group" >
< label for = "middle-name" class = "control-label col-md-3 col-sm-3 col-xs-12" > Middle Name / Initial< / label >
< div class = "col-md-6 col-sm-6 col-xs-12" >
< input id = "middle-name" class = "form-control col-md-7 col-xs-12" type = "text" name = "middle-name" >
< / div >
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
< div class = "form-group" >
< label class = "control-label col-md-3 col-sm-3 col-xs-12" > Gender< / label >
< div class = "col-md-6 col-sm-6 col-xs-12" >
< div id = "gender" class = "btn-group" data-toggle = "buttons" >
< label class = "btn btn-default" data-toggle-class = "btn-primary" data-toggle-passive-class = "btn-default" >
< input type = "radio" name = "gender" value = "male" > Male
< / label >
< label class = "btn btn-primary" data-toggle-class = "btn-primary" data-toggle-passive-class = "btn-default" >
< input type = "radio" name = "gender" value = "female" > Female
< / label >
< / div >
2015-05-19 06:25:00 +00:00
< / div >
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
< div class = "form-group" >
< label class = "control-label col-md-3 col-sm-3 col-xs-12" > Date Of Birth < span class = "required" > *< / span >
< / label >
< div class = "col-md-6 col-sm-6 col-xs-12" >
< input id = "birthday" class = "date-picker form-control col-md-7 col-xs-12" required = "required" type = "text" >
< / div >
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
< div class = "ln_solid" > < / div >
< div class = "form-group" >
< div class = "col-md-6 col-sm-6 col-xs-12 col-md-offset-3" >
< button type = "submit" class = "btn btn-primary" > Cancel< / button >
< button type = "submit" class = "btn btn-success" > Submit< / button >
< / div >
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
< / form >
< / div >
2016-03-06 10:42:44 +00:00
< / div >
< / div >
< / div >
2016-04-24 14:26:11 +00:00
< div class = "row" >
< div class = "col-md-6 col-xs-12" >
< div class = "x_panel" >
< div class = "x_title" >
< h2 > Form Design < small > different form elements< / small > < / h2 >
< ul class = "nav navbar-right panel_toolbox" >
< li > < a class = "collapse-link" > < i class = "fa fa-chevron-up" > < / i > < / a >
< / li >
< li class = "dropdown" >
< a href = "#" class = "dropdown-toggle" data-toggle = "dropdown" role = "button" aria-expanded = "false" > < i class = "fa fa-wrench" > < / i > < / a >
< ul class = "dropdown-menu" role = "menu" >
< li > < a href = "#" > Settings 1< / a >
< / li >
< li > < a href = "#" > Settings 2< / a >
< / li >
< / ul >
< / li >
< li > < a class = "close-link" > < i class = "fa fa-close" > < / i > < / a >
< / li >
< / ul >
< div class = "clearfix" > < / div >
< / div >
< div class = "x_content" >
< br / >
< form class = "form-horizontal form-label-left input_mask" >
2016-03-06 10:42:44 +00:00
2016-04-24 14:26:11 +00:00
< div class = "col-md-6 col-sm-6 col-xs-12 form-group has-feedback" >
< input type = "text" class = "form-control has-feedback-left" id = "inputSuccess2" placeholder = "First Name" >
< span class = "fa fa-user form-control-feedback left" aria-hidden = "true" > < / span >
< / div >
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
< div class = "col-md-6 col-sm-6 col-xs-12 form-group has-feedback" >
< input type = "text" class = "form-control" id = "inputSuccess3" placeholder = "Last Name" >
< span class = "fa fa-user form-control-feedback right" aria-hidden = "true" > < / span >
< / div >
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
< div class = "col-md-6 col-sm-6 col-xs-12 form-group has-feedback" >
< input type = "text" class = "form-control has-feedback-left" id = "inputSuccess4" placeholder = "Email" >
< span class = "fa fa-envelope form-control-feedback left" aria-hidden = "true" > < / span >
< / div >
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
< div class = "col-md-6 col-sm-6 col-xs-12 form-group has-feedback" >
< input type = "text" class = "form-control" id = "inputSuccess5" placeholder = "Phone" >
< span class = "fa fa-phone form-control-feedback right" aria-hidden = "true" > < / span >
< / div >
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
< div class = "form-group" >
< label class = "control-label col-md-3 col-sm-3 col-xs-12" > Default Input< / label >
< div class = "col-md-9 col-sm-9 col-xs-12" >
< input type = "text" class = "form-control" placeholder = "Default Input" >
< / div >
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
< div class = "form-group" >
< label class = "control-label col-md-3 col-sm-3 col-xs-12" > Disabled Input < / label >
< div class = "col-md-9 col-sm-9 col-xs-12" >
< input type = "text" class = "form-control" disabled = "disabled" placeholder = "Disabled Input" >
< / div >
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
< div class = "form-group" >
< label class = "control-label col-md-3 col-sm-3 col-xs-12" > Read-Only Input< / label >
< div class = "col-md-9 col-sm-9 col-xs-12" >
< input type = "text" class = "form-control" readonly = "readonly" placeholder = "Read-Only Input" >
< / div >
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
< div class = "form-group" >
< label class = "control-label col-md-3 col-sm-3 col-xs-12" > Date Of Birth < span class = "required" > *< / span >
< / label >
< div class = "col-md-9 col-sm-9 col-xs-12" >
< input class = "date-picker form-control col-md-7 col-xs-12" required = "required" type = "text" >
< / div >
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
< div class = "ln_solid" > < / div >
< div class = "form-group" >
< div class = "col-md-9 col-sm-9 col-xs-12 col-md-offset-3" >
< button type = "submit" class = "btn btn-primary" > Cancel< / button >
< button type = "submit" class = "btn btn-success" > Submit< / button >
< / div >
2016-03-06 10:42:44 +00:00
< / div >
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
< / form >
< / div >
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
< div class = "x_panel" >
< div class = "x_title" >
< h2 > Star Rating< / h2 >
< ul class = "nav navbar-right panel_toolbox" >
< li > < a class = "collapse-link" > < i class = "fa fa-chevron-up" > < / i > < / a >
< / li >
< li class = "dropdown" >
< a href = "#" class = "dropdown-toggle" data-toggle = "dropdown" role = "button" aria-expanded = "false" > < i class = "fa fa-wrench" > < / i > < / a >
< ul class = "dropdown-menu" role = "menu" >
< li > < a href = "#" > Settings 1< / a >
< / li >
< li > < a href = "#" > Settings 2< / a >
< / li >
< / ul >
< / li >
< li > < a class = "close-link" > < i class = "fa fa-close" > < / i > < / a >
< / li >
< / ul >
< div class = "clearfix" > < / div >
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
< div class = "x_content" >
< h4 > Star Ratings< small > Hover and click on a star< / small > < / h4 >
< div >
< div class = "starrr stars" > < / div >
You gave a rating of < span class = "stars-count" > 0< / span > star(s)
< / div >
2016-03-06 10:42:44 +00:00
2016-04-24 14:26:11 +00:00
< p > Also you can give a default rating by adding attribute data-rating< / p >
< div class = "starrr stars-existing" data-rating = '4' > < / div >
You gave a rating of < span class = "stars-count-existing" > 4< / span > star(s)
< / div >
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
< div class = "x_panel" >
< div class = "x_title" >
< h2 > Registration Form < small > Click to validate< / small > < / h2 >
< ul class = "nav navbar-right panel_toolbox" >
< li > < a class = "collapse-link" > < i class = "fa fa-chevron-up" > < / i > < / a >
< / li >
< li class = "dropdown" >
< a href = "#" class = "dropdown-toggle" data-toggle = "dropdown" role = "button" aria-expanded = "false" > < i class = "fa fa-wrench" > < / i > < / a >
< ul class = "dropdown-menu" role = "menu" >
< li > < a href = "#" > Settings 1< / a >
< / li >
< li > < a href = "#" > Settings 2< / a >
< / li >
< / ul >
< / li >
< li > < a class = "close-link" > < i class = "fa fa-close" > < / i > < / a >
< / li >
< / ul >
< div class = "clearfix" > < / div >
< / div >
< div class = "x_content" >
2016-03-06 10:42:44 +00:00
2016-04-24 14:26:11 +00:00
<!-- start form for validation -->
< form id = "demo-form" data-parsley-validate >
< label for = "fullname" > Full Name * :< / label >
< input type = "text" id = "fullname" class = "form-control" name = "fullname" required / >
2016-03-06 10:42:44 +00:00
2016-04-24 14:26:11 +00:00
< label for = "email" > Email * :< / label >
< input type = "email" id = "email" class = "form-control" name = "email" data-parsley-trigger = "change" required / >
2016-03-06 10:42:44 +00:00
2016-04-24 14:26:11 +00:00
< label > Gender *:< / label >
< p >
M:
< input type = "radio" class = "flat" name = "gender" id = "genderM" value = "M" checked = "" required / > F:
< input type = "radio" class = "flat" name = "gender" id = "genderF" value = "F" / >
< / p >
2016-03-06 10:42:44 +00:00
2016-04-24 14:26:11 +00:00
< label > Hobbies (2 minimum):< / label >
< p style = "padding: 5px;" >
< input type = "checkbox" name = "hobbies[]" id = "hobby1" value = "ski" data-parsley-mincheck = "2" required class = "flat" / > Skiing
< br / >
2016-03-06 10:42:44 +00:00
2016-04-24 14:26:11 +00:00
< input type = "checkbox" name = "hobbies[]" id = "hobby2" value = "run" class = "flat" / > Running
< br / >
2016-03-06 10:42:44 +00:00
2016-04-24 14:26:11 +00:00
< input type = "checkbox" name = "hobbies[]" id = "hobby3" value = "eat" class = "flat" / > Eating
< br / >
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
< input type = "checkbox" name = "hobbies[]" id = "hobby4" value = "sleep" class = "flat" / > Sleeping
< br / >
< p >
2016-03-06 10:42:44 +00:00
2016-04-24 14:26:11 +00:00
< label for = "heard" > Heard us by *:< / label >
< select id = "heard" class = "form-control" required >
< option value = "" > Choose..< / option >
< option value = "press" > Press< / option >
< option value = "net" > Internet< / option >
< option value = "mouth" > Word of mouth< / option >
< / select >
2016-03-06 10:42:44 +00:00
2016-04-24 14:26:11 +00:00
< label for = "message" > Message (20 chars min, 100 max) :< / label >
< textarea id = "message" required = "required" class = "form-control" name = "message" data-parsley-trigger = "keyup" data-parsley-minlength = "20" data-parsley-maxlength = "100" data-parsley-minlength-message = "Come on! You need to enter at least a 20 caracters long comment.."
data-parsley-validation-threshold="10">< / textarea >
2016-03-06 10:42:44 +00:00
2016-04-24 14:26:11 +00:00
< br / >
< span class = "btn btn-primary" > Validate form< / span >
2016-03-06 10:42:44 +00:00
2016-04-24 14:26:11 +00:00
< / form >
<!-- end form for validations -->
2016-03-06 10:42:44 +00:00
2016-04-24 14:26:11 +00:00
< / div >
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
< / div >
2016-03-06 10:42:44 +00:00
2016-04-24 14:26:11 +00:00
< div class = "col-md-6 col-xs-12" >
< div class = "x_panel" >
< div class = "x_title" >
< h2 > Form Basic Elements < small > different form elements< / small > < / h2 >
< ul class = "nav navbar-right panel_toolbox" >
< li > < a class = "collapse-link" > < i class = "fa fa-chevron-up" > < / i > < / a >
< / li >
< li class = "dropdown" >
< a href = "#" class = "dropdown-toggle" data-toggle = "dropdown" role = "button" aria-expanded = "false" > < i class = "fa fa-wrench" > < / i > < / a >
< ul class = "dropdown-menu" role = "menu" >
< li > < a href = "#" > Settings 1< / a >
< / li >
< li > < a href = "#" > Settings 2< / a >
< / li >
< / ul >
< / li >
< li > < a class = "close-link" > < i class = "fa fa-close" > < / i > < / a >
< / li >
< / ul >
< div class = "clearfix" > < / div >
< / div >
< div class = "x_content" >
< br / >
< form class = "form-horizontal form-label-left" >
< div class = "form-group" >
< label class = "control-label col-md-3 col-sm-3 col-xs-12" > Default Input< / label >
< div class = "col-md-9 col-sm-9 col-xs-12" >
< input type = "text" class = "form-control" placeholder = "Default Input" >
< / div >
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
< div class = "form-group" >
< label class = "control-label col-md-3 col-sm-3 col-xs-12" > Disabled Input < / label >
< div class = "col-md-9 col-sm-9 col-xs-12" >
< input type = "text" class = "form-control" disabled = "disabled" placeholder = "Disabled Input" >
< / div >
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
< div class = "form-group" >
< label class = "control-label col-md-3 col-sm-3 col-xs-12" > Read-Only Input< / label >
< div class = "col-md-9 col-sm-9 col-xs-12" >
< input type = "text" class = "form-control" readonly = "readonly" placeholder = "Read-Only Input" >
< / div >
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
< div class = "form-group" >
< label class = "control-label col-md-3 col-sm-3 col-xs-12" > Date Of Birth < span class = "required" > *< / span >
< / label >
< div class = "col-md-9 col-sm-9 col-xs-12" >
< textarea class = "form-control" rows = "3" placeholder = 'rows="3"' > < / textarea >
< / div >
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
< div class = "form-group" >
< label class = "control-label col-md-3 col-sm-3 col-xs-12" > Password< / label >
< div class = "col-md-9 col-sm-9 col-xs-12" >
< input type = "password" class = "form-control" value = "passwordonetwo" >
< / div >
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
< div class = "form-group" >
< label class = "control-label col-md-3 col-sm-3 col-xs-12" > AutoComplete< / label >
< div class = "col-md-9 col-sm-9 col-xs-12" >
< input type = "text" name = "country" id = "autocomplete-custom-append" class = "form-control col-md-10" style = "float: left;" / >
< div id = "autocomplete-container" style = "position: relative; float: left; width: 400px; margin: 10px;" > < / div >
< / div >
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
< div class = "form-group" >
< label class = "control-label col-md-3 col-sm-3 col-xs-12" > Select< / label >
< div class = "col-md-9 col-sm-9 col-xs-12" >
< select class = "form-control" >
< option > Choose option< / option >
< option > Option one< / option >
< option > Option two< / option >
< option > Option three< / option >
< option > Option four< / option >
< / select >
< / div >
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
< div class = "form-group" >
< label class = "control-label col-md-3 col-sm-3 col-xs-12" > Select Custom< / label >
< div class = "col-md-9 col-sm-9 col-xs-12" >
< select class = "select2_single form-control" tabindex = "-1" >
< option > < / option >
2016-03-06 10:42:44 +00:00
< option value = "AK" > Alaska< / option >
< option value = "HI" > Hawaii< / option >
< option value = "CA" > California< / option >
< option value = "NV" > Nevada< / option >
< option value = "OR" > Oregon< / option >
< option value = "WA" > Washington< / option >
< option value = "AZ" > Arizona< / option >
< option value = "CO" > Colorado< / option >
< option value = "ID" > Idaho< / option >
< option value = "MT" > Montana< / option >
< option value = "NE" > Nebraska< / option >
< option value = "NM" > New Mexico< / option >
< option value = "ND" > North Dakota< / option >
< option value = "UT" > Utah< / option >
< option value = "WY" > Wyoming< / option >
< option value = "AR" > Arkansas< / option >
< option value = "IL" > Illinois< / option >
< option value = "IA" > Iowa< / option >
< option value = "KS" > Kansas< / option >
< option value = "KY" > Kentucky< / option >
< option value = "LA" > Louisiana< / option >
< option value = "MN" > Minnesota< / option >
< option value = "MS" > Mississippi< / option >
< option value = "MO" > Missouri< / option >
< option value = "OK" > Oklahoma< / option >
< option value = "SD" > South Dakota< / option >
< option value = "TX" > Texas< / option >
2016-04-24 14:26:11 +00:00
< / select >
< / div >
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
< div class = "form-group" >
< label class = "control-label col-md-3 col-sm-3 col-xs-12" > Select Grouped< / label >
< div class = "col-md-9 col-sm-9 col-xs-12" >
< select class = "select2_group form-control" >
< optgroup label = "Alaskan/Hawaiian Time Zone" >
< option value = "AK" > Alaska< / option >
< option value = "HI" > Hawaii< / option >
< / optgroup >
< optgroup label = "Pacific Time Zone" >
< option value = "CA" > California< / option >
< option value = "NV" > Nevada< / option >
< option value = "OR" > Oregon< / option >
< option value = "WA" > Washington< / option >
< / optgroup >
< optgroup label = "Mountain Time Zone" >
< option value = "AZ" > Arizona< / option >
< option value = "CO" > Colorado< / option >
< option value = "ID" > Idaho< / option >
< option value = "MT" > Montana< / option >
< option value = "NE" > Nebraska< / option >
< option value = "NM" > New Mexico< / option >
< option value = "ND" > North Dakota< / option >
< option value = "UT" > Utah< / option >
< option value = "WY" > Wyoming< / option >
< / optgroup >
< optgroup label = "Central Time Zone" >
< option value = "AL" > Alabama< / option >
< option value = "AR" > Arkansas< / option >
< option value = "IL" > Illinois< / option >
< option value = "IA" > Iowa< / option >
< option value = "KS" > Kansas< / option >
< option value = "KY" > Kentucky< / option >
< option value = "LA" > Louisiana< / option >
< option value = "MN" > Minnesota< / option >
< option value = "MS" > Mississippi< / option >
< option value = "MO" > Missouri< / option >
< option value = "OK" > Oklahoma< / option >
< option value = "SD" > South Dakota< / option >
< option value = "TX" > Texas< / option >
< option value = "TN" > Tennessee< / option >
< option value = "WI" > Wisconsin< / option >
< / optgroup >
< optgroup label = "Eastern Time Zone" >
< option value = "CT" > Connecticut< / option >
< option value = "DE" > Delaware< / option >
< option value = "FL" > Florida< / option >
< option value = "GA" > Georgia< / option >
< option value = "IN" > Indiana< / option >
< option value = "ME" > Maine< / option >
< option value = "MD" > Maryland< / option >
< option value = "MA" > Massachusetts< / option >
< option value = "MI" > Michigan< / option >
< option value = "NH" > New Hampshire< / option >
< option value = "NJ" > New Jersey< / option >
< option value = "NY" > New York< / option >
< option value = "NC" > North Carolina< / option >
< option value = "OH" > Ohio< / option >
< option value = "PA" > Pennsylvania< / option >
< option value = "RI" > Rhode Island< / option >
< option value = "SC" > South Carolina< / option >
< option value = "VT" > Vermont< / option >
< option value = "VA" > Virginia< / option >
< option value = "WV" > West Virginia< / option >
< / optgroup >
< / select >
< / div >
< / div >
< div class = "form-group" >
< label class = "control-label col-md-3 col-sm-3 col-xs-12" > Select Multiple< / label >
< div class = "col-md-9 col-sm-9 col-xs-12" >
< select class = "select2_multiple form-control" multiple = "multiple" >
< option > Choose option< / option >
< option > Option one< / option >
< option > Option two< / option >
< option > Option three< / option >
< option > Option four< / option >
< option > Option five< / option >
< option > Option six< / option >
< / select >
< / div >
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
< div class = "control-group" >
< label class = "control-label col-md-3 col-sm-3 col-xs-12" > Input Tags< / label >
< div class = "col-md-9 col-sm-9 col-xs-12" >
< input id = "tags_1" type = "text" class = "tags form-control" value = "social, adverts, sales" / >
< div id = "suggestions-container" style = "position: relative; float: left; width: 250px; margin: 10px;" > < / div >
< / div >
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
< div class = "form-group" >
< label class = "col-md-3 col-sm-3 col-xs-12 control-label" > Checkboxes and radios
< br >
< small class = "text-navy" > Normal Bootstrap elements< / small >
< / label >
< div class = "col-md-9 col-sm-9 col-xs-12" >
< div class = "checkbox" >
< label >
< input type = "checkbox" value = "" > Option one. select more than one options
< / label >
< / div >
< div class = "checkbox" >
< label >
< input type = "checkbox" value = "" > Option two. select more than one options
< / label >
< / div >
< div class = "radio" >
< label >
< input type = "radio" checked = "" value = "option1" id = "optionsRadios1" name = "optionsRadios" > Option one. only select one option
< / label >
< / div >
< div class = "radio" >
< label >
< input type = "radio" value = "option2" id = "optionsRadios2" name = "optionsRadios" > Option two. only select one option
< / label >
< / div >
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
< / div >
< div class = "form-group" >
< label class = "col-md-3 col-sm-3 col-xs-12 control-label" > Checkboxes and radios
< br >
< small class = "text-navy" > Normal Bootstrap elements< / small >
< / label >
< div class = "col-md-9 col-sm-9 col-xs-12" >
< div class = "checkbox" >
< label >
< input type = "checkbox" class = "flat" checked = "checked" > Checked
< / label >
< / div >
< div class = "checkbox" >
< label >
< input type = "checkbox" class = "flat" > Unchecked
< / label >
< / div >
< div class = "checkbox" >
< label >
< input type = "checkbox" class = "flat" disabled = "disabled" > Disabled
< / label >
< / div >
< div class = "checkbox" >
< label >
< input type = "checkbox" class = "flat" disabled = "disabled" checked = "checked" > Disabled & checked
< / label >
< / div >
< div class = "radio" >
< label >
< input type = "radio" class = "flat" checked name = "iCheck" > Checked
< / label >
< / div >
< div class = "radio" >
< label >
< input type = "radio" class = "flat" name = "iCheck" > Unchecked
< / label >
< / div >
< div class = "radio" >
< label >
< input type = "radio" class = "flat" name = "iCheck" disabled = "disabled" > Disabled
< / label >
< / div >
< div class = "radio" >
< label >
< input type = "radio" class = "flat" name = "iCheck3" disabled = "disabled" checked > Disabled & Checked
< / label >
< / div >
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
< / div >
< div class = "form-group" >
< label class = "control-label col-md-3 col-sm-3 col-xs-12" > Switch< / label >
< div class = "col-md-9 col-sm-9 col-xs-12" >
< div class = "" >
< label >
< input type = "checkbox" class = "js-switch" checked / > Checked
< / label >
< / div >
< div class = "" >
< label >
< input type = "checkbox" class = "js-switch" / > Unchecked
< / label >
< / div >
< div class = "" >
< label >
< input type = "checkbox" class = "js-switch" disabled = "disabled" / > Disabled
< / label >
< / div >
< div class = "" >
< label >
< input type = "checkbox" class = "js-switch" disabled = "disabled" checked = "checked" / > Disabled Checked
< / label >
< / div >
2015-05-19 06:25:00 +00:00
< / div >
2016-04-24 14:26:11 +00:00
< / div >
< div class = "ln_solid" > < / div >
< div class = "form-group" >
< div class = "col-md-9 col-sm-9 col-xs-12 col-md-offset-3" >
< button type = "submit" class = "btn btn-primary" > Cancel< / button >
< button type = "submit" class = "btn btn-success" > Submit< / button >
2016-03-06 10:42:44 +00:00
< / div >
< / div >
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
< / form >
< / div >
< / div >
< / div >
< div class = "col-md-6 col-sm-12 col-xs-12" >
< div class = "x_panel" >
< div class = "x_title" >
< h2 > Form Buttons < small > Sessions< / small > < / h2 >
< ul class = "nav navbar-right panel_toolbox" >
< li > < a class = "collapse-link" > < i class = "fa fa-chevron-up" > < / i > < / a >
< / li >
< li class = "dropdown" >
< a href = "#" class = "dropdown-toggle" data-toggle = "dropdown" role = "button" aria-expanded = "false" > < i class = "fa fa-wrench" > < / i > < / a >
< ul class = "dropdown-menu" role = "menu" >
< li > < a href = "#" > Settings 1< / a >
< / li >
< li > < a href = "#" > Settings 2< / a >
< / li >
< / ul >
< / li >
< li > < a class = "close-link" > < i class = "fa fa-close" > < / i > < / a >
< / li >
< / ul >
< div class = "clearfix" > < / div >
< / div >
< div class = "x_content" >
< form class = "form-horizontal form-label-left" >
< div class = "form-group" >
< label class = "col-sm-3 control-label" > Button addons< / label >
< div class = "col-sm-9" >
< div class = "input-group" >
< span class = "input-group-btn" >
< button type = "button" class = "btn btn-primary" > Go!< / button >
< / span >
< input type = "text" class = "form-control" >
< / div >
< div class = "input-group" >
< input type = "text" class = "form-control" >
< span class = "input-group-btn" >
< button type = "button" class = "btn btn-primary" > Go!< / button >
< / span >
< / div >
2016-03-06 10:42:44 +00:00
< / div >
< / div >
2016-04-24 14:26:11 +00:00
< div class = "divider-dashed" > < / div >
< div class = "form-group" >
< label class = "col-sm-3 control-label" > Button addons< / label >
< div class = "col-sm-9" >
< div class = "input-group" >
< input type = "text" class = "form-control" aria-label = "Text input with dropdown button" >
< div class = "input-group-btn" >
< button type = "button" class = "btn btn-default dropdown-toggle" data-toggle = "dropdown" aria-expanded = "false" > Action < span class = "caret" > < / span >
< / button >
< ul class = "dropdown-menu dropdown-menu-right" role = "menu" >
< li > < a href = "#" > Action< / a >
< / li >
< li > < a href = "#" > Another action< / a >
< / li >
< li > < a href = "#" > Something else here< / a >
< / li >
< li class = "divider" > < / li >
< li > < a href = "#" > Separated link< / a >
< / li >
< / ul >
< / div >
<!-- /btn - group -->
< / div >
< div class = "input-group" >
< input type = "text" class = "form-control" >
< span class = "input-group-btn" >
< button type = "button" class = "btn btn-primary" > Go!< / button >
< / span >
< / div >
2016-03-06 10:42:44 +00:00
< / div >
< / div >
2016-04-24 14:26:11 +00:00
< / form >
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
< / div >
2016-03-06 10:42:44 +00:00
< / div >
< / div >
< / div >
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
< div class = "col-md-12 col-sm-12 col-xs-12" >
2016-03-06 10:42:44 +00:00
< div class = "x_panel" >
< div class = "x_title" >
2016-04-24 14:26:11 +00:00
< h2 > Text areas< small > Sessions< / small > < / h2 >
2016-03-06 10:42:44 +00:00
< ul class = "nav navbar-right panel_toolbox" >
< li > < a class = "collapse-link" > < i class = "fa fa-chevron-up" > < / i > < / a >
< / li >
< li class = "dropdown" >
< a href = "#" class = "dropdown-toggle" data-toggle = "dropdown" role = "button" aria-expanded = "false" > < i class = "fa fa-wrench" > < / i > < / a >
< ul class = "dropdown-menu" role = "menu" >
< li > < a href = "#" > Settings 1< / a >
< / li >
< li > < a href = "#" > Settings 2< / a >
< / li >
< / ul >
< / li >
< li > < a class = "close-link" > < i class = "fa fa-close" > < / i > < / a >
< / li >
< / ul >
< div class = "clearfix" > < / div >
< / div >
< div class = "x_content" >
2016-04-24 14:26:11 +00:00
< div id = "alerts" > < / div >
< div class = "btn-toolbar editor" data-role = "editor-toolbar" data-target = "#editor" >
< div class = "btn-group" >
< a class = "btn dropdown-toggle" data-toggle = "dropdown" title = "Font" > < i class = "fa fa-font" > < / i > < b class = "caret" > < / b > < / a >
< ul class = "dropdown-menu" >
< / ul >
< / div >
< div class = "btn-group" >
< a class = "btn dropdown-toggle" data-toggle = "dropdown" title = "Font Size" > < i class = "fa fa-text-height" > < / i > < b class = "caret" > < / b > < / a >
< ul class = "dropdown-menu" >
< li >
< a data-edit = "fontSize 5" >
< p style = "font-size:17px" > Huge< / p >
< / a >
< / li >
< li >
< a data-edit = "fontSize 3" >
< p style = "font-size:14px" > Normal< / p >
< / a >
< / li >
< li >
< a data-edit = "fontSize 1" >
< p style = "font-size:11px" > Small< / p >
< / a >
< / li >
< / ul >
< / div >
< div class = "btn-group" >
< a class = "btn" data-edit = "bold" title = "Bold (Ctrl/Cmd+B)" > < i class = "fa fa-bold" > < / i > < / a >
< a class = "btn" data-edit = "italic" title = "Italic (Ctrl/Cmd+I)" > < i class = "fa fa-italic" > < / i > < / a >
< a class = "btn" data-edit = "strikethrough" title = "Strikethrough" > < i class = "fa fa-strikethrough" > < / i > < / a >
< a class = "btn" data-edit = "underline" title = "Underline (Ctrl/Cmd+U)" > < i class = "fa fa-underline" > < / i > < / a >
< / div >
< div class = "btn-group" >
< a class = "btn" data-edit = "insertunorderedlist" title = "Bullet list" > < i class = "fa fa-list-ul" > < / i > < / a >
< a class = "btn" data-edit = "insertorderedlist" title = "Number list" > < i class = "fa fa-list-ol" > < / i > < / a >
< a class = "btn" data-edit = "outdent" title = "Reduce indent (Shift+Tab)" > < i class = "fa fa-dedent" > < / i > < / a >
< a class = "btn" data-edit = "indent" title = "Indent (Tab)" > < i class = "fa fa-indent" > < / i > < / a >
< / div >
< div class = "btn-group" >
< a class = "btn" data-edit = "justifyleft" title = "Align Left (Ctrl/Cmd+L)" > < i class = "fa fa-align-left" > < / i > < / a >
< a class = "btn" data-edit = "justifycenter" title = "Center (Ctrl/Cmd+E)" > < i class = "fa fa-align-center" > < / i > < / a >
< a class = "btn" data-edit = "justifyright" title = "Align Right (Ctrl/Cmd+R)" > < i class = "fa fa-align-right" > < / i > < / a >
< a class = "btn" data-edit = "justifyfull" title = "Justify (Ctrl/Cmd+J)" > < i class = "fa fa-align-justify" > < / i > < / a >
< / div >
< div class = "btn-group" >
< a class = "btn dropdown-toggle" data-toggle = "dropdown" title = "Hyperlink" > < i class = "fa fa-link" > < / i > < / a >
< div class = "dropdown-menu input-append" >
< input class = "span2" placeholder = "URL" type = "text" data-edit = "createLink" / >
< button class = "btn" type = "button" > Add< / button >
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
< a class = "btn" data-edit = "unlink" title = "Remove Hyperlink" > < i class = "fa fa-cut" > < / i > < / a >
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
< div class = "btn-group" >
< a class = "btn" title = "Insert picture (or just drag & drop)" id = "pictureBtn" > < i class = "fa fa-picture-o" > < / i > < / a >
< input type = "file" data-role = "magic-overlay" data-target = "#pictureBtn" data-edit = "insertImage" / >
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
< div class = "btn-group" >
< a class = "btn" data-edit = "undo" title = "Undo (Ctrl/Cmd+Z)" > < i class = "fa fa-undo" > < / i > < / a >
< a class = "btn" data-edit = "redo" title = "Redo (Ctrl/Cmd+Y)" > < i class = "fa fa-repeat" > < / i > < / a >
< / div >
< / div >
< div id = "editor" >
< / div >
< textarea name = "descr" id = "descr" style = "display:none;" > < / textarea >
< br / >
< div class = "ln_solid" > < / div >
< div class = "form-group" >
< label class = "control-label col-md-3 col-sm-3 col-xs-12" > Resizable Text area< / label >
< div class = "col-md-9 col-sm-9 col-xs-12" >
< textarea class = "resizable_textarea form-control" placeholder = "This text area automatically resizes its height as you fill in more text courtesy of autosize-master it out..." > < / textarea >
< / div >
< / div >
2015-05-19 06:25:00 +00:00
2016-03-06 10:42:44 +00:00
< / div >
< / div >
< / div >
< div class = "x_panel" >
< div class = "x_title" >
2016-04-24 14:26:11 +00:00
< h2 > Form Input Grid < small > form input < / small > < / h2 >
2016-03-06 10:42:44 +00:00
< ul class = "nav navbar-right panel_toolbox" >
< li > < a class = "collapse-link" > < i class = "fa fa-chevron-up" > < / i > < / a >
< / li >
< li class = "dropdown" >
< a href = "#" class = "dropdown-toggle" data-toggle = "dropdown" role = "button" aria-expanded = "false" > < i class = "fa fa-wrench" > < / i > < / a >
< ul class = "dropdown-menu" role = "menu" >
< li > < a href = "#" > Settings 1< / a >
< / li >
< li > < a href = "#" > Settings 2< / a >
< / li >
< / ul >
< / li >
< li > < a class = "close-link" > < i class = "fa fa-close" > < / i > < / a >
< / li >
< / ul >
< div class = "clearfix" > < / div >
< / div >
< div class = "x_content" >
2016-04-24 14:26:11 +00:00
< div class = "row" >
2016-03-06 10:42:44 +00:00
2016-04-24 14:26:11 +00:00
< div class = "col-md-12 col-sm-12 col-xs-12 form-group" >
< input type = "text" placeholder = ".col-md-12" class = "form-control" >
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
< div class = "col-md-6 col-sm-12 col-xs-12 form-group" >
< input type = "text" placeholder = ".col-md-6" class = "form-control" >
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
< div class = "col-md-6 col-sm-12 col-xs-12 form-group" >
< input type = "text" placeholder = ".col-md-6" class = "form-control" >
2016-03-06 10:42:44 +00:00
< / div >
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
< div class = "col-md-4 col-sm-12 col-xs-12 form-group" >
< input type = "text" placeholder = ".col-md-4" class = "form-control" >
2016-03-06 10:42:44 +00:00
< / div >
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
< div class = "col-md-4 col-sm-12 col-xs-12 form-group" >
< input type = "text" placeholder = ".col-md-4" class = "form-control" >
< / div >
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
< div class = "col-md-4 col-sm-12 col-xs-12 form-group" >
< input type = "text" placeholder = ".col-md-4" class = "form-control" >
< / div >
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
< div class = "col-md-3 col-sm-12 col-xs-12 form-group" >
< input type = "text" placeholder = ".col-md-3" class = "form-control" >
< / div >
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
< div class = "col-md-3 col-sm-12 col-xs-12 form-group" >
< input type = "text" placeholder = ".col-md-3" class = "form-control" >
< / div >
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
< div class = "col-md-3 col-sm-12 col-xs-12 form-group" >
< input type = "text" placeholder = ".col-md-3" class = "form-control" >
< / div >
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
< div class = "col-md-3 col-sm-12 col-xs-12 form-group" >
< input type = "text" placeholder = ".col-md-3" class = "form-control" >
< / div >
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
< div class = "col-md-2 col-sm-12 col-xs-12 form-group" >
< input type = "text" placeholder = ".col-md-2" class = "form-control" >
< / div >
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
< div class = "col-md-2 col-sm-12 col-xs-12 form-group" >
< input type = "text" placeholder = ".col-md-2" class = "form-control" >
< / div >
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
< div class = "col-md-2 col-sm-12 col-xs-12 form-group" >
< input type = "text" placeholder = ".col-md-2" class = "form-control" >
< / div >
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
< div class = "col-md-2 col-sm-12 col-xs-12 form-group" >
< input type = "text" placeholder = ".col-md-2" class = "form-control" >
< / div >
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
< div class = "col-md-2 col-sm-12 col-xs-12 form-group" >
< input type = "text" placeholder = ".col-md-2" class = "form-control" >
< / div >
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
< div class = "col-md-2 col-sm-12 col-xs-12 form-group" >
< input type = "text" placeholder = ".col-md-2" class = "form-control" >
< / div >
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
< div class = "col-md-1 col-sm-12 col-xs-12 form-group" >
< input type = "text" placeholder = ".col-md-1" class = "form-control" >
< / div >
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
< div class = "col-md-1 col-sm-12 col-xs-12 form-group" >
< input type = "text" placeholder = ".col-md-1" class = "form-control" >
< / div >
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
< div class = "col-md-1 col-sm-12 col-xs-12 form-group" >
< input type = "text" placeholder = ".col-md-1" class = "form-control" >
< / div >
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
< div class = "col-md-1 col-sm-12 col-xs-12 form-group" >
< input type = "text" placeholder = ".col-md-1" class = "form-control" >
< / div >
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
< div class = "col-md-1 col-sm-12 col-xs-12 form-group" >
< input type = "text" placeholder = ".col-md-1" class = "form-control" >
< / div >
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
< div class = "col-md-1 col-sm-12 col-xs-12 form-group" >
< input type = "text" placeholder = ".col-md-1" class = "form-control" >
< / div >
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
< div class = "col-md-1 col-sm-12 col-xs-12 form-group" >
< input type = "text" placeholder = ".col-md-1" class = "form-control" >
< / div >
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
< div class = "col-md-1 col-sm-12 col-xs-12 form-group" >
< input type = "text" placeholder = ".col-md-1" class = "form-control" >
< / div >
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
< div class = "col-md-1 col-sm-12 col-xs-12 form-group" >
< input type = "text" placeholder = ".col-md-1" class = "form-control" >
< / div >
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
< div class = "col-md-1 col-sm-12 col-xs-12 form-group" >
< input type = "text" placeholder = ".col-md-1" class = "form-control" >
< / div >
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
< div class = "col-md-1 col-sm-12 col-xs-12 form-group" >
< input type = "text" placeholder = ".col-md-1" class = "form-control" >
< / div >
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
< div class = "col-md-1 col-sm-12 col-xs-12 form-group" >
< input type = "text" placeholder = ".col-md-1" class = "form-control" >
< / div >
2016-03-06 10:42:44 +00:00
< / div >
2015-05-19 06:25:00 +00:00
2016-03-06 10:42:44 +00:00
< / div >
2015-05-19 06:25:00 +00:00
< / div >
2016-03-06 10:42:44 +00:00
2016-04-24 14:26:11 +00:00
< div class = "x_panel" >
< div class = "x_title" >
< h2 > Form Design < small > different form elements< / small > < / h2 >
< ul class = "nav navbar-right panel_toolbox" >
< li > < a class = "collapse-link" > < i class = "fa fa-chevron-up" > < / i > < / a >
< / li >
< li class = "dropdown" >
< a href = "#" class = "dropdown-toggle" data-toggle = "dropdown" role = "button" aria-expanded = "false" > < i class = "fa fa-wrench" > < / i > < / a >
< ul class = "dropdown-menu" role = "menu" >
< li > < a href = "#" > Settings 1< / a >
< / li >
< li > < a href = "#" > Settings 2< / a >
< / li >
< / ul >
< / li >
< li > < a class = "close-link" > < i class = "fa fa-close" > < / i > < / a >
< / li >
< / ul >
< div class = "clearfix" > < / div >
< / div >
< div class = "x_content" >
< br / >
< h4 > Horizontal labels< / h4 >
< p class = "font-gray-dark" >
Using the grid system you can control the position of the labels. The form example below has the < b > col-md-10< / b > which sets the width to 10/12 and < b > center-margin< / b > which centers it.
< / p >
< form class = "form-horizontal form-label-left" >
< div class = "form-group" >
< label class = "control-label col-md-3" for = "first-name" > First Name < span class = "required" > *< / span >
< / label >
< div class = "col-md-7" >
< input type = "text" id = "first-name2" required = "required" class = "form-control col-md-7 col-xs-12" >
< / div >
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
< div class = "form-group" >
< label class = "control-label col-md-3" for = "last-name" > Last Name < span class = "required" > *< / span >
< / label >
< div class = "col-md-7" >
< input type = "text" id = "last-name2" name = "last-name" required = "required" class = "form-control col-md-7 col-xs-12" >
< / div >
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
< / form >
2016-03-06 10:42:44 +00:00
2016-04-24 14:26:11 +00:00
< h4 > Vertical labels< / h4 >
< p class = "font-gray-dark" >
For making labels vertical you have two options, either use the apropiate grid < b > .col-< / b > class or wrap the form in the < b > form-vertical< / b > class.
< / p >
< div class = "col-md-8 center-margin" >
< form class = "form-horizontal form-label-left" >
< div class = "form-group" >
< label > Email address< / label >
< input type = "email" class = "form-control" placeholder = "Enter email" >
< / div >
< div class = "form-group" >
< label > Password< / label >
< input type = "password" class = "form-control" placeholder = "Password" >
< / div >
< / form >
< / div >
< h4 > Inline Form < / h4 >
< p class = "font-gray-dark" >
For making labels vertical you have two options, either use the apropiate grid < b > .col-< / b > class or wrap the form in the < b > form-vertical< / b > class.
< / p >
< form class = "form-inline" >
2016-03-06 10:42:44 +00:00
< div class = "form-group" >
2016-04-24 14:26:11 +00:00
< label for = "ex3" > Email address< / label >
< input type = "text" id = "ex3" class = "form-control" placeholder = " " >
2016-03-06 10:42:44 +00:00
< / div >
< div class = "form-group" >
2016-04-24 14:26:11 +00:00
< label for = "ex4" > Email address< / label >
< input type = "email" id = "ex4" class = "form-control" placeholder = " " >
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
< div class = "checkbox" >
< label >
< input type = "checkbox" > Remember me
< / label >
< / div >
< button type = "submit" class = "btn btn-default" > Send invitation< / button >
2016-03-06 10:42:44 +00:00
< / form >
< / div >
< / div >
< / div >
2015-05-19 06:25:00 +00:00
< / div >
2016-04-24 14:26:11 +00:00
<!-- /page content -->
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
<!-- footer content -->
< footer >
< div class = "pull-right" >
Gentelella - Bootstrap Admin Template by < a href = "https://colorlib.com" > Colorlib< / a >
< / div >
< div class = "clearfix" > < / div >
< / footer >
<!-- /footer content -->
< / div >
2016-03-06 10:42:44 +00:00
< / div >
2016-04-24 14:26:11 +00:00
<!-- jQuery -->
< script src = "../vendors/jquery/dist/jquery.min.js" > < / script >
<!-- Bootstrap -->
< script src = "../vendors/bootstrap/dist/js/bootstrap.min.js" > < / script >
<!-- FastClick -->
< script src = "../vendors/fastclick/lib/fastclick.js" > < / script >
<!-- NProgress -->
< script src = "../vendors/nprogress/nprogress.js" > < / script >
<!-- bootstrap - progressbar -->
< script src = "../vendors/bootstrap-progressbar/bootstrap-progressbar.min.js" > < / script >
<!-- iCheck -->
< script src = "../vendors/iCheck/icheck.min.js" > < / script >
<!-- bootstrap - daterangepicker -->
< script src = "js/moment/moment.min.js" > < / script >
< script src = "js/datepicker/daterangepicker.js" > < / script >
<!-- bootstrap - wysiwyg -->
< script src = "../vendors/bootstrap-wysiwyg/js/bootstrap-wysiwyg.min.js" > < / script >
< script src = "../vendors/jquery.hotkeys/jquery.hotkeys.js" > < / script >
< script src = "../vendors/google-code-prettify/src/prettify.js" > < / script >
<!-- jQuery Tags Input -->
< script src = "../vendors/jquery.tagsinput/src/jquery.tagsinput.js" > < / script >
<!-- Switchery -->
< script src = "../vendors/switchery/dist/switchery.min.js" > < / script >
<!-- Select2 -->
< script src = "../vendors/select2/dist/js/select2.full.min.js" > < / script >
<!-- Parsley -->
< script src = "../vendors/parsleyjs/dist/parsley.min.js" > < / script >
<!-- Autosize -->
< script src = "../vendors/autosize/dist/autosize.min.js" > < / script >
<!-- jQuery autocomplete -->
< script src = "../vendors/devbridge-autocomplete/dist/jquery.autocomplete.min.js" > < / script >
<!-- starrr -->
< script src = "../vendors/starrr/dist/starrr.js" > < / script >
<!-- Custom Theme Scripts -->
< script src = "js/custom.js" > < / script >
<!-- bootstrap - daterangepicker -->
< script >
$(document).ready(function() {
$('#birthday').daterangepicker({
singleDatePicker: true,
calender_style: "picker_4"
}, function(start, end, label) {
console.log(start.toISOString(), end.toISOString(), label);
});
2016-03-06 10:42:44 +00:00
});
2016-04-24 14:26:11 +00:00
< / script >
<!-- /bootstrap - daterangepicker -->
<!-- bootstrap - wysiwyg -->
< script >
$(document).ready(function() {
$('.xcxc').click(function() {
$('#descr').val($('#editor').html());
});
2016-03-06 10:42:44 +00:00
});
2016-04-24 14:26:11 +00:00
$(document).ready(function() {
function initToolbarBootstrapBindings() {
var fonts = ['Serif', 'Sans', 'Arial', 'Arial Black', 'Courier',
'Courier New', 'Comic Sans MS', 'Helvetica', 'Impact', 'Lucida Grande', 'Lucida Sans', 'Tahoma', 'Times',
'Times New Roman', 'Verdana'
],
fontTarget = $('[title=Font]').siblings('.dropdown-menu');
$.each(fonts, function(idx, fontName) {
fontTarget.append($('< li > < a data-edit = "fontName ' + fontName + '" style = "font-family:\'' + fontName + '\'" > ' + fontName + '< / a > < / li > '));
});
$('a[title]').tooltip({
container: 'body'
});
$('.dropdown-menu input').click(function() {
return false;
})
.change(function() {
$(this).parent('.dropdown-menu').siblings('.dropdown-toggle').dropdown('toggle');
})
.keydown('esc', function() {
this.value = '';
$(this).change();
});
$('[data-role=magic-overlay]').each(function() {
var overlay = $(this),
target = $(overlay.data('target'));
overlay.css('opacity', 0).css('position', 'absolute').offset(target.offset()).width(target.outerWidth()).height(target.outerHeight());
});
if ("onwebkitspeechchange" in document.createElement("input")) {
var editorOffset = $('#editor').offset();
2016-03-06 10:42:44 +00:00
2016-04-24 14:26:11 +00:00
$('.voiceBtn').css('position', 'absolute').offset({
top: editorOffset.top,
left: editorOffset.left + $('#editor').innerWidth() - 35
});
} else {
$('.voiceBtn').hide();
}
}
function showErrorAlert(reason, detail) {
var msg = '';
if (reason === 'unsupported-file-type') {
msg = "Unsupported format " + detail;
} else {
console.log("error uploading file", reason, detail);
}
$('< div class = "alert" > < button type = "button" class = "close" data-dismiss = "alert" > × < / button > ' +
'< strong > File upload error< / strong > ' + msg + ' < / div > ').prependTo('#alerts');
}
initToolbarBootstrapBindings();
$('#editor').wysiwyg({
fileUploadError: showErrorAlert
});
window.prettyPrint & & prettyPrint();
2016-03-06 10:42:44 +00:00
});
2016-04-24 14:26:11 +00:00
< / script >
<!-- /bootstrap - wysiwyg -->
<!-- Select2 -->
< script >
$(document).ready(function() {
$(".select2_single").select2({
placeholder: "Select a state",
allowClear: true
});
$(".select2_group").select2({});
$(".select2_multiple").select2({
maximumSelectionLength: 4,
placeholder: "With Max Selection limit 4",
allowClear: true
});
2016-03-06 10:42:44 +00:00
});
2016-04-24 14:26:11 +00:00
< / script >
<!-- /Select2 -->
<!-- jQuery Tags Input -->
< script >
function onAddTag(tag) {
alert("Added a tag: " + tag);
}
function onRemoveTag(tag) {
alert("Removed a tag: " + tag);
}
function onChangeTag(input, tag) {
alert("Changed a tag: " + tag);
}
$(document).ready(function() {
$('#tags_1').tagsInput({
width: 'auto'
});
2016-03-06 10:42:44 +00:00
});
2016-04-24 14:26:11 +00:00
< / script >
<!-- /jQuery Tags Input -->
<!-- Parsley -->
< script >
$(document).ready(function() {
$.listen('parsley:field:validate', function() {
validateFront();
});
$('#demo-form .btn').on('click', function() {
$('#demo-form').parsley().validate();
validateFront();
});
var validateFront = function() {
if (true === $('#demo-form').parsley().isValid()) {
$('.bs-callout-info').removeClass('hidden');
$('.bs-callout-warning').addClass('hidden');
} else {
$('.bs-callout-info').addClass('hidden');
$('.bs-callout-warning').removeClass('hidden');
}
};
2016-03-06 10:42:44 +00:00
});
2016-04-24 14:26:11 +00:00
$(document).ready(function() {
$.listen('parsley:field:validate', function() {
validateFront();
});
$('#demo-form2 .btn').on('click', function() {
$('#demo-form2').parsley().validate();
validateFront();
});
var validateFront = function() {
if (true === $('#demo-form2').parsley().isValid()) {
$('.bs-callout-info').removeClass('hidden');
$('.bs-callout-warning').addClass('hidden');
} else {
$('.bs-callout-info').addClass('hidden');
$('.bs-callout-warning').removeClass('hidden');
}
};
2016-03-06 10:42:44 +00:00
});
2016-04-24 14:26:11 +00:00
try {
hljs.initHighlightingOnLoad();
} catch (err) {}
< / script >
<!-- /Parsley -->
<!-- Autosize -->
< script >
$(document).ready(function() {
autosize($('.resizable_textarea'));
2016-03-06 10:42:44 +00:00
});
2016-04-24 14:26:11 +00:00
< / script >
<!-- /Autosize -->
<!-- jQuery autocomplete -->
< script >
$(document).ready(function() {
var countries = { AD:"Andorra",A2:"Andorra Test",AE:"United Arab Emirates",AF:"Afghanistan",AG:"Antigua and Barbuda",AI:"Anguilla",AL:"Albania",AM:"Armenia",AN:"Netherlands Antilles",AO:"Angola",AQ:"Antarctica",AR:"Argentina",AS:"American Samoa",AT:"Austria",AU:"Australia",AW:"Aruba",AX:"Åland Islands",AZ:"Azerbaijan",BA:"Bosnia and Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BL:"Saint Barthélemy",BM:"Bermuda",BN:"Brunei",BO:"Bolivia",BQ:"British Antarctic Territory",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BV:"Bouvet Island",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CC:"Cocos [Keeling] Islands",CD:"Congo - Kinshasa",CF:"Central African Republic",CG:"Congo - Brazzaville",CH:"Switzerland",CI:"Côte d’ Ivoire",CK:"Cook Islands",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CR:"Costa Rica",CS:"Serbia and Montenegro",CT:"Canton and Enderbury Islands",CU:"Cuba",CV:"Cape Verde",CX:"Christmas Island",CY:"Cyprus",CZ:"Czech Republic",DD:"East Germany",DE:"Germany",DJ:"Djibouti",DK:"Denmark",DM:"Dominica",DO:"Dominican Republic",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egypt",EH:"Western Sahara",ER:"Eritrea",ES:"Spain",ET:"Ethiopia",FI:"Finland",FJ:"Fiji",FK:"Falkland Islands",FM:"Micronesia",FO:"Faroe Islands",FQ:"French Southern and Antarctic Territories",FR:"France",FX:"Metropolitan France",GA:"Gabon",GB:"United Kingdom",GD:"Grenada",GE:"Georgia",GF:"French Guiana",GG:"Guernsey",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe",GQ:"Equatorial Guinea",GR:"Greece",GS:"South Georgia and the South Sandwich Islands",GT:"Guatemala",GU:"Guam",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hong Kong SAR China",HM:"Heard Island and McDonald Islands",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IM:"Isle of Man",IN:"India",IO:"British Indian Ocean Territory",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Italy",JE:"Jersey",JM:"Jamaica",JO:"Jordan",JP:"Japan",JT:"Johnston Island",KE:"Kenya",KG:"Kyrgyzstan",KH:"Cambodia",KI:"Kiribati",KM:"Comoros",KN:"Saint Kitts and Nevis",KP:"North Korea",KR:"South Korea",KW:"Kuwait",KY:"Cayman Islands",KZ:"Kazakhstan",LA:"Laos",LB:"Lebanon",LC:"Saint Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Morocco",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MF:"Saint Martin",MG:"Madagascar",MH:"Marshall Islands",MI:"Midway Islands",MK:"Macedonia",ML:"Mali",MM:"Myanmar [Burma]",MN:"Mongolia",MO:"Macau SAR China",MP:"Northern Mariana Islands",MQ:"Martinique",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldives",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia",NE:"Niger",NF:"Norfolk Island",NG:"Nigeria",NI:"Nicaragua",NL:"Netherlands",NO:"Norway",NP:"Nepal",NQ:"Dronning Maud Land",NR:"Nauru",NT:"Neutral Zone",NU:"Niue",NZ:"New Zealand",OM:"Oman",PA:"Panama",PC:"Pacific Islands Trust Territory",PE:"Peru",PF:"French Polynesia",PG:"Papua New Guinea",PH:"Philippines",PK:"Pakistan",PL:"Poland",PM:"Saint Pierre and Miquelon",PN:"Pitcairn Islands",PR:"Puerto Rico",PS:"Palestinian Territories",PT:"Portugal",PU:"U.S. Miscellaneous Pacific Islands",PW:"Palau",PY:"Paraguay",PZ:"Panama Canal Zone",QA:"Qatar",RE:"Réunion",RO:"Romania",RS:"Serbia",RU:"Russia",RW:"Rwanda",SA:"Saudi Arabia",SB:"Solomon Islands",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapore",SH:"Saint Helena",SI:"Slovenia",SJ:"Svalbard and Jan Mayen",SK:"Slovakia",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Suriname",ST:"São Tomé and Príncipe",SU:"Union of Soviet Socialist Republics",SV:"El Salvador",SY:"Syria",SZ:"Swaziland",TC:"Turks and Caicos Islands",TD:"Chad",TF:"French Southern Territories",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TK:"Tokelau",TL:"Timor-Leste",TM:"Turkmenistan",TN:"Tunisia",TO:"Tonga",TR:"Turkey",TT:"Trinidad and Tobago",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",UM:"U.S. Minor Outlying Islands",US:"United Sta
var countriesArray = $.map(countries, function(value, key) {
return {
value: value,
data: key
};
});
// initialize autocomplete with custom appendTo
$('#autocomplete-custom-append').autocomplete({
lookup: countriesArray,
appendTo: '#autocomplete-container'
});
2016-03-06 10:42:44 +00:00
});
2016-04-24 14:26:11 +00:00
< / script >
<!-- /jQuery autocomplete -->
<!-- Starrr -->
< script >
$(document).ready(function() {
$(".stars").starrr();
$('.stars-existing').starrr({
rating: 4
2016-03-06 10:42:44 +00:00
});
2016-04-24 14:26:11 +00:00
$('.starrr').on('click', function (e) {
e.preventDefault();
2016-03-06 10:42:44 +00:00
});
2016-04-24 14:26:11 +00:00
$('.stars').on('starrr:change', function (e, value) {
$('.stars-count').html(value);
2016-03-06 10:42:44 +00:00
});
2015-05-19 06:25:00 +00:00
2016-04-24 14:26:11 +00:00
$('.stars-existing').on('starrr:change', function (e, value) {
$('.stars-count-existing').html(value);
});
});
< / script >
<!-- /Starrr -->
< / body >
< / html >