' + data.furthermore + '
'); 75 | } 76 | $('#examples-container p').addClass('text-danger'); 77 | } 78 | 79 | $(document).ready(function() { 80 | // Kick it off, but only if we're on the right page and there are rules. 81 | var rules = $("#rules"); 82 | var container = $('#examples-container'); 83 | if (container.length > 0 && rules.children().length > 0) { 84 | $('#examples-container .lead').html(examples_loading_message); 85 | var now = Math.floor(new Date().getTime() / 1000.0); 86 | load_examples(1, now); 87 | } 88 | 89 | function autocloud_message() { 90 | var message = " _ _ _ \n\ 91 | __ _ _ _| |_ ___ ___| | ___ _ _ __| |\n\ 92 | / _` | | | | __/ _ \\ / __| |/ _ \\| | | |/ _` |\n\ 93 | | (_| | |_| | || (_) | (__| | (_) | |_| | (_| |\n\ 94 | \\__,_|\\__,_|\\__\\___/ \\___|_|\\___/ \\__,_|\\__,_|\n\ 95 | \n\ 96 | =======================================================\n\ 97 | Looking forward to contribute to the project?\n\ 98 | Head over to https://github.com/kushaldas/autocloud \n\ 99 | =======================================================\n\ 100 | "; 101 | console.log(message); 102 | } 103 | setTimeout(autocloud_message, 1000); 104 | }); 105 | -------------------------------------------------------------------------------- /autocloud/web/templates/404.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |17 | _ _ ___ _ _ 18 | | || | / _ \| || | 19 | | || |_| | | | || |_ 20 | |__ __| |_| |__ _| 21 | |_| \___/ |_| 22 | 23 | 24 | 25 | 26 | _\|/_ 27 | (o o) 28 | +------------------------------------------------------------oOO-{_}-OOo---------------------------------------------------------+ 29 | | _ _ _ _ _ _ | 30 | || | | | ___ _ _ ___| |_ ___ _ __ __ _____ | |__ __ ___ _____ __ _ _ __ _ __ ___ | |__ | | ___ _ __ ___ | 31 | || |_| |/ _ \| | | / __| __/ _ \| '_ \ \ \ /\ / / _ \ | '_ \ / _` \ \ / / _ \ / _` | | '_ \| '__/ _ \| '_ \| |/ _ \ '_ ` _ \ | 32 | || _ | (_) | |_| \__ \ || (_) | | | |_ \ V V / __/ | | | | (_| |\ V / __/ | (_| | | |_) | | | (_) | |_) | | __/ | | | | || 33 | ||_| |_|\___/ \__,_|___/\__\___/|_| |_( ) \_/\_/ \___| |_| |_|\__,_| \_/ \___| \__,_| | .__/|_| \___/|_.__/|_|\___|_| |_| |_|| 34 | | |/ |_| | 35 | | | 36 | +-------------------------------------------------------------------------------------------------------------------------------*/ 37 |38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /autocloud/web/templates/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kushaldas/autocloud/651272df9c24e8b8e2f11970cdfca61554a3e323/autocloud/web/templates/__init__.py -------------------------------------------------------------------------------- /autocloud/web/templates/compose_details.html: -------------------------------------------------------------------------------- 1 | {% extends "master.html" %} 2 | 3 | {% block body %} 4 |
Compose ID | 23 |Status | 24 |Date | 25 |Type | 26 |Respin | 27 |Overview | 28 |29 | |
---|---|---|---|---|---|---|
35 | {{ compose_detail.compose_id }} 36 | | 37 |38 | {% if compose_detail.status == 'c' %} 39 | 40 | {% elif compose_detail.status == 'r' %} 41 | 42 | {% elif compose_detail.status == 'q' %} 43 | 44 | {% else %} 45 | 46 | {% endif %} 47 | {{ compose_detail.status }} 48 | 49 | | 50 |51 | {{ compose_detail.date.strftime('%Y-%m-%d') }} 52 | | 53 |54 | {{ compose_detail.type }} 55 | | 56 |57 | {{ compose_detail.respin }} 58 | | 59 |60 | {{ compose_detail.passed }} / 61 | {{ compose_detail.failed }} 62 | | 63 ||
No results to display! |
Compose ID | 45 |Family | 46 |Architecture | 47 |Release | 48 |Type | 49 |Status | 50 |Created | 51 |Last updated | 52 |Output | 53 |
---|---|---|---|---|---|---|---|---|
59 | {{ job_detail.compose_id }} 60 | | 61 |62 | {{ job_detail.family }} 63 | | 64 |65 | {{ job_detail.arch }} 66 | | 67 |68 | {{ job_detail.release }} 69 | | 70 |71 | {{ job_detail.image_type }} 72 | | 73 |74 | {% if job_detail.status == 's' %} 75 | 76 | {% elif job_detail.status in ('f', 'a') %} 77 | 78 | {% elif job_detail.status == 'r' %} 79 | 80 | {% elif job_detail.status == 'q' %} 81 | 82 | {% else %} 83 | 84 | {% endif %} 85 | {{ job_detail.status }} 86 | 87 | | 88 |{{ job_detail.created_on.strftime('%Y-%m-%d %H:%M:%S') }} | 89 |{{ job_detail.last_updated.strftime('%Y-%m-%d %H:%M:%S') }} | 90 ||
No results to display! |
Compose ID | 16 |Family | 17 |Architecture | 18 |Release | 19 |Type | 20 |Status | 21 |Created | 22 |Last updated | 23 |Link | 24 |
---|---|---|---|---|---|---|---|---|
29 | {{ job_detail.compose_id }} 30 | | 31 |32 | {{ job_detail.family }} 33 | | 34 |35 | {{ job_detail.arch }} 36 | | 37 |38 | {{ job_detail.release }} 39 | | 40 |41 | {{ job_detail.image_type }} 42 | | 43 |44 | {% if job_detail.status == 's' %} 45 | 46 | {% elif job_detail.status in ('f', 'a') %} 47 | 48 | {% elif job_detail.status == 'r' %} 49 | 50 | {% elif job_detail.status == 'q' %} 51 | 52 | {% else %} 53 | 54 | {% endif %} 55 | {{ job_detail.status }} 56 | 57 | | 58 |{{ job_detail.created_on.strftime('%Y-%m-%d %H:%M:%S') }} | 59 |{{ job_detail.last_updated.strftime('%Y-%m-%d %H:%M:%S') }} | 60 |