Skip to content

Commit

Permalink
css sucks
Browse files Browse the repository at this point in the history
Signed-off-by: dolevf <farhi.dolev@gmail.com>
  • Loading branch information
dolevf committed Jun 12, 2022
1 parent d76dcb5 commit 10d3471
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion static/css/opa.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
z-index:20
}
#editor {
height: 750px;
height: 730px;
width: 100%;
}
#editorinput {
Expand Down
14 changes: 8 additions & 6 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@
m := input.message
m == "Hello World!!!"
}</div>

<div class="btn-group" role="group">
<button type="button" class="btn btn-success btn-sm" style="margin-right: 3px;" onclick="query();" title="Evaluate Policy with input and data">Evaluate</button>
<button type="button" class="btn btn-danger btn-sm mr-1" style="margin-right: 3px;" onclick="clearPolicyEditor();" title="Clears Policy Window">Clear</button>
<button type="button" class="btn btn-primary btn-sm mr-1" style="margin-right: 3px;" onclick="copyPolicyEditor();" title="Copy Policy Code to Clipboard">Copy to Clipboard</button>
<button type="button" class="btn btn-secondary btn-sm mr-1" style="margin-right: 3px;" onclick="download_policy();" title="Download Policy to Disk">Download Policy</button>
</div>
</div>
</div>
</div>
Expand Down Expand Up @@ -93,12 +100,7 @@
</div>
</div>
</div>
<div class="btn-group" role="group">
<button type="button" class="btn btn-success btn-sm" style="margin-right: 3px;" onclick="query();" title="Evaluate Policy with input and data">Evaluate</button>
<button type="button" class="btn btn-danger btn-sm mr-1" style="margin-right: 3px;" onclick="clearPolicyEditor();" title="Clears Policy Window">Clear</button>
<button type="button" class="btn btn-primary btn-sm mr-1" style="margin-right: 3px;" onclick="copyPolicyEditor();" title="Copy Policy Code to Clipboard">Copy to Clipboard</button>
<button type="button" class="btn btn-secondary btn-sm mr-1" style="margin-right: 3px;" onclick="download_policy();" title="Download Policy to Disk">Download Policy</button>
</div>

</div>


Expand Down

0 comments on commit 10d3471

Please sign in to comment.