Skip to content

Commit

Permalink
using bootstrap rewrite css styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Bosn committed Oct 4, 2012
1 parent 686ff46 commit 327fd22
Show file tree
Hide file tree
Showing 24 changed files with 9,217 additions and 2,216 deletions.
36 changes: 19 additions & 17 deletions .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -65,24 +65,26 @@
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/xercesImpl-2.6.2.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/xercesImpl.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/xwork-2.0.7.jar"/>
<classpathentry kind="lib" path="D:/Development/Servers/apache-tomcat-6.0.28/lib/annotations-api.jar"/>
<classpathentry kind="lib" path="D:/Development/Servers/apache-tomcat-6.0.28/lib/catalina.jar"/>
<classpathentry kind="lib" path="D:/Development/Servers/apache-tomcat-6.0.28/lib/catalina-ant.jar"/>
<classpathentry kind="lib" path="D:/Development/Servers/apache-tomcat-6.0.28/lib/catalina-ha.jar"/>
<classpathentry kind="lib" path="D:/Development/Servers/apache-tomcat-6.0.28/lib/catalina-tribes.jar"/>
<classpathentry kind="lib" path="D:/Development/Servers/apache-tomcat-6.0.28/lib/el-api.jar"/>
<classpathentry kind="lib" path="D:/Development/Servers/apache-tomcat-6.0.28/lib/jasper.jar"/>
<classpathentry kind="lib" path="D:/Development/Servers/apache-tomcat-6.0.28/lib/jasper-el.jar"/>
<classpathentry kind="lib" path="D:/Development/Servers/apache-tomcat-6.0.28/lib/jasper-jdt.jar"/>
<classpathentry kind="lib" path="D:/Development/Servers/apache-tomcat-6.0.28/lib/jsp-api.jar"/>
<classpathentry kind="lib" path="D:/Development/Servers/apache-tomcat-6.0.28/lib/servlet-api.jar"/>
<classpathentry kind="lib" path="D:/Development/Servers/apache-tomcat-6.0.28/lib/tomcat-coyote.jar"/>
<classpathentry kind="lib" path="D:/Development/Servers/apache-tomcat-6.0.28/lib/tomcat-dbcp.jar"/>
<classpathentry kind="lib" path="D:/Development/Servers/apache-tomcat-6.0.28/lib/tomcat-i18n-es.jar"/>
<classpathentry kind="lib" path="D:/Development/Servers/apache-tomcat-6.0.28/lib/tomcat-i18n-fr.jar"/>
<classpathentry kind="lib" path="D:/Development/Servers/apache-tomcat-6.0.28/lib/tomcat-i18n-ja.jar"/>
<classpathentry kind="lib" path="D:/Development/Servers/apache-tomcat-6.0.28/lib/xercesImpl.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/velocity-1.6.1-dep.jar"/>
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/velocity-1.6.1.jar"/>
<classpathentry kind="lib" path="D:/apache-tomcat-7.0.30/lib/annotations-api.jar"/>
<classpathentry kind="lib" path="D:/apache-tomcat-7.0.30/lib/catalina.jar"/>
<classpathentry kind="lib" path="D:/apache-tomcat-7.0.30/lib/catalina-ant.jar"/>
<classpathentry kind="lib" path="D:/apache-tomcat-7.0.30/lib/catalina-ha.jar"/>
<classpathentry kind="lib" path="D:/apache-tomcat-7.0.30/lib/catalina-tribes.jar"/>
<classpathentry kind="lib" path="D:/apache-tomcat-7.0.30/lib/ecj-3.7.2.jar"/>
<classpathentry kind="lib" path="D:/apache-tomcat-7.0.30/lib/el-api.jar"/>
<classpathentry kind="lib" path="D:/apache-tomcat-7.0.30/lib/jasper.jar"/>
<classpathentry kind="lib" path="D:/apache-tomcat-7.0.30/lib/jasper-el.jar"/>
<classpathentry kind="lib" path="D:/apache-tomcat-7.0.30/lib/jsp-api.jar"/>
<classpathentry kind="lib" path="D:/apache-tomcat-7.0.30/lib/servlet-api.jar"/>
<classpathentry kind="lib" path="D:/apache-tomcat-7.0.30/lib/tomcat-api.jar"/>
<classpathentry kind="lib" path="D:/apache-tomcat-7.0.30/lib/tomcat-coyote.jar"/>
<classpathentry kind="lib" path="D:/apache-tomcat-7.0.30/lib/tomcat-dbcp.jar"/>
<classpathentry kind="lib" path="D:/apache-tomcat-7.0.30/lib/tomcat-i18n-es.jar"/>
<classpathentry kind="lib" path="D:/apache-tomcat-7.0.30/lib/tomcat-i18n-fr.jar"/>
<classpathentry kind="lib" path="D:/apache-tomcat-7.0.30/lib/tomcat-i18n-ja.jar"/>
<classpathentry kind="lib" path="D:/apache-tomcat-7.0.30/lib/tomcat-jdbc.jar"/>
<classpathentry kind="lib" path="D:/apache-tomcat-7.0.30/lib/tomcat-util.jar"/>
<classpathentry kind="output" path="build/classes"/>
</classpath>
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Rigel Automation Platform
===

