Commit f617deea by Sarah Fischmann

Fix files and uploads template in Studio

EDUCATOR-605

fixed template in places that only affect Studio

changed > to dash and article to div

Added translation of aria-label

EDUCATOR-605

Capitalize Files and Uploads

EDUCATOR-605

fixed aria label on div
parent 8185b5ce
...@@ -35,32 +35,31 @@ ...@@ -35,32 +35,31 @@
<div class="wrapper-mast wrapper"> <div class="wrapper-mast wrapper">
<header class="mast has-actions has-subtitle"> <header class="mast has-actions has-subtitle">
<h1 class="page-header"> <h3 class="page-header">
<small class="subtitle">${_("Content")}</small> <small class="subtitle">${_("Content")}</small>
<span class="sr">&gt; </span>${_("Files & Uploads")} <span class="sr">- </span>${_("Files & Uploads")}
</h1> </h3>
<nav class="nav-actions" aria-label="${_('Page Actions')}"> <div class="nav-actions">
<h3 class="sr">${_("Page Actions")}</h3>
<ul> <ul>
<li class="nav-item"> <li class="nav-item">
<a href="#" class="button upload-button new-button"><span class="icon fa fa-plus" aria-hidden="true"></span> ${_("Upload New File")}</a> <a href="#" class="button upload-button new-button"><span class="icon fa fa-plus" aria-hidden="true"></span> ${_("Upload New File")}</a>
</li> </li>
</ul> </ul>
</nav> </div>
</header> </header>
</div> </div>
<div class="wrapper-content wrapper"> <div class="wrapper-content wrapper">
<section class="content"> <div class="content">
<article class="content-primary" role="main"> <div class="content-primary">
<div class="wrapper-assets" /> <div class="wrapper-assets"> </div>
<div class="ui-loading"> <div class="ui-loading">
<p><span class="spin"><span class="icon fa fa-refresh" aria-hidden="true"></span></span> <span class="copy">${_("Loading")}</span></p> <p><span class="spin"><span class="icon fa fa-refresh" aria-hidden="true"></span></span> <span class="copy">${_("Loading")}</span></p>
</div> </div>
</article> </div>
<aside class="content-supplementary" role="complementary"> <aside class="content-supplementary" role="complementary" aria-label="${_("Help adding Files and Uploads")}">
<div class="bit"> <div class="bit">
<h3 class="title-3">${_("Adding Files for Your Course")}</h3> <h3 class="title-3">${_("Adding Files for Your Course")}</h3>
...@@ -84,14 +83,14 @@ ...@@ -84,14 +83,14 @@
</div> </div>
</aside> </aside>
</section> </div>
</div> </div>
<div class="upload-modal modal"> <div class="upload-modal modal">
<a href="#" class="close-button"><span class="icon fa fa-times-circle" aria-hidden="true"></span> <span class="sr">${_('close')}</span></a> <a href="#" class="close-button"><span class="icon fa fa-times-circle" aria-hidden="true"></span> <span class="sr">${_('close')}</span></a>
<div class="modal-body"> <div class="modal-body">
<h1 class="title">${_("Upload New File")}</h1> <h2 class="title">${_("Upload New File")}</h2>
<h2>${_("Max per-file size: {max_filesize}MB").format(max_filesize=max_file_size_in_mbs)}</h2> <p>${_("Max per-file size: {max_filesize}MB").format(max_filesize=max_file_size_in_mbs)}</p>
<p class="file-name"> <p class="file-name">
<div class="progress-bar"> <div class="progress-bar">
<div class="progress-fill"></div> <div class="progress-fill"></div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment