Parcourir la source

添加进度条

master
何雨菁 il y a 3 ans
Parent
révision
e4fba689d4
5 fichiers modifiés avec 605 ajouts et 547 suppressions
  1. +5
    -5
      style-transform-master/style-transform-master/html/css/bootstrap.min.css
  2. +450
    -425
      style-transform-master/style-transform-master/html/css/normalize.css
  3. +1
    -0
      style-transform-master/style-transform-master/html/debug.log
  4. +133
    -117
      style-transform-master/style-transform-master/html/index.html
  5. +16
    -0
      style-transform-master/style-transform-master/html/js/cloud.js

+ 5
- 5
style-transform-master/style-transform-master/html/css/bootstrap.min.css
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


+ 450
- 425
style-transform-master/style-transform-master/html/css/normalize.css Voir le fichier

@ -1,426 +1,451 @@
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS and IE text size adjust after device orientation change,
* without disabling user zoom.
*/
html {
font-family: sans-serif; /* 1 */
-ms-text-size-adjust: 100%; /* 2 */
-webkit-text-size-adjust: 100%; /* 2 */
}
/**
* Remove default margin.
*/
body {
margin: 0;
background:url("images/slider/slider-img-1.jpg") no-repeat center center fixed;
background-size:cover;
}
/* HTML5 display definitions
========================================================================== */
/**
* Correct `block` display not defined for any HTML5 element in IE 8/9.
* Correct `block` display not defined for `details` or `summary` in IE 10/11
* and Firefox.
* Correct `block` display not defined for `main` in IE 11.
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
display: block;
}
/**
* 1. Correct `inline-block` display not defined in IE 8/9.
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
*/
audio,
canvas,
progress,
video {
display: inline-block; /* 1 */
vertical-align: baseline; /* 2 */
}
/**
* Prevent modern browsers from displaying `audio` without controls.
* Remove excess height in iOS 5 devices.
*/
audio:not([controls]) {
display: none;
height: 0;
}
/**
* Address `[hidden]` styling not present in IE 8/9/10.
* Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
*/
[hidden],
template {
display: none;
}
/* Links
========================================================================== */
/**
* Remove the gray background color from active links in IE 10.
*/
a {
background-color: transparent;
}
/**
* Improve readability of focused elements when they are also in an
* active/hover state.
*/
a:active,
a:hover {
outline: 0;
}
/* Text-level semantics
========================================================================== */
/**
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
*/
abbr[title] {
border-bottom: 1px dotted;
}
/**
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
*/
b,
strong {
font-weight: bold;
}
/**
* Address styling not present in Safari and Chrome.
*/
dfn {
font-style: italic;
}
/**
* Address variable `h1` font-size and margin within `section` and `article`
* contexts in Firefox 4+, Safari, and Chrome.
*/
h1 {
font-size: 2em;
margin: 0.67em 0;
}
/**
* Address styling not present in IE 8/9.
*/
mark {
background: #ff0;
color: #000;
}
/**
* Address inconsistent and variable font size in all browsers.
*/
small {
font-size: 80%;
}
/**
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
/* Embedded content
========================================================================== */
/**
* Remove border when inside `a` element in IE 8/9/10.
*/
img {
border: 0;
}
/**
* Correct overflow not hidden in IE 9/10/11.
*/
svg:not(:root) {
overflow: hidden;
}
/* Grouping content
========================================================================== */
/**
* Address margin not present in IE 8/9 and Safari.
*/
figure {
margin: 1em 40px;
}
/**
* Address differences between Firefox and other browsers.
*/
hr {
box-sizing: content-box;
height: 0;
}
/**
* Contain overflow in all browsers.
*/
pre {
overflow: auto;
}
/**
* Address odd `em`-unit font size rendering in all browsers.
*/
code,
kbd,
pre,
samp {
font-family: monospace, monospace;
font-size: 1em;
}
/* Forms
========================================================================== */
/**
* Known limitation: by default, Chrome and Safari on OS X allow very limited
* styling of `select`, unless a `border` property is set.
*/
/**
* 1. Correct color not being inherited.
* Known issue: affects color of disabled elements.
* 2. Correct font properties not being inherited.
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
*/
button,
input,
optgroup,
select,
textarea {
color: inherit; /* 1 */
font: inherit; /* 2 */
margin: 0; /* 3 */
}
/**
* Address `overflow` set to `hidden` in IE 8/9/10/11.
*/
button {
overflow: visible;
}
/**
* Address inconsistent `text-transform` inheritance for `button` and `select`.
* All other form control elements do not inherit `text-transform` values.
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
* Correct `select` style inheritance in Firefox.
*/
button,
select {
text-transform: none;
}
/**
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
* and `video` controls.
* 2. Correct inability to style clickable `input` types in iOS.
* 3. Improve usability and consistency of cursor style between image-type
* `input` and others.
*/
button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button; /* 2 */
cursor: pointer; /* 3 */
}
/**
* Re-set default cursor for disabled elements.
*/
button[disabled],
html input[disabled] {
cursor: default;
}
/**
* Remove inner padding and border in Firefox 4+.
*/
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
/**
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
*/
input {
line-height: normal;
}
/**
* It's recommended that you don't attempt to style these elements.
* Firefox's implementation doesn't respect box-sizing, padding, or width.
*
* 1. Address box sizing set to `content-box` in IE 8/9/10.
* 2. Remove excess padding in IE 8/9/10.
*/
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
}
/**
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
* `font-size` values of the `input`, it causes the cursor style of the
* decrement button to change from `default` to `text`.
*/
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
height: auto;
}
/**
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
*/
input[type="search"] {
-webkit-appearance: textfield; /* 1 */
box-sizing: content-box; /* 2 */
}
/**
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
* Safari (but not Chrome) clips the cancel button when the search input has
* padding (and `textfield` appearance).
*/
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/**
* Define consistent border, margin, and padding.
*/
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
/**
* 1. Correct `color` not being inherited in IE 8/9/10/11.
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
*/
legend {
border: 0; /* 1 */
padding: 0; /* 2 */
}
/**
* Remove default vertical scrollbar in IE 8/9/10/11.
*/
textarea {
overflow: auto;
}
/**
* Don't inherit the `font-weight` (applied by a rule above).
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
*/
optgroup {
font-weight: bold;
}
/* Tables
========================================================================== */
/**
* Remove most spacing between table cells.
*/
table {
border-collapse: collapse;
border-spacing: 0;
}
td,
th {
padding: 0;
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS and IE text size adjust after device orientation change,
* without disabling user zoom.
*/
html {
font-family: sans-serif; /* 1 */
-ms-text-size-adjust: 100%; /* 2 */
-webkit-text-size-adjust: 100%; /* 2 */
}
/**
* Remove default margin.
*/
body {
margin: 0;
background:url("images/slider/slider-img-1.jpg") no-repeat center center fixed;
background-size:cover;
}
/* HTML5 display definitions
========================================================================== */
/**
* Correct `block` display not defined for any HTML5 element in IE 8/9.
* Correct `block` display not defined for `details` or `summary` in IE 10/11
* and Firefox.
* Correct `block` display not defined for `main` in IE 11.
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
display: block;
}
/**
* 1. Correct `inline-block` display not defined in IE 8/9.
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
*/
audio,
canvas,
progress,
video {
display: inline-block; /* 1 */
vertical-align: baseline; /* 2 */
}
/**
* Prevent modern browsers from displaying `audio` without controls.
* Remove excess height in iOS 5 devices.
*/
audio:not([controls]) {
display: none;
height: 0;
}
/**
* Address `[hidden]` styling not present in IE 8/9/10.
* Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
*/
[hidden],
template {
display: none;
}
/* Links
========================================================================== */
/**
* Remove the gray background color from active links in IE 10.
*/
a {
background-color: transparent;
}
/**
* Improve readability of focused elements when they are also in an
* active/hover state.
*/
a:active,
a:hover {
outline: 0;
}
/* Text-level semantics
========================================================================== */
/**
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
*/
abbr[title] {
border-bottom: 1px dotted;
}
/**
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
*/
b,
strong {
font-weight: bold;
}
/**
* Address styling not present in Safari and Chrome.
*/
dfn {
font-style: italic;
}
/**
* Address variable `h1` font-size and margin within `section` and `article`
* contexts in Firefox 4+, Safari, and Chrome.
*/
h1 {
font-size: 2em;
margin: 0.67em 0;
}
/**
* Address styling not present in IE 8/9.
*/
mark {
background: #ff0;
color: #000;
}
/**
* Address inconsistent and variable font size in all browsers.
*/
small {
font-size: 80%;
}
/**
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
/* Embedded content
========================================================================== */
/**
* Remove border when inside `a` element in IE 8/9/10.
*/
img {
border: 0;
}
/**
* Correct overflow not hidden in IE 9/10/11.
*/
svg:not(:root) {
overflow: hidden;
}
/* Grouping content
========================================================================== */
/**
* Address margin not present in IE 8/9 and Safari.
*/
figure {
margin: 1em 40px;
}
/**
* Address differences between Firefox and other browsers.
*/
hr {
box-sizing: content-box;
height: 0;
}
/**
* Contain overflow in all browsers.
*/
pre {
overflow: auto;
}
/**
* Address odd `em`-unit font size rendering in all browsers.
*/
code,
kbd,
pre,
samp {
font-family: monospace, monospace;
font-size: 1em;
}
/* Forms
========================================================================== */
/**
* Known limitation: by default, Chrome and Safari on OS X allow very limited
* styling of `select`, unless a `border` property is set.
*/
/**
* 1. Correct color not being inherited.
* Known issue: affects color of disabled elements.
* 2. Correct font properties not being inherited.
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
*/
button,
input,
optgroup,
select,
textarea {
color: inherit; /* 1 */
font: inherit; /* 2 */
margin: 0; /* 3 */
}
/**
* Address `overflow` set to `hidden` in IE 8/9/10/11.
*/
button {
overflow: visible;
}
/**
* Address inconsistent `text-transform` inheritance for `button` and `select`.
* All other form control elements do not inherit `text-transform` values.
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
* Correct `select` style inheritance in Firefox.
*/
button,
select {
text-transform: none;
}
/**
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
* and `video` controls.
* 2. Correct inability to style clickable `input` types in iOS.
* 3. Improve usability and consistency of cursor style between image-type
* `input` and others.
*/
button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button; /* 2 */
cursor: pointer; /* 3 */
}
/**
* Re-set default cursor for disabled elements.
*/
button[disabled],
html input[disabled] {
cursor: default;
}
/**
* Remove inner padding and border in Firefox 4+.
*/
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
/**
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
*/
input {
line-height: normal;
}
/**
* It's recommended that you don't attempt to style these elements.
* Firefox's implementation doesn't respect box-sizing, padding, or width.
*
* 1. Address box sizing set to `content-box` in IE 8/9/10.
* 2. Remove excess padding in IE 8/9/10.
*/
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
}
/**
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
* `font-size` values of the `input`, it causes the cursor style of the
* decrement button to change from `default` to `text`.
*/
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
height: auto;
}
/**
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
*/
input[type="search"] {
-webkit-appearance: textfield; /* 1 */
box-sizing: content-box; /* 2 */
}
/**
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
* Safari (but not Chrome) clips the cancel button when the search input has
* padding (and `textfield` appearance).
*/
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/**
* Define consistent border, margin, and padding.
*/
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
/**
* 1. Correct `color` not being inherited in IE 8/9/10/11.
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
*/
legend {
border: 0; /* 1 */
padding: 0; /* 2 */
}
/**
* Remove default vertical scrollbar in IE 8/9/10/11.
*/
textarea {
overflow: auto;
}
/**
* Don't inherit the `font-weight` (applied by a rule above).
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
*/
optgroup {
font-weight: bold;
}
/* Tables
========================================================================== */
/**
* Remove most spacing between table cells.
*/
table {
border-collapse: collapse;
border-spacing: 0;
}
td,
th {
padding: 0;
}
.progress {
height: 20px;
margin-bottom: 20px;
overflow: hidden;
background-color: #f5f5f5;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
}
.progress-bar {
float: left;
width: 0;
height: 100%;
font-size: 12px;
line-height: 20px;
color: #fff;
text-align: center;
background-color: #ca4249;
-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
-webkit-transition: width .6s ease;
transition: width .6s ease;
}

