aboutsummaryrefslogtreecommitdiffstats
path: root/vpp-userdemo/ui/dist.prod/html/main.html
blob: b0ba597956a67a367fb3bb73d68d081834d293de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<header></header>
<div layout>
	<div flex-xl="15" flex="20" class="side-nav">
		<div layout>
			<div flex="100">
				<h3 class="tutorials-title">Tutorials</h3>
			</div>
		</div>
		<div layout layout-align="center" class="tutorials-row" ng-repeat="tutorial in tutorials" ng-click="selectTutorial(tutorial)" 
		ng-class="{'tutorials-active': (tutorial == selectedTutorial)}">
			<div flex="90">
				<i class="material-icons tutorials-icon">insert_drive_file</i>
				<h5 class="tutorials-text">{{tutorial}}</h5>
				<i ng-if="selectedTutorial == tutorial" class="material-icons tutorial-playing-icon">playlist_play</i>
			</div>
		</div>
	</div>
	<div flex>
		<ul class="progress-indicator">
		  	<li ng-repeat="step in instructions track by $index" ng-class="{completed: ($index <= pointer)}"><span class="bubble"></span>Step {{$index+1}}</li>
		</ul>
		<div layout>
			<div flex>
				<md-card>
					<md-card-header>
					    <md-card-header-text>
					    	<div layout>
					    		<div flex>
					    			<span class="md-title card-title">{{selectedTutorial}}</span>
					    		</div>
					    		<div flex>
					    			<div class="clipboard-div" ng-if="selectedTutorial" ngclipboard data-clipboard-text="{{commands[pointer]}}">
					    				<span class="clipboard-text">Copy to clipboard</span>
					    				<i class="material-icons clipboard-icon">content_paste</i>
					    			</div>
					    		</div>
					    	</div>
					    </md-card-header-text>
					</md-card-header>
					<md-card-content class="instructions-content">
						<div layout layout-align="center">
							<div flex="80">
								<center>
									<h2 class="no-tutorial-text" ng-if="selectedTutorial == ''">Please select a tutorial from the list on the left</h2>
									<h4 class="instruction-text">{{instructions[pointer]}}</h4>
				   					<p class="command-text">{{commands[pointer]}}</p>
				   				</center>
							</div>
						</div>
				 	</md-card-content>
				 	<md-card-footer ng-if="pointer != null" class="card-footer">
				 		<md-progress-circular ng-if="!stepDone" class="card-loader" md-mode="indeterminate"></md-progress-circular>
				 		<div ng-if="stepDone" class="card-button-group" ng-click="nextStep()">
				 			<i class="material-icons card-button">navigate_next</i>
				 			<span class="card-button-text">next</span>
				 		</div>
					</md-card-footer>
				</md-card>
			</div>
		</div>
		<div layout>
			<div flex>
				<div id="window">
				 	<div id="toolbar">
						<div class="top">
							<div id="lights">
								<div class="light red">
									<div class="glyph">×</div>
									<div class="shine"></div>
									<div class="glow"></div>
								</div>				
								<div class="light yellow">
									<div class="glyph">-</div>
									<div class="shine"></div>
									<div class="glow"></div>
								</div>
								<div class="light green">
									<div class="glyph">+</div>
									<div class="shine"></div>
									<div class="glow"></div>
								</div>
							</div>
							<div id="title">
								<div class="folder">
									<div class="tab"></div>
									<div class="body"></div>
								</div>
								<span>vppsb - {{selectedTutorial}}</span>
							</div>
							<div id="bubble">
								<div class="shine"></div>
								<div class="glow"></div>
							</div>
						</div>
					</div>
					<div id="body">
						<div class="code-block">
							<h4 class="command-response">{{response}}</h4>
						</div>
					</div>	
				</div>
			</div>
		</div>
	</div>
</div>