Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
jlpereira committed Jun 12, 2019
1 parent c10aabc commit 4421d9f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 18 deletions.
33 changes: 17 additions & 16 deletions app/javascript/vue/tasks/descriptor/components/gene/instance.vue
@@ -1,24 +1,25 @@
<template>
<div>
<template>
<h3>Type</h3>
<ul class="no_bullets">
<li
v-for="item in sequenceRelationshipTypes"
:key="item.value">
<label>
<input
type="radio"
:value="item.value"
v-model="type">
{{ item.label }}
</label>
</li>
</ul>
<primer-component
class="separate-top"
:title="title"
@selected="addSequence"/>
</template>
<h3>Type</h3>
<ul class="no_bullets">
<li
v-for="item in sequenceRelationshipTypes"
:key="item.value">
<label>
<input
type="radio"
:value="item.value"
v-model="type">
{{ item.label }}
</label>
</li>
</ul>
<template>
<h3>Expression</h3>
<div class="panel content">
Expand Down Expand Up @@ -64,13 +65,13 @@
<div
v-if="isParensOpen || !validateExpression"
class="warning-message">
Wrong expression:
Invalid expression:
<span
v-if="isParensOpen">
Close parentheses.
</span>
<span v-if="!validateExpression">
Logical operators needs something on the other side.
Logical operators needs sequence on the other side.
</span>
</div>
</div>
Expand Down
@@ -1,5 +1,6 @@
<template>
<div>
<fieldset>
<legend>Sequence</legend>
<smart-selector
class="separate-bottom"
:options="tabs"
Expand All @@ -21,7 +22,7 @@
<sequence-picker
:clear-after="true"
@getItem="sendSelected($event.id)"/>
</div>
</fieldset>
</template>

<script>
Expand Down

0 comments on commit 4421d9f

Please sign in to comment.