2014-07-29 11:00:39 -07:00
|
|
|
<!-- The first 'sample' prompt is the current one; the remainders are samples. This ought to be cleaned up. -->
|
2020-12-02 21:07:48 +01:00
|
|
|
<div class="current_prompt" style="min-height: 7.5em;" ng-style="{'background-color': terminalBackgroundColor}">
|
2020-10-04 17:30:01 +02:00
|
|
|
<div class="prompt_demo_choice_label" style="color: #FFF;">{{ selectedPrompt.name }}</div>
|
2020-06-22 19:50:51 +02:00
|
|
|
<div ng-bind-html='selectedPrompt.demo | to_trusted' class="prompt_demo unbordered"></div>
|
2014-07-29 11:00:39 -07:00
|
|
|
<div style="position: absolute; right: 5px; bottom: 5px; color:">
|
|
|
|
<span class="save_button"
|
|
|
|
ng-show="showSaveButton"
|
|
|
|
style="color: #777"
|
|
|
|
ng-click="setPrompt()">{{ savePromptButtonTitle }}</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-09-19 14:34:48 -07:00
|
|
|
<div style="margin: 10px 0 7px 35px;">Preview a prompt below:</div>
|
2014-07-29 11:00:39 -07:00
|
|
|
<div class="prompt_choices_scrollview">
|
|
|
|
<div class="prompt_choices_list">
|
2013-11-09 19:30:41 +05:30
|
|
|
<div ng-repeat="prompt in samplePrompts">
|
|
|
|
<div class="prompt_demo_choice_label">{{ prompt.name }}</div>
|
2020-06-22 19:50:51 +02:00
|
|
|
<div ng-bind-html='prompt.demo | to_trusted' class="prompt_demo" ng-click="selectPrompt(prompt)"></div>
|
2013-08-17 00:02:58 +05:30
|
|
|
</div>
|
|
|
|
</div>
|
2014-07-29 11:00:39 -07:00
|
|
|
</div>
|