Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
advisor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
SRCT
advisor
Commits
c5df47ea
Commit
c5df47ea
authored
Mar 01, 2014
by
Renfred Harper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create new mock build view
parent
decbbb31
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
58 additions
and
2 deletions
+58
-2
advisor/mainapp/static/js/grids.js
advisor/mainapp/static/js/grids.js
+8
-0
advisor/mainapp/templates/build.html
advisor/mainapp/templates/build.html
+36
-0
advisor/mainapp/urls.py
advisor/mainapp/urls.py
+1
-0
advisor/static/css/style.css
advisor/static/css/style.css
+12
-1
advisor/templates/layouts/base.html
advisor/templates/layouts/base.html
+1
-1
No files found.
advisor/mainapp/static/js/grids.js
0 → 100644
View file @
c5df47ea
$
(
function
(){
//DOM Ready
$
(
"
.gridster ul
"
).
gridster
({
widget_margins
:
[
10
,
10
],
widget_base_dimensions
:
[
160
,
80
]
});
});
advisor/mainapp/templates/build.html
View file @
c5df47ea
...
...
@@ -5,5 +5,41 @@
{% endblock %}
{% block content %}
<div
class=
"row"
>
<div
class=
"col-lg-12"
>
</div>
</div>
<div
id=
"programs"
>
<div
class=
"row"
>
<div
class=
"col-lg-12"
>
<div
class=
"panel panel-primary"
>
<div
class=
"panel-heading"
>
<h3
class=
"panel-title"
>
Computer Science Major
</h3>
</div>
<div
class=
"panel-body"
>
<div
class=
"gridster courses"
>
<ul>
<li
data-row=
"1"
data-col=
"1"
data-sizex=
"1"
data-sizey=
"1"
></li>
<li
data-row=
"2"
data-col=
"1"
data-sizex=
"1"
data-sizey=
"1"
></li>
<li
data-row=
"3"
data-col=
"1"
data-sizex=
"1"
data-sizey=
"1"
></li>
<li
data-row=
"1"
data-col=
"2"
data-sizex=
"1"
data-sizey=
"1"
></li>
<li
data-row=
"2"
data-col=
"2"
data-sizex=
"1"
data-sizey=
"1"
></li>
<li
data-row=
"1"
data-col=
"4"
data-sizex=
"1"
data-sizey=
"1"
></li>
<li
data-row=
"2"
data-col=
"4"
data-sizex=
"1"
data-sizey=
"1"
></li>
<li
data-row=
"3"
data-col=
"4"
data-sizex=
"1"
data-sizey=
"1"
></li>
<li
data-row=
"1"
data-col=
"5"
data-sizex=
"1"
data-sizey=
"1"
></li>
<li
data-row=
"3"
data-col=
"5"
data-sizex=
"1"
data-sizey=
"1"
></li>
<li
data-row=
"1"
data-col=
"6"
data-sizex=
"1"
data-sizey=
"1"
></li>
<li
data-row=
"2"
data-col=
"6"
data-sizex=
"1"
data-sizey=
"1"
></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
{% endblock %}
advisor/mainapp/urls.py
View file @
c5df47ea
...
...
@@ -17,5 +17,6 @@ urlpatterns = patterns('',
# url(r'^$', 'advisor.views.home', name='home'),
# url(r'^blog/', include('blog.urls')),
url
(
r
'^'
,
include
(
router
.
urls
)),
url
(
r
'^build/'
,
build_trajectory
,
name
=
'build'
)
)
advisor/static/css/style.css
View file @
c5df47ea
...
...
@@ -15,7 +15,16 @@ body {
margin
:
0
auto
-30px
;
/* Pad bottom by footer height */
padding
:
0
0
30px
;
padding-top
:
30px
;
padding-top
:
53px
;
}
#main
{
padding-top
:
45px
;
}
.courses
li
{
background-color
:
#27AE60
;
list-style-type
:
none
;
}
/* Set the fixed height of the footer here */
...
...
@@ -24,3 +33,5 @@ body {
background-color
:
#f5f5f5
;
text-align
:
center
;
}
/* Bootstrap Overrides */
advisor/templates/layouts/base.html
View file @
c5df47ea
...
...
@@ -41,7 +41,7 @@
<div
id =
"wrap"
>
{% include 'layouts/navbar.html' %}
<div
class=
"container"
>
<div
id=
"main"
class=
"container"
>
{% block content %}
{% endblock %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment