- SOL-465: Initial implementation of certificates web view and signatories (names/titles) - SOL-718 Close button is working properly - SOL-801 Backbone Signatories Modeling - SOL-803 Underscore template: Editor (Add) - SOL-802 Signatories: Underscore template - Details - SOL-804 Signatories: Underscore template: Editor (Edit) - Add signatory delete Django view - SOL-805 Signatory editor (Delete) - Add Coffeescript router - SOL-716 Jasmine Tests - Added missing minified JS library - client side validation of signatory fields - SOL-390 signatories names - Remove obsolete extends Sass files - input maxlength limiting for signatory information - SOL-389: Course title override - SOL-466: Add capability to upload digitized signatures in Studio - ziafazal: fixed css for upload signature image - ziafazal: completed deletion of signature images - UX-1741: Add initial static rendering/styling for Open edX web certs * creating new global static dir * adding static version of edX UX pattern library assets * adding web certificates static assets * adding static (+abstracted) web certificates rendering * creating two tiers of rendering (base + distinguished) * providing sample assets for certificate rendering * supporting RTL layouts * adding certifcates assests to edX static asset pipeline * temporarily hiding the mozilla open badges share action * wiring print button to print view/page * fixup! addressing conflict artifact in valid cert template * fixup! adding missing %hd-subsection sass extend + components comment clean up * fixup! correcting pattern library .hd-4 font-weight value - SOL-468 Linked Student View for Web View Credential - SOL-467: Add capability to upload organization logos for certificates - SOL-391 / SOL-387: Signatory related info (assets) in certificates web view - kelketek: Fixes for static asset collection in certificate HTML view. - SOL-398 Web View: Public Access - mattdrayer: Post-merge branch stabilization - catong: Initial changes to Studio template and Help config file - ziafazal: Branch stabilizations - SOL-387: Display organization logo on LMS web view - talbs/mattdrayer: Branch Stabilizations - talbs: converting backpack action to use a button HTML element - talbs: revising placeholder assets + their rendering in cert view - mattdrayer: Username web view wireup - SOL-386 Certificate Mode Previews - SOL-905: Make organization logo and signatory signature uneditable - SOL-922: Improve test coverage - SOL-765: Add LinkedIn sharing - [marco] temporary styling adjustment to account for smaller linkedin share image / fake button - SOL-921: Address hardcoded template items - SOL-927: Deleting certificate should delete org logo image also * updated invalid template * removed hr * fix invalid certificate error - clrux: Add i18n to certificate templates and partials - mattdrayer: Pylint violations - SOL-920 Certificate Activation/Deactivation - mattdrayer: Added LMS support - SOL-932: Fix preview mode support in certificate view - SOL-934: Fixed bug reported and broken tests - SOL-935 removed the 'valid' word from web view title - talbs: RTL support updates/fixes * revising certificate type icon/name vertical alignment * removing unused older certificate template * revising styling for message/banner actions * abstracting accomplishment type to use course mode + adding in honor/verified-specific placeholders - mattdrayer: JSHint violations
58 lines
4.6 KiB
Plaintext
58 lines
4.6 KiB
Plaintext
<form class="collection-edit-form certificate-edit-form">
|
|
<div aria-live="polite">
|
|
<% if (error && error.message) { %>
|
|
<div class="certificate-edit-error message message-status message-status error is-shown" name="certificate-edit-error">
|
|
<%= gettext(error.message) %>
|
|
</div>
|
|
<% } %>
|
|
</div>
|
|
<div class="wrapper-form">
|
|
<fieldset class="collection-fields certificate-fields">
|
|
<legend class="sr"><%= gettext("Certificate Information") %></legend>
|
|
<div class="sr input-wrap field text required add-collection-name add-certificate-name <% if(error && error.attributes && error.attributes.name) { print('error'); } %>">
|
|
<label for="certificate-name-<%= uniqueId %>"><%= gettext("Certificate Name") %></label>
|
|
<input id="certificate-name-<%= uniqueId %>" class="collection-name-input input-text" name="certificate-name" type="text" placeholder="<%= gettext("Name of the certificate") %>" value="<%= name %>" aria-describedby="certificate-name-<%=uniqueId %>-tip" />
|
|
<span id="certificate-name-<%= uniqueId %>-tip" class="tip tip-stacked"><%= gettext("Name of the certificate") %></span>
|
|
</div>
|
|
<div class="sr input-wrap field text add-certificate-description">
|
|
<label for="certificate-description-<%= uniqueId %>"><%= gettext("Description") %></label>
|
|
<textarea id="certificate-description-<%= uniqueId %>" class="certificate-description-input text input-text" name="certificate-description" placeholder="<%= gettext("Description of the certificate") %>" aria-describedby="certificate-description-<%=uniqueId %>-tip"><%= description %></textarea>
|
|
<span id="certificate-description-<%= uniqueId %>-tip" class="tip tip-stacked"><%= gettext("Description of the certificate") %></span>
|
|
</div>
|
|
<div class="input-wrap field text add-certificate-course-title">
|
|
<label for="certificate-course-title-<%= uniqueId %>"><%= gettext("Course Title Override") %></label>
|
|
<input id="certificate-course-title-<%= uniqueId %>" class="certificate-course-title-input input-text" name="certificate-course-title" type="text" placeholder="<%= gettext("Course title") %>" value="<%= course_title %>" aria-describedby="certificate-course-title-<%=uniqueId %>-tip" />
|
|
<span id="certificate-course-title-<%= uniqueId %>-tip" class="tip tip-stacked"><%= gettext("Title of the course") %></span>
|
|
</div>
|
|
<div class="input-wrap field text add-org-logo">
|
|
<label for="certificate-org-logo-<%= uniqueId %>"><%= gettext("Organization Logo") %></label>
|
|
<div class="current-org-logo" <% if (org_logo_path == "") { print('style="display:none"'); } %>><span class="wrapper-org-logo"><img class="org-logo" src="<%= org_logo_path %>" alt="Organization Logo"></span></div>
|
|
<div class="org-logo-upload-wrapper">
|
|
<div class="org-logo-upload-input-wrapper">
|
|
<input id="certificate-org-logo-<%= uniqueId %>" class="collection-name-input input-text org-logo-input" name="org-logo-path" type="text" placeholder="<%= gettext("Path to organization logo") %>" value="<%= org_logo_path %>" aria-describedby="certificate-org-logo-<%=uniqueId %>-tip" readonly />
|
|
<span id="certificate-org-logo-<%=uniqueId %>-tip" class="tip tip-stacked"><%= gettext("Maximum logo height 125px, width variable") %></span>
|
|
</div>
|
|
<button type="button" class="action action-upload-org-logo">Upload Organization Logo</button>
|
|
</div>
|
|
</div>
|
|
</fieldset>
|
|
<header>
|
|
<span class="title"><%= gettext("Certificate Signatories") %></legend>
|
|
</header>
|
|
<div class="signatory-edit-list"> </div>
|
|
<span>
|
|
<button class="action action-add-signatory" type="button"><%= gettext("Add Signatory") %></button>
|
|
<span class="tip tip-stacked"><%= gettext("(Up to 4 signatories are allowed for a certificate)") %></span>
|
|
</span>
|
|
</div>
|
|
<div class="actions">
|
|
<button class="action action-primary" type="submit"><% if (isNew) { print(gettext("Create")) } else { print(gettext("Save")) } %></button>
|
|
<button class="action action-secondary action-cancel"><%= gettext("Cancel") %></button>
|
|
<% if (!isNew) { %>
|
|
<span class="wrapper-delete-button">
|
|
<a class="button action-delete delete" href="#"><%= gettext("Delete") %></a>
|
|
</span>
|
|
<% } %>
|
|
</div>
|
|
</form>
|