puppeteer: Add settings test for realm-playgrounds.

This commit is contained in:
Sumanth V Rao
2021-05-01 07:01:04 +05:30
committed by Tim Abbott
parent 474d647f3b
commit db2ad6bada
3 changed files with 89 additions and 5 deletions

View File

@@ -1,13 +1,13 @@
{{#with playground}}
<tr>
<tr class="playground_row">
<td>
<span>{{pygments_language}}</span>
<span class="playground_pygments_language">{{pygments_language}}</span>
</td>
<td>
<span>{{playground_name}}</span>
<span class="playground_name">{{playground_name}}</span>
</td>
<td>
<span>{{url_prefix}}</span>
<span class="playground_url_prefix">{{url_prefix}}</span>
</td>
{{#if ../can_modify}}
<td class="no-select actions">

View File

@@ -42,7 +42,7 @@
<label for="playground_url_prefix" class="control-label"> {{t "URL prefix" }}</label>
<input type="text" id="playground_url_prefix" name="url_prefix" placeholder="https://replit.com/languages/python3/?code=" />
</div>
<button type="submit" class="button rounded sea-green">
<button type="submit" id="submit_playground_button" class="button rounded sea-green">
{{t 'Add code playground' }}
</button>
</div>