-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5380 from avalonmediasystem/new_mo_show
First pass redesign of media object page
- Loading branch information
Showing
9 changed files
with
248 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<%# | ||
Copyright 2011-2023, The Trustees of Indiana University and Northwestern | ||
University. Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software distributed | ||
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR | ||
CONDITIONS OF ANY KIND, either express or implied. See the License for the | ||
specific language governing permissions and limitations under the License. | ||
--- END LICENSE_HEADER BLOCK --- | ||
%> | ||
|
||
<div id="expand_all_sections"> | ||
<button class="btn btn-outline" id="expand_all_btn"> | ||
<span class="accordion-toggle-icon icn-expand-all"> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16"> | ||
<path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"></path> | ||
</svg> | ||
</span> | ||
Expand | ||
<% #TODO: Retrieve count of sections and return here %> | ||
Section(s) | ||
</button> | ||
</div> | ||
<% #TODO: Wire button to expand all sections of the structure or remove if accordion styling cannot be worked out before 7.7 release %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<%# | ||
Copyright 2011-2023, The Trustees of Indiana University and Northwestern | ||
University. Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software distributed | ||
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR | ||
CONDITIONS OF ANY KIND, either express or implied. See the License for the | ||
specific language governing permissions and limitations under the License. | ||
--- END LICENSE_HEADER BLOCK --- | ||
%> | ||
|
||
<div id="add-to-playlist-button"> | ||
<button type="button" class="btn btn-outline btn-sm" id="add-to-playlist-btn" data-toggle="modal" data-target="#playlistModal" style="margin-top: 10px;" > | ||
<span class='sr-only'>Add all to playlist</span> | ||
<svg version="1.1" class="svg-add-to-playlist " xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 32 29" xml:space="preserve"> | ||
<g> | ||
<g> | ||
<path class="bgColor" d="M32,24c0,2.8-2.2,5-5,5H5c-2.8,0-5-2.2-5-5V5c0-2.8,2.2-5,5-5h22c2.8,0,5,2.2,5,5V24z"></path> | ||
</g> | ||
</g> | ||
<g> | ||
<line class="foregroundColor" x1="5.1" y1="8.2" x2="20" y2="8.2"></line> | ||
<line class="foregroundColor" x1="5.1" y1="12.5" x2="18.7" y2="12.5"></line> | ||
<line class="foregroundColor" x1="5.2" y1="17.2" x2="15" y2="17.2"></line> | ||
<line class="foregroundColor" x1="16.9" y1="17.1" x2="28" y2="17.1"></line> | ||
<line class="foregroundColor" x1="22.5" y1="22.7" x2="22.4" y2="11.6"></line> | ||
</g> | ||
</svg> | ||
</button> | ||
</div> | ||
|
||
<% # TODO: Build add to playlist modal %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<%# | ||
Copyright 2011-2023, The Trustees of Indiana University and Northwestern | ||
University. Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software distributed | ||
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR | ||
CONDITIONS OF ANY KIND, either express or implied. See the License for the | ||
specific language governing permissions and limitations under the License. | ||
--- END LICENSE_HEADER BLOCK --- | ||
%> | ||
|
||
<div class="page-title-wrapper"> | ||
<h2> | ||
<% unless @media_object.title.blank? %> | ||
<%= @media_object.title %><%= " / #{@media_object.statement_of_responsibility}" if @media_object.statement_of_responsibility.present? %> | ||
<% else %> | ||
<%= @media_object.id %> | ||
<% end %> | ||
</h2> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters