فهرست منبع

[GINR] Footer with supporters

cgars 8 سال پیش
والد
کامیت
fe883b912f
5فایلهای تغییر یافته به همراه66 افزوده شده و 41 حذف شده
  1. 14 0
      public/css/gogs.css
  2. BIN
      public/img/bmbf.png
  3. BIN
      public/img/lmu.png
  4. 41 29
      templates/base/footer.tmpl
  5. 11 12
      templates/home.tmpl

+ 14 - 0
public/css/gogs.css

@@ -3192,3 +3192,17 @@ footer .ui.language .menu {
   font-family: "Kaushan Script", "Helvetica Neue", Helvetica, Arial, cursive;
   font-family: "Kaushan Script", "Helvetica Neue", Helvetica, Arial, cursive;
   font-size: 16px;
   font-size: 16px;
 }
 }
+
+.bmbf {
+  width: 80px;
+}
+
+.supersmall {
+  font-size: 0.8em;
+  text-align: left;
+}
+
+.gogssmall {
+  height: 40px;
+  align-content: center;
+}

BIN
public/img/bmbf.png


BIN
public/img/lmu.png


+ 41 - 29
templates/base/footer.tmpl

@@ -1,48 +1,60 @@
 {{/*
 {{/*
 <html>
 <html>
 <body>
 <body>
-	<div>
-*/}}
-	</div>
-	<footer>
-		<div class="following bar light">
-			<div class="ui container">
-				<div class="ui grid">
-					<div class="column">
-						<div class="ui top secondary menu center">
-							<a class="item brand" href="http://www.g-node.org">
-								<img class="ui mini image"
-										 src="https://projects.g-node.org/assets/gnode-bootstrap-theme/1.2.0-snapshot/img/gnode-icon-50x50-transparent.png"/>
-								© G-Node, 2016-2017
-							</a>
-							<a class="item brand" href="/G-Node/Info/wiki/about">About</a>
-							<a class="item brand" href="/G-Node/Info/wiki/imprint">Imprint</a>
-							<a class="item brand" href="/G-Node/Info/wiki/contact">Contact</a>
-							<a class="item brand" href="/G-Node/Info/wiki/Terms+of+Use">Terms of Use</a>
-						</div>
-					</div>
+<div>
+	*/}}
+</div>
+<footer>
+	<div class="following bar light">
+	<div class="ui container">
+	<div class="ui grid">
+		<div class="column">
+			<div class="ui top secondary menu center">
+				<a class="item brand" href="http://www.g-node.org">
+					<img class="ui mini image"
+							 src="https://projects.g-node.org/assets/gnode-bootstrap-theme/1.2.0-snapshot/img/gnode-icon-50x50-transparent.png"/>
+					© G-Node, 2016-2017
+				</a>
+				<a class="item brand" href="/G-Node/Info/wiki/about">About</a>
+				<a class="item brand" href="/G-Node/Info/wiki/imprint">Imprint</a>
+				<a class="item brand" href="/G-Node/Info/wiki/contact">Contact</a>
+				<a class="item brand" href="/G-Node/Info/wiki/Terms+of+Use">Terms of Use</a>
+				<div class="ui supersmall">
+					Hosted at:
+					<img class="ui bmbf image" src="{{AppSubURL}}/img/lmu.png"/>
+				</div>
+				<div class="ui supersmall">
+					Funded by:
+					<img class="ui bmbf image" src="{{AppSubURL}}/img/bmbf.png"/>
+				</div>
+				<div class="ui supersmall">S
+					With the power of:
+					<a href="https://github.com/gogits/gogs">
+						<img class="ui gogssmall image" src="{{AppSubURL}}/img/gogs.svg"/>
+					</a>
 				</div>
 				</div>
 			</div>
 			</div>
 		</div>
 		</div>
-	</footer>
+	</div>
+</footer>
 </body>
 </body>
 
 
 <!-- Third-party libraries -->
 <!-- Third-party libraries -->
 {{if .RequireHighlightJS}}
 {{if .RequireHighlightJS}}
-	<link rel="stylesheet" href="{{AppSubURL}}/plugins/highlight-9.6.0/github.css">
-	<script src="{{AppSubURL}}/plugins/highlight-9.6.0/highlight.pack.js"></script>
+<link rel="stylesheet" href="{{AppSubURL}}/plugins/highlight-9.6.0/github.css">
+<script src="{{AppSubURL}}/plugins/highlight-9.6.0/highlight.pack.js"></script>
 {{end}}
 {{end}}
 {{if .RequireMinicolors}}
 {{if .RequireMinicolors}}
