2016-08-09 01:33:14 -04:00
< template name = "profile" >
2016-11-07 17:26:02 -05:00
{{> sAlert}}
2017-01-15 23:59:10 -05:00
< div id = "profPageWrapper" >
2017-01-17 00:18:26 -05:00
< div id = "backArrow" class = "circleIcon moveArrow" style = "display:{{showArrow 'back'}}" >
< i class = "fa fa-chevron-up" aria-hidden = "true" > < / i >
< / div >
2017-01-15 23:59:10 -05:00
< div id = "basicInfo" >
< div id = "newUserWrapper" >
< div class = "formDiv" >
< p class = "opTitle" > **School:< / p >
2017-01-17 00:18:26 -05:00
< input id = "school" class = "basicInfoField clickModify dropdown" type = "text" form = "school" placeholder = " Click here to edit..." readonly >
2017-01-15 23:59:10 -05:00
< div class = "optionHolder" >
{{#each selectOptions 'school'}}
{{> option}}
{{/each}}
< / div >
< / div >
< div class = "formDiv" >
< p class = "opTitle" > **Grade:< / p >
2017-01-17 00:18:26 -05:00
< input id = "grade" class = "basicInfoField clickModify dropdown" type = "text" form = "grade" placeholder = "Click here to edit..." readonly >
2017-01-15 23:59:10 -05:00
< div class = "optionHolder" >
{{#each selectOptions 'grade'}}
{{> option}}
{{/each}}
< / div >
< / div >
2017-01-17 00:18:26 -05:00
< h3 id = "basicNext" > Continue< / h3 >
2017-01-15 23:59:10 -05:00
< / div >
< / div >
2017-01-17 00:18:26 -05:00
< div id = "enrollInfo" >
< div id = "enrollUserWrapper" >
< div id = "joinTop" >
< i class = "fa fa-search" aria-hidden = "true" > < / i >
{{> inputAutocomplete id="classSearch" settings=classSettings placeholder="Search..."}}
2017-01-18 01:10:50 -05:00
< span id = "createActivate" > Class not here?< / span >
2017-01-17 00:18:26 -05:00
< / div >
< div id = "settingClassWrapper" >
2017-01-19 01:11:17 -05:00
< div id = "classHeader" >
< div id = "label" class = "classBox" >
< span class = "name classText" > Class Name< / span >
< span class = "teacher classText" > Teacher< / span >
< span class = "hour classText" > Hour< / span >
< span class = "subscriptions classText" > Members< / span >
< / div >
2017-01-17 00:18:26 -05:00
< / div >
2017-01-19 01:11:17 -05:00
< div id = "classBody" >
{{#if notsearching}}
{{#each classes}}
{{> classDisplay}}
{{/each}}
{{#if noclass}}
< h3 > No results found...< / h3 >
{{/if}}
{{else}}
{{#each autocompleteClasses}}
{{> classDisplay}}
{{/each}}
{{#if notfound}}
< h3 > No results found...< / h3 >
{{/if}}
2017-01-17 00:18:26 -05:00
{{/if}}
2017-01-19 01:11:17 -05:00
< / div >
2017-01-17 00:18:26 -05:00
< / div >
< / div >
< / div >
2017-01-18 01:10:50 -05:00
< div id = "enrollClassList" >
< h3 > My Classes< / h3 >
{{#each enrollClass}}
{{> enrollSideClass}}
{{/each}}
< / div >
< div id = "createInfo" >
< div id = "createWrapper" >
< div id = "creRules" >
2017-01-25 23:19:23 -05:00
< p > Submit a request for a class to be approved by an administrator.
2017-01-18 01:10:50 -05:00
You can have up to 8 unapproved classes at once.< / p >
< / div >
< div id = "formContainer" >
< div class = "formDiv" >
2017-01-19 01:11:17 -05:00
< p class = "profTitle" > **School:< / p >
{{> inputAutocomplete settings=schoolComplete class="form-control creInput" type="text" form="school" placeholder="**School | Ex: International Academy" }}
2017-01-18 01:10:50 -05:00
< / div >
< div class = "formDiv" >
2017-01-19 01:11:17 -05:00
< p class = "profTitle" > Hour:< / p >
2017-01-18 01:10:50 -05:00
< input class = "creInput" type = "text" form = "hour" placeholder = "Hour" >
< / div >
< div class = "formDiv" >
2017-01-19 01:11:17 -05:00
< p class = "profTitle" > Teacher:< / p >
{{> inputAutocomplete settings=teacherComplete class="form-control creInput" type="text" form="teacher" placeholder="Teacher | Ex: Marc DeZwaan" }}
2017-01-18 01:10:50 -05:00
< / div >
< div class = "formDiv" >
2017-01-19 01:11:17 -05:00
< p class = "profTitle" > **Class Name:< / p >
2017-01-18 01:10:50 -05:00
< input class = "creInput" type = "text" form = "name" placeholder = "**Class Name" >
< / div >
< div class = "formDiv" >
< p class = "profTitle" > **Privacy:< / p >
< input id = "creprivacy" style = "color:{{divColor 'textColor'}}" class = "creInput clickModify dropdown" type = "text" form = "privacy" placeholder = "Click here to edit..." readonly >
< div class = "optionHolder" >
{{#each selectOptions 'privacy'}}
{{> option}}
{{/each}}
< / div >
< / div >
< div class = "formDiv" >
< p class = "profTitle" > **Category:< / p >
< input id = "crecategory" style = "color:{{divColor 'textColor'}}" class = "creInput clickModify dropdown" type = "text" form = "category" placeholder = "Click here to edit..." readonly >
< div class = "optionHolder" >
{{#each selectOptions 'category'}}
{{> option}}
{{/each}}
< / div >
< / div >
< h3 id = "creSubmit" style = "border:1px solid {{divColor 'textColor'}}" > Submit Request< / h3 >
< / div >
< / div >
2017-01-15 23:59:10 -05:00
< / div >
2017-01-19 01:11:17 -05:00
< div id = "profileSubmit" >
2017-01-19 14:34:47 -05:00
< span > Finish!< / span >
2017-01-19 01:11:17 -05:00
< i class = "fa fa-chevron-right" aria-hidden = "true" > < / i >
< / div >
2017-01-17 00:18:26 -05:00
< div id = "forwardArrow" class = "circleIcon moveArrow" style = "display:{{showArrow 'forward'}}" >
< i class = "fa fa-chevron-down" aria-hidden = "true" > < / i >
< / div >
2016-11-07 17:26:02 -05:00
< / div >
2016-08-10 15:19:53 -04:00
< / template >
2017-01-18 01:10:50 -05:00
< template name = "enrollSideClass" >
< div id = "ESCWrapper" classid = "{{_id}}" >
< h4 class = "enrollSideClass" > {{name}}< / h4 >
{{#if x}}
< i class = "fa fa-times" aria-hidden = "true" > < / i >
{{/if}}
< / div >
< / template >