Browse code

Beginning function; fixing rows

Philip I. Thomas authored on 17/10/2012 at 23:00:49
Showing 1 changed files
... ...
@@ -71,8 +71,10 @@
71 71
 
72 72
     <div class="container">
73 73
     <!-- Photo here soon -->
74
+    <div class="row">
74 75
       <h1 style="text-align: center">Philip I. Thomas Curriculum Vitae</h1>
75 76
       <p></p>
77
+    </div> <!-- end row -->
76 78
       
77 79
      <section id="about">
78 80
       <div class="row">
... ...
@@ -80,9 +82,11 @@
80 80
       <div class="page-header">
81 81
       <h2>About</h2>
82 82
       </div>
83
+          </div> <!-- end row -->
84
+          <div class="row">
83 85
       
84 86
       <div class="span12">Philip I. Thomas is a student and entrepreneur in St. Louis. He is currently in is senior year at Washington University in St. Louis, completing majors in Systems Engineering and Physics. After graduation in May 2013, he plans to pursuit a career in data analysis at a startup technology company.</div>
85
-            </div>
87
+    </div> <!-- end row -->
86 88
 
87 89
       </section>
88 90
 
... ...
@@ -92,7 +96,9 @@
92 92
       <div class="page-header">
93 93
       <h2>Education</h2>
94 94
       </div>
95
-            </div>
95
+    </div> <!-- end row -->
96
+
97
+
96 98
       </section>
97 99
       
98 100
       
... ...
@@ -103,7 +109,9 @@
103 103
       <div class="page-header">
104 104
       <h2>Professional and Leadership Experience </h2>
105 105
       </div>
106
-            </div>
106
+    </div> <!-- end row -->
107
+    
108
+    
107 109
       </section>
108 110
       
109 111
       <section id="technical">
... ...
@@ -112,7 +120,9 @@
112 112
       <div class="page-header">
113 113
       <h2>Technical</h2>
114 114
       </div>
115
-            </div>
115
+    </div> <!-- end row -->
116
+      
117
+      
116 118
       </section>
117 119
       
118 120
       
... ...
@@ -122,7 +132,9 @@
122 122
       <div class="page-header">
123 123
       <h2>Honors</h2>
124 124
       </div>
125
-            </div>
125
+    </div> <!-- end row -->
126
+
127
+
126 128
       </section>
127 129
       
128 130
     </div> <!-- /container -->
... ...
@@ -135,3 +147,25 @@
135 135
 
136 136
   </body>
137 137
 </html>
138
+
139
+<?php
140
+
141
+/* 
142
+
143
+These are some functions to make uniform sections
144
+
145
+*/
146
+
147
+function position($title,$city,$title,$dates,$blob) {
148
+	/*
149
+	This function is for use in the experience section. It unififes formatting for the various positions. 
150
+	*/
151
+	
152
+	echo '<div class="row">
153
+	<div class="span6" class="pull-left" style="font-weight: bold">'.$title.'</div>
154
+			
155
+			<div class="span6 class="pull-right" style="font-weight: bold">'.$city'</div>
156
+			</div> <!-- end row-->
157
+			
158
+			
159
+}
138 160
\ No newline at end of file