Initial Commit
This commit is contained in:
commit
bbb0a2f580
126 changed files with 14189 additions and 0 deletions
79
templates/write.html
Normal file
79
templates/write.html
Normal file
|
|
@ -0,0 +1,79 @@
|
|||
<!DOCTYPE html>
|
||||
<!--
|
||||
// Copyright 2014 The Cayley Authors. All rights reserved.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
-->
|
||||
<html>
|
||||
<head>
|
||||
{{template "head"}}
|
||||
</head>
|
||||
<body>
|
||||
<div class="page-container">
|
||||
|
||||
{{template "top_navbar"}}
|
||||
|
||||
<div class="container-fluid">
|
||||
<div class="row row-offcanvas row-offcanvas-left">
|
||||
{{template "sidebar"}}
|
||||
<!-- main area -->
|
||||
<div class="col-sm-10 col-xs-12" id="main">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-12">
|
||||
<h2> Write an N-Quads file: </h2>
|
||||
<input id="nquad_file" type="file"></input>
|
||||
</div>
|
||||
</div><!-- /.col-xs-12 main -->
|
||||
<div class="row button-row">
|
||||
<div class="col-sm-12 col-xs-12">
|
||||
<button id="write_file" type="button" class="btn btn-primary">Write File</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-12 col-xs-12">
|
||||
<h2> Write a quad: </h2>
|
||||
<input id="subject" type="text" placeholder="Subject"></input>
|
||||
<input id="predicate" type="text" placeholder="Predicate"></input>
|
||||
<input id="object" type="text" placeholder="Object"></input>
|
||||
<input id="provenance" type="text" placeholder="Provenance"></input>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row button-row">
|
||||
<div class="col-sm-12 col-xs-12">
|
||||
<button id="add_triple" type="button" class="btn">Add Triple</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-12">
|
||||
<h2> Remove a quad: </h2>
|
||||
<input id="rsubject" type="text" placeholder="Subject"></input>
|
||||
<input id="rpredicate" type="text" placeholder="Predicate"></input>
|
||||
<input id="robject" type="text" placeholder="Object"></input>
|
||||
<input id="rprovenance" type="text" placeholder="Provenance"></input>
|
||||
</div>
|
||||
</div><!-- /.col-xs-12 main -->
|
||||
<div class="row button-row">
|
||||
<div class="col-sm-12 col-xs-12">
|
||||
<button id="delete_triple" type="button" class="btn">Delete Triple</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div> <!--/#main-->
|
||||
</div> <!--/.row-->
|
||||
</div><!--/.container-->
|
||||
</div><!--/.page-container-->
|
||||
</body>
|
||||
{{template "foot"}}
|
||||
<script src="/static/js/cayley_main.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="/static/js/cayley_write.js" type="text/javascript" charset="utf-8"></script>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue