diff --git a/.gitignore b/.gitignore index 55a9c8e..56a0f29 100644 --- a/.gitignore +++ b/.gitignore @@ -2,5 +2,6 @@ /.idea/ /vendor/ data/* +cron.log !data/.keep .DS_Store diff --git a/ui/css/theme.css b/ui/css/theme.css index e20da57..e425fe1 100644 --- a/ui/css/theme.css +++ b/ui/css/theme.css @@ -39,7 +39,8 @@ textarea:focus { } .darker { background-image: linear-gradient(#b1b1b1, #868686); - padding: 4px 7px; + width: 30px; + height: 30px; } input, textarea { background-color: #979ea5; diff --git a/ui/home.htm b/ui/home.htm index c1d490d..b6b49d1 100644 --- a/ui/home.htm +++ b/ui/home.htm @@ -11,20 +11,16 @@ - -
+
+
- - -
- -
+
{{addtext}}
@@ -102,9 +98,6 @@
- - -
@@ -114,6 +107,7 @@ var app = new Vue({ el: '#app', data: { items: [], + admin: , sending: false, adding: false, messages: [], @@ -173,6 +167,33 @@ var app = new Vue({ }) } }, + showinfo: function(item) { + alert(this.dump(item,2)) + }, + dump: function(arr,level) { + var dumped_text = ""; + if(!level) level = 0; + + //The padding given at the beginning of the line. + var level_padding = ""; + for(var j=0;j \"" + value + "\"\n"; + } + } + } else { //Stings/Chars/Numbers etc. + dumped_text = "===>"+arr+"<===("+typeof(arr)+")"; + } + return dumped_text; + }, getitems: function() { axios .get('api/items')