+ 1
- 0
style-transform-master/style-transform-master/html/debug.log Voir le fichier

@ -1 +1,2 @@
[1223/220909.252:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统找不到指定的路径。 (0x3)
[1230/084216.656:ERROR:directory_reader_win.cc(43)] FindFirstFile: 系统找不到指定的路径。 (0x3)

+ 133
- 117
style-transform-master/style-transform-master/html/index.html Voir le fichier

@ -20,10 +20,7 @@
<link rel="stylesheet" href="css/animate.css">
<link rel="stylesheet" href="elegant_font/style.css">
<link rel="stylesheet" href="css/style.css">
<!--[if lt IE 9]>
<meta charset="utf-8">
<script src="js/html5shiv.min.js"></script>
<script src="js/respond.min.js"></script>
<script type="text/javascript" src="js/selectivizr.js"></script>
@ -57,7 +54,7 @@
<li>
<a href="#about">ABOUT</a>
</li>
<!-- <<<<<<< HEAD -->
<!-- <<<<<<< HEAD -->
<!-- <li>
<a href="#services">SERVICES</a>
</li> -->
@ -66,7 +63,7 @@
</li>
<li>
<a href="#menuCard">WAITING</a>
<!-- =======
<!-- =======
<li>
<a href="#services">SERVICES</a>
</li>
@ -80,11 +77,11 @@
<li>
<a href="#team">MEMBERS</a>
</li>
<!-- <<<<<<< HEAD -->
<!-- <<<<<<< HEAD -->
<!-- <li>
<a href="#clients">FEEDBACK</a>
</li> -->
<!-- =======
<!-- =======
<li>
<a href="#clients">FEEDBACK</a>
</li>
@ -113,9 +110,9 @@
<h1 class="sp-layer slider-text-big" data-position="left" data-show-transition="left"
data-hide-transition="right" data-show-delay="1500" data-hide-delay="200">
<!-- <<<<<<< HEAD -->
<!-- <<<<<<< HEAD -->
<span class="highlight-texts">Style Transfer</span>
<!-- =======
<!-- =======
<span class="highlight-texts">Healthy Food</span>
>>>>>>> 85ea074ebdbe80b4f8592ed7cc06d3c1d70712eb -->
</h1>
@ -214,30 +211,30 @@
</div>
</section>
<!-- <<<<<<< HEAD -->
<!-- <<<<<<< HEAD -->
<!-- <section id="services" class="section-wrapper">
<div class="container">
<div class="row"> -->
<!-- Section Header -->
<!-- <div class="col-md-12 col-sm-12 col-xs-12 section-header wow fadeInDown">
<!-- Section Header -->
<!-- <div class="col-md-12 col-sm-12 col-xs-12 section-header wow fadeInDown">
=======
<section id="services" class="section-wrapper">
<div class="container">
<div class="row">
Section Header -->
<div class="col-md-12 col-sm-12 col-xs-12 section-header wow fadeInDown">
<!-- >>>>>>> 85ea074ebdbe80b4f8592ed7cc06d3c1d70712eb -->
<h2><span class="highlight-text">Services</span></h2>
<div class="col-md-12 col-sm-12 col-xs-12 section-header wow fadeInDown">
<!-- >>>>>>> 85ea074ebdbe80b4f8592ed7cc06d3c1d70712eb -->
<h2><span class="highlight-text">Services</span></h2>
<p class="col-md-8 col-sm-10 col-xs-12 col-md-offset-2 col-sm-offset-1">Lorem ipsum dolor sit amet,
consectetur adipisicing elit. Quod, nam corporis quas, saepe minima error aperiam dolorum
aliquam, quis deserunt eos eius quisquam odio itaque.</p>
</div> -->
<!-- Section Header End -->
<p class="col-md-8 col-sm-10 col-xs-12 col-md-offset-2 col-sm-offset-1">Lorem ipsum dolor sit amet,
consectetur adipisicing elit. Quod, nam corporis quas, saepe minima error aperiam dolorum
aliquam, quis deserunt eos eius quisquam odio itaque.</p>
</div> -->
<!-- Section Header End -->
<!-- <div class="our-services">
<!-- <div class="our-services">
<div class="row">
@ -341,25 +338,30 @@
<!--NOTE: Update your email Id in "contact_me.php" file in order to receive emails from your contact form-->
<form name="sentMessage" id="contactForm" novalidate method="post">
<div class="col-md-6">
<img id="cropedBigImg0" src="" class="teams-slides col-md-8 col-sm-10 col-xs-12 col-md-offset-2 col-sm-offset-1"/>
<input type="file" id="chooseImage0"
<img id="cropedBigImg0" src=""
class="teams-slides col-md-8 col-sm-10 col-xs-12 col-md-offset-2 col-sm-offset-1" />
<input type="file" id="chooseImage0"
accept="image/gif,image/jpeg, image/png, image/jpg" />
<p class="help-block"></p>
</div>
<div class="col-md-6">
<img id="cropedBigImg1" src="" class="teams-slides col-md-8 col-sm-10 col-xs-12 col-md-offset-2 col-sm-offset-1"/>
<input type="file" id="chooseImage1"
<img id="cropedBigImg1" src=""
class="teams-slides col-md-8 col-sm-10 col-xs-12 col-md-offset-2 col-sm-offset-1" />
<input type="file" id="chooseImage1"
accept="image/gif,image/jpeg, image/png, image/jpg" />
</div>
<div class="col-md-12">
<textarea class="form-control" placeholder="请输入训练轮数" id="message"></textarea>
<textarea class="form-control" placeholder="请输入训练轮数" id="message"></textarea>
</div>
<div class="col-md-8 col-md-offset-2"><br>
<div id="success"> </div><button type="submit" class="btn btn-primary" onclick="window.location.href = '#portfolio'">Start Training
</button>
<div id="success"> </div>
<!-- <button type="submit" class="btn btn-primary" onclick="window.location.href = '#menuCard'">Start Training
</button> -->
<button type="submit" class="btn btn-primary" onclick="submit_query()">Start Training
</button>
</div>
</form>
@ -436,12 +438,26 @@
<p class="col-md-8 col-sm-10 col-xs-12 col-md-offset-2 col-sm-offset-1">Lorem ipsum dolor sit amet,
consectetur adipisicing elit. Quod, nam corporis quas, saepe minima error aperiam dolorum
aliquam, quis deserunt eos eius quisquam odio itaque.</p>
<!-- <div class="progress-div"> -->
<!-- <div class="progress">
<div class="progress-bar progress-bar-success" role="progressbar"
aria-valuenow="60" aria-valuemin="0" aria-valuemax="100"
style="width: 90%;">
<span class="sr-only">90% 完成(成功)</span>
</div></div> -->
<!-- </div> -->
</div>
<div id='prog_out' class="progress progress-striped active">
<div id='prog_in' class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="60"
aria-valuemin="0" aria-valuemax="100" style="width: 0%;">
</div>
</div>
<!-- Section Header End -->
<div class="menus-container">
<!-- menu -->
<div class="menu row">
<!-- <div class="menus-container"> -->
<!-- menu -->
<!-- <div class="menu row">
<div class="col-md-6 wow fadeInRight animated"
style="visibility: visible; animation-name: fadeInRight;">
<div class="menu-column">
@ -450,132 +466,132 @@
<h6 class="food-name">Chicken Masala</h6>
<div class="dots"></div>
<div class="food-price">
<span>5.00</span>
</div><!-- /food-price -->
</div><!-- /food-desc -->
<div class="food-details">
<span>5.00</span> -->
<!-- </div>/food-price -->
<!-- </div>/food-desc -->
<!-- <div class="food-details">
<span>with “butter”</span>
</div><!-- /food-details -->
</div><!-- /food -->
</div>/food-details
</div>/food
<div class="food">
<div class="food-desc">
<h6 class="food-name">Mango Rice with Curd</h6>
<div class="dots"></div>
<div class="food-price">
<span>16.00</span>
</div><!-- /food-price -->
</div><!-- /food-desc -->
<span>16.00</span> -->
<!-- </div>/food-price
</div>/food-desc
<div class="food-details">
<span>with chat masala</span>
</div><!-- /food-details -->
</div><!-- /food -->
<span>with chat masala</span> -->
<!-- </div>/food-details
</div>/food
<div class="food">
<div class="food-desc">
<h6 class="food-name">Mutton Fry Rice</h6>
<div class="dots"></div>
<div class="food-price">
<span>22.00</span>
</div><!-- /food-price -->
</div><!-- /food-desc -->
<span>22.00</span> -->
<!-- </div>/food-price
</div>/food-desc
<div class="food-details">
<span>with pure meat</span>
</div><!-- /food-details -->
</div><!-- /food -->
<span>with pure meat</span> -->
<!-- </div>/f/ood-details
</div>/food
<div class="food">
<div class="food-desc">
<h6 class="food-name">Eggs Mancuriya</h6>
<div class="dots"></div>
<div class="food-price">
<span>22.00</span>
</div><!-- /food-price -->
</div><!-- /food-desc -->
<span>22.00</span> -->
<!-- </div>/food-price
</div>/food-desc
<div class="food-details">
<span>with Vegies</span>
</div><!-- /food-details -->
</div><!-- /food -->
<span>with Vegies</span> -->
<!-- </div>/food-details
</div>/food
<div class="food">
<div class="food-desc">
<h6 class="food-name">Chicken Currey </h6>
<div class="dots"></div>
<div class="food-price">
<span>15.00</span>
</div><!-- /food-price -->
</div><!-- /food-desc -->
<span>15.00</span> -->
<!-- </div>/food-price
</div>/food-desc
<div class="food-details">
<span>with curry leafs</span>
</div><!-- /food-details -->
</div><!-- /food -->
</div><!-- /menu-column -->
</div><!-- /col-md-6 -->
<div class="col-md-6 wow fadeInLeft animated"
style="visibility: visible; animation-name: fadeInLeft;">
<div class="menu-column">
<span>with curry leafs</span> -->
<!-- </div>/food-details -->
<!-- </div>/food
</div>/menu-column
</div>/col-md-6
<div class="col-md-6 wow fadeInLeft animated" -->
<!-- style="visibility: visible; animation-name: fadeInLeft;"> -->
<!-- <div class="menu-column">
<div class="food">
<div class="food-desc">
<h6 class="food-name">Pure Veg Salad</h6>
<div class="dots"></div>
<div class="food-price">
<span>5.00</span>
</div><!-- /food-price -->
</div><!-- /food-desc -->
<span>5.00</span> -->
<!-- </div>/food-price
</div>/food-desc
<div class="food-details">
<span>with all veg</span>
</div><!-- /food-details -->
</div><!-- /food -->
</div>/food-details
</div>/food
<div class="food">
<div class="food-desc">
<h6 class="food-name">Veg Fry Rice</h6>
<div class="dots"></div>
<div class="food-price">
<span>16.00</span>
</div><!-- /food-price -->
</div><!-- /food-desc -->
<span>16.00</span> -->
<!-- </div>/food-price
</div>/food-desc
<div class="food-details">
<span>with best fry</span>
</div><!-- /food-details -->
</div><!-- /food -->
<span>with best fry</span> -->
<!-- </div>/food-details
</div>/food
<div class="food">
<div class="food-desc">
<h6 class="food-name">Chines Noodles</h6>
<div class="dots"></div>
<div class="food-price">
<span>22.00</span>
</div><!-- /food-price -->
</div><!-- /food-desc -->
<span>22.00</span> -->
<!-- </div>/food-price
</div>/food-desc
<div class="food-details">
<span>with all spices</span>
</div><!-- /food-details -->
</div><!-- /food -->
<span>with all spices</span> -->
<!-- </div>/food-details
</div>/food
<div class="food">
<div class="food-desc">
<h6 class="food-name">Chicken Manchuriah</h6>
<div class="dots"></div>
<div class="food-price">
<span>22.00</span>
</div><!-- /food-price -->
</div><!-- /food-desc -->
<span>22.00</span> -->
<!-- </div>/food-price
</div>/food-desc
<div class="food-details">
<span>with hot and wet</span>
</div><!-- /food-details -->
</div><!-- /food -->
<span>with hot and wet</span> -->
<!-- </div>/food-details
</div>/food
<div class="food">
<div class="food-desc">
<h6 class="food-name">Veg Fry Rice </h6>
<div class="dots"></div>
<div class="food-price">
<span>15.00</span>
</div><!-- /food-price -->
</div><!-- /food-desc -->
<span>15.00</span> -->
<!-- </div>/food-price
</div>/food-desc
<div class="food-details">
<span>with egg and chicken </span>
</div><!-- /food-details -->
</div><!-- /food -->
</div><!-- /menu-column -->
</div><!-- /col-md-6 -->
</div><!-- /row -->
</div><!-- /menu-carousel -->
</div><!-- /menus-container -->
</div><!-- /container -->
<span>with egg and chicken </span> -->
<!-- </div>/food-details -->
<!-- </div>/food -->
<!-- </div>/menu-column -->
<!-- </div>/col-md-6 -->
</div>
<!-- </div>/menu-carousel -->
<!-- </div>/menus-container -->
</div>
</section>
<!-- <div class="tlinks">Collect from <a href="http://www.baisheng999.com/">手机网站模板</a></div> -->
@ -612,7 +628,7 @@
<!-- Filter Button End -->
<div class="portfolio-items">
<!-- <div> -->
<!-- <div> -->
<!-- Portfolio Items -->
<!-- <div class="item portfolio-item web seo works">
@ -652,7 +668,7 @@
<!-- Portfolio Items -->
<div class="item portfolio-item seo">
<img src="images/img-portfolio/portfolio3.jpg" alt="" >
<img src="images/img-portfolio/portfolio3.jpg" alt="">
<div class="portfolio-details-wrapper">
<div class="portfolio-details">
<div class="portfolio-meta-btn">
@ -670,7 +686,7 @@
<!-- Portfolio Items -->
<div class="item portfolio-item works">
<img src="images/img-portfolio/portfolio4.jpg" alt="" >
<img src="images/img-portfolio/portfolio4.jpg" alt="">
<div class="portfolio-details-wrapper">
<div class="portfolio-details">
<div class="portfolio-meta-btn">
@ -768,16 +784,16 @@
<!-- <section id="info" class="info-section">
<div class="container text-xs-center"> -->
<!-- Section Header -->
<!-- <div class="col-md-12 col-sm-12 col-xs-12 section-header wow fadeInDown">
<!-- Section Header -->
<!-- <div class="col-md-12 col-sm-12 col-xs-12 section-header wow fadeInDown">
<h2><span class="highlight-text">Stats</span></h2>
<p class="col-md-8 col-sm-10 col-xs-12 col-md-offset-2 col-sm-offset-1">Lorem ipsum dolor sit amet,
consectetur adipisicing elit. Quod, nam corporis quas, saepe minima error aperiam dolorum aliquam,
quis deserunt eos eius quisquam odio itaque.</p>
</div> -->
<!-- Section Header End -->
<!-- <div class="row wow fadeInUp" style="visibility: visible; animation-name: fadeInUp;">
<!-- Section Header End -->
<!-- <div class="row wow fadeInUp" style="visibility: visible; animation-name: fadeInUp;">
<div class="col-md-3 col-sm-6 col-xs-12 text-xs-center">
<i class="icon_mic_alt wow pulse" style="visibility: visible; animation-name: pulse;"></i>
@ -849,7 +865,6 @@
<p>章可儿</p>
<p>学号:10182100208</p>
<p>邮箱:19966422680@163.com</p>
</div>
<!-- Slides End -->
@ -862,15 +877,15 @@
<!-- Clients Section -->
<!-- <section id="clients" class="clients-section"> -->
<!-- Container Ends -->
<!-- <div class="container">
<!-- Container Ends -->
<!-- <div class="container">
<div class="row"> -->
<!-- Section Header -->
<!-- <div class="col-md-12 col-sm-12 col-xs-12 section-header wow fadeInDown">
<!-- Section Header -->
<!-- <div class="col-md-12 col-sm-12 col-xs-12 section-header wow fadeInDown">
<h2><span class="highlight-text">Customer Feedback</span></h2>
</div> -->
<!-- Section Header End -->
<!-- <div class="row">
<!-- Section Header End -->
<!-- <div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="testimonials">
<div class="active item">
@ -891,7 +906,7 @@
</div>
</div>
</div> -->
<!-- </div> Container Ends -->
<!-- </div> Container Ends -->
<!-- </section> -->
<!-- Client Section End -->
@ -977,6 +992,7 @@
<script src="contact/jqBootstrapValidation.js"></script>
<script src="contact/contact_me.js"></script>
<script src="js/custom.js"></script>
<script src="js/cloud.js"></script>
</body>

+ 16
- 0
style-transform-master/style-transform-master/html/js/cloud.js Voir le fichier

@ -0,0 +1,16 @@
function submit_query(btn){
var sitv = setInterval(function(){
var prog_url = '#menuCard' // prog_url指请求进度的url,后面会在django中设置
$.getJSON(prog_url, function(res){
$('#prog_in').width(res + '%'); // 改变进度条进度,注意这里是内层的div, res是后台返回的进度
});
}, 1000); // 每1秒查询一次后台进度
var this_url = '#contact' // 指当前页面的url
// var yourjson = ...
$.getJSON(thisurl, function(res){
// ...
clearInterval(sitv); // 此时请求成功返回结果了,结束对后台进度的查询
$('#prog_out').attr("class", "progress progress-bar-success"); // 修改进度条外层div的class, 改为完成形态
});
}

Chargement…
Annuler
Enregistrer