Commit e787e767 authored by jan.koester's avatar jan.koester
Browse files

inital work editor

parent 47e21264
Loading
Loading
Loading
Loading
+57
Changes for data/template/default/editor.html: 57 added lines, 0 removed lines.
Original line number Diff line number Diff line
<!DOCTYPE html>
<html lang="">
  <head>
    <meta charset="utf-8">
    <link rel="stylesheet" href="reset.css">
    <link rel="stylesheet" href="editor.css">
    <title>Webeditor</title>
  </head>
  <body>
    <header>
      <div>
        <ul class="headertitle">
          <li>Webeditor</li>
        </ul>
        <ul class="headertools">
          <li>
            <button type="button">Make Public</button>
          </li>
        </ul>
      </div>
    </header>
    <main>
      <table id="maincontent">
        <tr>
          <td id="toolbar" >
            <div>
              <form>
                <select class="title" >
                  <option >Tools</option>
                  <option >Revesions</option>
                </select>
              </form>
            </div>
            <div id="toolbar_tree">
              <ul>
                <li>Content</li>
              </ul>
            </div>
            <div>
              <ul class="toolbar_actions" >
                <li><button>Add</button></li>
                <li><button>Edit</button></li>
                <li><button>Delete</button></li>
              </ul>
            </div>
          </td>
          <td id="preview">
            <div>
              <iframe id="rendering" src="aboutme.html"></iframe>
            </div>
          </td>
        </tr>
      </table>
    </main>
    <footer></footer>
  </body>
</html>
+81
Changes for data/template/default/public/editor.css: 81 added lines, 0 removed lines.
Original line number Diff line number Diff line
body {
    background: #222629;
}

header {
    padding:2vh;
    background: #131618;
    color:#ffffff;
    height:3vh;
}

.headertitle{
    float:left;
}

.headertools {
    display: inline-block;
    float:right;
    padding:0px;
    margin:0px;
}

.headertools button {

}

#maincontent {
    float:none;
    width:100%;
    height:90vh;
    min-width:1280px
}

td#toolbar {
    display:inline-block;
    width:15vw;
    height:100%;
    border-right: 0.1vw solid #131618;
    border-bottom: 0.1vw solid #131618;
    color:#ffffff;
}

#toolbar .title {
    display:inline-block;
    background:#414447;
    width:96%;
    padding:0.5em;
    margin:2%;
    text-align:center;
    border: 0.1vw solid #131618;
}

.toolbar_actions {
    text-align:center;
}

.toolbar_actions li{
    padding:0 1em;
    display:inline-block;
}

#toolbar_tree {
    float:none;
    width:96%;
    min-height:70vh;
    background:#414447;
    border: 0.1vw solid #131618;
    border-radius:10px;
    margin:2%;
}

td#preview {
    display:inline-block;
    width:75%;
}

#rendering{
    display:inline-block;
    width:100%;
    height:70vh;
}
+48
Changes for src/webdedit/reset.css: 48 added lines, 0 removed lines.
Original line number Diff line number Diff line
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

Empty file added.

Empty file added.

Loading