-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
84 lines (80 loc) · 3.14 KB
/
index.html
File metadata and controls
84 lines (80 loc) · 3.14 KB
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
<!doctype html>
<html>
<head>
<title>SUPINFO - Code Courses</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="scripts/lib/jquerymobile/jquery.mobile-1.1.1.min.css" />
<link rel="stylesheet" href="scripts/lib/jquerymobile/jquery.mobile.structure-1.1.1.min.css" />
<link rel="stylesheet" href="scripts/lib/jquerymobile/jquery.mobile.theme-1.1.1.min.css" />
<script src="scripts/lib/jquery-1.8.0.min.js"></script>
<script src="scripts/lib/jquerymobile/jquery.mobile-1.1.1.min.js"></script>
<script data-main="scripts/app" src="scripts/lib/require.js"></script>
<!-- No need to include jqueryUI CSS. Moreover, jQuery Mobile conflict -->
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
<style>
/* Common style */
#course-page-content { border-left: 1px solid #BBB; padding-left: 10px; min-height: 300px; }
#course-page-content > div { display: none; }
.repository { float: right; }
.selected {
border-radius: 5px 5px 0 0;
border: 1px solid #BBB;
background: #D6D6D6;
font-weight: bold;
color: #222;
text-shadow: 0 1px 0 white;
background-image: -webkit-gradient(linear,left top,left bottom,from(#D0D0D0),to(#DFDFDF));
background-image: -webkit-linear-gradient(#D0D0D0,#DFDFDF);
background-image: -moz-linear-gradient(#D0D0D0,#DFDFDF);
background-image: -ms-linear-gradient(#D0D0D0,#DFDFDF);
background-image: -o-linear-gradient(#D0D0D0,#DFDFDF);
background-image: linear-gradient(#D0D0D0,#DFDFDF);
}
/* Tablets/Smartphones */
@media (max-width: 959px) {
nav { margin: 15px; width: auto;}
#course-page-content > div:target { width: 100%; display: none; }
header.ui-header.ui-bar-a > h1.ui-title { width: 100%; margin: .6em 0 .8em;}
div.ui-collapsible-content { padding: 10px 0 10px 10px; }
div.ui-collapsible-content > ul.courses.ui-listview
> li.course div.ui-btn-text a { padding: 10px 40px 10px 10px; }
div.ui-collapsible-content > ul.courses.ui-listview
> li.course div.ui-btn-text a > h2 {
width: 100%;
display: block;
margin: 0;
overflow: auto;
font-size: .9em;
white-space: normal;
}
div.ui-collapsible-content > ul.courses.ui-listview
> li.course div.ui-btn-text a > img.ui-li-thumb { display: none; }
}
/* Computer screen */
@media all and (min-width: 960px) {
nav { width: 25%; margin: 30px; float: left; }
.go-back { display: none; }
}
</style>
</head>
<body>
<section id="main-page" data-role="page">
<header data-role="header">
<h1>SUPINFO - Code Courses</h1>
</header>
<nav data-role="nav">
<div id="main-page-content" data-role="collapsible-set">
</div>
</nav>
<div id="course-page-content" data-role="content">
<div>
<ul class="course_files ui-listview ui-listview-inset ui-corner-all ui-shadow"
data-role="listview" data-inset="true">
</ul>
<a class="repository" href="#">Versioning</a>
<a data-role="button" data-icon="back" class="go-back" href="#" >Go back</a>
</div>
</div>
</section>
</body>
</html>