-	<link rel="stylesheet" href="{{AppSubURL}}/plugins/jquery.minicolors-2.2.3/jquery.minicolors.css">
-	<script src="{{AppSubURL}}/plugins/jquery.minicolors-2.2.3/jquery.minicolors.min.js"></script>
+<link rel="stylesheet" href="{{AppSubURL}}/plugins/jquery.minicolors-2.2.3/jquery.minicolors.css">
+<script src="{{AppSubURL}}/plugins/jquery.minicolors-2.2.3/jquery.minicolors.min.js"></script>
 {{end}}
 {{end}}
 {{if .RequireDatetimepicker}}
 {{if .RequireDatetimepicker}}
-	<link rel="stylesheet" href="{{AppSubURL}}/plugins/jquery.datetimepicker-2.4.5/jquery.datetimepicker.css">
-	<script src="{{AppSubURL}}/plugins/jquery.datetimepicker-2.4.5/jquery.datetimepicker.js"></script>
+<link rel="stylesheet" href="{{AppSubURL}}/plugins/jquery.datetimepicker-2.4.5/jquery.datetimepicker.css">
+<script src="{{AppSubURL}}/plugins/jquery.datetimepicker-2.4.5/jquery.datetimepicker.js"></script>
 {{end}}
 {{end}}
 {{if .RequireDropzone}}
 {{if .RequireDropzone}}
-	<link rel="stylesheet" href="{{AppSubURL}}/plugins/dropzone-4.2.0/dropzone.css">
-	<script src="{{AppSubURL}}/plugins/dropzone-4.2.0/dropzone.js"></script>
+<link rel="stylesheet" href="{{AppSubURL}}/plugins/dropzone-4.2.0/dropzone.css">
+<script src="{{AppSubURL}}/plugins/dropzone-4.2.0/dropzone.js"></script>
 {{end}}
 {{end}}
 <script src="{{AppSubURL}}/js/libs/emojify-1.1.0.min.js"></script>
 <script src="{{AppSubURL}}/js/libs/emojify-1.1.0.min.js"></script>
 <script src="{{AppSubURL}}/js/libs/clipboard-1.5.9.min.js"></script>
 <script src="{{AppSubURL}}/js/libs/clipboard-1.5.9.min.js"></script>

+ 11 - 12
templates/home.tmpl

@@ -7,33 +7,32 @@
 			</div>
 			</div>
 			<div class="hero">
 			<div class="hero">
 				<h1 class="ui icon header title">
 				<h1 class="ui icon header title">
-					Gin
+					GIN
 				</h1>
 				</h1>
-				<h2>Modern data management</h2>
+				<h2>Modern research data management</h2>
 				<div class="ginsubtitle">...inspired by github, flavoured for science</div>
 				<div class="ginsubtitle">...inspired by github, flavoured for science</div>
 			</div>
 			</div>
 		</div>
 		</div>
 	</div>
 	</div>
+
 	<div class="ui stackable middle very relaxed page grid">
 	<div class="ui stackable middle very relaxed page grid">
 		<div class="eight wide center column">
 		<div class="eight wide center column">
 			<h1 class="hero ui icon header">
 			<h1 class="hero ui icon header">
-				<i class="octicon octicon-mortar-board"></i> Sharing of research data
+				<i class="octicon octicon-device-desktop"></i> Manage your data
 			</h1>
 			</h1>
 			<p class="large">
 			<p class="large">
-				Collaborate with colleagues using access control.<br>
-				Make your data citable with the gin DOI service. <br>
-				Make your data public.
-
+				Upload your data to private repositories.<br>
+				Synchronize your data.<br>
+				Securely access your data from anywhere.
 			</p>
 			</p>
 		</div>
 		</div>
 		<div class="eight wide center column">
 		<div class="eight wide center column">
 			<h1 class="hero ui icon header">
 			<h1 class="hero ui icon header">
-				<i class="octicon octicon-device-desktop"></i> Manage your data
+				<i class="octicon octicon-mortar-board"></i> Sharing of research data
 			</h1>
 			</h1>
 			<p class="large">
 			<p class="large">
-				Upload your data to private repositories.<br>
-				Securely access your data from anywhere.<br>
-				Synchronize your data.
+				Collaborate with colleagues using access control.<br>
+				Make your data public.
 			</p>
 			</p>
 		</div>
 		</div>
 	</div>
 	</div>
@@ -68,4 +67,4 @@
 		</div>
 		</div>
 	</div>
 	</div>
 </div>
 </div>
-{{template "base/footer" .}}
+	{{template "base/footer" .}}