Theme Inspinia
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

form_wizard.html 35KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>INSPINIA | Wizards</title>
  7. <link href="css/bootstrap.min.css" rel="stylesheet">
  8. <link href="font-awesome/css/font-awesome.css" rel="stylesheet">
  9. <link href="css/plugins/iCheck/custom.css" rel="stylesheet">
  10. <link href="css/plugins/steps/jquery.steps.css" rel="stylesheet">
  11. <link href="css/animate.css" rel="stylesheet">
  12. <link href="css/style.css" rel="stylesheet">
  13. <style>
  14. .wizard > .content > .body position: relative; }
  15. </style>
  16. </head>
  17. <body>
  18. <div id="wrapper">
  19. <nav class="navbar-default navbar-static-side" role="navigation">
  20. <div class="sidebar-collapse">
  21. <ul class="nav metismenu" id="side-menu">
  22. <li class="nav-header">
  23. <div class="dropdown profile-element"> <span>
  24. <img alt="image" class="img-circle" src="img/profile_small.jpg" />
  25. </span>
  26. <a data-toggle="dropdown" class="dropdown-toggle" href="#">
  27. <span class="clear"> <span class="block m-t-xs"> <strong class="font-bold">David Williams</strong>
  28. </span> <span class="text-muted text-xs block">Art Director <b class="caret"></b></span> </span> </a>
  29. <ul class="dropdown-menu animated fadeInRight m-t-xs">
  30. <li><a href="profile.html">Profile</a></li>
  31. <li><a href="contacts.html">Contacts</a></li>
  32. <li><a href="mailbox.html">Mailbox</a></li>
  33. <li class="divider"></li>
  34. <li><a href="login.html">Logout</a></li>
  35. </ul>
  36. </div>
  37. <div class="logo-element">
  38. IN+
  39. </div>
  40. </li>
  41. <li>
  42. <a href="index.html"><i class="fa fa-th-large"></i> <span class="nav-label">Dashboards</span> <span class="fa arrow"></span></a>
  43. <ul class="nav nav-second-level collapse">
  44. <li><a href="index.html">Dashboard v.1</a></li>
  45. <li><a href="dashboard_2.html">Dashboard v.2</a></li>
  46. <li><a href="dashboard_3.html">Dashboard v.3</a></li>
  47. <li><a href="dashboard_4_1.html">Dashboard v.4</a></li>
  48. <li><a href="dashboard_5.html">Dashboard v.5 <span class="label label-primary pull-right">NEW</span></a></li>
  49. </ul>
  50. </li>
  51. <li>
  52. <a href="layouts.html"><i class="fa fa-diamond"></i> <span class="nav-label">Layouts</span></a>
  53. </li>
  54. <li>
  55. <a href="#"><i class="fa fa-bar-chart-o"></i> <span class="nav-label">Graphs</span><span class="fa arrow"></span></a>
  56. <ul class="nav nav-second-level collapse">
  57. <li><a href="graph_flot.html">Flot Charts</a></li>
  58. <li><a href="graph_morris.html">Morris.js Charts</a></li>
  59. <li><a href="graph_rickshaw.html">Rickshaw Charts</a></li>
  60. <li><a href="graph_chartjs.html">Chart.js</a></li>
  61. <li><a href="graph_chartist.html">Chartist</a></li>
  62. <li><a href="c3.html">c3 charts</a></li>
  63. <li><a href="graph_peity.html">Peity Charts</a></li>
  64. <li><a href="graph_sparkline.html">Sparkline Charts</a></li>
  65. </ul>
  66. </li>
  67. <li>
  68. <a href="mailbox.html"><i class="fa fa-envelope"></i> <span class="nav-label">Mailbox </span><span class="label label-warning pull-right">16/24</span></a>
  69. <ul class="nav nav-second-level collapse">
  70. <li><a href="mailbox.html">Inbox</a></li>
  71. <li><a href="mail_detail.html">Email view</a></li>
  72. <li><a href="mail_compose.html">Compose email</a></li>
  73. <li><a href="email_template.html">Email templates</a></li>
  74. </ul>
  75. </li>
  76. <li>
  77. <a href="metrics.html"><i class="fa fa-pie-chart"></i> <span class="nav-label">Metrics</span> </a>
  78. </li>
  79. <li>
  80. <a href="widgets.html"><i class="fa fa-flask"></i> <span class="nav-label">Widgets</span></a>
  81. </li>
  82. <li class="active">
  83. <a href="#"><i class="fa fa-edit"></i> <span class="nav-label">Forms</span><span class="fa arrow"></span></a>
  84. <ul class="nav nav-second-level">
  85. <li><a href="form_basic.html">Basic form</a></li>
  86. <li><a href="form_advanced.html">Advanced Plugins</a></li>
  87. <li class="active"><a href="form_wizard.html">Wizard</a></li>
  88. <li><a href="form_file_upload.html">File Upload</a></li>
  89. <li><a href="form_editors.html">Text Editor</a></li>
  90. <li><a href="form_markdown.html">Markdown</a></li>
  91. </ul>
  92. </li>
  93. <li>
  94. <a href="#"><i class="fa fa-desktop"></i> <span class="nav-label">App Views</span> <span class="pull-right label label-primary">SPECIAL</span></a>
  95. <ul class="nav nav-second-level collapse">
  96. <li><a href="contacts.html">Contacts</a></li>
  97. <li><a href="profile.html">Profile</a></li>
  98. <li><a href="profile_2.html">Profile v.2</a></li>
  99. <li><a href="contacts_2.html">Contacts v.2</a></li>
  100. <li><a href="projects.html">Projects</a></li>
  101. <li><a href="project_detail.html">Project detail</a></li>
  102. <li><a href="teams_board.html">Teams board</a></li>
  103. <li><a href="social_feed.html">Social feed</a></li>
  104. <li><a href="clients.html">Clients</a></li>
  105. <li><a href="full_height.html">Outlook view</a></li>
  106. <li><a href="vote_list.html">Vote list</a></li>
  107. <li><a href="file_manager.html">File manager</a></li>
  108. <li><a href="calendar.html">Calendar</a></li>
  109. <li><a href="issue_tracker.html">Issue tracker</a></li>
  110. <li><a href="blog.html">Blog</a></li>
  111. <li><a href="article.html">Article</a></li>
  112. <li><a href="faq.html">FAQ</a></li>
  113. <li><a href="timeline.html">Timeline</a></li>
  114. <li><a href="pin_board.html">Pin board</a></li>
  115. </ul>
  116. </li>
  117. <li>
  118. <a href="#"><i class="fa fa-files-o"></i> <span class="nav-label">Other Pages</span><span class="fa arrow"></span></a>
  119. <ul class="nav nav-second-level collapse">
  120. <li><a href="search_results.html">Search results</a></li>
  121. <li><a href="lockscreen.html">Lockscreen</a></li>
  122. <li><a href="invoice.html">Invoice</a></li>
  123. <li><a href="login.html">Login</a></li>
  124. <li><a href="login_two_columns.html">Login v.2</a></li>
  125. <li><a href="forgot_password.html">Forget password</a></li>
  126. <li><a href="register.html">Register</a></li>
  127. <li><a href="404.html">404 Page</a></li>
  128. <li><a href="500.html">500 Page</a></li>
  129. <li><a href="empty_page.html">Empty page</a></li>
  130. </ul>
  131. </li>
  132. <li>
  133. <a href="#"><i class="fa fa-globe"></i> <span class="nav-label">Miscellaneous</span><span class="label label-info pull-right">NEW</span></a>
  134. <ul class="nav nav-second-level collapse">
  135. <li><a href="toastr_notifications.html">Notification</a></li>
  136. <li><a href="nestable_list.html">Nestable list</a></li>
  137. <li><a href="agile_board.html">Agile board</a></li>
  138. <li><a href="timeline_2.html">Timeline v.2</a></li>
  139. <li><a href="diff.html">Diff</a></li>
  140. <li><a href="i18support.html">i18 support</a></li>
  141. <li><a href="sweetalert.html">Sweet alert</a></li>
  142. <li><a href="idle_timer.html">Idle timer</a></li>
  143. <li><a href="truncate.html">Truncate</a></li>
  144. <li><a href="spinners.html">Spinners</a></li>
  145. <li><a href="tinycon.html">Live favicon</a></li>
  146. <li><a href="google_maps.html">Google maps</a></li>
  147. <li><a href="code_editor.html">Code editor</a></li>
  148. <li><a href="modal_window.html">Modal window</a></li>
  149. <li><a href="clipboard.html">Clipboard</a></li>
  150. <li><a href="forum_main.html">Forum view</a></li>
  151. <li><a href="validation.html">Validation</a></li>
  152. <li><a href="tree_view.html">Tree view</a></li>
  153. <li><a href="loading_buttons.html">Loading buttons</a></li>
  154. <li><a href="chat_view.html">Chat view</a></li>
  155. <li><a href="masonry.html">Masonry</a></li>
  156. <li><a href="tour.html">Tour</a></li>
  157. </ul>
  158. </li>
  159. <li>
  160. <a href="#"><i class="fa fa-flask"></i> <span class="nav-label">UI Elements</span><span class="fa arrow"></span></a>
  161. <ul class="nav nav-second-level collapse">
  162. <li><a href="typography.html">Typography</a></li>
  163. <li><a href="icons.html">Icons</a></li>
  164. <li><a href="draggable_panels.html">Draggable Panels</a></li> <li><a href="resizeable_panels.html">Resizeable Panels</a></li>
  165. <li><a href="buttons.html">Buttons</a></li>
  166. <li><a href="video.html">Video</a></li>
  167. <li><a href="tabs_panels.html">Panels</a></li>
  168. <li><a href="tabs.html">Tabs</a></li>
  169. <li><a href="notifications.html">Notifications & Tooltips</a></li>
  170. <li><a href="badges_labels.html">Badges, Labels, Progress</a></li>
  171. </ul>
  172. </li>
  173. <li>
  174. <a href="grid_options.html"><i class="fa fa-laptop"></i> <span class="nav-label">Grid options</span></a>
  175. </li>
  176. <li>
  177. <a href="#"><i class="fa fa-table"></i> <span class="nav-label">Tables</span><span class="fa arrow"></span></a>
  178. <ul class="nav nav-second-level collapse">
  179. <li><a href="table_basic.html">Static Tables</a></li>
  180. <li><a href="table_data_tables.html">Data Tables</a></li>
  181. <li><a href="table_foo_table.html">Foo Tables</a></li>
  182. <li><a href="jq_grid.html">jqGrid</a></li>
  183. </ul>
  184. </li>
  185. <li>
  186. <a href="#"><i class="fa fa-shopping-cart"></i> <span class="nav-label">E-commerce</span><span class="fa arrow"></span></a>
  187. <ul class="nav nav-second-level collapse">
  188. <li><a href="ecommerce_products_grid.html">Products grid</a></li>
  189. <li><a href="ecommerce_product_list.html">Products list</a></li>
  190. <li><a href="ecommerce_product.html">Product edit</a></li>
  191. <li><a href="ecommerce_product_detail.html">Product detail</a></li>
  192. <li><a href="ecommerce-cart.html">Cart</a></li>
  193. <li><a href="ecommerce-orders.html">Orders</a></li>
  194. <li><a href="ecommerce_payments.html">Credit Card form</a></li>
  195. </ul>
  196. </li>
  197. <li>
  198. <a href="#"><i class="fa fa-picture-o"></i> <span class="nav-label">Gallery</span><span class="fa arrow"></span></a>
  199. <ul class="nav nav-second-level collapse">
  200. <li><a href="basic_gallery.html">Lightbox Gallery</a></li>
  201. <li><a href="slick_carousel.html">Slick Carousel</a></li>
  202. <li><a href="carousel.html">Bootstrap Carousel</a></li>
  203. </ul>
  204. </li>
  205. <li>
  206. <a href="#"><i class="fa fa-sitemap"></i> <span class="nav-label">Menu Levels </span><span class="fa arrow"></span></a>
  207. <ul class="nav nav-second-level collapse">
  208. <li>
  209. <a href="#">Third Level <span class="fa arrow"></span></a>
  210. <ul class="nav nav-third-level">
  211. <li>
  212. <a href="#">Third Level Item</a>
  213. </li>
  214. <li>
  215. <a href="#">Third Level Item</a>
  216. </li>
  217. <li>
  218. <a href="#">Third Level Item</a>
  219. </li>
  220. </ul>
  221. </li>
  222. <li><a href="#">Second Level Item</a></li>
  223. <li>
  224. <a href="#">Second Level Item</a></li>
  225. <li>
  226. <a href="#">Second Level Item</a></li>
  227. </ul>
  228. </li>
  229. <li>
  230. <a href="css_animation.html"><i class="fa fa-magic"></i> <span class="nav-label">CSS Animations </span><span class="label label-info pull-right">62</span></a>
  231. </li>
  232. <li class="landing_link">
  233. <a target="_blank" href="landing.html"><i class="fa fa-star"></i> <span class="nav-label">Landing Page</span> <span class="label label-warning pull-right">NEW</span></a>
  234. </li>
  235. <li class="special_link">
  236. <a href="package.html"><i class="fa fa-database"></i> <span class="nav-label">Package</span></a>
  237. </li>
  238. </ul>
  239. </div>
  240. </nav>
  241. <div id="page-wrapper" class="gray-bg">
  242. <div class="row border-bottom">
  243. <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
  244. <div class="navbar-header">
  245. <a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="#"><i class="fa fa-bars"></i> </a>
  246. <form role="search" class="navbar-form-custom" action="search_results.html">
  247. <div class="form-group">
  248. <input type="text" placeholder="Search for something..." class="form-control" name="top-search" id="top-search">
  249. </div>
  250. </form>
  251. </div>
  252. <ul class="nav navbar-top-links navbar-right">
  253. <li>
  254. <span class="m-r-sm text-muted welcome-message">Welcome to INSPINIA+ Admin Theme.</span>
  255. </li>
  256. <li class="dropdown">
  257. <a class="dropdown-toggle count-info" data-toggle="dropdown" href="#">
  258. <i class="fa fa-envelope"></i> <span class="label label-warning">16</span>
  259. </a>
  260. <ul class="dropdown-menu dropdown-messages">
  261. <li>
  262. <div class="dropdown-messages-box">
  263. <a href="profile.html" class="pull-left">
  264. <img alt="image" class="img-circle" src="img/a7.jpg">
  265. </a>
  266. <div class="media-body">
  267. <small class="pull-right">46h ago</small>
  268. <strong>Mike Loreipsum</strong> started following <strong>Monica Smith</strong>. <br>
  269. <small class="text-muted">3 days ago at 7:58 pm - 10.06.2014</small>
  270. </div>
  271. </div>
  272. </li>
  273. <li class="divider"></li>
  274. <li>
  275. <div class="dropdown-messages-box">
  276. <a href="profile.html" class="pull-left">
  277. <img alt="image" class="img-circle" src="img/a4.jpg">
  278. </a>
  279. <div class="media-body ">
  280. <small class="pull-right text-navy">5h ago</small>
  281. <strong>Chris Johnatan Overtunk</strong> started following <strong>Monica Smith</strong>. <br>
  282. <small class="text-muted">Yesterday 1:21 pm - 11.06.2014</small>
  283. </div>
  284. </div>
  285. </li>
  286. <li class="divider"></li>
  287. <li>
  288. <div class="dropdown-messages-box">
  289. <a href="profile.html" class="pull-left">
  290. <img alt="image" class="img-circle" src="img/profile.jpg">
  291. </a>
  292. <div class="media-body ">
  293. <small class="pull-right">23h ago</small>
  294. <strong>Monica Smith</strong> love <strong>Kim Smith</strong>. <br>
  295. <small class="text-muted">2 days ago at 2:30 am - 11.06.2014</small>
  296. </div>
  297. </div>
  298. </li>
  299. <li class="divider"></li>
  300. <li>
  301. <div class="text-center link-block">
  302. <a href="mailbox.html">
  303. <i class="fa fa-envelope"></i> <strong>Read All Messages</strong>
  304. </a>
  305. </div>
  306. </li>
  307. </ul>
  308. </li>
  309. <li class="dropdown">
  310. <a class="dropdown-toggle count-info" data-toggle="dropdown" href="#">
  311. <i class="fa fa-bell"></i> <span class="label label-primary">8</span>
  312. </a>
  313. <ul class="dropdown-menu dropdown-alerts">
  314. <li>
  315. <a href="mailbox.html">
  316. <div>
  317. <i class="fa fa-envelope fa-fw"></i> You have 16 messages
  318. <span class="pull-right text-muted small">4 minutes ago</span>
  319. </div>
  320. </a>
  321. </li>
  322. <li class="divider"></li>
  323. <li>
  324. <a href="profile.html">
  325. <div>
  326. <i class="fa fa-twitter fa-fw"></i> 3 New Followers
  327. <span class="pull-right text-muted small">12 minutes ago</span>
  328. </div>
  329. </a>
  330. </li>
  331. <li class="divider"></li>
  332. <li>
  333. <a href="grid_options.html">
  334. <div>
  335. <i class="fa fa-upload fa-fw"></i> Server Rebooted
  336. <span class="pull-right text-muted small">4 minutes ago</span>
  337. </div>
  338. </a>
  339. </li>
  340. <li class="divider"></li>
  341. <li>
  342. <div class="text-center link-block">
  343. <a href="notifications.html">
  344. <strong>See All Alerts</strong>
  345. <i class="fa fa-angle-right"></i>
  346. </a>
  347. </div>
  348. </li>
  349. </ul>
  350. </li>
  351. <li>
  352. <a href="login.html">
  353. <i class="fa fa-sign-out"></i> Log out
  354. </a>
  355. </li>
  356. </ul>
  357. </nav>
  358. </div>
  359. <div class="row wrapper border-bottom white-bg page-heading">
  360. <div class="col-lg-10">
  361. <h2>Wizard</h2>
  362. <ol class="breadcrumb">
  363. <li>
  364. <a href="index.html">Home</a>
  365. </li>
  366. <li>
  367. <a>Forms</a>
  368. </li>
  369. <li class="active">
  370. <strong>Wizard</strong>
  371. </li>
  372. </ol>
  373. </div>
  374. <div class="col-lg-2">
  375. </div>
  376. </div>
  377. <div class="wrapper wrapper-content animated fadeInRight">
  378. <div class="row">
  379. <div class="col-lg-5">
  380. <div class="jumbotron">
  381. <h1>Steps</h1>
  382. <p>Smart UI component which allows you to easily create wizard-like interfaces.</p>
  383. <p><a href="http://www.jquery-steps.com/GettingStarted" target="_blank" class="btn btn-primary btn-lg" role="button">Learn more about jQuery Steps</a>
  384. </p>
  385. </div>
  386. </div>
  387. <div class="col-lg-7">
  388. <div class="ibox float-e-margins">
  389. <div class="ibox-title">
  390. <h5>Basic Wizzard</h5>
  391. <div class="ibox-tools">
  392. <a class="collapse-link">
  393. <i class="fa fa-chevron-up"></i>
  394. </a>
  395. <a class="dropdown-toggle" data-toggle="dropdown" href="#">
  396. <i class="fa fa-wrench"></i>
  397. </a>
  398. <ul class="dropdown-menu dropdown-user">
  399. <li><a href="#">Config option 1</a>
  400. </li>
  401. <li><a href="#">Config option 2</a>
  402. </li>
  403. </ul>
  404. <a class="close-link">
  405. <i class="fa fa-times"></i>
  406. </a>
  407. </div>
  408. </div>
  409. <div class="ibox-content">
  410. <p>
  411. This is basic example of Step
  412. </p>
  413. <div id="wizard">
  414. <h1>First Step</h1>
  415. <div class="step-content">
  416. <div class="text-center m-t-md">
  417. <h2>Hello in Step 1</h2>
  418. <p>
  419. This is the first content.
  420. </p>
  421. </div>
  422. </div>
  423. <h1>Second Step</h1>
  424. <div class="step-content">
  425. <div class="text-center m-t-md">
  426. <h2>This is step 2</h2>
  427. <p>
  428. This content is diferent than the first one.
  429. </p>
  430. </div>
  431. </div>
  432. <h1>Third Step</h1>
  433. <div class="step-content">
  434. <div class="text-center m-t-md">
  435. <h2>This is step 3</h2>
  436. <p>
  437. This is last content.
  438. </p>
  439. </div>
  440. </div>
  441. </div>
  442. </div>
  443. </div>
  444. </div>
  445. </div>
  446. <div class="row">
  447. <div class="col-lg-12">
  448. <div class="ibox">
  449. <div class="ibox-title">
  450. <h5>Wizard with Validation</h5>
  451. <div class="ibox-tools">
  452. <a class="collapse-link">
  453. <i class="fa fa-chevron-up"></i>
  454. </a>
  455. <a class="dropdown-toggle" data-toggle="dropdown" href="#">
  456. <i class="fa fa-wrench"></i>
  457. </a>
  458. <ul class="dropdown-menu dropdown-user">
  459. <li><a href="#">Config option 1</a>
  460. </li>
  461. <li><a href="#">Config option 2</a>
  462. </li>
  463. </ul>
  464. <a class="close-link">
  465. <i class="fa fa-times"></i>
  466. </a>
  467. </div>
  468. </div>
  469. <div class="ibox-content">
  470. <h2>
  471. Validation Wizard Form
  472. </h2>
  473. <p>
  474. This example show how to use Steps with jQuery Validation plugin.
  475. </p>
  476. <form id="form" action="#" class="wizard-big">
  477. <h1>Account</h1>
  478. <fieldset>
  479. <h2>Account Information</h2>
  480. <div class="row">
  481. <div class="col-lg-8">
  482. <div class="form-group">
  483. <label>Username *</label>
  484. <input id="userName" name="userName" type="text" class="form-control required">
  485. </div>
  486. <div class="form-group">
  487. <label>Password *</label>
  488. <input id="password" name="password" type="text" class="form-control required">
  489. </div>
  490. <div class="form-group">
  491. <label>Confirm Password *</label>
  492. <input id="confirm" name="confirm" type="text" class="form-control required">
  493. </div>
  494. </div>
  495. <div class="col-lg-4">
  496. <div class="text-center">
  497. <div style="margin-top: 20px">
  498. <i class="fa fa-sign-in" style="font-size: 180px;color: #e5e5e5 "></i>
  499. </div>
  500. </div>
  501. </div>
  502. </div>
  503. </fieldset>
  504. <h1>Profile</h1>
  505. <fieldset>
  506. <h2>Profile Information</h2>
  507. <div class="row">
  508. <div class="col-lg-6">
  509. <div class="form-group">
  510. <label>First name *</label>
  511. <input id="name" name="name" type="text" class="form-control required">
  512. </div>
  513. <div class="form-group">
  514. <label>Last name *</label>
  515. <input id="surname" name="surname" type="text" class="form-control required">
  516. </div>
  517. </div>
  518. <div class="col-lg-6">
  519. <div class="form-group">
  520. <label>Email *</label>
  521. <input id="email" name="email" type="text" class="form-control required email">
  522. </div>
  523. <div class="form-group">
  524. <label>Address *</label>
  525. <input id="address" name="address" type="text" class="form-control">
  526. </div>
  527. </div>
  528. </div>
  529. </fieldset>
  530. <h1>Warning</h1>
  531. <fieldset>
  532. <div class="text-center" style="margin-top: 120px">
  533. <h2>You did it Man :-)</h2>
  534. </div>
  535. </fieldset>
  536. <h1>Finish</h1>
  537. <fieldset>
  538. <h2>Terms and Conditions</h2>
  539. <input id="acceptTerms" name="acceptTerms" type="checkbox" class="required"> <label for="acceptTerms">I agree with the Terms and Conditions.</label>
  540. </fieldset>
  541. </form>
  542. </div>
  543. </div>
  544. </div>
  545. </div>
  546. </div>
  547. <div class="footer">
  548. <div class="pull-right">
  549. 10GB of <strong>250GB</strong> Free.
  550. </div>
  551. <div>
  552. <strong>Copyright</strong> Example Company &copy; 2014-2015
  553. </div>
  554. </div>
  555. </div>
  556. </div>
  557. <!-- Mainly scripts -->
  558. <script src="js/jquery-2.1.1.js"></script>
  559. <script src="js/bootstrap.min.js"></script>
  560. <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script>
  561. <script src="js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
  562. <!-- Custom and plugin javascript -->
  563. <script src="js/inspinia.js"></script>
  564. <script src="js/plugins/pace/pace.min.js"></script>
  565. <!-- Steps -->
  566. <script src="js/plugins/staps/jquery.steps.min.js"></script>
  567. <!-- Jquery Validate -->
  568. <script src="js/plugins/validate/jquery.validate.min.js"></script>
  569. <script>
  570. $(document).ready(function(){
  571. $("#wizard").steps();
  572. $("#form").steps({
  573. bodyTag: "fieldset",
  574. onStepChanging: function (event, currentIndex, newIndex)
  575. {
  576. // Always allow going backward even if the current step contains invalid fields!
  577. if (currentIndex > newIndex)
  578. {
  579. return true;
  580. }
  581. // Forbid suppressing "Warning" step if the user is to young
  582. if (newIndex === 3 && Number($("#age").val()) < 18)
  583. {
  584. return false;
  585. }
  586. var form = $(this);
  587. // Clean up if user went backward before
  588. if (currentIndex < newIndex)
  589. {
  590. // To remove error styles
  591. $(".body:eq(" + newIndex + ") label.error", form).remove();
  592. $(".body:eq(" + newIndex + ") .error", form).removeClass("error");
  593. }
  594. // Disable validation on fields that are disabled or hidden.
  595. form.validate().settings.ignore = ":disabled,:hidden";
  596. // Start validation; Prevent going forward if false
  597. return form.valid();
  598. },
  599. onStepChanged: function (event, currentIndex, priorIndex)
  600. {
  601. // Suppress (skip) "Warning" step if the user is old enough.
  602. if (currentIndex === 2 && Number($("#age").val()) >= 18)
  603. {
  604. $(this).steps("next");
  605. }
  606. // Suppress (skip) "Warning" step if the user is old enough and wants to the previous step.
  607. if (currentIndex === 2 && priorIndex === 3)
  608. {
  609. $(this).steps("previous");
  610. }
  611. },
  612. onFinishing: function (event, currentIndex)
  613. {
  614. var form = $(this);
  615. // Disable validation on fields that are disabled.
  616. // At this point it's recommended to do an overall check (mean ignoring only disabled fields)
  617. form.validate().settings.ignore = ":disabled";
  618. // Start validation; Prevent form submission if false
  619. return form.valid();
  620. },
  621. onFinished: function (event, currentIndex)
  622. {
  623. var form = $(this);
  624. // Submit form input
  625. form.submit();
  626. }
  627. }).validate({
  628. errorPlacement: function (error, element)
  629. {
  630. element.before(error);
  631. },
  632. rules: {
  633. confirm: {
  634. equalTo: "#password"
  635. }
  636. }
  637. });
  638. });
  639. </script>
  640. </body>
  641. </html>