Replace some h3 with h2.
This commit is contained in:
		
							parent
							
								
									bfe11cccd5
								
							
						
					
					
						commit
						e2e0e13fb5
					
				
					 3 changed files with 15 additions and 15 deletions
				
			
		|  | @ -24,7 +24,7 @@ | ||||||
| { | { | ||||||
|     max-height: 150px; |     max-height: 150px; | ||||||
| } | } | ||||||
| #album_metadata h2 .editor_input | #album_metadata h1 .editor_input | ||||||
| { | { | ||||||
|     font-size: inherit; |     font-size: inherit; | ||||||
|     font-weight: inherit; |     font-weight: inherit; | ||||||
|  | @ -231,7 +231,7 @@ const ALBUM_ID = undefined; | ||||||
|     <div id="left"> |     <div id="left"> | ||||||
|         <div id="hierarchy_self" class="panel"> |         <div id="hierarchy_self" class="panel"> | ||||||
|             <div id="album_metadata"> |             <div id="album_metadata"> | ||||||
|                 <h2><span id="title_text">{{-album.display_name-}}</span></h2> |                 <h1><span id="title_text">{{-album.display_name-}}</span></h1> | ||||||
| 
 | 
 | ||||||
|                 <pre |                 <pre | ||||||
|                 id="description_text" |                 id="description_text" | ||||||
|  | @ -258,12 +258,12 @@ const ALBUM_ID = undefined; | ||||||
|         <div id="hierarchy_parents" class="panel"> |         <div id="hierarchy_parents" class="panel"> | ||||||
|             {% set parents = album.get_parents() %} |             {% set parents = album.get_parents() %} | ||||||
|             {% if parents %} |             {% if parents %} | ||||||
|                 <h3>{{parents|length}} Parents</h3> |                 <h2>{{parents|length}} Parents</h2> | ||||||
|                 {% for parent in parents %} |                 {% for parent in parents %} | ||||||
|                     {{cards.create_album_card(parent, view=view)}} |                     {{cards.create_album_card(parent, view=view)}} | ||||||
|                 {% endfor %} |                 {% endfor %} | ||||||
|             {% else %} |             {% else %} | ||||||
|                 <h3>1 Parent</h3> |                 <h2>1 Parent</h2> | ||||||
|                 {{cards.create_album_card("root", view=view)}} |                 {{cards.create_album_card("root", view=view)}} | ||||||
|             {% endif %} |             {% endif %} | ||||||
|         </div> |         </div> | ||||||
|  | @ -271,7 +271,7 @@ const ALBUM_ID = undefined; | ||||||
|         {% set sub_albums = album.get_children() %} |         {% set sub_albums = album.get_children() %} | ||||||
|         {% if sub_albums %} |         {% if sub_albums %} | ||||||
|         <div id="hierarchy_children" class="panel"> |         <div id="hierarchy_children" class="panel"> | ||||||
|             <h3>{{sub_albums|length}} Children</h3> |             <h2>{{sub_albums|length}} Children</h2> | ||||||
|             {% for sub_album in sub_albums|sort(attribute='title') %} |             {% for sub_album in sub_albums|sort(attribute='title') %} | ||||||
|                 {{cards.create_album_card(sub_album, view=view, unlink_parent=album, draggable=true)}} |                 {{cards.create_album_card(sub_album, view=view, unlink_parent=album, draggable=true)}} | ||||||
|             {% endfor %} |             {% endfor %} | ||||||
|  | @ -281,7 +281,7 @@ const ALBUM_ID = undefined; | ||||||
|         {% set photos = album.get_photos() %} |         {% set photos = album.get_photos() %} | ||||||
|         {% if photos %} |         {% if photos %} | ||||||
|         <div id="hierarchy_photos" class="photos_holder panel"> |         <div id="hierarchy_photos" class="photos_holder panel"> | ||||||
|             <h3>{{photos|length}} Photos</h3> |             <h2>{{photos|length}} Photos</h2> | ||||||
|             <div id="photo_list"> |             <div id="photo_list"> | ||||||
|             {% for photo in photos|sort(attribute='basename', case_sensitive=False) %} |             {% for photo in photos|sort(attribute='basename', case_sensitive=False) %} | ||||||
|                 {{cards.create_photo_card(photo, view=view)}} |                 {{cards.create_photo_card(photo, view=view)}} | ||||||
|  | @ -294,7 +294,7 @@ const ALBUM_ID = undefined; | ||||||
|         {% set has_child_photos = album.has_any_subalbum_photo() %} |         {% set has_child_photos = album.has_any_subalbum_photo() %} | ||||||
|         {% if has_local_photos or has_child_photos %} |         {% if has_local_photos or has_child_photos %} | ||||||
|         <div id="download_links" class="panel"> |         <div id="download_links" class="panel"> | ||||||
|             <h3>Download</h3> |             <h2>Download</h2> | ||||||
|             {% if has_local_photos %} |             {% if has_local_photos %} | ||||||
|                 <p><a id="download_link_single" href="/album/{{album.id}}.zip?recursive=no">These files – {{album.sum_bytes(recurse=False)|bytestring}}</a></p> |                 <p><a id="download_link_single" href="/album/{{album.id}}.zip?recursive=no">These files – {{album.sum_bytes(recurse=False)|bytestring}}</a></p> | ||||||
|             {% endif %} |             {% endif %} | ||||||
|  |  | ||||||
|  | @ -126,7 +126,7 @@ | ||||||
|         {% set parents = specific_tag.get_parents() %} |         {% set parents = specific_tag.get_parents() %} | ||||||
|         {% if parents %} |         {% if parents %} | ||||||
|         <div id="hierarchy_parents" class="panel"> |         <div id="hierarchy_parents" class="panel"> | ||||||
|             <h3>{{parents|length}} Parents</h3> |             <h2>{{parents|length}} Parents</h2> | ||||||
|             <ul id="parent_list"> |             <ul id="parent_list"> | ||||||
|             {% for ancestor in specific_tag.get_parents() %} |             {% for ancestor in specific_tag.get_parents() %} | ||||||
|             <li> |             <li> | ||||||
|  | @ -142,7 +142,7 @@ | ||||||
| 
 | 
 | ||||||
|         <div id="hierarchy_tags" class="panel"> |         <div id="hierarchy_tags" class="panel"> | ||||||
|             {% if specific_tag %} |             {% if specific_tag %} | ||||||
|             <h3>{{tag_count - 1}} Descendants</h3> |             <h2>{{tag_count - 1}} Descendants</h2> | ||||||
|             {% else %} |             {% else %} | ||||||
|             <h1>{{tag_count}} Tags</h1> |             <h1>{{tag_count}} Tags</h1> | ||||||
|             {% endif %} |             {% endif %} | ||||||
|  | @ -218,7 +218,7 @@ | ||||||
|         {% if specific_tag and include_synonyms %} |         {% if specific_tag and include_synonyms %} | ||||||
|         {% set synonyms = specific_tag.get_synonyms() %} |         {% set synonyms = specific_tag.get_synonyms() %} | ||||||
|         <div id="hierarchy_synonyms" class="panel"> |         <div id="hierarchy_synonyms" class="panel"> | ||||||
|             <h3>{{synonyms|length}} Synonyms</h3> |             <h2>{{synonyms|length}} Synonyms</h2> | ||||||
|             <ul> |             <ul> | ||||||
|             {% for synonym in synonyms %} |             {% for synonym in synonyms %} | ||||||
|             <li> |             <li> | ||||||
|  | @ -250,7 +250,7 @@ | ||||||
| 
 | 
 | ||||||
|         {% if specific_tag %} |         {% if specific_tag %} | ||||||
|         <div id="hierarchy_recentphotos" class="panel"> |         <div id="hierarchy_recentphotos" class="panel"> | ||||||
|             <h3><a href="/search?tag_musts={{specific_tag.name}}&orderby=tagged_at-desc">Recent photos</a></h3> |             <h2><a href="/search?tag_musts={{specific_tag.name}}&orderby=tagged_at-desc">Recent photos</a></h2> | ||||||
|             <iframe |             <iframe | ||||||
|             class="embedded_search" |             class="embedded_search" | ||||||
|             src="/search_embed?tag_musts={{specific_tag.name}}&orderby=tagged_at-desc&yield_albums=no&limit=10" |             src="/search_embed?tag_musts={{specific_tag.name}}&orderby=tagged_at-desc&yield_albums=no&limit=10" | ||||||
|  |  | ||||||
|  | @ -36,7 +36,7 @@ | ||||||
|         {% set photos = user.get_photos(direction='desc')|islice(0, 15)|list %} |         {% set photos = user.get_photos(direction='desc')|islice(0, 15)|list %} | ||||||
|         {% if photos %} |         {% if photos %} | ||||||
|         <div id="hierarchy_photos" class="panel"> |         <div id="hierarchy_photos" class="panel"> | ||||||
|             <h3><a href="/search?author={{user.username}}">Photos by <span class="dynamic_user_display_name">{{user.display_name}}</span></a></h3> |             <h2><a href="/search?author={{user.username}}">Photos by <span class="dynamic_user_display_name">{{user.display_name}}</span></a></h2> | ||||||
|             {% for photo in photos %} |             {% for photo in photos %} | ||||||
|             {{cards.create_photo_card(photo)}} |             {{cards.create_photo_card(photo)}} | ||||||
|             {% endfor %} |             {% endfor %} | ||||||
|  | @ -46,7 +46,7 @@ | ||||||
|         {% set tags = user.get_tags(direction='desc')|islice(0, 100)|list %} |         {% set tags = user.get_tags(direction='desc')|islice(0, 100)|list %} | ||||||
|         {% if tags %} |         {% if tags %} | ||||||
|         <div id="hierarchy_tags" class="panel"> |         <div id="hierarchy_tags" class="panel"> | ||||||
|             <h3>Tags by <span class="dynamic_user_display_name">{{user.display_name}}</span></h3> |             <h2>Tags by <span class="dynamic_user_display_name">{{user.display_name}}</span></h2> | ||||||
|             {% for tag in tags %} |             {% for tag in tags %} | ||||||
|             {{cards.create_tag_card(tag, with_alt_description=True)}} |             {{cards.create_tag_card(tag, with_alt_description=True)}} | ||||||
|             {% endfor %} |             {% endfor %} | ||||||
|  | @ -56,7 +56,7 @@ | ||||||
|         {% set albums = user.get_albums()|islice(0, 20)|list %} |         {% set albums = user.get_albums()|islice(0, 20)|list %} | ||||||
|         {% if albums %} |         {% if albums %} | ||||||
|         <div id="hierarchy_albums" class="panel"> |         <div id="hierarchy_albums" class="panel"> | ||||||
|             <h3>Albums by <span class="dynamic_user_display_name">{{user.display_name}}</span></h3> |             <h2>Albums by <span class="dynamic_user_display_name">{{user.display_name}}</span></h2> | ||||||
|             {% for album in albums %} |             {% for album in albums %} | ||||||
|             {{cards.create_album_card(album)}} |             {{cards.create_album_card(album)}} | ||||||
|             {% endfor %} |             {% endfor %} | ||||||
|  | @ -66,7 +66,7 @@ | ||||||
|         {% set bookmarks = user.get_bookmarks()|islice(0, 50)|list %} |         {% set bookmarks = user.get_bookmarks()|islice(0, 50)|list %} | ||||||
|         {% if bookmarks %} |         {% if bookmarks %} | ||||||
|         <div id="hierarchy_bookmarks" class="panel"> |         <div id="hierarchy_bookmarks" class="panel"> | ||||||
|             <h3>Bookmarks by <span class="dynamic_user_display_name">{{user.display_name}}</span></h3> |             <h2>Bookmarks by <span class="dynamic_user_display_name">{{user.display_name}}</span></h2> | ||||||
|             {% for bookmark in bookmarks %} |             {% for bookmark in bookmarks %} | ||||||
|             {{cards.create_bookmark_card(bookmark, add_author=False)}} |             {{cards.create_bookmark_card(bookmark, add_author=False)}} | ||||||
|             {% endfor %} |             {% endfor %} | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue