diff --git a/apps/userprofile/templates/userprofile/profile.html b/apps/userprofile/templates/userprofile/profile.html new file mode 100644 index 0000000..f6f7882 --- /dev/null +++ b/apps/userprofile/templates/userprofile/profile.html @@ -0,0 +1,69 @@ +{% extends "base.html" %} + +{% comment %} + Look at base.html and look at what content blocks are available (ctrl+f block). Inherit any you want to override. The main two are {% block canvas %} and {% block content %}. Canvas contains everything in between the navbar and the footer, and content contains the middle column. + + Put static files (css, js, and images) into the appropriate folder in apps/theme/static/ + I have a simple file in there as an example that I'm using to style this template +{% endcomment %} + +{% block meta_title %} + Profile +{% endblock %} + +{% block extra_css %} + +{% endblock %} + + +{% block content %} +
+
+
+ Edit Profile +
+
+ + +
+ +

Username can contain any letters or numbers, without spaces

+
+
+ +
+ + +
+ +

Please provide your E-mail

+
+
+ +
+ + +
+ +

Please tell us about yourself and your background

+
+
+ +
+ + +
+ +

What skills do you know? What skills would you like to learn?

+
+
+ +
+ +
+ +
+
+
+
+{% endblock %} \ No newline at end of file diff --git a/apps/userprofile/templates/userprofile/profilelist.html b/apps/userprofile/templates/userprofile/profilelist.html new file mode 100644 index 0000000..69f117d --- /dev/null +++ b/apps/userprofile/templates/userprofile/profilelist.html @@ -0,0 +1,44 @@ +{% extends "base.html" %} + +{% comment %} + Look at base.html and look at what content blocks are available (ctrl+f block). Inherit any you want to override. The main two are {% block canvas %} and {% block content %}. Canvas contains everything in between the navbar and the footer, and content contains the middle column. + + Put static files (css, js, and images) into the appropriate folder in apps/theme/static/ + I have a simple file in there as an example that I'm using to style this template +{% endcomment %} + +{% block meta_title %} + Profile +{% endblock %} + +{% block extra_css %} + +{% endblock %} + + +{% block content %} +
+
+

Name 1

+

Bio or headline information for profile

+
+
skills
+
+ +
+
+

Name 2

+

Bio or headline information for profile

+
+
skills
+
+ +
+
+

Name 3

+

Bio or headline information for profile

+
+
skills
+
+
+{% endblock %} \ No newline at end of file diff --git a/urls.py b/urls.py index 8ebc94c..2879ba1 100644 --- a/urls.py +++ b/urls.py @@ -13,6 +13,8 @@ # to the project's homepage. urlpatterns = patterns("", + url("^myprofile/$", TemplateView.as_view(template_name="profile.html"), name="myprofile"), + url("^profilelist/$", TemplateView.as_view(template_name="profilelist.html"), name="profilelist"), # once we compartmentalize the function into apps (profiles, projects, etc...) # it'll make sense to use include() and store the relevant urls within that app # Here are four different ways to render a template: