|
1 |
| -<div class="user-form" ng-show="formFilling"> |
2 |
| - <div class="steps-nav"> |
3 |
| - <ul> |
4 |
| - <li class="cursor" ng-class="{true:'nav-selected'}[currentStepId==1]" ng-click="showStep(1)"> |
5 |
| - <p>Step 1</p> |
6 |
| - </li> |
7 |
| - <li class="cursor" ng-class="{true:'nav-selected'}[currentStepId==2]" ng-click="showStep(2)"> |
8 |
| - <p>Step 2</p> |
9 |
| - </li> |
10 |
| - <li class="cursor" ng-class="{true:'nav-selected'}[currentStepId==3]" ng-click="showStep(3)"> |
11 |
| - <p>Step 3</p> |
12 |
| - </li> |
13 |
| - </ul> |
14 |
| - </div> |
| 1 | +<div class="main-page"> |
| 2 | + <div class="user-form" ng-show="formFilling"> |
| 3 | + <div class="steps-nav"> |
| 4 | + <ul> |
| 5 | + <li class="cursor" ng-class="{true:'nav-selected'}[currentStepId==1]" ng-click="showStep(1)"> |
| 6 | + <p>Step 1</p> |
| 7 | + </li> |
| 8 | + <li class="cursor" ng-class="{true:'nav-selected'}[currentStepId==2]" ng-click="showStep(2)"> |
| 9 | + <p>Step 2</p> |
| 10 | + </li> |
| 11 | + <li class="cursor" ng-class="{true:'nav-selected'}[currentStepId==3]" ng-click="showStep(3)"> |
| 12 | + <p>Step 3</p> |
| 13 | + </li> |
| 14 | + </ul> |
| 15 | + </div> |
15 | 16 |
|
16 |
| - <div class="steps-form" > |
17 |
| - <form name="crawlForm" method="POST"> |
18 |
| - <div class="fancy-box form-wrapper step" ng-class="{true:'step-selected',false:'step-unselected'}[currentStepId==1]"> |
19 |
| - <label for="url">URL</label> |
20 |
| - <input type="url" ng-model="url" name="url" class="form-control" placeholder="http:// or https://" required> |
21 |
| - <button class="btn btn-default" ng-click="showStep(2)" >Next</button> |
22 |
| - </div> |
23 |
| - <div class="fancy-box form-wrapper step" ng-class="{true:'step-selected',false:'step-unselected'}[currentStepId==2]"> |
24 |
| - <label for="keywords">Keywords</label> |
25 |
| - <tags-input ng-model="keywords"></tags-input> |
26 |
| - <button class="btn btn-default" ng-click="showStep(3)" >Next</button> |
27 |
| - </div> |
28 |
| - <div class="fancy-box form-wrapper step" ng-class="{true:'step-selected',false:'step-unselected'}[currentStepId==3]"> |
29 |
| - <label for="email">Email-Id</label> |
30 |
| - <input type="email" ng-model="email" name="email" class="form-control" placeholder="Enter a email address" required> |
31 |
| - <button type="submit" class="btn btn-default" ng-click="confirmFormDetails(crawlForm.$valid)">Submit</button> |
32 |
| - </div> |
33 |
| - </form> |
| 17 | + <div class="steps-form" > |
| 18 | + <form name="crawlForm" method="POST"> |
| 19 | + <div class="fancy-box form-wrapper step" ng-class="{true:'step-selected',false:'step-unselected'}[currentStepId==1]"> |
| 20 | + <label for="url">URL</label> |
| 21 | + <input type="url" ng-model="url" name="url" class="form-control" placeholder="http:// or https://" required> |
| 22 | + <button class="btn btn-default" ng-click="showStep(2)" >Next</button> |
| 23 | + </div> |
| 24 | + <div class="fancy-box form-wrapper step" ng-class="{true:'step-selected',false:'step-unselected'}[currentStepId==2]"> |
| 25 | + <label for="keywords">Keywords</label> |
| 26 | + <tags-input ng-model="keywords"></tags-input> |
| 27 | + <button class="btn btn-default" ng-click="showStep(3)" >Next</button> |
| 28 | + </div> |
| 29 | + <div class="fancy-box form-wrapper step" ng-class="{true:'step-selected',false:'step-unselected'}[currentStepId==3]"> |
| 30 | + <label for="email">Email-Id</label> |
| 31 | + <input type="email" ng-model="email" name="email" class="form-control" placeholder="Enter a email address" required> |
| 32 | + <button type="submit" class="btn btn-default" ng-click="confirmFormDetails(crawlForm.$valid)">Submit</button> |
| 33 | + </div> |
| 34 | + </form> |
| 35 | + </div> |
34 | 36 | </div>
|
35 |
| -</div> |
36 |
| -<div class="user-form-data" ng-show="confirmDetails"> |
37 |
| - <div class="user-form-data-head fancy-box"> |
38 |
| - <table> |
39 |
| - <tr> |
40 |
| - <td><span class="focus">Url:</span></td> |
41 |
| - <td>{{userDetails.url}}</td> |
42 |
| - </tr> |
43 |
| - <tr> |
44 |
| - <td><span class="focus">Keywords:</span></td> |
45 |
| - <td> |
46 |
| - <div class="keyword" ng-if="userDetails.keywords.length!=0" ng-repeat="keyword in userDetails.keywords"> |
47 |
| - <span class="glyphicon glyphicon-tag"></span> |
48 |
| - <span>{{keyword}}</span> |
49 |
| - </div> |
50 |
| - <div ng-if="userDetails.keywords.length==0"> |
51 |
| - No Keyword |
52 |
| - </div> |
53 |
| - </td> |
54 |
| - </tr> |
55 |
| - <tr> |
56 |
| - <td><span class="focus">Email-Id:</span></td> |
57 |
| - <td>{{userDetails.email_id}}</td> |
58 |
| - </tr> |
59 |
| - </table> |
| 37 | + <div class="user-form-data" ng-show="confirmDetails"> |
| 38 | + <div class="user-form-data-head">Review Details</div> |
| 39 | + <div class="user-form-data-content fancy-box"> |
| 40 | + <table> |
| 41 | + <tr> |
| 42 | + <td><span class="focus">Url:</span></td> |
| 43 | + <td>{{userDetails.url}}</td> |
| 44 | + </tr> |
| 45 | + <tr> |
| 46 | + <td><span class="focus">Keywords:</span></td> |
| 47 | + <td> |
| 48 | + <div class="keyword" ng-if="userDetails.keywords.length!=0" ng-repeat="keyword in userDetails.keywords"> |
| 49 | + <span class="glyphicon glyphicon-tag"></span> |
| 50 | + <span>{{keyword}}</span> |
| 51 | + </div> |
| 52 | + <div ng-if="userDetails.keywords.length==0"> |
| 53 | + No Keyword |
| 54 | + </div> |
| 55 | + </td> |
| 56 | + </tr> |
| 57 | + <tr> |
| 58 | + <td><span class="focus">Email-Id:</span></td> |
| 59 | + <td>{{userDetails.email_id}}</td> |
| 60 | + </tr> |
| 61 | + </table> |
| 62 | + </div> |
| 63 | + <div class="button-box"> |
| 64 | + <button type="submit" class="btn btn-default fancy-button cancel" ng-click="cancelRequest()">Cancel</button> |
| 65 | + <button type="submit" class="btn btn-default fancy-button process" ng-click="submitRequest()">Process</button> |
| 66 | + </div> |
60 | 67 | </div>
|
61 |
| - <div class="button-box"> |
62 |
| - <button type="submit" class="btn btn-default fancy-button cancel" ng-click="cancelRequest()">Cancel</button> |
63 |
| - <button type="submit" class="btn btn-default fancy-button process" ng-click="submitRequest()">Process</button> |
| 68 | + <div class="message fancy-box" ng-show="showMessage" > |
| 69 | + <h3>Your Request is in Queue</h3> |
| 70 | + <p>We will get back to you soon with some solid result. Checkout your email-Id after few moments.</p> |
| 71 | + </div> |
| 72 | + <div class="message fancy-box" ng-show="error.status" > |
| 73 | + <h3>Error Occured in sending request</h3> |
| 74 | + <p>{{error.message}}</p> |
64 | 75 | </div>
|
65 | 76 | </div>
|
66 |
| -<div class="message fancy-box" ng-show="showMessage" > |
67 |
| - <h3>Your Request is in Queue</h3> |
68 |
| - <p>We will get back to you soon with some solid result. Checkout your email-Id after few moments.</p> |
69 |
| -</div> |
70 |
| -<div class="message fancy-box" ng-show="error.status" > |
71 |
| - <h3>Error Occured in sending request</h3> |
72 |
| - <p>{{error.message}}</p> |
73 |
| -</div> |
74 |
| - |
75 | 77 |
|
0 commit comments