@version v1.3 - (latest version, in master branch)
@author Bosn
@version v0.4 - (latest version, in master branch)
@author Bosn Ma
@weibo http://weibo.com/bosn
@mail bosnma@live.com
@mail bosn@outlook.com

`RAP` is a data automation platform based on shared interface data system. Based on this structured "interface data", we can automatically export some other useful data, for instance: generating mock testing data.

Expand Down
4 changes: 4 additions & 0 deletions UPDATELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
======================rap v0.4 =================================================
* change version back to 0.4
*

======================rap v1.3 =================================================
* UE: login automatically redirect 09/10/2012
* add new mock data tag:@value=[xx], for mocking from 01 to 30, eg->@value=2012-09-[xx], output: 2012-09-01, 2012-09-02, 2012-09-03... 09/10/2012
Expand Down
Binary file added WebContent/platform/.home.vm.swp
Binary file not shown.
43 changes: 28 additions & 15 deletions WebContent/platform/home.vm
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,38 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>RAP Home </title>
<title>欢迎使用RAP </title>
#includeRapStatic
#if($isLogined)
<script>
window.location.href= "$!projectUrl.myProjectList";
</script>
#end
</head>
<body>
#bodyStart
<div id="home">
<p>hi! 欢迎使用RAP, RAP(Rigel Automation Platform)是一个基于接口文档的数据共享平台,它能够帮你管理接口等项目具体数据的版本并通过这些数据自动化的生成所需的其它文件。</p>
<p>如果你遇到麻烦,请随时联系霍雍, 可拨打分机: 72641, 他会时刻准备着以光的速度飞到你的面前为你解决问题。</p>
<p>如果在使用过程中遇到任何易用性的问题,或者哪怕是哪里用着不太舒服,欢迎你随时将问题反馈到<a href="mailto:[email protected]">[email protected]</a>,我们仍然会以光的速度对你的反馈进行回复并提交修改方案和计划。</p>
<p>非常感谢你的支持!谢谢!</p>
<div id="img1"></div>
<div id="img2"></div>
<div id="img3"></div>
</div>
<!-- Main hero unit for a primary marketing message or call to action -->
<div class="hero-unit">
<h1>欢迎使用RAP!</h1>
<p>RAP(Rigel Automation Platform)是一个基于接口文档的数据共享平台,它能够帮你管理接口等项目具体数据的版本并通过这些数据自动化的生成所需的其它文件。</p>
<!--
<p>
<a class="btn btn-primary btn-large">了解更多 &raquo;</a>
</p>
-->
</div>
<div class="row-fluid">
<div class="span4">
<img src="http://twitter.github.com/bootstrap/assets/img/bs-docs-twitter-github.png">
<h2>接口版本管理</h2>
<p>RAP提供了接口数据共享平台,每一次提交都有版本跟踪,可随时切换、查看任何一次提交,方便团队协作。</p>
</div>
<div class="span4">
<img src="http://twitter.github.com/bootstrap/assets/img/bs-docs-responsive-illustrations.png">
<h2>自动数据接口</h2>
<p>只要填写好接口,RAP会自动生成用于数据伪造的接口,这些接口会根据文档中的信息自动化的生成随机伪造数据。通过一些<span class="label">标签</span>,还可控制数据伪造的形式和范围。</p>
</div>
<div class="span4">
<img src="http://twitter.github.com/bootstrap/assets/img/bs-docs-bootstrap-features.png">
<h2>后端工具包</h2>
<p>只要填写好接口数据,平台还提供了后端工具包,用于检验所开发接口是否满足文档要求,对请求和响应的格式、参数拼写等进行验证。对接口进行简单测试等等。</p>
</div>
</div>
#bodyEnd
</body>
</html>
122 changes: 122 additions & 0 deletions WebContent/pre-index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>RAP - 接口自动化平台</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">

