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
schedules
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
11
Issues
11
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SRCT
schedules
Commits
d8089bcc
Commit
d8089bcc
authored
Feb 27, 2019
by
Gilberto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed expand/minimize text and arrow direction on newly loaded page
parent
676b28b8
Pipeline
#4001
passed with stage
in 2 minutes and 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
schedules/app/views/shared/_course.html.erb
schedules/app/views/shared/_course.html.erb
+11
-4
No files found.
schedules/app/views/shared/_course.html.erb
View file @
d8089bcc
...
...
@@ -35,10 +35,17 @@
<p><strong>
<%=
first
%>
:
</strong>
<%=
prereqs
%>
<sub>
<%=
note
%>
</sub></p>
<%
end
%>
<div
class=
"d-block"
style=
"text-align: center"
>
<p
id=
"chevron-label"
style=
"margin-bottom:-4px; font-size: 10px;"
>
Expand
</p>
<i
id=
"course-chevron"
class=
"fas fa-chevron-down"
></i>
</div>
<%
if
expanded
%>
<div
class=
"d-block"
style=
"text-align: center"
>
<p
id=
"chevron-label"
style=
"margin-bottom:-4px; font-size: 10px;"
>
Minimize
</p>
<i
id=
"course-chevron"
class=
"fas fa-chevron-up"
></i>
</div>
<%
else
%>
<div
class=
"d-block"
style=
"text-align: center"
>
<p
id=
"chevron-label"
style=
"margin-bottom:-4px; font-size: 10px;"
>
Expand
</p>
<i
id=
"course-chevron"
class=
"fas fa-chevron-down"
></i>
</div>
<%
end
%>
<!-- List of Course Sections -->
<div
class=
"list-group list-group-flush sections"
style=
"display:
<%=
expanded
?
"flex"
:
"none"
%>
"
>
...
...
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