mozilla
Your Search Results

    Template:FXOSUXRepoDownloads

    <% /*
    Inserts download links for the CSS and media resources for a standard Gaia UX component.
    
        Parameters:
            $0 - The URL of the CSS file
            $1 - The URL of the ui resources folder
    */
    
    // Localize strings
    
    var heading = mdn.localString({
        "en-US" : "Download resources",
        "ja"    : "ファイルのダウンロード"
    });
    
    var downloadCSS = mdn.localString({
        "en-US" : "CSS (Style)",
        "ja"    : "CSS"
    });
    
    var downloadMedia = mdn.localString({
        "en-US" : "Media Files",
        "ja"    : "メディアファイル"
    });
    
    var downloadFonts = mdn.localString({
        "en-US" : "Fonts",
        "ja"    : "フォント"
    });
    
    
    %><div class="standardSidebar" style="padding:10px 10px 0">
      <div><%- heading %></div>
      <ul>
      <li><a href='<%- $0 %>'><%- downloadCSS %></a></li>
      <li><a href='<%- $1 %>'><%- downloadMedia %></a></li>
      <li><a href='https://github.com/mozilla-b2g/moztt/'><%- downloadFonts %></a></li>
      </ul>
    </div>
    Search for pages that use Template:FXOSUXRepoDownloads to see example use cases and how many pages use this macro.

    Document Tags and Contributors

    Contributors to this page: Sheppy, ethertank, chrisdavidmills
    Last updated by: chrisdavidmills,