<!-- Le styles -->
<link href="stat/bootstrap/css/bootstrap.css" rel="stylesheet">
<style type="text/css">
body {
padding-top: 60px;
padding-bottom: 40px;
}
</style>
<link href="stat/bootstrap/css/bootstrap-responsive.css"
rel="stylesheet">

<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>

<body>

<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse"
data-target=".nav-collapse"> <span class="icon-bar"></span> <span
class="icon-bar"></span> <span class="icon-bar"></span>
</a> <a class="brand" href="#">RAP v0.4</a>
<div class="nav-collapse collapse">
<ul class="nav">
<li class="active"><a href="#">首页</a></li>
<li><a href="#about">关于</a></li>
<!--
<li><a href="#contact">Contact</a></li>
<li class="dropdown"><a href="#" class="dropdown-toggle"
data-toggle="dropdown">Dropdown <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li class="divider"></li>
<li class="nav-header">Nav header</li>
<li><a href="#">Separated link</a></li>
<li><a href="#">One more separated link</a></li>
</ul></li>
-->
</ul>
<form class="navbar-form pull-right">
<input class="span2" type="text" placeholder="用户名"> <input
class="span2" type="password" placeholder="密码">
<button type="submit" class="btn">登录</button>
</form>
</div>
<!--/.nav-collapse -->
</div>
</div>
</div>

<div class="container">

<!-- Main hero unit for a primary marketing message or call to action -->
<div class="hero-unit">
<h1>欢迎使用RAP - 接口自动化平台</h1>
<p>hi! 欢迎使用RAP, RAP(Rigel Automation
Platform)是一个基于接口文档的数据共享平台,它能够帮你管理接口等项目具体数据的版本并通过这些数据自动化的生成所需的其它文件。</p>
<p>
<a class="btn btn-primary btn-large">更多帮助 &raquo;</a>
</p>
</div>

<!-- Example row of columns -->
<div class="row">
<div class="span4">
<h2>接口版本管理</h2>
<p>Donec id elit non mi porta gravida at eget metus. Fusce
dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh,
ut fermentum massa justo sit amet risus. Etiam porta sem malesuada
magna mollis euismod. Donec sed odio dui.</p>
<p>
<a class="btn" href="#">了解更多 &raquo;</a>
</p>
</div>
<div class="span4">
<h2>自动数据接口</h2>
<p>Donec id elit non mi porta gravida at eget metus. Fusce
dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh,
ut fermentum massa justo sit amet risus. Etiam porta sem malesuada
magna mollis euismod. Donec sed odio dui.</p>
<p>
<a class="btn" href="#">了解更多 &raquo;</a>
</p>
</div>
<div class="span4">
<h2>后端工具包</h2>
<p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in,
egestas eget quam. Vestibulum id ligula porta felis euismod semper.
Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum
nibh, ut fermentum massa justo sit amet risus.</p>
<p>
<a class="btn" href="#">了解更多 &raquo;</a>
</p>
</div>
</div>

<hr>

<footer>
<p>&copy; <a href="mailto:[email protected]">一淘数据部Web小组.</a>原创出品&nbsp;在线用户:$!countOfOnlineUserList</p>
</footer>

</div>
<!-- /container -->
</body>
</html>
Loading

0 comments on commit 327fd22

Please sign in to comment.