More enhacements for the webui

- Get version using r2 api in about panel
- Align all buttons of the topbar
- Bigger font size for disasm
This commit is contained in:
pancake 2013-04-30 04:01:06 +02:00
parent 1e6aeb655c
commit 3a55123970
4 changed files with 22 additions and 14 deletions

View File

@ -110,13 +110,14 @@ h2 {
}
.top {
position:float;
padding:8px;
display:inline-block;
position:relative;
vertical-align:top;
padding:10px;
margin:0px;
top:12px;
display:inline;
margin-top:0px;
}
pre {
font-size:12px;
font-size:13px;
}

File diff suppressed because one or more lines are too long

View File

@ -6,8 +6,15 @@ enyo.kind ({
{tag: "center", components: [
{tag: "h1", style: "color:#f0f0f0", content: "About r2wui"},
{kind: "Image", src: "icon.png" },
{tag: "h3", style: "color:#707070;margin-bottom:50px", content: "the web frontend for radare2"},
{tag: "h2", style: "color:#a0a0a0", content: "author: pancake 2013"},
{tag: "h2", style: "color:#a0a0a0", content: "version: 0.9.3git"},
{tag: "h2", style: "color:#a0a0a0", content: "version: 0.9.5git3", name: "version"}
]}
]
],
create: function() {
this.inherited (arguments);
r2.cmd ("?V", function (version) {
this.$.version.setContent ("version: "+version);
});
}
});

View File

@ -152,12 +152,12 @@ enyo.kind ({
{content: "Paste", ontap: "goPaste"}
]}
]},
{kind: "onyx.Button", content: "<", ontap: "prevSeek", classes: "top" },
{kind: "onyx.Button", content: ">", ontap: "nextSeek", classes: "top" },
{kind: "onyx.InputDecorator", style: "width: 200px;", components: [
{kind: "onyx.Input", name:"input", value: 'entry0', onchange: "gotoSeek", onkeydown:"inputKey"}
{kind: "onyx.Button", content: "<", ontap: "prevSeek", classes: "top", style: "top:10px" },
{kind: "onyx.Button", content: ">", ontap: "nextSeek", classes: "top", style: "top:10px" },
{kind: "onyx.InputDecorator", style: "width: 200px;top:10px", classes: "top", components: [
{kind: "onyx.Input", name:"input", value: 'entry0', onchange: "gotoSeek", onkeydown:"inputKey" }
]},
{kind: "onyx.PickerDecorator", style: "display:inline", classes: "top", components: [
{kind: "onyx.PickerDecorator", classes: "top", components: [
{kind: "onyx.Button", content: "Convert"},
{kind: "onyx.Picker", components: [
{content: "Data", ontap: 'coData'},
@ -165,7 +165,7 @@ enyo.kind ({
{content: "String", ontap: 'coString'},
]}
]},
{kind: "onyx.PickerDecorator", style: "display:inline", classes: "top", components: [
{kind: "onyx.PickerDecorator", classes: "top", components: [
{kind: "onyx.Button", content: "Write"},
{kind: "onyx.Picker", components: [
{content: "File", ontap: 'wrFile'},