Created
August 12, 2014 05:49
-
-
Save dvas0004/804f26e556b72114ed0f to your computer and use it in GitHub Desktop.
HTML snipped showing goland template repetition structure. Part of: https://github.com/dvas0004/learning/tree/master/golang/myown/NetSecurityCheck
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<link rel="stylesheet" type="text/css" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> | |
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script> | |
</head> | |
<body> | |
<div class="container well"> | |
<h2>Alerts</h2> | |
<hr> | |
{{range $element := .Alerts}} | |
<div class="alert alert-danger">{{$element}}</div> | |
{{end}} | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment